Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
JBOSS Server
Topics
Topic |
Detail |
See also |
---|---|---|
Abstract |
Consider the JBoss example below; the source code for a simple servlet is located in the directory location: C:\Benchmark\Java\JBOSS\Inventory The binaries executed by JBOSS are located in the JAW.EAR file in this location: C:\JBOSS\03b-dao\build\distribution 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. The following is an excerpt from the command file that executes the JBOSS server; the Class to be debugged is at: com/inventory/dto/carDTO Therefore, the root of this path is included in the JBOSS classpath
|
|
Example Code |
RUN.BAT ------------- set SOURCE=C:\Benchmark\Java\JBOSS\Inventory
set JAVAC_JAR=%JAVA_HOME%\lib\tools.jar
if� "%JBOSS_CLASSPATH%" == "" ( � set JBOSS_CLASSPATH=%SOURCE%;%JAVAC_JAR%;%RUNJAR%; ) else ( � set JBOSS_CLASSPATH=%SOURCE%;%JBOSS_CLASSPATH%;%JAVAC_JAR%;%RUNJAR%; )
set JAVA_OPTS=%JAVA_OPTS% -agentpath:"c:\program files\sparx systems\ssjavaprofiler75"
|
|