I'm willing to add the line , but where do i add it to ?

To a servlet.properties file ? Where must this file be ?
To the runner.bat file ? Where in the bat file ?

I added it to the runner.bat file : same problem !
I added it to the a servlet.properties in
<install-dir>/httproot/servlets : same problem !

Think i need some more info

Werner

Mukund Balu wrote:
>
> Just add the line
>
> YourServlet.initParams=
>
> You dont even need to have any parameters there but you havce to have the
> line.
>
> Cheers,
>
> Mukund Balu
>
> -----Original Message-----
> From: Werner Ramaekers <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
> Date: Sunday, February 21, 1999 10:41 AM
> Subject: Trouble running JSDK 2.1 EA1
>
> >Hi all,
> >
> >I'm trying to get the servletrunner from JSDK2.1 EA1 on
> >a Win 95 machine to work, but i'm having the following problem :
> >I start the servletrunner using the runner.bat file
> >but when i try to access the server at
> >http://localhost:8080/
> >I get the following error in the dos-window :
> >
> >C:\Java\jsdk2.1>runner
> >JSDK Server Version 2.1 Early Access 1
> >com.sun.tomcat.server.DefaultServlet: init
> >HANDLER THREAD PROBLEM!: java.lang.NullPointerException
> >java.lang.NullPointerException
> >        at com.sun.tomcat.server.DefaultServlet.doGet(Compiled Code)
> >        at javax.servlet.http.HttpServlet.service(HttpServlet.java:499)
> >        at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
> >        at
> com.sun.tomcat.server.ServletWrapper.handleRequest(ServletWrapper.jav
> >a:109)
> >        at com.sun.tomcat.server.Context.handleRequest(Compiled Code)
> >        at com.sun.tomcat.server.ConnectionHandler.run(Compiled Code)
> >
> >Does this mean there's a problem with the Classpath ? That it can't find
> the
> >com.sun.tomcat.* class ?
> >
> >When i look at the SET parameters it tells me the executed command is :
> >CMDLINE=java -cp runner.jar;servlet.jar;classes
> com.sun.tomcat.shell.Startup
> >
> >Can anybody tell me what is wrong in my setup ?
> >
> >Werner
> >
> >___________________________________________________________________________
> >To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> >of the message "signoff SERVLET-INTEREST".
> >
> >Archives: http://archives.java.sun.com/archives/servlet-interest.html
> >Resources: http://java.sun.com/products/servlet/external-resources.html
> >LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
> >
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to