Saturday, November 15, 2008

Timed out problem of OPMN

PROBLEM:
Why OPMN (SOA Server) sometime gives timed out message/error during shutdown?

SOLUTION:
Here is the solution. To resolve this issue:
1) Shutdown OPMN completely
2) Goto the location where resides opmn.xml and edit it.
3) Add the -Djava.net.preferIPv4Stack=true option to all the start/stop-args command sections.

EXAMPLE:
<ias-component id="default_group">
<process-type id="home" module-id="OC4J" status="enabled">
<module-data>
<category id="start-parameters">
<data id="java-options" value="-Xrs -server -XX:MaxPermSize=128M -ms512M -mx1024M -XX:AppendRatio=3 -Djava.net.preferIPv4Stack=true -Djava.security.policy=$ORACLE_HOME/j2ee/home/config/java2.policy -Djava.awt.headless=true -Dhttp.webdir.enable=false -Doraesb.home=C:\product\10.1.3.1\OracleAS_1\integration\esb -Dhttp.proxySet=false -Doc4j.userThreads=true -Doracle.mdb.fastUndeploy=60 -Dorabpel.home=C:\product\10.1.3.1\OracleAS_1\bpel -Xbootclasspath^/p:C:\product\10.1.3.1\OracleAS_1\bpel/lib/orabpel-boot.jar -Dhttp.proxySet=false"/>
</category>
<category id="stop-parameters">
<data id="java-options" value="-Djava.net.preferIPv4Stack=true -Djava.security.policy=$ORACLE_HOME/j2ee/home/config/java2.policy -Djava.awt.headless=true -Dhttp.webdir.enable=false"/>
</category>
</module-data>
<start timeout="600" retry="2"/>
<stop timeout="300"/>
<restart timeout="720" retry="2"/>
<port id="default-web-site" range="8888" protocol="http"/>
<port id="rmi" range="12401-12500"/>
<port id="rmis" range="12701-12800"/>
<port id="jms" range="12601-12700"/>
<process-set id="default_group" numprocs="1"/>
</process-type>
</ias-component>

Keep learning with me...

1 comment:

Subbu said...

* Pardon me, I did not know how to post a question. Buut here is a problem that I am facing with our AIA. Highly appreciate your time, leads on this.

I have sample (and simple)bpel process that invokes the AIAAsyncErrorHandlerProcess. However, this " AIAAsyncErrorHandlingBPELProcess" is throwing noClassDefDound errors at InvokeCommonErrorHandler". Can you please offer any clues.

Thank you,
--Subbu (syana@hotmail.com)