Hi,

another question 
if I put the jar-files (db-ojb-1.0.rc3.jar et al) into my WEB-INF/lib, then my 
app never gets a broker when it tries to:
        mBroker = PersistenceBrokerFactory.
                    defaultPersistenceBroker();

BUT if i put all the jars into $TOMCAT_HOME/common/lib, then it works (fairly 
well, in fact, an tomcat->reload application does not work, but this i can 
live with). 

Any help, thoughs, hints?
thanks in advance, 

Raoul


- 

in catalina.out I have mesgs like:

Starting service Tomcat-Standalone
Apache Tomcat/4.1.18
WebappClassLoader: 
validateJarFile(/opt/jakarta/tomcat/webapps/hello/WEB-INF/lib/j2ee.jar) - jar 
not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: 
javax/servlet/Servlet.class
6631 [main] INFO http11.Http11Protocol  - Starting Coyote HTTP/1.1 on port 
8080
6678 [main] INFO common.ChannelSocket  - JK2: ajp13 listening on /0.0.0.0:8009
6682 [main] INFO server.JkMain  - Jk running ID=0 time=1/50  
config=/opt/jakarta/tomcat/conf/jk2.properties
6688 [main] INFO http11.Http11Protocol  - Starting Coyote HTTP/1.1 on port 
8081
in performLogin: no db found, creating new..
in performLogin: creating new ok
java.lang.VerifyError: Cannot inherit from final class
        at java.lang.ClassLoader.defineClass0(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
        at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
        at 
org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1664)
        at 
org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:953)
        at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1394)
        at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1274)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
        at 
....
...........................


-- 
Raoul Markus
PGP key available from servers


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to