I have J2EE Reference Implementation running on Linux (RH 6.1), using
the Sun jdk1.2.2.  I tried several EJB examples, and everything seemed
fine, until I tried running the Pet Store demo.  It deploys, and the
main page comes up fine, but no other page will display.  I am getting
an exception from the tag library.  Here is the trace from the j2ee log:

-----------------------------------
java.lang.NullPointerException
        at java.util.Hashtable.put(Hashtable.java:377)
        at org.apache.tomcat.core.Request.setAttribute(Request.java:183)

        at
org.apache.tomcat.core.HttpServletRequestFacade.setAttribute(HttpServ
letRequestFacade.java:110)
        at
org.apache.tomcat.core.ServletWrapper.handleException(ServletWrapper.
java:457)
        at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.ja
va:383)
        at
org.apache.tomcat.core.RequestDispatcherImpl.include(RequestDispatche
rImpl.java:215)
        at com.sun.estore.taglib.InsertTag.doEndTag(InsertTag.java:67)
        at
_0002ftemplate_0002ejsptemplate_jsp_3._jspService(_0002ftemplate_0002
ejsptemplate_jsp_3.java:3499)
        at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:130)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:868)
        at
org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspSer
vlet.java:159)
        at
org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:2
        at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:373)

        at
org.apache.tomcat.core.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:134)

        at
_0002fcontrolcontrol_jsp_3._jspService(_0002fcontrolcontrol_jsp_3.java:154)

        at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:130)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:868)
        at
org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.java:159)

        at
org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:243)

        at
org.apache.jasper.runtime.JspServlet.service(JspServlet.java:348)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:868)
        at
org.apache.tomcat.core.ServiceInvocationHandler.method(ServletWrapper.java:621)

        at
org.apache.tomcat.core.ServletWrapper.handleInvocation(ServletWrapper.java:529)

        at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:373)

        at
org.apache.tomcat.core.Context.handleRequest(Context.java:648)
        at
org.apache.tomcat.server.ConnectionHandler.run(ConnectionHandler.java:205)

---------------------
Am I missing something, or is there a newer version (this is from about
a month ago)?  I've tried rebuilding from source and redeploying, and
I've looked at the code for signs of obvious breakage.

Any ideas?

Thanks.

John Collins
University of Minnesota

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to