You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Paul Sokolov <pl...@netcom.ca> on 2000/02/28 10:38:09 UTC
To configure Tomcat
Could anybody from expierenced people prompt me how to configure Tomcat to
make my JSP files visible for Tomcat. I tried to place them in the same
places like examples files, but they are still havn't appeared when I look
through examples . When I tried to refer them directly some of them worked
well,
but one of them named contact.jsp didn't work, displaing the following error
message.
Any ideas will be appreciated.
Pavel Sokolov.
Error: 500
Internal Servlet Error:
javax.servlet.ServletException
at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
l.java:384)
at
jsp.contacts._0005cjsp_0005ccontacts_0005cContact_0002ejspContact_jsp_0._jsp
Service(_0005cjsp_0005ccontacts_0005cContact_0002ejspContact_jsp_0.java:215)
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.ja
va:161)
at
org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:247)
at org.apache.jasper.runtime.JspServlet.service(JspServlet.java,
Compiled Code)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at
org.apache.tomcat.core.ServiceInvocationHandler.method(ServletWrapper.java:6
26)
at
org.apache.tomcat.core.ServletWrapper.handleInvocation(ServletWrapper.java,
Compiled Code)
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(HttpC
onnectionHandler.java:144)
at
org.apache.tomcat.service.TcpConnectionThread.run(TcpEndpoint.java:304)
at java.lang.Thread.run(Thread.java:479)
Root cause:
java.lang.NullPointerException
at
jsp.contacts._0005cjsp_0005ccontacts_0005cContact_0002ejspContact_jsp_0._jsp
Service(_0005cjsp_0005ccontacts_0005cContact_0002ejspContact_jsp_0.java:108)
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.ja
va:161)
at
org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:247)
at org.apache.jasper.runtime.JspServlet.service(JspServlet.java,
Compiled Code)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at
org.apache.tomcat.core.ServiceInvocationHandler.method(ServletWrapper.java:6
26)
at
org.apache.tomcat.core.ServletWrapper.handleInvocation(ServletWrapper.java,
Compiled Code)
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(HttpC
onnectionHandler.java:144)
at
org.apache.tomcat.service.TcpConnectionThread.run(TcpEndpoint.java:304)
at java.lang.Thread.run(Thread.java:479)