tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cyril.ZEK...@nexans.com
Subject ClassNotFoundException in thread
Date Thu, 02 Jun 2005 13:25:20 GMT
Hi all,

I've just migrated my appservers from HP-UX to Linux RedHat AS4, and I'm
now stuck with a strange issue :

I've 2 jar in the WEB-INF/lib directory  (common.jar and statistic.jar).

The common.jar contains a Watchdog that seek in the DB for job to run,
start them, and those jobs are looking for classes by reflection to handle
the process to be done.

The statistic.jar package contains the classes that handle the process to
be done.

Everything was fin until I migrated. Now the jobs run OK but they fire a
ClassNotFoundException as shwon :

java.lang.ClassNotFoundException:
com.nexans.statistic.client.model.send.intranet.handler.CreateFileProcedure
        at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
        at
com.nexans.common.alert.businessmodel.jdbc.AlertJobImpl.run(AlertJobImpl.java:466)
        at java.lang.Thread.run(Thread.java:534)

The problem persists when I extract the classes in the jar into
WEB-INF/classes. So now I don't know what to do next and where to search.

Does anyone have an idea ?

I'm using Tomcat 4.1.31+ mod_jk 1.10  (was using tomcat 4.1.30 and jk2 on
HP-ux, but I quite sure the problem is not there...)
with
java version "1.4.2_07"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_07-b05)
Java HotSpot(TM) Client VM (build 1.4.2_07-b05, mixed mode)

on RH

and

java version "1.4.1.03"
Java(TM) 2 Runtime Environment, Standard Edition (build
1.4.1.03-030630-19:37)
Java HotSpot(TM) Server VM (build 1.4.1 1.4.1.03-030630-22:07-PA_RISC2.0
PA2.0, mixed mode)

on HP-UX

Thanks in advance

Cyril ZEKSER




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


Mime
View raw message