Apache Tomcat Server
The Apache Tomcat Server can be configured for debugging using the Java debugger in Enterprise Architect. This example shows the configuration dialog for Apache Tomcat 7.0 on a PC running Windows 7.
These three points are important:
- The 'Java Virtual Machine' specifies the runtime from an installation of the Java JDK
- The source path to any servlet to be debugged is added to Java Classpath; in this case we add the path to the Tomcat servlet:
- The 'Java Options' include the path to the Sparx Systems debugging agent:
-agentpath:c:\program files (x86)\sparx systems\vea\x86\ssjavaprofiler32