aspose file tools*
The moose likes Tomcat and the fly likes no JSP example is working - pls advise Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "no JSP example is working - pls advise" Watch "no JSP example is working - pls advise" New topic
Author

no JSP example is working - pls advise

Till Jaeger
Greenhorn

Joined: Jul 02, 2002
Posts: 3
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

Joined: Jun 27, 2001
Posts: 171
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

Joined: Oct 12, 2001
Posts: 1179

You need the full JDK to run Tomcat.
/Rene


Regards, Rene Larsen
Dropbox Invite
Balaji Loganathan
author and deputy
Bartender

Joined: Jul 13, 2001
Posts: 3150
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.


Spritle Software Blogs
Till Jaeger
Greenhorn

Joined: Jul 02, 2002
Posts: 3
Guys,
thanks for the replies. Installing the full JDK was a solution for me. It's working now.
cheers, Till
Rene Larsen
Ranch Hand

Joined: Oct 12, 2001
Posts: 1179

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

Joined: Jul 13, 2001
Posts: 3150
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

Joined: Nov 22, 2008
Posts: 18944
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

Joined: Jul 02, 2002
Posts: 3
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: no JSP example is working - pls advise