I've never used JSWDK, but with other web servers, a permissions problem can
develop.
The web server usually reads the directories as user 'nobody', however, they
(possibly) get written as your user id. Make sure the whole work directory tree has
permission 777 (at least to get started).
cc
Susan Holden wrote:
> Mary,
>
> I've had the same thing happen to me. When you try to access the work
> files it says they have been moved or deleted. If you cannot access these
> work files which log all errors then the JSP enging won't work. I usually
> just shut everything down and start over. I have no idea why these work
> files get screwed up, or how they magically fix themselves.
>
> Mary Wong wrote:
>
> > I downloaded the reference implementation from Sun's site 3 days ago, and
> > have seen it progress from unstable to unoperational. It started with both
> > servlet and jsp examples running fine. Then the servlet examples were still
> > fine, but JSP examples failed with the "error 500 unable to compile jsp"
> > returned to the client while the server shows the following error.
> >
> > com.sun.web.core.DefaultServlet: init
> > com.sun.web.core.DefaultServlet: init
> > com.sun.jsp.runtime.JspServlet: init
> > Scratch dir for the JSP engine is: work/%3A8080%2Fexamples
> > IMPORTANT: Do not modify the generated servlets
> > Unhandled error! You might want to consider having an error page to report
> > such errors more gracefully
> > com.sun.jsp.JspException: Compilation failed:error: Can't read:
> > work/%3A8080%2Fexamples/numguess_jsp_1.java
> > 1 error
> >
> > at java.lang.Throwable.<init>(Compiled Code)
> > at java.lang.Exception.<init>(Compiled Code)
> > at javax.servlet.ServletException.<init>(Compiled Code)
> > at com.sun.jsp.JspException.<init>(Compiled Code)
> > at com.sun.jsp.compiler.Main.compile(Compiled Code)
> > at com.sun.jsp.runtime.JspLoader.loadJSP(Compiled Code)
> > at
> > com.sun.jsp.runtime.JspServlet$JspServletWrapper.loadIfNecessary(Compiled
> > Code)
> > at com.sun.jsp.runtime.JspServlet$JspServletWrapper.service(Compiled
> > Code)
> > at com.sun.jsp.runtime.JspServlet.serviceJspFile(Compiled Code)
> > at com.sun.jsp.runtime.JspServlet.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)
> >
> > Then both servlets and jsp examples hang while "Connect: Host myServer:8080
> > contacted. Waiting for reply..." on the client browser.
> >
> > I've reinstalled the jswdk a few times to no avail. The OS used is SunOS
> > 5.6, JDK is 1.1.8.
> >
> > Anyone with similar experience? Ideas/advise?
> >
> > Thanks,
> > -Mary
> >
> > ______________________________________________________
> > Get Your Private, Free Email at http://www.hotmail.com
> >
> > ===========================================================================
> > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> > FAQs on JSP can be found at:
> > http://java.sun.com/products/jsp/faq.html
> > http://www.esperanto.org.nz/jsp/jspfaq.html
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> FAQs on JSP can be found at:
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html