Debugging JSPs with IDEA 3.0
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

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

Re: Debugging JSPs with IDEA 3.0

Posted By:   Stanislav_Davydov  
Posted On:   Friday, December 6, 2002 09:05 AM

Hello!



It's simple, IDEA 3.0 can't debug JSP on Tomcat 4.1.x (due some Tomcat 4.1.x specific features).

So JSP debugging can work with Tomcat 4.0.x only.
About | Sitemap | Contact