Tuesday, September 8, 2009

BPEL Process Manager Server ( Connection Failed

After upgrading to Oracle SOA Integration Server connection cannot be established through JDeveloper. When looking into the OPMN log files the following error was logged;

java.lang.IllegalStateException: MessageDrivenHome:: application state=3 - Application: 'hw_services' is not in RUNNING state.
at com.evermind.server.ejb.MessageDrivenHome.checkRunningState(MessageDrivenHome.java:1216)
at com.evermind.server.ejb.MessageDrivenConsumer.run(MessageDrivenConsumer.java:162)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
at java.lang.Thread.run(Thread.java:595)

To overcome this issue, login to the em console (Application Manager) [http://hostname:portname/em] and restart the hw_services available under the oc4j_soa instance. This should resolve the connection issue & a retry for establishing connection via JDeveloper will succeed.


  1. How to restart hw_service , if we are not able to open the Enterprise manager itself , as we are not able to start the SOA suite because of the error


  2. Have you tried 'opmnctl status' command to check the status of your oc4j instances? If you see shutdown status, you can start them using 'opmnctl startall'.

    You need to execute this from /opmn/bin folder. Then you would be able to access em console to bring up the hw_services