File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

no JSP example is working - pls advise

 
Till Jaeger
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys,
i'm new to tomcat. At first i try to execute the examples and i get following errormessage:
Error: 500
Location: /examples/jsp/snp/snoop.jsp
Internal Servlet Error:
org.apache.jasper.JasperException: Unable to compile
at org.apache.tomcat.facade.JasperLiaison.javac(JspInterceptor.java:898)
at org.apache.tomcat.facade.JasperLiaison.processJspFile(JspInterceptor.java:733)
at org.apache.tomcat.facade.JspInterceptor.requestMap(JspInterceptor.java:506)
at org.apache.tomcat.core.ContextManager.processRequest(ContextManager.java:968)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:875)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:833)
at org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10Interceptor.java:176)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:494)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:516)
at java.lang.Thread.run(Unknown Source)
any help is appreciated.
I'm using Tomcat 3.3.1 and JRE 1.3.1 at the moment at W2K.
Thanks, Till
 
Brian Glodde
Ranch Hand
Posts: 171
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Till,
Firstly, you're going to be busted by a sheriff or bartender for your name. It should be 2 names separated by a space.
Secondly, this may be a shot in the dark, but you might not have "tools.jar" in your classpath.
 
Rene Larsen
Ranch Hand
Posts: 1179
Eclipse IDE Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need the full JDK to run Tomcat.
/Rene
 
Balaji Loganathan
author and deputy
Bartender
Posts: 3150
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Rene Larsen:
You need the full JDK to run Tomcat.
/Rene


Hi Rene,
No you don't need full JDK to run tomcat,tomcat can run with jre alone also.
 
Till Jaeger
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Guys,
thanks for the replies. Installing the full JDK was a solution for me. It's working now.
cheers, Till
 
Rene Larsen
Ranch Hand
Posts: 1179
Eclipse IDE Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Balaji
Yes but you need some - or at least one jar file(s) from JDK e.g. 'tools.jar' and if you do not have them/it from somewhere else then you need the hole JDK.
/Rene
 
Balaji Loganathan
author and deputy
Bartender
Posts: 3150
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You are right,
you can refer a similar thread http://www.coderanch.com/t/81850/Tomcat/Tomcat-run-JRE-only
I found we need tools.jar for only un-compiled classes or jsp's.
 
Anonymous
Ranch Hand
Posts: 18944
  • 0
  • send pies
  • Quote
  • Report post to moderator
Call me crazy, but Till Jaeger seems to run afoul of the "obviously fictitious" prohibition in the Official Javaranch naming policy. Please choose a user name that follows the rules.
[ July 05, 2002: Message edited by: Bodie Minster ]
 
Till Jaeger
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bodie,
whats wrong with my name?
I first took only my first name (that was wrong ok!) then i extended it to my complete real name (Till Jaeger). So whats now wrong with it?
cheers, Till
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic