20.08.2010

Integrating WAS 7.0 with JxInsight

1. Copy jxinsigt-ext-*.jar files which are highlighted below into websphere lib directory.


JxInsightCoreFiles

2. copy jxinsight.dll into ${websphereInstallationDirectory}\java\jre\bin directory

JxInsightDll

3. Configure java runtime parameters from


AppServerPath

Parameters:

-javaagent:${JXINSIGHT_LIB}\\aspectjweaver.jar=cache=false -agentpath:C:/dev/tools/ibm/WID7_WTE/runtimes/bi_v7/java/bin/jxinsight.dll=prod -Djxinsight.server.aspectj.transform.thread.contextclassloader.hide.enabled=false

4. put these parameters into server.policy file

policy

grant {

permission java.util.PropertyPermission "aj.weaving.verbose", "read";

permission java.util.PropertyPermission "org.aspectj.tracing.messages", "read";

permission java.util.PropertyPermission "org.aspectj.weaver.showWeaveInfo", "read";

permission java.util.PropertyPermission "org.aspectj.weaver.loadtime.configuration", "read";

};
5. jxinsight.aspectj.filters.config configuration
JxInsight uses this file for instrumenting classes.
In our case you have to put this file into
C:\dev\tools\ibm\WID7_WTE\runtimes\bi_v7\profiles\ProcSrv04 directory which is the parent directory of  profiles bin folder.  Especially because com.ibm packages are encrypted instrumenting your own code base classes is more meaningfull. Putting this line !com.ibm will  have made jxinsight disable instrumenting com.ibm packages.

6. jxinsihgt.override.config which is used for jxinsight properties have to be in same directory as step 5. Please read release-notes.txt in jxisnight installation folder.

Hiç yorum yok: