ktrinad Posted September 5, 2006 Share Posted September 5, 2006 By: openross - openmax71 Installing on Gentoo  2006-04-11 06:04 I'm try to install over linux gentoo using Âtomcat-5.0.27-r6 andÂmysql-5.0.19 and starting from jasperserver-0.9.0-linux-installer.binÂÂi have got 2 error that i have manualy correct :Â(I have do install with for my own service tomcat & mysql)Â1) symlink mysql.exe to /usr/bin/mysqlÂ2) copy the script jasperserverCreateDefaultSecurity.sql to jasperserverCreateDefaultSecurity.ddlÂÂnow jasperserver is installed on Â/opt/jasperserver-0.9.0Âand the webapps inÂ/opt/tomcat5ÂÂbut when i log in i receive the following error :ÂCaused by: java.sql.SQLException: No suitable driverÂat java.sql.DriverManager.getDriver(DriverManager.java:243)Âat org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:773)Â... 49 moreÂÂi verified context.xml e web.xml with right config and user and password in the mysql database (where i found all the db create by installation)Âand i have the jdbc-mysql.jar in /common/lib ÂÂwhat i have to check now ? Âwhy java don't link the mysql jdbc jar file ?ÂÂNB. if i put hsqldb-1.7.1.jar (from ireport package) in my /common/lib i got this error instead :ÂCaused by: java.lang.NullPointerExceptionÂat org.hsqldb.jdbcDriver.acceptsURL(Unknown Source)Âat java.sql.DriverManager.getDriver(DriverManager.java:232)Âat org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:773)Â... 49 moreÂÂÂThanks By: Sherman Wood - sgwood RE: Installing on Gentoo  2006-04-11 06:53 ÂWe will look into this.ÂÂÂShermanÂJasperSoft By: openross - openmax71 RE: Installing on Gentoo  2006-04-12 02:00 Ok I wait.ÂÂPs. I'm using "sun-jdk-1.4.2" By: openross - openmax71 RE: Installing on Gentoo  2006-04-12 04:57 I have successfully installed jasperserver !!ÂÂI have merged the context.xml in the /conf/server.xml file and now work.ÂÂWhy the /META-INF/context.xml is not used by tomcat5 ? there is some config to handled ? By: Sherman Wood - sgwood RE: Installing on Gentoo  2006-04-12 10:40 ÂUnder Tomcat 5.5, you can have JNDI JDBC connections in both conf/server.xml and the WAR's META-INF/context.xml, with the conf/server.xml overriding the WAR.ÂÂI think you are right. Tomcat 5 does things differently.ÂÂÂShermanÂJasperSoft Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now