Open GoogleCodeExporter opened 9 years ago
Can you try removing the webapps/bodgeit/WEB-INF/lib/servlet-api.jar file and
restarting tomcat?
Many thanks,
Simon
Original comment by psii...@gmail.com
on 10 Sep 2012 at 8:41
Hi Simon,
I guess my original reply didn't make it. Here it is again:
That reduces the number of Exceptions, but they are still there, and the app
won't load in the browser:
Sep 10, 2012 8:43:25 AM org.apache.catalina.core.AprLifecycleListener init
INFO: The Apache Tomcat Native library which allows optimal performance in
production environments was not found on the java.library.path: C:\Program
Files\Java\jre6\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:/
Program Files/Java/jre7/bin/client;C:/Program Files/Java/jre7/bin;C:\Program
Files\PHP\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
Files\QuickTime\QTSystem\;D:\Temp\eclipse\plugins\org.apache.ant_1.7.1.v20090120
-1145/bin;C:\Python27;C:\Program Files\MySQL\MySQL Server
5.5\bin;C:\jython2.5.3\bin;C:\jython2.5.3;
Sep 10, 2012 8:43:25 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Sep 10, 2012 8:43:25 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 513 ms
Sep 10, 2012 8:43:25 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Sep 10, 2012 8:43:25 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.14
Sep 10, 2012 8:43:25 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive bodgeit.war
Sep 10, 2012 8:43:27 AM org.apache.catalina.core.StandardContext loadOnStartup
SEVERE: Servlet /bodgeit threw load() exception
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 239 in the generated java file
The method getJspApplicationContext(ServletContext) is undefined for the type
JspFactory
Stacktrace:
at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92)
at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:423)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:308)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1180)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4045)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4351)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:516)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Sep 10, 2012 8:43:27 AM org.apache.tomcat.util.modeler.Registry
registerComponent
SEVERE: Null component
Catalina:type=JspMonitor,name=InitServlet,WebModule=//localhost/bodgeit,J2EEAppl
ication=none,J2EEServer=none
Sep 10, 2012 8:43:27 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Sep 10, 2012 8:43:27 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
Sep 10, 2012 8:43:27 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Sep 10, 2012 8:43:27 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Sep 10, 2012 8:43:27 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/46 config=null
Sep 10, 2012 8:43:27 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 2162 ms
Original comment by SMERSH0...@gmail.com
on 21 Sep 2012 at 12:20
Ah, sorry, got lots of things going on right now, so I'm afraid I havnt been
able to find much time to look at bodgeit :(
I've just downloaded Tomcat 6.0.35 and dropped the latest bodgeit war in and it
worked fine.
But thats on Windows 7 - I'm afraid I dont have an XP machine available for
trying this out on :(
Is there any chance you can try this with 6.0.35 or the latest Tomcat 7?
Original comment by psii...@gmail.com
on 24 Sep 2012 at 8:41
Ahh good news! Using Tomcat 7 worked like a charm.
Thanks!
Original comment by SMERSH0...@gmail.com
on 24 Sep 2012 at 5:32
Great :)
Original comment by psii...@gmail.com
on 24 Sep 2012 at 5:42
Original issue reported on code.google.com by
SMERSH0...@gmail.com
on 3 Sep 2012 at 4:15