Hi, Everyone:
I have sent three messages to the mail-list, but so far I haven't got
any answer yet. I am desperated to ask anyone's help; otherwise, I will give
up for JSWDK1.0.1.
I download jswdk from sun.com and did whatever readme.txt and faq said.
I configured webserver.xml and set the port number as 9000. In
webserver.xml, it said "the jswdk server will create a default configuration
file upon initialization if it does not find one either by looking in the
jswdk install direcctory for the file "webserver.xml or the "-config
[file|url]" comman line
option." What I understand from the sentence is if webserver.xml exists, no
default configuration file will be created, but after I start the server by
clicking startserver.bat, the dos window prompts like:
jswdk webserver version 2.1
loaded configuration file d:\jswdk-1.0.1/default.cfg
end pointed: :9000
default.cfg is created by startserver.bat automatically. Then when I ran JSP
samples come with the package, I got the following error message:
com.sun.web.core.defaultservlet:initcom.sun.web.core.defaultservlet:init
com.sun.jsp.runtime.jspSevlet:initscratchdir for jsp engine is: jspscratch
Important: do not modify gernerated servletsUnhandled error!
java.lang.NullPointerException
at
com.sun.web.core.servletContextFacade.getResource(ServletContext.java:114)
at com.sun.web.core.servletContextFacade.getRealPath(ServletContext.java:97)
at javax.servlet.http.httpServlet.servcie(httpservlet.java:275)
at com.sun.jsp.runtime.jspSevlet.service(Jspservlet.java:275)
at com.sun.web.core.ServletWrapper.handlerequest(ServletWrapper.java:140)
at com.sun.web.core.Context.handlerequest(context.java:375)
at com.sun.web.server.connectionhandler.run(connectionhandler.java:135)
I installed Jsdk2.1 in the same drive with different directory.
It is in port 8080. But even I uninstall jsdk2.1, the problem is the same.
I have jbuilder3 installed. Do you think this will be the cause of the
problem?
Please, please give me any answer. I am tired of jswdk. I need your help. I
am
forward to hearing from you. Thank you very very much!!!
Juan Fu
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets