Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

JSP Error Message

Status
Not open for further replies.

samimichaels

IS-IT--Management
Nov 17, 2000
20
US
HELP!!! I am totally new to JSP and Tomcat and am trying to get a site working on a new server. But the old programmer "tweaked" tomcat to run with our scripts.

Unfortunatley, I don't know what he did.

Here is the error I am getting. Any help would be great!!!

Error: 500
Location: /index.jsp
Internal Servlet Error:

org.apache.jasper.compiler.CompileException: /var/tomcat/webapps/ROOT/index.jsp(2,0) Bad file argument to include
at java.lang.Throwable.(Throwable.java:96)
at java.lang.Exception.(Exception.java:44)
at javax.servlet.ServletException.(ServletException.java)
at org.apache.jasper.JasperException.(JasperException.java)
at org.apache.jasper.compiler.CompileException.(CompileException.java)
at org.apache.jasper.compiler.JspParseEventListener.handleDirective(JspParseEventListener.java)
at org.apache.jasper.compiler.DelegatingListener.handleDirective(DelegatingListener.java)
at org.apache.jasper.compiler.Parser$Directive.accept(Parser.java)
at org.apache.jasper.compiler.Parser.parse(Parser.java)
at org.apache.jasper.compiler.Parser.parse(Parser.java)
at org.apache.jasper.compiler.Parser.parse(Parser.java)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java)
at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java)
at org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java)
at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java)
at org.apache.tomcat.core.Handler.service(Handler.java)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java)
at org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection(Ajp12ConnectionHandler.java)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java)
at java.lang.Thread.run(Thread.java:498)

 
when tomcat loads, it loads whatever context it finds under the webapps directory
it seems that in your "ROOT" context, the index.jsp file is including another file - that the system can't find
i'd suggest to remove evrything under webapps, jsut to check if your tomcat starts normally, when alone
and then gradually add files in it, while checking (== sending queries) if they are ok
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top