Coder's Guild Mailing List

Servlet problem

Posted by Mars on 2000-01-02

I have encountered a very strange problem.  Using the Java Web Server sdk
1.0.1, I have a search engine which uses servlets to present results.  On
win98, it works fine.  But when I try to run it on solaris, it gives the
following error when the servlet is going to be executed:

Error: 500
Internal Servlet Error:

java.lang.NegativeArraySizeException
 at com.sun.web.core.ServletLoader.loadClass(Compiled Code)
 at com.sun.web.core.ServletLoader.loadServlet(Compiled Code)
 at com.sun.web.core.ServletWrapper.loadServlet(Compiled Code)
 at com.sun.web.core.ServletWrapper.handleRequest(Compiled Code)
 at com.sun.web.core.InvokerServlet.service(Compiled Code)
 at javax.servlet.http.HttpServlet.service(Compiled Code)
 at com.sun.web.core.ServletWrapper.handleRequest(Compiled Code)
 at com.sun.web.core.Context.handleRequest(Compiled Code)
 at com.sun.web.server.ConnectionHandler.run(Compiled Code)

If any one has a solution to this problem, I would be grateful, since I
can't find anything on the net regarding this problem.

Thanks
Robby