tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick.Pie...@linedata.com
Subject problem with ressources and/or class loader
Date Tue, 04 Jun 2002 10:20:35 GMT
hello,

i use tomcat 4.0.3 with an external API (JDO libelis implementation).
If i put the API jar files in the WEB-INF/lib directory of my Web
appliaction, the API classes can't open a properties file :

javax.jdo.JDOFatalDataStoreException: DataSource initialization error
NestedThrowables:
javax.jdo.JDOFatalUserException: Unable to open dictionary.properties file
        at com.libelis.lido.ds.jdbc.b.do(JdbcContext.java:36)
        at com.libelis.lido.ds.jdbc.b.<init>(JdbcContext.java:28)
        at com.libelis.lido.ds.jdbc.d.<init>(JdbcStorage.java:38)
        at com.libelis.lido.ds.jdbc.JdbcFactory.if(JdbcFactory.java:16)
        at com.libelis.lido.a.<init>(PersistenceManagerImpl.java:40)
        at
com.libelis.lido.PersistenceManagerFactory$a.a(PersistenceManagerFactory.java:454)
        at com.libelis.lido.internal.h.b.a(TrivialPool.java:25)
        at
com.libelis.lido.PersistenceManagerFactory$a.<init>(PersistenceManagerFactory.java:450)
        at
com.libelis.lido.PersistenceManagerFactory.i(PersistenceManagerFactory.java:88)
        at
com.libelis.lido.PersistenceManagerFactory.getPersistenceManager(PersistenceManagerFactory.java:71)
        at
lds.osl.jdo.JDOContextFactory.getCurrentPersistenceManager(JDOContextFactory.java:87)
        at
lds.osl.jdo.JDOContextFactory.initialize(JDOContextFactory.java:135)
        at lds.osl.jdo.JDOInstaller.initialize(JDOInstaller.java:87)
        at
lds.odata.web.servlets.OdataJDOinitializer.init(OdataJDOinitializer.java:48)
        at javax.servlet.GenericServlet.init(GenericServlet.java:258)
        at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:916)
        at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:808)


if i put the API jar in the CATALINA_HOME/common/lib directory, the API
classes can't find or load ? my businness classes that i have put in the
WEB-INF/classes directory of my Web application :

javax.jdo.JDOFatalUserException: There's something wrong in the enhanced
classes check enhanced class lds.ecm.actor.Post
alAddress
NestedThrowables:
javax.jdo.JDOFatalUserException: Can't locate the
lds.ecm.actor.PostalAddress class
        at com.libelis.lido.metadata.a.a.a(RTMetadataProcessor.java:32)
        at
com.libelis.lido.PersistenceManagerFactory.e(PersistenceManagerFactory.java:96)
        at
com.libelis.lido.PersistenceManagerFactory.i(PersistenceManagerFactory.java:86)
        at
com.libelis.lido.PersistenceManagerFactory.getPersistenceManager(PersistenceManagerFactory.java:71)
        at
lds.osl.jdo.JDOContextFactory.getCurrentPersistenceManager(JDOContextFactory.java:87)
        at
lds.osl.jdo.JDOContextFactory.initialize(JDOContextFactory.java:135)
        at lds.osl.jdo.JDOInstaller.initialize(JDOInstaller.java:87)
        at
lds.odata.web.servlets.OdataJDOinitializer.init(OdataJDOinitializer.java:48)
        at javax.servlet.GenericServlet.init(GenericServlet.java:258)
        at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:916)
        at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:808)
        at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3266)
        at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3395)
        at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:785)
        at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:454)

I think it's a problem of class loading but i don't know how to resolve
this problem !!!!

Patrick PIERRA
Linedata Services Luxembourg
00 352 29 56 65 282
patrick.pierra@linedata.com


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message