Error "Failed to set the internal configuration of the OC4J JMS Server with" After Defining Virtual Hostname (Doc ID 398973.1)

Last updated on JANUARY 30, 2017

Applies to:

Oracle Fusion Middleware - Version 10.1.3.0.0 to 10.1.3.5.0 [Release AS10gR3]
Information in this document applies to any platform.
***Checked for relevance on 28-Mar-2014***


Symptoms

In a Unix system, a virtual IP/Hostname (lc1cluster) has been created. This was done to have two nodes in the cluster: lc1calux01 and lc1applux11, both attached to one NetApp Filer (lc1netapp01) disk storage device where all of Oracle software, databases, OC4J Application, and configuration files exist.

When the lc1cluster virtual hostname was introduced on lc1calux01, everything still worked fine. Interchangeably these URLS could be used: (http://lc1calux01.lmms.lmco.com:8890,
http://lc1cluster.lmms.lmco.com:8890).

After switching the virtual hostname over to lc1applux11 node (editing key config files opmn.xml and httpd.conf), changing the hostname references from lc1calux01 to lc1cluster.) and after turning off all oracle on lc1calux01 node, then proceeding to turn the oracle components on, one by on, on lc1applux11 node, the following results are observed:

  1. RDBMS - worked perfect
  2. HTTP_server - works (both URL's lc1applux11, lc1cluster)
  3. OC4J home - DOES NOT WORK. generating the following errors:
    06/11/07 08:17:33 *** (SEVERE) Failed to set the internal configuration of the
    OC4J JMS Server with:
    XMLJMSServerConfig[file:/u01/app/oracle/product/ora10gasapp/j2ee/home/config/jms.xml]
    06/11/07 08:17:37 WARNING: Application.setConfig 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
    ConnectionFactoryJndiName:jms/XAQueueConnectionFactory:
    javax.resource.spi.ResourceAdapterInternalException: Looking up
    jms/XAQueueConnectionFactory: javax.naming.NameNotFoundException:
    jms/XAQueueConnectionFactory not found
    Nov 7, 2006 8:17:37 AM 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
    ConnectionFactoryJndiName:jms/XAQueueConnectionFactory:

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms