----------------------------------------------------------------
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 reposting this as I got no response last time and my butt is on
 the line to get this servlet running...

:-)

 To give a little more background, I have a class library which has a
 class "Foo", which inherits from "HttpServlet". Now, when I implement
 a servlet, the servlet inherits from "Foo". Does this help any?

 ------------------------- repost...

 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 following 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:442)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:392)
        at 
org.apache.java.lang.AdaptiveClassLoader.loadClass(AdaptiveClassLoader.java:465)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
        at org.apache.jserv.JServServletManager.load_init(JServServletManager.java:527)
        at 
org.apache.jserv.JServServletManager.loadServlet(JServServletManager.java:489)
        at org.apache.jserv.JServConnection.processRequest(JServConnection.java:266)
        at org.apache.jserv.JServConnection.run(JServConnection.java:188)
        at java.lang.Thread.run(Thread.java:479)



Oh, it runs fine under servletrunner on the new machine...(not that it
is the acid test...)...
 Any help would be great..... email me directly if you want

 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