This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes error executing j2ee example application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "error executing j2ee example application" Watch "error executing j2ee example application" New topic
Author

error executing j2ee example application

Chet Arora
Greenhorn

Joined: May 20, 2003
Posts: 29
Hi,
I downloaded the j2eetutorial zip file from the sun java site and
was trying out the 'converter' example from it. The instructions are
given in the online J2EE tutorial book also available at the sun
java site. I followed all the instructions and everything seems to
be fine till the time i submit a conversion request throught the
browser using localhost and port 8000. On doing so, i get the following
error:
Error: 500
Internal Servlet Error:
javax.servlet.ServletException
at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:384)
at _0005cindex_0002ejspindex_jsp_5._jspService(_0005cindex_0002ejspindex_jsp_5.java:138)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:126)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.java:161)
at org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:247)
at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:352)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at org.apache.tomcat.core.ServiceInvocationHandler.method(ServletWrapper.java:626)
at org.apache.tomcat.core.ServletWrapper.handleInvocation(ServletWrapper.java:534)
at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:378)
at org.apache.tomcat.core.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:125)
at org.apache.tomcat.core.DefaultServlet.processFile(DefaultServlet.java:244)
at org.apache.tomcat.core.DefaultServlet.doGet(DefaultServlet.java:145)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at org.apache.tomcat.core.ServiceInvocationHandler.method(ServletWrapper.java:626)
at org.apache.tomcat.core.ServletWrapper.handleInvocation(ServletWrapper.java:534)
at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:378)
at org.apache.tomcat.core.Context.handleRequest(Context.java:644)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:440)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:144
)
at org.apache.tomcat.service.TcpConnectionThread.run(TcpEndpoint.java:310)
at java.lang.Thread.run(Thread.java:479)
Root cause:
java.lang.RuntimeException
at com.sun.corba.ee.internal.io.ObjectStreamClass.writeReplace(ObjectStreamClass.java:300)
at com.sun.corba.ee.internal.io.ValueHandlerImpl.writeReplace(ValueHandlerImpl.java:287)
at com.sun.corba.ee.internal.iiop.CDROutputStream.write_value(CDROutputStream.java:952)
at com.sun.corba.ee.internal.iiop.CDROutputStream.write_value(CDROutputStream.java:571)
at com.sun.corba.ee.internal.io.IIOPOutputStream.outputClassFields(IIOPOutputStream.java:618)
at
com.sun.corba.ee.internal.io.IIOPOutputStream.defaultWriteObjectDelegate(IIOPOutputStream.java:163)
at com.sun.corba.ee.internal.io.IIOPOutputStream.outputObject(IIOPOutputStream.java:482)
at com.sun.corba.ee.internal.io.IIOPOutputStream.simpleWriteObject(IIOPOutputStream.java:125)
at
com.sun.corba.ee.internal.io.ValueHandlerImpl.writeValueInternal(ValueHandlerImpl.java:133)
at com.sun.corba.ee.internal.io.ValueHandlerImpl.writeValue(ValueHandlerImpl.java:89)
at com.sun.corba.ee.internal.iiop.CDROutputStream.write_value(CDROutputStream.java:1010)
at com.sun.corba.ee.internal.iiop.CDROutputStream.write_value(CDROutputStream.java:571)
at _Converter_Stub.dollarToYen(Unknown Source)
at _0005cindex_0002ejspindex_jsp_5._jspService(_0005cindex_0002ejspindex_jsp_5.java:110)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:126)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.java:161)
at org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:247)
at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:352)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at org.apache.tomcat.core.ServiceInvocationHandler.method(ServletWrapper.java:626)
at org.apache.tomcat.core.ServletWrapper.handleInvocation(ServletWrapper.java:534)
at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:378)
at org.apache.tomcat.core.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:125)
at org.apache.tomcat.core.DefaultServlet.processFile(DefaultServlet.java:244)
at org.apache.tomcat.core.DefaultServlet.doGet(DefaultServlet.java:145)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at org.apache.tomcat.core.ServiceInvocationHandler.method(ServletWrapper.java:626)
at org.apache.tomcat.core.ServletWrapper.handleInvocation(ServletWrapper.java:534)
at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:378)
at org.apache.tomcat.core.Context.handleRequest(Context.java:644)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:440)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:144
)
at org.apache.tomcat.service.TcpConnectionThread.run(TcpEndpoint.java:310)
at java.lang.Thread.run(Thread.java:479)
could some one please tell me where im going wrong....
please note im using jdk1.3.1_05 and j2sdkee1.2.1

thanks,
chetan
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: error executing j2ee example application
 
Similar Threads
CORBA exception running pet store ???
error in opening tld
Help needed urgently in running a servlet in J2sdkee1.2.1
validation using comparison operator in jsp
problem in TLD