cp $ORACLE_HOME/coherence_3.6/coherence.sh $ORACLE_HOME/coherence_3.6/cohosb.sh
vi $ORACLE_HOME/coherence_3.6/cohosb.sh
change JAVA_OPTS this way:
JAVA_OPTS="-Xms$MEMORY -Xmx$MEMORY -Dtangosol.coherence.distributed.localstorage=$STORAGE_ENABLED -Dtangosol.coherence.localhost=localhost -Dtangosol.coherence.localport=7890 -Dtangosol.coherence.clusteraddress=224.3.6.0 -Dtangosol.coherence.clusterport=36000 -Dtangosol.coherence.cluster=OSB-cluster -Dtangosol.coherence.wka=127.0.0.1 -Dtangosol.coherence.wka.port=7890"
I have managed to discover all these parameters by:
cp $ORACLE_HOME/oracle_common/modules/oracle.coherence_3.6/coherence.jar .
cp "$ORACLE_HOME/user_projects/domains/a087_osb/servers/AdminServer/tmp/_WL_user/ALSB Coherence Cache Provider/sm027g/APP-INF/lib/com.bea.alsb.coherence-impl.jar" .
jar xvf coherence.jar tangosol-coherence.xml
jar xvf coherence.jar tangosol-coherence-override-dev.xml
jar xvf com.bea.alsb.coherence-impl.jar tangosol-coherence-override.xml
cp $ORACLE_HOME/user_projects/domains/a087_osb/config/osb/coherence/osb-coherence-override.xml .
and examining their settings (the only one that really matters is the tangosol-coherence.xml)
Once you run it, you should see that it is the member number 2 of the OSB-cluster.
Here http://coherence.oracle.com/display/COH35UG/Command+Line+Setting+Override+Feature the list of all thee available command line properties
Tuesday, July 5, 2011
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment