Search code examples
javaeclipsetomcatremote-debugging

Accessibility of Tomcat during debug


I am trying to debug Web Service running on Tomcat 7.0 via Axis2 in Eclipse Mars2.

I have started Tomcat inside Eclipse with this arguments:

-Xdebug
-Xnoagent
-Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n

I have created the remote debug configuration for my project and started it. Everything seems fine: there's tomcat running and in debug perspective I see my Remote Java Application with some Daemon threads.

But how do I test it? When I try to access tomcat via browser typing "http://localhost:8080/axis2/services/REButils/" it returns 404, Soap UI returns the same?

How do I invoke my service if it's unaccessible?


Solution

  • I've managed to start Tomcat separately in jpda mode and it worked fine with eclipse remote debugging.

    No idea why 404 happenned while starting apache from Eclipse though.