tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ilan Meyrowitsch <meyrowit...@yahoo.com>
Subject help dev
Date Tue, 27 Jan 2004 10:35:39 GMT
Hi
 
Please help me to run my first Hello.jsp on Tomcat 5.0
I installed the Tomcat on win2000.
On http:\\127.0.0.1 can I see the index.jsp of Tomcat.
I can also see my own Hello.html when I put it in the \webapps\ROOT 
BUT I can not see my own Hello.jsp when I put it in the \webapps\ROOT.
 
(the tools.jar is in \common\lib\)

I check the JAVA_HOME=C:\j2sdk1.4.2_03
and the PATH=C:\j2sdk1.4.2_03\bin
and the CLASSPATH=.;C:\Tomcat5.0\work\Catalina\localhost\_\org\apache\jsp;C:\Tomcat5.0\common\lib\servlet-api.jar;.;C:\Tomcat5.0\webapps\ROOT;C:\Tomcat5.0;C:\Tomcat5.0\work\Catalina\localhost\_;C:\Tomcat5.0\work;C:\Tomcat5.0\common\lib\servlet.jar;C:\Tomcat5.0\work\Catalina\localhost;
I can see the *.jsp if I put a precompiled Hello_jsp.class in C:\Tomcat5.0\work\Catalina\localhost\_\org\apache\jsp
But I want the Tomcat to compile the *.java
HOW?
please help me with the setup.
Thanks

Ilan
 
meyrowitsch@yahoo.com
meyrowit@mail.jct.ac.il
m-ilan@bezeqint.net
This is the log file:
2009-01-27 09:14:30 StandardContext[/balancer]org.apache.webapp.balancer.BalancerFilter: init():
ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule:
Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule:
Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com],
[org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]
2009-01-27 09:14:32 StandardContext[/jsp-examples]ContextListener: contextInitialized()
2009-01-27 09:14:32 StandardContext[/jsp-examples]SessionListener: contextInitialized()
2009-01-27 09:14:34 StandardContext[/servlets-examples]ContextListener: contextInitialized()
2009-01-27 09:14:34 StandardContext[/servlets-examples]SessionListener: contextInitialized()
2009-01-27 09:17:25 StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception
java.lang.UnsupportedClassVersionError: com/sun/tools/javac/Main (Unsupported major.minor
version 48.0)
 at java.lang.ClassLoader.defineClass0(Native Method)
 at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
 at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111)
 at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
 at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
 at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
 at org.apache.catalina.loader.StandardClassLoader.findClass(StandardClassLoader.java:520)
 at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:857)
 at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:756)
 at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
 at java.lang.Class.forName0(Native Method)
 at java.lang.Class.forName(Class.java:120)
 at org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.doesModernCompilerExist(CompilerAdapterFactory.java:173)
 at org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompiler(CompilerAdapterFactory.java:131)
 at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:835)
 at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:682)
 at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:390)
 at org.apache.jasper.compiler.Compiler.compile(Compiler.java:458)
 at org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
 at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:552)
 at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:291)
 at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:284)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204)
 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
 at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
 at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
 at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:245)
 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:199)
 at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
 at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:195)
 at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164)
 at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
 at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:156)
 at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
 at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972)
 at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:211)
 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:805)
 at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:696)
 at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:605)
 at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:677)
 at java.lang.Thread.run(Thread.java:484)





---------------------------------
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message