Closed tigitz closed 6 years ago
Hi. Thanks for the great suggestion. I agree with the idea that having native JDBC drivers, plugins, etc. would be great, but I cannot include all of them. Because this is making the image even more fat and there always will be new things people want.
I personally think mysql driver is good to be included, but it is very hard to decide what to be included and what to be not. Instead of setting the boundary myself, I chose to include only the drivers packaged in the community edition. Having said, you are free to extend the Docker image by including the mysql driver.
.. but it doesn't work :). I have the same error. Can you tell me how to fix it??
Which version of mysql JDBC driver did you try and did you restart webSpoon after you placed jdbc driver to $CATALINA_HOME/lib
?
I did the following and it worked.
$ docker run --name webspoon -d -p 8080:8080 hiromuhota/webspoon:nightly
$ docker exec -it webspoon bash
tomcat@01b5622af891:/usr/local/tomcat$ wget https://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-5.1.47.zip
tomcat@01b5622af891:/usr/local/tomcat$ unzip mysql-connector-java-5.1.47.zip
tomcat@01b5622af891:/usr/local/tomcat$ cp mysql-connector-java-5.1.47/mysql-connector-java-5.1.47-bin.jar lib/
$ docker restart webspoon
I tested on a nightly build of webspoon but released versions should work too. The same applies to mysql: I used 5.X for both driver and server but 8.0 should work too.
I deinstalled Pentaho and installed Birt. It works very good :). I had installed the JDBC 5.1.4.6 and 8.0.16, thanks for your help, I'm happy with Birt. Best Dragan
I just tried to install the JDBC database driver again and it doesn't work.
I copied mysql-connector-java-8.0.16.jar to /Applications/Pentaho Report Designer.app/lib and to /Applications/Pentaho Report Designer.app/lib/jdbc java-Version: 9.0.4. Any suggestions?? Best Dragan
For webSpoon, the copy destination is neither /Applications/Pentaho Report Designer.app/lib
nor /Applications/Pentaho Report Designer.app/lib/jdbc
.
The destination should be $CATALINA_HOME/lib
like the below.
webapps/spoon.war
should be next to the lib
folder.
$CATALINA_HOME
├── system
├── plugins
├── lib
│ ├── mysql-connector-java-8.0.16.jar
│ ├── ...
├── webapps
│ ├── spoon.war
│ ├── ...
Did you use Docker to deploy webSpoon?
If so, you have to place the JDBC driver at $CATALINA_HOME/lib
of the deployed Docker container.
Hello, sorry, Ive forgotten to tell you, my problems are concerning the Pentaho report designer.
I've never used the report designer, so I can't help...
Hello,
I think having the mysql native driver out of the box in the image would be great for those who want to rapidly test webspoon with an existing database.
Here's error if needed:
Thanks