If you are using Sun 1.5 JVM, you need to add a preMain Java agent
to the VM.
You need to:
edit the TOMCAT_HOME\bin\setclasspath.bat(sh) to add:
@REM Integrate InfraRED with Tomcat running on Sun 1.5 JVM
set JAVA_OPTS=-javaagent:%INFRARED_HOME%\aspectjweaver-1.5.0.jar %JAVA_OPTS%
You can add these lines anywhere in the file.
INFRARED_HOME\infrared-aspectsystem-all-2.4.1.BETA.jar
into TOMCAT_HOME\common\endorsed directory.
infrared-agent-all-servlet-2.4.1.BETA.jar into
TOMCAT_HOME\common\lib directory.
You need to:
edit the JBOSS_HOME\run.bat(sh) to add:
@REM Integrate InfraRED with JBoss running on Sun 1.5 JVM
set JAVA_OPTS=-javaagent:%INFRARED_HOME%\aspectjweaver-1.5.0.jar %JAVA_OPTS%
You can add these lines anywhere in the file before the command to launch the VM.
INFRARED_HOME\infrared-aspectsystem-all-2.4.1.BETA.jar into
JBOSS_HOME\lib\endorsed directory.
INFRARED_HOME\infrared-agent-all-jboss-2.4.1.BETA.jar
into JBOSS_HOME\server\default\lib directory.