Local Development Workstation:
- Rational Application Developer 7.5.5 (you need to include portal toolkit with WebSphere Portal 6.1 stub)
- WebSphere Portal 6.1.5.1
- Rational Agent Controller 8.1.3
- OS: Windows 2003 SP 2
http://www-01.ibm.com/support/docview.wss?uid=swg27016728&aid=1
The following are the environment variables that I have to set on the remote machine:
- JAVA_PROFILER_HOME=c:\IBM\SDPNew\AgentController\plugins\org.eclipse.tptp.javaprofiler
- LIB=%LIB%;c:\IBM\SDPNew\AgentController\plugins\;c:\IBM\SDPNew\AgentController\bin; c:\IBM\SDPNew\AgentController\lib
- Path=%PATH%;c:\IBM\SDPNew\AgentController\plugins\;c:\IBM\SDPNew\AgentController\bin; c:\IBM\SDPNew\AgentController\lib;c:\IBM\SDPNew\AgentController\plugins\org.eclipse.tptp.javaprofiler
- PROBEKIT_HOME=c:\IBM\SDPNew\AgentController\plugins\org.eclipse.hyades.probekit
- TPTP_AC_HOME=c:\IBM\SDPNew\AgentController
I also have to match the port number that is located in c:\IBM\SDPNew\AgentController\config\serviceconfig.xml:
<TransportLayer loadlib="socketTL" type="TPTP_SOCKET">
<Configuration>
<Port>60006</Port>
<SecurityEnabled>false</SecurityEnabled>
</Configuration>
<CommandExtractor>tptpCmdExtr</CommandExtractor>
</TransportLayer>
with the port specified in RAD:
The last thing I have to do is to run setconfig tools, to make sure that the jvm version used by agent controller is the same as the jvm run on WebSphere.
After configuring the system as specified above, I am able to profile my custom portlet
No comments:
Post a Comment