Thursday, October 05, 2006

I can't start OC4J , after change IP Address

When I had changed IP address on Server,I can't start OC4J. and I checked "$ORACLE_HOME//opmn/logs/OC4J~home~default_group~1" log.

06/10/05 14:25:29 *** (SEVERE) Failed to set the internal configuration of the OC4J JMS Server with: XMLJMSServerConfig[file:
/oracle/product/10.1.3/OracleAS/j2ee/home/config/jms.xml]
06/10/05 14:25:32 WARNING: Application.setConfig Application: default is in failed state as initialization failedjava.lang.In
stantiationException: Error initializing ejb-modules: Resource exception(OracleASjms) for MessageDrivenBean event during endp
oint activation: failure looking up ConnectionFactoryJndiName:jms/XAQueueConnectionFactory: javax.resource.spi.ResourceAdapte
rInternalException: Looking up jms/XAQueueConnectionFactory: javax.naming.NameNotFoundException: jms/XAQueueConnectionFactory
not found
Oct 5, 2006 2:25:32 PM com.evermind.server.Application setConfig
WARNING: Application: default is in failed state as initialization failedjava.lang.InstantiationException: Error initializing
ejb-modules: Resource exception(OracleASjms) for MessageDrivenBean event during endpoint activation: failure looking up Conn
ectionFactoryJndiName:jms/XAQueueConnectionFactory: javax.resource.spi.ResourceAdapterInternalException: Looking up jms/XAQue
ueConnectionFactory: javax.naming.NameNotFoundException: jms/XAQueueConnectionFactory not found
06/10/05 14:25:32 Error initializing server: Error initializing ejb-modules: Resource exception(OracleASjms) for MessageDrive
nBean event during endpoint activation: failure looking up ConnectionFactoryJndiName:jms/XAQueueConnectionFactory: javax.reso
urce.spi.ResourceAdapterInternalException: Looking up jms/XAQueueConnectionFactory: javax.naming.NameNotFoundException: jms/X
AQueueConnectionFactory not found
06/10/05 14:25:33 Fatal error: server exiting


So I checked at "$ORACLE_HOME/j2ee/home/persistence/home_default_group_1/" PATH.
I found *.lock files.
and had resolved By deleted *.lock and started oracle AS again.

1 comment:

Andreas said...

I had exactly the same. Reading your blog and applying the solution my problem was solved.