Posted By:
Paul_Davidson
Posted On:
Monday, December 2, 2002 07:42 AM
Currently using IDEA 3.0 with tomcat 4.1.12 and trying to debug JSPs with it. Im thinking that in order to do this I need to run tomcat in debug mode, but this needs to be executed from the WebApp tab of the application entries dialog box, so I can debug JSPs. Servlets are easy to debug by simply running tomcat in debug mode from within IDEA. But to debug JSPs you need to run the web app in debug mode. Has anybody tried to do this, and succeeded? Configuration: (on WebApp tab of "edit entries" dlg) Application server: Tomcat 4.0.x Server Debuggee host: localhost Debuggee port: 80 "Launch server before debugger attaches" i
More>>
Currently using IDEA 3.0 with tomcat 4.1.12 and trying to debug JSPs with it.
Im thinking that in order to do this I need to run tomcat in debug mode, but this needs to be executed from the WebApp tab of the application entries dialog box, so I can debug JSPs.
Servlets are easy to debug by simply running tomcat in debug mode from within IDEA. But to debug JSPs you need to run the web app in debug mode.
Has anybody tried to do this, and succeeded?
Configuration: (on WebApp tab of "edit entries" dlg)
Application server: Tomcat 4.0.x Server
Debuggee host: localhost
Debuggee port: 80
"Launch server before debugger attaches" is on.
I get the following errors:
java.lang.NullPointerException
at java.util.Hashtable.get(Hashtable.java:329)
at org.apache.commons.logging.LogFactory.getCachedFactory(LogFactory.java:502)
at org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:264)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:401)
at org.apache.commons.digester.Digester.
(Digester.java:345)
at org.apache.catalina.startup.Catalina.createStartDigester(Catalina.java:280)
at org.apache.catalina.startup.Catalina.start(Catalina.java:441)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
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:203)
<<Less