----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------


I am moving a working and robust servlet to a new machine, but it
breaks. The old machine was:

  RH 5.1 Intel
  Apache 1.3.9
  Jserv 1.0
  JDK 1.1.8 (Blackdown)

The new machine is:

  RH 5.1 Intel
  Apache 1.3.12
  mod_ssl 2.6.4-1.3.12
  openssl-0.9.5a
  JServ 1.1.1b
  JDK 1.2.2-RC4 (Blackdown)

The example servlets run just fine (i.e. 'Hello' in zone
'root'). However, the migrated servlet (recompiled locally under 1.2,
not that it should make any difference) which has not been altered
from the old machine give me the folowing error:

java.lang.LinkageError: trying to redefine class SimpleCalimayaServlet (bad class 
loader?)
        at java.lang.ClassLoader.defineClass0(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java, Compiled Code)
        at java.lang.ClassLoader.defineClass(ClassLoader.java, Compiled Code)
        at 
org.apache.java.lang.AdaptiveClassLoader.loadClass(AdaptiveClassLoader.java, Compiled 
Code)
        at java.lang.ClassLoader.loadClass(ClassLoader.java, Compiled Code)
        at org.apache.jserv.JServServletManager.load_init(JServServletManager.java, 
Compiled Code)
        at org.apache.jserv.JServServletManager.loadServlet(JServServletManager.java, 
Compiled Code)
        at org.apache.jserv.JServConnection.processRequest(JServConnection.java, 
Compiled Code)
        at org.apache.jserv.JServConnection.run(JServConnection.java, Compiled Code)
        at java.lang.Thread.run(Thread.java, Compiled Code)

Any help would be great.....

thanks,

        glen



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to