----------------------------------------------------------------
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!!!
----------------------------------------------------------------
Maybe you have solved this already, if not it looks very similar to a problem I
encountered when moving to multiple jservs.
My problem was happening when some-one entered the url path as the wrong case
(or mixed case)
e.g. http://mysite.com/DEV/test.jsp entered as http://mysite.com/Dev/test.jsp
I hope this helps
Simon.
Ulisses Reina Montenegro wrote:
> ----------------------------------------------------------------
> 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!!!
> ----------------------------------------------------------------
>
> JServ gurus,
>
> After about a full year of flawless JServ performance I've stumbled upon
> a problem I found no clue on the FAQ and have never seen reported on the
> list. We recently switched from single-apache->single-jserv to
> single-apache->multipe-jservs for developmente because developers
> sometimes needed to shutdown/restart either JServ or Apache and some
> were really pissed at having their projects shutdown because all of them
> used the same JServ instance. Anyway, one of our systems was moved from
> a all-in-one JServ box to one nicer jserv-per-developer server and
> suddenly I started getting the following messages:
>
> java.lang.LinkageError: trying to redefine class ServletConsulta (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)
>
> I first suspected the class files, but after md5 confirmed they were the
> same files on the original machine, where it all worked, I was clueless.
> I checked directory and file permissions, to no avail. This happens for
> a particular servlet only, and JServ dummy servlets, like 'Hello' and
> 'IsItWorking', when thrown in *any* of the configured zone's
> repositories work fine.
>
> Anyone has any clue on this..? BTW, we're running JServ 1.0, which we
> know is now *very* dated. But our code runs far more stable on JServ 1.0
> (internal server error/500 increase from tenfold to hundredfold when we
> switch to 1.1). Anyone has any idea on any particular bug present on 1.0
> which was corrected in 1.1 for which our developers could have developed
> workarounds which would not work on later JServs?
>
> Finally, thanks for the great code. We have about 900.000 page views/day
> on a JServ cluster and it is rock solid.
>
> Thanks for your time
> Ulisses
>
> --
> --------------------------------------------------------------
> 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]
--
--------------------------------------------------------------
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]
- LinkageError Ulisses Reina Montenegro
- LinkageError Simon Dubey
- LinkageError Glen Newton
