[deepamehta-devel] [Bug #14443] Several problems with Tomcat 6

admin at berlios.de admin at berlios.de
Mi Sep 3 21:13:16 CEST 2008


Bug #14443, was updated on 2008-Sep-03 21:13
Here is a current snapshot of the bug.

Project: DeepaMehta
Category: None
Status: Open
Resolution: None
Bug Group: None
Priority: 7
Submitted by: jri
Assigned to : jri
Summary: Several problems with Tomcat 6

Details: 
Several problems occur with DeepaMehta web applications when running in Tomcat 6 under Ubuntu:

1) Configuration files can't be loaded, because relative paths didn't work. Tomcat 6 can't be forced to use a certain working directory by calling /etc/init.d/tomcat-6 from there. (using the script /usr/share/tomcat-6/bin/catalina.sh doesn't work either and would require further configuration effort). Setting the web applications "home" context parameter (in web.xml) also doesn't help because this affects only 2 of the 5 configuration files to load.
=> the loadProperties() method calls in de.deepamehta.Configuration needs to be adapted.

2) The JDBC driver class can't be loaded via the separate classloader because a wrong library URL is constructed (jar:file:/var/libs/mysql-3.1.7.jar!/ -- this directory doesn't exist)
=> the loadClassFromLibs() method in de.deepamehta.service.db.DefaultDatabaseProvider must be adapted or replaced.

3) There is no logging. See feature request #1513



For detailed info, follow this link:
http://developer.berlios.de/bugs/?func=detailbug&bug_id=14443&group_id=5174



Mehr Informationen über die Mailingliste devel