Saturday, November 15, 2008

Timed out problem of OPMN

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

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 option to all the start/stop-args command sections.

<ias-component id="default_group">
<process-type id="home" module-id="OC4J" status="enabled">
<category id="start-parameters">
<data id="java-options" value="-Xrs -server -XX:MaxPermSize=128M -ms512M -mx1024M -XX:AppendRatio=3$ORACLE_HOME/j2ee/home/config/java2.policy -Djava.awt.headless=true -Dhttp.webdir.enable=false -Doraesb.home=C:\product\\OracleAS_1\integration\esb -Dhttp.proxySet=false -Doc4j.userThreads=true -Doracle.mdb.fastUndeploy=60 -Dorabpel.home=C:\product\\OracleAS_1\bpel -Xbootclasspath^/p:C:\product\\OracleAS_1\bpel/lib/orabpel-boot.jar -Dhttp.proxySet=false"/>
<category id="stop-parameters">
<data id="java-options" value="$ORACLE_HOME/j2ee/home/config/java2.policy -Djava.awt.headless=true -Dhttp.webdir.enable=false"/>
<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"/>

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 (