Check out lines 205 of org.apache.jasper.runtime.JSPServlet and 233 of
org.apache.jasper.Options and find out what's calling a method of
java.io.File.  A hunch is that a file needed by the JSPServlet is
non-existent or in the wrong place.  Maybe a properties file, or maybe your
JSP.

Scott Stirling

----- Original Message -----
From: "Shrisha Radhakrishna" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 28, 2000 3:16 PM
Subject: JSP with weblogic 4.0.4


Hi All,
    I am trying to use Tomcat's jasper.jar with weblogic 4.0.4 (since this
version of weblogic doesn't support JSP).  When I start my weblogic server,
I notice that jasper.jar has been loaded.  Also the init function of
JspServlet.class is called when I try to access a .JSP file thru any
browser.  But, then, it crashes....  Here is what is says:

####
Mon Feb 28 12:05:15 PST 2000:<I> <ServletContext-Servlets>
org.apache.jasper.runtime.JspServlet: init
Mon Feb 28 12:05:15 PST 2000:<E> <ServletContext-Servlets> Servlet failed
with RuntimeException
Mon Feb 28 12:05:15 PST 2000:<E> <ServletContext-Servlets>
java.lang.NullPointerException
at java.io.File.<init>(File.java)
at org.apache.jasper.Options.<init>(Options.java:233)
at org.apache.jasper.runtime.JspServlet.init(JspServlet.java:205)
at
weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.jav
a:187)
at
weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:85
)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:67)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:212)
at
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:506)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:264)
at weblogic.t3.srvr.ExecuteThread.run(ExecuteThread.java:100)
###

===========================================================================
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

Reply via email to