> Will a remote debugging setup in IDEA with tomcat allow for source-level
> JSP breakpoints?

Only when they support JSR045 (promised to be implemented in Tomcat 5.0)

--

Best regards,
Eugene Zhuravlev
JetBrains, Inc, http://www.intellij.com
"Develop with pleasure!"


"Charlie Evett" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Will a remote debugging setup in IDEA with tomcat allow for source-level
> JSP breakpoints?
>
> -Charlie Evett
>
> Eugene Zhuravlev wrote:
> > Hi Saumendra,
> >
> > Really cannot reproduce the problem. Thought this might be related to
Tomcat
> > version (4.1.10 vs 4.1.12). After downloading 4.1.12 and configuring a
Run
> > configuration as described below, I got everything working. Perhaps the
> > problem is in your particular configuration of server.xml or whatever.
> >
> > BTW, why it is needed to set up a Run configuration to run Tomcat? An
> > external tool can do the same and it is much faster to set up (just
point
> > the tool to the startup script). As for debugging - Remote debugging is
much
> > easier to set up and it works in the same way.
> >
> > --
> >
> > Best regards,
> > Eugene Zhuravlev
> > JetBrains, Inc, http://www.intellij.com
> > "Develop with pleasure!"
> >
> >
> > "Saumendra Poddar" <[EMAIL PROTECTED]> wrote in message
> > amv0e3$1e8$[EMAIL PROTECTED]">news:amv0e3$1e8$[EMAIL PROTECTED]...
> >
> > Hello Eugene,
> > Thank you for responding to me each time I am asking for help. But my
> > problem hasn't been solved yet. I am using Tomcat 4.1.12 and I haven't
even
> > touched the server.xml file. Both server.xml and web.xml are unmodified.
If
> > u want me to post some screen shots of my situation, i can do so.
> >
> > Saumendra
> >
> >
> >
> >   Hello Eugene,
> >
> >   Okay let me explain what I am doing
> >
> >   I have Tomcat4.1 installed in C:\Java\Tomcat4_1
> >   I have JDK4.1 installed in C:\Java\J2SDK1.4.0_01
> >
> >   My main class is
> >   org.apache.catalina.startup.Bootstrap
> >
> >   My VM Parameter is
>
  -Djava.endorsed.dirs="C:\Java\Tomcat4_1\bin;C:\Java\Tomcat4_1\common\endor
> > sed"
> >   -Dcatalina.base="C:\Java\Tomcat4_1"
> >   -Dcatalina.home="C:\Java\Tomcat4_1"
> >    -Djava.io.tmpdir="C:\Java\Tomcat4_1\temp"
> >
> >   My Program start Parameter is
> >   start
> >
> >   My Working directory is
> >   C:\Java\Tomcat4_1
> >
> >   I have added all jars in C:\Java\Tomcat4_1\server\lib and
> > C:\Java\Tomcat4_1\common\lib to my project classpath
> >   I am using JDK 1.4
> >
> >   This is my error message when I am trying to run
> >
> >
> >
> >
C:\Java\J2SDK1.4.0_01\bin\javaw.exe -Djava.endorsed.dirs="C:\Java\Tomcat4_1\
> >
bin;C:\Java\Tomcat4_1\common\endorsed" -Dcatalina.base="C:\Java\Tomcat4_1" -
> >
Dcatalina.home="C:\Java\Tomcat4_1" -Djava.io.tmpdir="C:\Java\Tomcat4_1\temp"
> >  -classpath (all the jar files appear over here that are in my
classpath)
> > org.apache.catalina.startup.Bootstrap start
> >
> >   Sep 25, 2002 1:43:11 PM org.apache.commons.modeler.Registry
loadRegistry
> >   INFO: Loading registry information
> >   Sep 25, 2002 1:43:11 PM org.apache.commons.modeler.Registry
getRegistry
> >   INFO: Creating new Registry instance
> >   Sep 25, 2002 1:43:11 PM org.apache.commons.modeler.Registry getServer
> >   INFO: Creating MBeanServer
> >   Sep 25, 2002 1:43:12 PM org.apache.coyote.http11.Http11Protocol init
> >   INFO: Initializing Coyote HTTP/1.1 on port 8080
> >
> >   ServerLifecycleListener: createMBeans: Throwable
> >   java.lang.NoSuchMethodError:
> >
org.apache.catalina.core.StandardServer.addPropertyChangeListener(Ljava/bean
> > s/PropertyChangeListener;)V
> >    at
> >
org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerLifecy
> > cleListener.java:731)
> >    at
> >
org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerLifecy
> > cleListener.java:339)
> >    at
> >
org.apache.catalina.mbeans.ServerLifecycleListener.lifecycleEvent(ServerLife
> > cycleListener.java:206)
> >    at
> >
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
> > t.java:155)
> >    at
org.apache.catalina.core.StandardServer.start(StandardServer.java:498)
> >    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:203)
> >
> >   javax.naming.NameNotFoundException: Name java: is not bound in this
> > Context
> >    at org.apache.naming.NamingContext.lookup(NamingContext.java:811)
> >    at org.apache.naming.NamingContext.lookup(NamingContext.java:194)
> >    at javax.naming.InitialContext.lookup(InitialContext.java:347)
> >    at
> >
org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans(Glo
> > balResourcesLifecycleListener.java:167)
> >    at
> >
org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.lifecycleEvent(G
> > lobalResourcesLifecycleListener.java:147)
> >    at
> >
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
> > t.java:155)
> >    at
org.apache.catalina.core.StandardServer.start(StandardServer.java:498)
> >    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:203)
> >
> >   java.lang.IllegalStateException: No global naming context defined for
> > server
> >    at
> >
org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans(Glo
> > balResourcesLifecycleListener.java:170)
> >    at
> >
org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.lifecycleEvent(G
> > lobalResourcesLifecycleListener.java:147)
> >    at
> >
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
> > t.java:155)
> >    at
org.apache.catalina.core.StandardServer.start(StandardServer.java:498)
> >    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:203)
> >
> >   Process terminated with exit code 0
> >
> >
> >   Here is a screenshot of my jars that are added to my project classpath
> >
> >
> >
> >
> >
> >   Kindly help.
> >
> >   Saumendra
> >   Canada
> >
> >
>
>


_______________________________________________
Eap-bugs mailing list
[EMAIL PROTECTED]
http://lists.jetbrains.com/mailman/listinfo/eap-bugs

Reply via email to