Monday 8 April 2013

nodemanager.properties using JRockit for WLS and JDE

This has been too painful.  Easy to install JRockit – yes.  Easy to get SM using it – well, yes…  East for WLS to use it – I guess so…

Easy to get SM talking to WLS with JRockit – I do not think so.

The missing link that I’ve found is ensuring that your nodemanager.properties has been updated properly.

what I do is:

1.  install java jrockit 64 bit to something like /u01/app/java

2.  use symbolic links from server manager to this location (note that this is from /u01/app/oracle/jde_home_1 nd /u01/app/oracle/jde_home_1/SCFHA

ln -s /u01/oracle/java ./jdk

3.  Change your /u01/app/oracle/Oracle/Middleware/user_projects/domains/mydomain/bin/setDomainEnv.sh to have Oracle as thje JAVA_VENDOR

export JAVA_VENDOR="Oracle"
WL_HOME="/u01/app/oracle/Oracle/Middleware/wlserver_10.3"
export WL_HOME

And make sure that your java_home is set right too.

4.  nodemanager.properties

/u01/app/oracle/Oracle/Middleware/wlserver_10.3/common/nodemanager/nodemanager.properties

javaHome=/u01/app/java
AuthenticationEnabled=true
NodeManagerHome=/u01/app/oracle/Oracle/Middleware/wlserver_10.3/common/nodemanager
JavaHome=/u01/app/java

5.  stopAgent, stopNodeManager, StopWebLogic

Once all these have been done, you’ll be cooking with gas.

No comments: