Thursday, January 20, 2011

'hw_services' is not in RUNNING state

Problem:

I tried to start up Oracle SOA Suite 10g using the standard "opmnctl startall" command. Unfortunately, the OC4J_SOA container did not start up and the opmn logs were showing the following error:
--------
11/01/11 15:55:58 Start process
--------
Warning: The flag AppendRatio=3 has been EOL'd as of 6.0_10 and will be ignored
11/01/11 15:59:12 log4j:WARN No appenders could be found for logger (wsif).
11/01/11 15:59:12 log4j:WARN Please initialize the log4j system properly.
11/01/11 15:59:14 java.lang.IllegalStateException: MessageDrivenHome:: application state=3 - Application: 'hw_services' is not in RUNNING state.
11/01/11 15:59:14 Oracle Containers for J2EE 10g (10.1.3.5.0)  initialized
11/01/11 15:59:14       at com.evermind.server.ejb.MessageDrivenHome.checkRunningState(MessageDrivenHome.java:1229)
11/01/11 15:59:14       at com.evermind.server.ejb.MessageDrivenConsumer.run(MessageDrivenConsumer.java:162)
11/01/11 15:59:14       at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
11/01/11 15:59:14       at java.lang.Thread.run(Thread.java:619)

Solution:

I'm not sure why this happens, but the solution is simple.

1. Log in to EM as 'oc4jadmin' (http://server:port/em)

2. Expand "oc4j_soa", and you will see a list of applications

3. Select "hw_services" and start it up


Applicable Versions:
  • Oracle SOA Suite 10g (10.1.3.5)

References:
  • http://sathyam-soa.blogspot.com/2009/09/bpel-process-manager-server-10134.html

No comments: