Friday, July 18, 2008

(SEVERE) Failed to set the internal configuration of the OC4J JMS Server with: XMLJMSServerConfig (jms.xml)

Error on Oracle Application (standalone machine) and can not start, when I start opmnctl

$ ./opmnctl startall

Check LOG:

08/07/17 08:16:37 *** (SEVERE) Failed to set the internal configuration of the OC4J JMS Server with: XMLJMSServerConfig[file: $ORACLE_HOME/j2ee/home/config/jms.xml]

Resolved by:

$ cd $ORACLE_HOME/j2ee/home/persistence/home_default_group_1

$ rm jms.state

$ rm *.lock

and then start again =>


$ ./opmnctl startall

opmnctl: starting opmn and all managed processes...

$ ./opmnctl status

Processes in Instance: app.host
---------------------------------+--------------------+---------+---------
ias-component | process-type | pid | status
---------------------------------+--------------------+---------+---------
ASG | ASG | N/A | Down
OC4JGroup:default_group | OC4J:home | 29676 | Alive
HTTP_Server | HTTP_Server | 29675 | Alive



LOG =>

--------
08/07/17 08:20:06 Start process
--------

==> opmn.log <== 08/07/17 08:20:09 [pm-process] Process Alive:HTTP_Server~HTTP_Server~HTTP_Server~1 (2059738079:29675) ==> default_group~home~default_group~1.log <== 08/07/17 08:20:33 Oracle Containers for J2EE 10g (10.1.3.2.0) initialized ==> opmn.log <==

08/07/17 08:20:33 [pm-process] Process Alive: default_group~home~default_group~1 (2059738080:29676)
08/07/17 08:20:33 [pm-requests] Request 2 Completed. Command: /start


Everything OK!

1 comment:

Anonymous said...

Hi,

We've got same issue after a host crash this morning.
Deleting jms.state and .lock files files in all instances where listed solved the problem but not HTTP server.

We also had to remove httpd.pid to allow HTTP server to start.

opmnctl startall did start all but to our surprise, our applications deployed in each instances were gone ! Not visible on AS console and not accessible but still present in j2ee/.. folders.

I would expect more robustness from Oracle after an host crash....

Still investigating why our apps vanished....

Regards,
Jean-Marc