JBOSS Server

In this JBoss example, for a 32-bit application, the source code for a simple servlet is located in the directory location:


The binaries executed by JBOSS are located in the JAW.EAR file in this location:


The Enterprise Architect debugger has to be able to locate source files during debugging; to do this it also uses the CLASSPATH, searching in any listed path for a matching JAVA source file, so the CLASSPATH must include a path to the root of the Package for Enterprise Architect to find the source during debugging.

This is an excerpt from the command file that executes the JBOSS server; the Class to be debugged is at:


Therefore, the root of this path is included in the JBOSS_CLASSPATH.

Example Code



set SOURCE=C:\Benchmark\Java\JBOSS\Inventory


set JAVAC_JAR=%JAVA_HOME%\lib\tools.jar


if  "%JBOSS_CLASSPATH%" == ""









set JAVA_OPTS=%JAVA_OPTS% -agentpath:"c:\program files\sparx systems\vea\x86\ssjavaprofiler32"