tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
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 :

        at Method)
        at java.lang.ClassLoader.loadClass(
        at sun.misc.Launcher$AppClassLoader.loadClass(
        at java.lang.ClassLoader.loadClass(

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...)
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


java version ""
Java(TM) 2 Runtime Environment, Standard Edition (build
Java HotSpot(TM) Server VM (build 1.4.1
PA2.0, mixed mode)

on HP-UX

Thanks in advance


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message