Re: Cannot start a servlet (continued)

>From your log it looks like your servlet should be configured to have a
servlet class of
AT.genesis.servlet.GenServlet (I don't add .class)
and the class file should be located at
AT/genesis/servlet/GenServlet.class either in a jar file in the
classpath when jigsaw started
or relative to the servlets directory i.e.
gen/AT/genesis/servlet/AT/genesis/servlet/GenServlet.class.

This is just a guess. I have not used named packages for my servlets yet
and
I always have the classes in jar file in the classpath on startup.
You could add some System.err.println("init started") messages in your
servlet to see
if it is getting as far as calling init() and reaching the end of init()
without throwing exception.

Have you tried without the proxy, or with different browsers (http1.1 ,
http1.0).


> E:\Jigsaw\Jigsaw\logs>type servlets
> [29/Mar/1999:17:19:36 -2] Servlet Logger started
> [29/Mar/1999:17:19:37 -2] AT.genesis.servlet.GenServlet: init
>
> The files "log" and "traces" are empty. I had already problems
> with the CLASSPATH. In this case "jigsaw" raised the
> java.lang.NoClassDefFoundError exception. Therefore
> I guess the CLASSPATH is ok.
>
> Is it possible to do more logging and tracing?
>
>      Klaus



--
Chris Turner, http://www.cycom.co.uk/

Received on Monday, 29 March 1999 16:19:09 UTC