7 Replies Latest reply: Apr 11, 2007 5:00 AM by 807596 RSS

    j2ee App. Server Not running

    807596
      Hi,

      I tired starting up my application server and it's been giving me the following error messages:

      //------------------------------------- START --------------------------------------------------

      C:\JDeveloper\j2ee\home>set JAVA_HOME=c:\jdeveloper\jdk

      C:\JDeveloper\j2ee\home>set path=c:\jdeveloper\jdk\bin;

      C:\JDeveloper\j2ee\home>java -jar oc4j.jar
      2006-02-12 12:13:35.968 ERROR Failed to set the internal configuration of the OC
      4J JMS Server with: XMLJMSServerConfig[file:/C:/JDeveloper/j2ee/home/config/jms.
      xml]
      06/02/12 12:13:35 *** (SEVERE) Failed to set the internal configuration of the O
      C4J JMS Server with: XMLJMSServerConfig[file:/C:/JDeveloper/j2ee/home/config/jms
      .xml]
      2006-02-12 12:13:35.984 ERROR J2EE OJR0011 Exception starting JMS server: Failed
      to set the internal configuration of the OC4J JMS Server with: XMLJMSServerConf
      ig[file:/C:/JDeveloper/j2ee/home/config/jms.xml]
      2006-02-12 12:13:39.031 WARNING J2EE JNDI0001 Resource Environment reference jms
      /store not found. Allowing J2EEContext creation to continue anyway.
      2006-02-12 12:13:39.031 WARNING J2EE JNDI0001 Resource Environment reference jms
      /eventQueue not found. Allowing J2EEContext creation to continue anyway.
      2006-02-12 12:13:39.046 WARNING J2EE JNDI0001 Resource Environment reference jms
      /notificationQueue not found. Allowing J2EEContext creation to continue anyway.

      2006-02-12 12:13:39.109 WARNING J2EE JNDI0001 Resource Environment reference jms
      /eventQueue not found. Allowing J2EEContext creation to continue anyway.
      2006-02-12 12:13:39.109 WARNING J2EE JNDI0001 Resource Environment reference jms
      /notificationQueue not found. Allowing J2EEContext creation to continue anyway.

      2006-02-12 12:13:39.109 ERROR J2EE EJB3027 [default] An error occured deploying
      EJB module: java.lang.InstantiationException: Resource exception(OracleASjms) fo
      r MessageDrivenBean event during endpoint activation: failure looking up Connect
      ionFactoryJndiName:jms/XAQueueConnectionFactory: javax.resource.spi.ResourceAdap
      terInternalException: Looking up jms/XAQueueConnectionFactory: javax.naming.Name
      NotFoundException: jms/XAQueueConnectionFactory not found
      06/02/12 12:13:39 WARNING: Application.setConfig Application: default is in fail
      ed state as initialization failedjava.lang.InstantiationException: Error initial
      izing ejb-modules: Resource exception(OracleASjms) for MessageDrivenBean event d
      uring endpoint activation: failure looking up ConnectionFactoryJndiName:jms/XAQu
      eueConnectionFactory: javax.resource.spi.ResourceAdapterInternalException: Looki
      ng up jms/XAQueueConnectionFactory: javax.naming.NameNotFoundException: jms/XAQu
      eueConnectionFactory not found
      Feb 12, 2006 12:13:39 PM com.evermind.server.Application setConfig
      WARNING: Application: default is in failed state as initialization failedjava.la
      ng.InstantiationException: Error initializing ejb-modules: Resource exception(Or
      acleASjms) for MessageDrivenBean event during endpoint activation: failure looki
      ng up ConnectionFactoryJndiName:jms/XAQueueConnectionFactory: javax.resource.spi
      .ResourceAdapterInternalException: Looking up jms/XAQueueConnectionFactory: java
      x.naming.NameNotFoundException: jms/XAQueueConnectionFactory not found
      2006-02-12 12:13:39.140 WARNING DEBUG GJRA-1100, oracle.j2ee.connector.messagein
      flow.MessageEndpointFactoryImpl@1f0d7f5.
      06/02/12 12:13:39 Error initializing server: Error initializing ejb-modules: Res
      ource exception(OracleASjms) for MessageDrivenBean event during endpoint activat
      ion: failure looking up ConnectionFactoryJndiName:jms/XAQueueConnectionFactory:
      javax.resource.spi.ResourceAdapterInternalException: Looking up jms/XAQueueConne
      ctionFactory: javax.naming.NameNotFoundException: jms/XAQueueConnectionFactory n
      ot found
      2006-02-12 12:13:40.171 WARNING J2EE JTA RecoveryManager is null during shut
      down
      06/02/12 12:13:40 Fatal error: server exiting
      //------------------------------------- END --------------------------------------------------

      Can anyone assist me with this problem. I tried uninstalling both the JDK and JDeveloper and re-installing them and I still get the same error. Please Help.

      - nEmEsIs1980
        • 1. Re: j2ee App. Server Not running
          796365
          Since this is an Oracle product that you're starting, why post the question here rather than at an Oracle site?

          If you Google "oc4j" you see many topics regarding it's use.
          • 2. Re: j2ee App. Server Not running
            807596
            Thanks for your help. I wondered what does mean that message.
            • 3. Re: j2ee App. Server Not running
              807596
              Thanks - I needed this solution too and it saved me a lot of time
              • 4. Re: j2ee App. Server Not running
                807596
                I erased the files but I`ll still have problems now it throws:

                2006-11-09 11:51:22.867 NOTIFICATION JMSServer[]: OC4J JMS server recovering tra
                nsactions (commit 1) (rollback 0) (prepared 0).
                2006-11-09 11:51:22.877 NOTIFICATION JMSServer[]: OC4J JMS server recovering loc
                al transactions Queue[jms/Oc4jJmsExceptionQueue].
                2006-11-09 11:51:22.887 NOTIFICATION JMSServer[]: OC4J JMS server recovering loc
                al transactions Queue[jms/jobstore].
                2006-11-09 11:51:22.887 NOTIFICATION JMSServer[]: OC4J JMS server recovering loc
                al transactions Queue[jms/events].
                2006-11-09 11:51:22.907 NOTIFICATION JMSServer[]: OC4J JMS server recovering loc
                al transactions Queue[jms/notifications].
                2006-11-09 11:51:22.907 ERROR Failed to set the internal configuration of the OC
                4J JMS Server with: XMLJMSServerConfig[file:/C:/proyectos/oc4j/j2ee/home/config/
                jms.xml]
                06/11/09 11:51:22 *** (SEVERE) Failed to set the internal configuration of the O
                C4J JMS Server with: XMLJMSServerConfig[file:/C:/proyectos/oc4j/j2ee/home/config
                /jms.xml]
                2006-11-09 11:51:22.917 ERROR J2EE OJR0011 Exception starting JMS server: Failed
                to set the internal configuration of the OC4J JMS Server with: XMLJMSServerConf
                ig[file:/C:/proyectos/oc4j/j2ee/home/config/jms.xml]
                2006-11-09 11:51:29.226 WARNING J2EE JNDI0001 Resource Environment reference jms
                /store not found. Allowing J2EEContext creation to continue anyway.
                2006-11-09 11:51:29.226 WARNING J2EE JNDI0001 Resource Environment reference jms
                /eventQueue not found. Allowing J2EEContext creation to continue anyway.
                2006-11-09 11:51:29.226 WARNING J2EE JNDI0001 Resource Environment reference jms
                /notificationQueue not found. Allowing J2EEContext creation to continue anyway.

                2006-11-09 11:51:29.276 WARNING J2EE JNDI0001 Resource Environment reference jms
                /eventQueue not found. Allowing J2EEContext creation to continue anyway.
                2006-11-09 11:51:29.276 WARNING J2EE JNDI0001 Resource Environment reference jms
                /notificationQueue not found. Allowing J2EEContext creation to continue anyway.

                2006-11-09 11:51:29.276 ERROR J2EE EJB3027 [default] An error occured deploying
                EJB module: java.lang.InstantiationException: Resource exception(OracleASjms) fo
                r MessageDrivenBean event during endpoint activation: failure looking up Connect
                ionFactoryJndiName:jms/XAQueueConnectionFactory: javax.resource.spi.ResourceAdap
                terInternalException: Looking up jms/XAQueueConnectionFactory: javax.naming.Name
                NotFoundException: jms/XAQueueConnectionFactory not found
                06/11/09 11:51:29 WARNING: Application.setConfig Application: default is in fail
                ed state as initialization failedjava.lang.InstantiationException: Error initial
                izing ejb-modules: Resource exception(OracleASjms) for MessageDrivenBean event d
                uring endpoint activation: failure looking up ConnectionFactoryJndiName:jms/XAQu
                eueConnectionFactory: javax.resource.spi.ResourceAdapterInternalException: Looki
                ng up jms/XAQueueConnectionFactory: javax.naming.NameNotFoundException: jms/XAQu
                eueConnectionFactory not found
                Nov 9, 2006 11:51:29 AM com.evermind.server.Application setConfig
                WARNING: Application: default is in failed state as initialization failedjava.la
                ng.InstantiationException: Error initializing ejb-modules: Resource exception(Or
                acleASjms) for MessageDrivenBean event during endpoint activation: failure looki
                ng up ConnectionFactoryJndiName:jms/XAQueueConnectionFactory: javax.resource.spi
                .ResourceAdapterInternalException: Looking up jms/XAQueueConnectionFactory: java
                x.naming.NameNotFoundException: jms/XAQueueConnectionFactory not found
                2006-11-09 11:51:29.306 WARNING DEBUG GJRA-1100, oracle.j2ee.connector.messagein
                flow.MessageEndpointFactoryImpl@cfaf6e.
                06/11/09 11:51:29 Error initializing server: Error initializing ejb-modules: Res
                ource exception(OracleASjms) for MessageDrivenBean event during endpoint activat
                ion: failure looking up ConnectionFactoryJndiName:jms/XAQueueConnectionFactory:
                javax.resource.spi.ResourceAdapterInternalException: Looking up jms/XAQueueConne
                ctionFactory: javax.naming.NameNotFoundException: jms/XAQueueConnectionFactory n
                ot found
                2006-11-09 11:51:31.309 WARNING J2EE JTA RecoveryManager is null during shut
                down
                06/11/09 11:51:31 Fatal error: server exiting

                C:\proyectos\oc4j\j2ee\home>
                ------------------------------------------------------------------------

                Any ideas???
                • 5. Re: j2ee App. Server Not running
                  807596
                  You have to delete ALL files *.lock in that directory
                  • 6. Re: j2ee App. Server Not running
                    807596
                    Thanks Ammar, this was very helpful.
                    • 7. Re: j2ee App. Server Not running
                      807596
                      Deleting lock files totally did it for me and saved me a bunch of time. Thanks you Ammar.