1 Reply Latest reply: May 10, 2012 12:56 AM by 829303 RSS

    OC4J JVM is down

    829303
      Hi Everyone,

      Not quite sure if I'm posting in the correct thread.

      Okay, we have 2 JDE OAS servers running production (app01 and app02) running on Red Hat Enterprise Linux AS release 4 (Nahant Update 8) with 6gb ram each. App02 also has a development instance configured on it. Our JDE consultant have noticed however that the one service returns an error "undetermined" whereas on my side if I run opmnctl status it shows that all services are started up. This is preventing them to do develempont work.

      He also sent through the following Oracle document that seems to be relevant checking the log on his side - 471122.1, however I am struggling to follow this document as needed. This documents points to an issue where the oc4jadmin user does not have the correct password on the server manager side and needs to be corrected.

      I have also checked the oc4j log from my side and see the following errors:

      <MESSAGE>
      <HEADER>
      <TSTZ_ORIGINATING>2012-05-10T07:46:05.814+02:00</TSTZ_ORIGINATING>
      <COMPONENT_ID>j2ee</COMPONENT_ID>
      <MSG_ID>J2EE RMI-00009</MSG_ID>
      <MSG_TYPE TYPE="WARNING"></MSG_TYPE>
      <MSG_LEVEL>1</MSG_LEVEL>
      <HOST_ID>app02.tigerbrands.net</HOST_ID>
      <HOST_NWADDR>172.16.222.9</HOST_NWADDR>
      <MODULE_ID>rmi</MODULE_ID>
      <THREAD_ID>14</THREAD_ID>
      <USER_ID>root</USER_ID>
      </HEADER>
      <CORRELATION_DATA>
      <EXEC_CONTEXT_ID><UNIQUE_ID>1336628765:172.16.222.9:14633:0:63</UNIQUE_ID><SEQ>1</SEQ></EXEC_CONTEXT_ID>
      </CORRELATION_DATA>
      <PAYLOAD>
      <MSG_TEXT>Exception returned by remote server: {0}</MSG_TEXT>
      <SUPPL_DETAIL><![CDATA[javax.management.InstanceNotFoundException: oc4j:j2eeType=J2EEApplication,J2EEServer=standalone,name=DV900_89820_9401_APP02
              at oracle.oc4j.admin.jmx.ejb.MBeanServerEjbBean.getAttribute(MBeanServerEjbBean.java:426)
              at sun.reflect.GeneratedMethodAccessor33.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:585)
              at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
              at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
              at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
              at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
              at com.evermind.server.ejb.interceptor.system.TxSupportsInterceptor.invoke(TxSupportsInterceptor.java:37)
              at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
              at com.evermind.server.ejb.interceptor.system.SecurityRoleInterceptor.invoke(SecurityRoleInterceptor.java:47)
              at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
              at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
              at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
              at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
              at com.evermind.server.ejb.StatefulSessionEJBObject.OC4J_invokeMethod(StatefulSessionEJBObject.java:844)
              at MBeanServerEjb_RemoteProxy_1me2j7.getAttribute(Unknown Source)
              at sun.reflect.GeneratedMethodAccessor32.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:585)
              at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
              at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
              at java.lang.Thread.run(Thread.java:595)
      ]]></SUPPL_DETAIL>
      </PAYLOAD>
      </MESSAGE>

      Help would be much appreciated.

      Thanks
        • 1. Re: OC4J JVM is down
          829303
          The issue in the document i'm referring to is that I can't seem to get this command executed:

          [applmgr@app02 home]$ /u01/app/jdk/bin/java -Djava.util.logging.config.file=logging.properties -jar admin_client.jar

          Usage:
          java -jar admin_client.jar <connection_uri> <username> <password> <command>


          Valid commands are:
          -shutdown
          -restart

          -deploy -file <filename> -deploymentName <appname> [options]
          -redeploy -file <filename> -deploymentName <appname> [options]
          -undeploy <appname> [options]
          -bindWebApp -appName <appname> -webModuleName <name> [options]
          -bindAllWebApps -appName <appname> [options]
          -start <appname>
          -stop <appname>
          -updateEJBModule -appName <appname> -ejbModuleName <name> -file <path>
          -listSharedLibraries
          -describeSharedLibrary -name <name> -version <version>
          -publishSharedLibrary -name <name> -version <version> [options]
          -modifySharedLibrary -name <name> -version <version> [options]
          -removeSharedLibrary -name <name> -version <version>
          -validateURI
          -script <filename>

          -addDataSourceConnectionPool -name <name> -factoryClass <factoryClass>
          -dbUser <user> -dbPassword <password> -url <url> [options]
          -removeDataSourceConnectionPool -name <name>
          -addManagedDataSource -name <name> -jndiLocation <jndiLocation>
          -connectionPoolName <connectionPoolName> [options]
          -removeManagedDatasource -name <dataSourceName>
          -addNativeDataSource -name <name> -dbUser <user> -dbPassword <password>
          -jndiLocation <jndiLocation> -loginTimeout <loginTimeout>
          -dataSourceClass <dataSourceClass> -url <url> [options]
          -removeNativeDataSource -name <name>
          -testDatabaseConnection -factoryClass <factoryClass> -dbUser <dbUser> -dbPassword <dbPassword>
          -url <url> -sqlStatement <sqlStatement>
          -testDataSource -datasourceName <datasourceName> -sqlStatement <sqlStatement>
          -testDataSourceConnectionPool -name <name> -sqlStatement <sqlStatement>
          -getDataSourcesDescriptor

          -addJMSConnectionFactory -domain <domain> -jndiLocation <jndiLocation> [options]
          -removeJMSConnectionFactory -jndiLocation <jndiLocation>
          -getJMSConnectionFactories
          -addDestination -domain <domain> -name <name> -jndiLocation <jndiLocation> [options]
          -removeDestination -name <name> [options]
          -getDestinations

          Valid connection_uris are:
          1. To target all OC4J instances that belongs to an OC4J group in an Oracle Application Server Cluster:
          deployer:cluster:[ormis:]opmn://opmnHost[:opmnPort]/oc4jGroupName

          2. To target a specific OC4J instance within a cluster:
          deployer:oc4j:[ormis:]opmn://opmnHost[:opmnPort]/oc4jInstanceName
          deployer:oc4j:[ormis:]opmn://opmnHost[:opmnPort]/asInstanceName/oc4jInstanceName

          3. To target a standalone OC4J server:
          deployer:oc4j:oc4jHost:rmiPort
          deployer:oc4j:ormis:oc4jHost:ormisPort

          opmnPort is the OPMN request port specified in opmn.xml.
          If omitted, defaults to 6003.

          For detailed help on a particular command, use:
          [java -jar admin_client.jar -usage <command>]