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
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
0 Answers:
No answers yet