----------------------------------------------------------------
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!!!
----------------------------------------------------------------

Bonjour! <--the extent of my French

At the end of each email message, there is a line which reads:

> Please read the FAQ! <http://java.apache.org/faq/>

You should read the section on 'Cannot Scan Servlet Headers' and
'Premature End of Script headers' information. You probably have a JVM
which does not run properly: it may be binding to the wrong address. Try
hard coding the IP into the 'Bind' directive. Whatever you do, read over
the FAQ sections for the errors you are getting.

Ben Ricker
Web Administrator
US-Rx, Inc.


Jean Michel Flambard wrote:

> Hi,
> 
> First of all, sorry for my bad english, I'm French.
> 
> I am trying applet/servlet communication by rmi and
> socket but I am receiving the following messages:
> 
> in error_log:
> 
> [Tue Aug  1 11:27:50 2000] [error] [client 127.0.0.1] Premature end of
> script headers: /servlets/ChatServlet
> java.lang.LinkageError: trying to refine class ChatServlet (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)
> 
> in the mod_jserv.log
> 
> [01/08/2000 11:32:12:211] (EMERGENCY) ajp12[1]: cannot scan servlet
> headers  (500)
> [01/08/2000 11:32:12:211] (ERROR) an error returned handling request via
> protocol "ajpv12"
> [01/08/2000 11:32:13:249] (ERROR) ajp12: Servlet Error:
> NoClassDefFoundError: ChatServlet
> 
> All my servlets are in the same directory (/servlets) and they are
> working except ChatServlet.
> 
> Thanks for your help
> --
> Jean Michel Flambard
> [EMAIL PROTECTED]
> http://www.multimania.com/jmflambard
> ------------------------------------


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search Archives: 
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to