tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 11573] New: - Can't run or compile JSP's
Date Thu, 08 Aug 2002 21:41:15 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11573>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11573

Can't run or compile JSP's

           Summary: Can't run or compile JSP's
           Product: Tomcat 4
           Version: 4.0.4 Final
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: Unknown
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: mmahoney@digitas.com


I have been all over everywhere trying to find a solution to this, I have 
searched the user list, I have been through the bug database and I have learned 
that this is a chronic problem for many, many people and yet I have found no 
workable solution.

I have a completely fresh install of Tomcat 4.0.4, my servlet.jar is up to 
date, I have set JAVA_HOME correctly ( I even explicitly set the path to my 
jdk\lib\tools.jar in the setclasspath.bat file. All to no avail. It will not 
run the example JSP's or any of mine, which ran on 3.x versions.

Here is the error I get in the browser:

Apache Tomcat/4.0.4 - HTTP Status 503 - Servlet jsp is currently unavailable

--------------------------------------------------------------------------------

type Status report

message Servlet jsp is currently unavailable

description The requested service (Servlet jsp is currently unavailable) is not 
currently available.

>From the log:

2002-08-08 17:22:51 StandardHost[localhost]: Installing web application at 
context path /webdav from URL file:C:\forte_jdk\forte4j\tomcat404\webapps\webdav
2002-08-08 17:22:51 WebappLoader[/webdav]: Deploying class repositories to work 
directory C:\forte_jdk\forte4j\tomcat404\work\Standalone\localhost\webdav
2002-08-08 17:22:51 StandardManager[/webdav]: Seeding random number generator 
class java.security.SecureRandom
2002-08-08 17:22:51 StandardManager[/webdav]: Seeding of random number 
generator has been completed
2002-08-08 17:22:51 ContextConfig[/webdav]: Added certificates -> request 
attribute Valve
2002-08-08 17:22:51 StandardWrapper[/webdav:default]: Loading container servlet 
default
2002-08-08 17:22:51 default: init
2002-08-08 17:22:51 StandardWrapper[/webdav:invoker]: Loading container servlet 
invoker
2002-08-08 17:22:51 invoker: init
2002-08-08 17:22:51 StandardWrapper[/webdav:jsp]: Marking servlet jsp as 
unavailable
2002-08-08 17:22:51 StandardContext[/webdav]: Servlet /webdav threw load() 
exception
javax.servlet.ServletException: Error instantiating servlet class 
org.netbeans.modules.tomcat.tomcat40.runtime.IDEJspServlet
	at org.apache.catalina.core.StandardWrapper.loadServlet
(StandardWrapper.java:895)
	at org.apache.catalina.core.StandardWrapper.load
(StandardWrapper.java:810)
	at org.apache.catalina.core.StandardContext.loadOnStartup
(StandardContext.java:3279)
	at org.apache.catalina.core.StandardContext.start
(StandardContext.java:3421)
	at org.apache.catalina.core.ContainerBase.addChild
(ContainerBase.java:785)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:478)
	at org.apache.catalina.core.StandardHost.install(StandardHost.java:738)
	at org.apache.catalina.startup.HostConfig.deployApps
(HostConfig.java:300)
	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:389)
	at org.apache.catalina.startup.HostConfig.lifecycleEvent
(HostConfig.java:232)
	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent
(LifecycleSupport.java:155)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1131)
	at org.apache.catalina.core.StandardHost.start(StandardHost.java:638)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
	at org.apache.catalina.core.StandardEngine.start
(StandardEngine.java:343)
	at org.apache.catalina.core.StandardService.start
(StandardService.java:388)
	at org.apache.catalina.core.StandardServer.start
(StandardServer.java:506)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:781)
	at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
	at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
----- Root Cause -----
java.lang.NoClassDefFoundError: org/apache/jasper/JasperError
	at java.lang.Class.getDeclaredConstructors0(Native Method)
	at java.lang.Class.privateGetDeclaredConstructors(Class.java:1576)
	at java.lang.Class.getConstructor0(Class.java:1748)
	at java.lang.Class.newInstance0(Class.java:266)
	at java.lang.Class.newInstance(Class.java:249)
	at org.apache.catalina.core.StandardWrapper.loadServlet
(StandardWrapper.java:886)
	at org.apache.catalina.core.StandardWrapper.load
(StandardWrapper.java:810)
	at org.apache.catalina.core.StandardContext.loadOnStartup
(StandardContext.java:3279)
	at org.apache.catalina.core.StandardContext.start
(StandardContext.java:3421)
	at org.apache.catalina.core.ContainerBase.addChild
(ContainerBase.java:785)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:478)
	at org.apache.catalina.core.StandardHost.install(StandardHost.java:738)
	at org.apache.catalina.startup.HostConfig.deployApps
(HostConfig.java:300)
	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:389)
	at org.apache.catalina.startup.HostConfig.lifecycleEvent
(HostConfig.java:232)
	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent
(LifecycleSupport.java:155)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1131)
	at org.apache.catalina.core.StandardHost.start(StandardHost.java:638)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
	at org.apache.catalina.core.StandardEngine.start
(StandardEngine.java:343)
	at org.apache.catalina.core.StandardService.start
(StandardService.java:388)
	at org.apache.catalina.core.StandardServer.start
(StandardServer.java:506)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:781)
	at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
	at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)


I have spent all day trying to find an answer and this is my last hope.

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message