3 Replies Latest reply on Mar 25, 2004 10:29 AM by 332075

    OC4J configuration assistant failure at infrastructure installation

    332075
      Hi all,

      We want to upgrade our client server application(forms 6i and 9iDB) to Application server(3 tire). I am trying to install Oracle 9iAS Release 2, Release 9.0.2.0.1 on Win 2000 server with service pack 2.

      OC4J configuration assistant is failing by showing the below error log. Please suggest me what is the problem and how to rectify it.


      Reading ini file - 'D:\ora9ias/j2ee/deploy.ini'

      OC4J instance 'OC4J_Demos': Adding property 'jbo.server.in_oc4j=true'
      OC4J instance 'OC4J_Demos': Adding property 'org.omg.CORBA.ORBClass=com.inprise.vbroker.orb.ORB'
      OC4J instance 'OC4J_Demos': Adding property 'org.omg.CORBA.ORBSingletonClass=com.inprise.vbroker.orb.ORB'
      OC4J instance 'OC4J_Demos': Adding OC4J command line option '-userThreads'
      OC4J instance 'OC4J_Demos': Adding java command line option '-Xmx512M'
      OC4J instance 'OC4J_Demos': Adding property 'oracle.path=%s_javapPath%'
      OC4J instance 'OC4J_Demos': Adding property 'oracle.display=:0.0'
      OC4J instance 'OC4J_Demos': Adding Environment variable '%LIB_PATH_ENV%' with value '%LIB_PATH_VALUE%'
      OC4J instance 'OC4J_Demos': Adding Environment variable 'PATH' with value 'D:/ora9ias/bin'
      OC4J instance 'OC4J_Demos': Property 'jbo.server.in_oc4j' already exists with value 'true'
      OC4J instance 'home': Adding property 'jbo.server.in_oc4j=true'
      OC4J instance 'OC4J_DAS': Adding java command line option '-server'
      OC4J instance 'OC4J_DAS': Adding java command line option '-Xincgc'
      OC4J instance 'OC4J_DAS': Adding java command line option '-Xmx256m'
      OC4J instance 'OC4J_DAS': Adding java command line option '-Xnoclassgc'
      OC4J instance 'OC4J_DAS': Adding Environment variable 'PATH' with value 'D:\ora9ias\bin'
      Initializing DCM...done.
      Creating OC4J instance 'OC4J_Demos'...done.
      OC4J instance 'home' already exists.
      Creating OC4J instance 'OC4J_DAS'...done.
      Starting OC4J instance 'OC4J_Demos'...done.
      Deploying application 'jocdemo' to OC4J instance 'OC4J_Demos'...done.
      Deploying application 'ojspdemos' to OC4J instance 'OC4J_Demos'...done.
      Adding dependent libraries for application 'ojspdemos'...done.
      Deploying application 'sqljdemos' to OC4J instance 'OC4J_Demos'...
      ERROR: Deploy failed.
      Error message returned is: Instance: soft.DEMO.PENTASOFT.COM.MY Message:
      See base exception for details.
      Base Exception:
      java.lang.NullPointerException:nullSee base exception for details.
      Deploying application 'jazndemos' to OC4J instance 'OC4J_Demos'...
      ERROR: Caught exception during deploy.
      Deploying application 'BC4JJSPDemo' to OC4J instance 'OC4J_Demos'...oracle.ias.sysmgmt.exception.TaskException:
      The configuration files for this Oracle9iAS instance are inconsistent with the
      configuration stored in the repository. In order to protect the repository,
      no further configuration or deployment operations are allowed until the problem with the
      configuration on the filesystem is resolved. This condition arises when a prior operation was
      unsuccessful. Please check the logs located at
      ORACLE_HOME/dcm/logs to determine why DCM was unsuccessful in updating
      the configuration files on disk. Some possible causes are:

      *     permissions on files
      *     file contention issues on Windows NT
      *     EMD and dcmctl running concurrently
      *     internal Oracle error

      After resolving the problem that prevented DCM from updating the configuration
      files, you may use the dcmctl resyncInstance command to resolve the problem.
      Alternatively, you can stop and then restart the active dcmctl or EMD
      process and resyncInstance will automatically be performed.
           at oracle.ias.sysmgmt.task.TaskMaster.evaluate(Unknown Source)
           at oracle.ias.sysmgmt.deployment.j2ee.console.ApplicationDeployment.deployCommon(Unknown Source)
           at oracle.ias.sysmgmt.deployment.j2ee.console.ApplicationDeployment.deploy(Unknown Source)
           at oracle.ias.sysmgmt.deployment.j2ee.console.EarDeployerImpl.deploy(Unknown Source)
           at oracle.j2ee.tools.deploy.Oc4jDeploy.deploy(Unknown Source)
           at oracle.j2ee.tools.deploy.Oc4jDeploy.main(Unknown Source)
      oracle.ias.sysmgmt.exception.TaskException: The configuration files for this Oracle9iAS instance are inconsistent with the
      configuration stored in the repository. In order to protect the repository,
      no further configuration or deployment operations are allowed until the problem with the configuration on the filesystem is resolved. This condition arises when a prior operation was unsuccessful. Please check the logs located at
      ORACLE_HOME/dcm/logs to determine why DCM was unsuccessful in updating
      the configuration files on disk. Some possible causes are:

      *     permissions on files
      *     file contention issues on Windows NT
      *     EMD and dcmctl running concurrently
      *     internal Oracle error

      After resolving the problem that prevented DCM from updating the configuration
      files, you may use the dcmctl resyncInstance command to resolve the problem.
      Alternatively, you can stop and then restart the active dcmctl or EMD
      process and resyncInstance will automatically be performed.
           at oracle.ias.sysmgmt.task.TaskMaster.evaluate(Unknown Source)
           at oracle.ias.sysmgmt.deployment.j2ee.console.ApplicationDeployment.deployCommon(Unknown Source)
           at oracle.ias.sysmgmt.deployment.j2ee.console.ApplicationDeployment.deploy(Unknown Source)
           at oracle.ias.sysmgmt.deployment.j2ee.console.EarDeployerImpl.deploy(Unknown Source)
           at oracle.j2ee.tools.deploy.Oc4jDeploy.deploy(Unknown Source)
           at oracle.j2ee.tools.deploy.Oc4jDeploy.main(Unknown Source)

      ERROR: Caught exception during deploy.
      Stopping OC4J instance 'OC4J_Demos'...done.
      Starting OC4J instance 'home'...done.
      Deploying application 'BC4J' to OC4J instance 'home'...
      ERROR: Caught exception during deploy.
      Stopping OC4J instance 'home'...oracle.ias.sysmgmt.exception.TaskException: The configuration files for this Oracle9iAS instance are inconsistent with the
      configuration stored in the repository. In order to protect the repository,
      no further configuration or deployment operations are allowed until the problem with the configuration on the filesystem is resolved. This condition arises when a prior operation was unsuccessful. Please check the logs located at
      ORACLE_HOME/dcm/logs to determine why DCM was unsuccessful in updating
      the configuration files on disk. Some possible causes are:

      *     permissions on files
      *     file contention issues on Windows NT
      *     EMD and dcmctl running concurrently
      *     internal Oracle error

      After resolving the problem that prevented DCM from updating the configuration
      files, you may use the dcmctl resyncInstance command to resolve the problem.
      Alternatively, you can stop and then restart the active dcmctl or EMD
      process and resyncInstance will automatically be performed.
           at oracle.ias.sysmgmt.task.TaskMaster.evaluate(Unknown Source)
           at oracle.ias.sysmgmt.deployment.j2ee.console.ApplicationDeployment.deployCommon(Unknown Source)
           at oracle.ias.sysmgmt.deployment.j2ee.console.ApplicationDeployment.deploy(Unknown Source)
           at oracle.ias.sysmgmt.deployment.j2ee.console.EarDeployerImpl.deploy(Unknown Source)
           at oracle.j2ee.tools.deploy.Oc4jDeploy.deploy(Unknown Source)
           at oracle.j2ee.tools.deploy.Oc4jDeploy.main(Unknown Source)
      done.
      Starting OC4J instance 'OC4J_DAS'...done.
      Deploying application 'oiddas' to OC4J instance 'OC4J_DAS'...
      ERROR: Caught exception during deploy.
      Stopping OC4J instance 'OC4J_DAS'...oracle.ias.sysmgmt.exception.TaskException: The configuration files for this Oracle9iAS instance are inconsistent with the
      configuration stored in the repository. In order to protect the repository,
      no further configuration or deployment operations are allowed until the problem with the configuration on the filesystem is resolved. This condition arises when a prior operation was unsuccessful. Please check the logs located at
      ORACLE_HOME/dcm/logs to determine why DCM was unsuccessful in updating
      the configuration files on disk. Some possible causes are:

      *     permissions on files
      *     file contention issues on Windows NT
      *     EMD and dcmctl running concurrently
      *     internal Oracle error

      After resolving the problem that prevented DCM from updating the configuration
      files, you may use the dcmctl resyncInstance command to resolve the problem.
      Alternatively, you can stop and then restart the active dcmctl or EMD
      process and resyncInstance will automatically be performed.
           at oracle.ias.sysmgmt.task.TaskMaster.evaluate(Unknown Source)
           at oracle.ias.sysmgmt.deployment.j2ee.console.ApplicationDeployment.deployCommon(Unknown Source)
           at oracle.ias.sysmgmt.deployment.j2ee.console.ApplicationDeployment.deploy(Unknown Source)
           at oracle.ias.sysmgmt.deployment.j2ee.console.EarDeployerImpl.deploy(Unknown Source)
           at oracle.j2ee.tools.deploy.Oc4jDeploy.deploy(Unknown Source)
           at oracle.j2ee.tools.deploy.Oc4jDeploy.main(Unknown Source)
      done.
      DCM Terminated.

      *********************************************************

      if I see the ORACLE_HOME/DCM/LOGS, it like below.

      DCMCTL_LOG:

      <MESSAGE>
      <HEADER>
      <TSTZ_ORIGINATING>2004-03-16T17:06:11.854+08:00</TSTZ_ORIGINATING>
      <COMPONENT_ID>iAS_dcm</COMPONENT_ID>
      <MSG_TYPE TYPE="ERROR"></MSG_TYPE>
      <MSG_GROUP>n/a</MSG_GROUP>
      <MSG_LEVEL>1</MSG_LEVEL>
      <HOST_ID>demo</HOST_ID>
      <HOST_NWADDR>128.10.4.22</HOST_NWADDR>
      <MODULE_ID>oracle/defaultLogger/ExceptionLogger</MODULE_ID>
      <PROCESS_ID>null-Thread[main,5,main]</PROCESS_ID>
      <USER_ID>Administrator</USER_ID>
      </HEADER>
      <PAYLOAD>
      <MSG_TEXT>[ RM ] Exception in repository API getDBConnect()</MSG_TEXT>
      <SUPPL_DETAIL><![CDATA[oracle.ias.repository.schema.SchemaException: Unable to
           connect to Directory Server:javax.naming.CommunicationException:
           DEMO.PENTASOFT.COM.MY:4032 [Root exception is java.net.ConnectException:
           Connection refused: connect]
           at oracle.ias.repository.directory.DirectoryReader.connect(DirectoryReader.java:104)
           at oracle.ias.repository.IASSchema.getDBConnect(IASSchema.java:330)
           at oracle.ias.repository.IASSchema.getDBConnect(IASSchema.java:415)
           at oracle.ias.repository.SchemaManager.getDBConnect(SchemaManager.java:197)
           at oracle.ias.sysmgmt.persistence.SeedDbAccess.getDBConnect(Unknown Source)
           at oracle.ias.sysmgmt.persistence.PersistenceManager.getSeedInfo(Unknown Source)
           at oracle.ias.sysmgmt.persistence.PersistenceManager.isDBConfigured(Unknown Source)
           at oracle.ias.sysmgmt.task.InstanceManager.sysInit(Unknown Source)
           at oracle.ias.sysmgmt.task.InstanceManager.init(Unknown Source)
           at oracle.ias.sysmgmt.cmdline.DcmCmdLine.initRepository(Unknown Source)
           at oracle.ias.sysmgmt.cmdline.DcmCmdLine.execute(Unknown Source)
           at oracle.ias.sysmgmt.cmdline.DcmCmdLine.main(Unknown Source)
      ]]></SUPPL_DETAIL>
      </PAYLOAD>
      </MESSAGE>

      EMD_LOGS:

      <MESSAGE>
      <HEADER>
      <TSTZ_ORIGINATING>2004-03-16T17:24:22.382+08:00</TSTZ_ORIGINATING>
      <COMPONENT_ID>OC4J</COMPONENT_ID>
      <MSG_TYPE TYPE="ERROR"></MSG_TYPE>
      <MSG_GROUP>n/a</MSG_GROUP>
      <MSG_LEVEL>1</MSG_LEVEL>
      <HOST_ID>demo</HOST_ID>
      <HOST_NWADDR>128.10.4.22</HOST_NWADDR>
      <MODULE_ID>iAS_dcm/oracle/defaultLogger/ExceptionLogger</MODULE_ID>
      <PROCESS_ID>null-Thread[Orion Launcher,5,main]</PROCESS_ID>
      <USER_ID>SYSTEM</USER_ID>
      </HEADER>
      <PAYLOAD>
      <MSG_TEXT>[TM] Config/LoadEdit/ImportExport Adapter resync error</MSG_TEXT>
      <SUPPL_DETAIL><![CDATA[oracle.ias.sysmgmt.repository.plugin.orionp.exceptions.SMIOC4JMissMatchedStructureException: OC4J Instance OC4J_demos does not exist in the current iAS instance, unable to save its configuration.
           at oracle.ias.sysmgmt.repository.plugin.orionp.PlugInImpl._saveChanges(Unknown Source)
           at oracle.ias.sysmgmt.repository.plugin.orionp.PlugInImpl.resyncConf(Unknown Source)
           at oracle.ias.sysmgmt.repository.RepositoryImpl.syncUpFromPersistence(Unknown Source)
           at oracle.ias.sysmgmt.repository.RepositoryImpl.syncUpFromPersistence(Unknown Source)
           at oracle.ias.sysmgmt.configsvc.ConfigurationServiceImpl.syncUp(Unknown Source)
           at oracle.ias.sysmgmt.task.ConfigAdapter.resync(Unknown Source)
           at oracle.ias.sysmgmt.task.TaskMaster.resync(Unknown Source)
           at oracle.ias.sysmgmt.task.TaskMaster.resync(Unknown Source)
           at oracle.ias.sysmgmt.task.InstanceManager.sysInit(Unknown Source)
           at oracle.ias.sysmgmt.task.InstanceManager.init(Unknown Source)
           at oracle.ias.sysmgmt.EntryPoint.init(Unknown Source)
           at oracle.sysman.emSDK.eml.util.iAS.IASEntryPoint.initialize(IASEntryPoint.java:98)
           at oracle.sysman.emSDK.eml.svlt.NavCfgHandler.startElement(NavCfgHandler.java:220)
           at org.xml.sax.helpers.ParserAdapter.startElement(ParserAdapter.java:580)
           at oracle.xml.parser.v2.XMLContentHandler.startElement(XMLContentHandler.java:166)
           at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1082)
           at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:287)
           at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:254)
           at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:141)
           at org.xml.sax.helpers.ParserAdapter.parse(ParserAdapter.java:430)
           at oracle.sysman.emSDK.eml.svlt.EMServlet.init(EMServlet.java:332)
           at oracle.sysman.eml.app.ConsoleSN.init(ConsoleSN.java:87)
           at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:1687)
           at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4020)
           at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4119)
           at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:579)
           at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:376)
           at com.evermind.server.Application.getHttpApplication(Application.java:657)
           at com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.java:663)
           at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:524)
           at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:230)
           at com.evermind.server.http.HttpServer.setSites(HttpServer.java:244)
           at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:147)
           at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:1818)
           at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1154)
           at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:70)
           at java.lang.Thread.run(Thread.java:484)
           at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:49)
      ]]></SUPPL_DETAIL>
      </PAYLOAD>
      </MESSAGE>

      Please suggest me what to do and how to rectify. Can we work with forms without this component. I am getting the same component failure when I install 9IAS option on infrastructure.

      With best regards and Thanks
      Varma.






        • 1. Re: OC4J configuration assistant failure at infrastructure installation
          281430
          Hiya
          we got the same error,but not during installation but during start and stop of the services.

          we did nothing but to reinstall. Basically, this happens, if the hostname lookup doesnt work and also because of couple of other things like ld,ar,make, SWAP space, temp space etc.

          these matter a lot. please take care of these things and I dont see any reason why you get these errors.

          OC4J fails mainly because of the nslookup failure.

          cheers
          lakshmi
          • 2. Re: OC4J configuration assistant failure at infrastructure installation
            332075
            Hi,

            Thank you for the information. I installed 3 times but still the same problem persists. Apache is working fine. Hosts file also configured with the same system IP. Is this component important for executing 9i forms and reports. Is there any way to install this component alone.
            Can u suggest any good document about installation and configuration of Oracle 9i application for a layman in Oracle 9iAS. if you have any documents can u send them to varma@pentasoft.com.my.

            Waiting for your replay....

            With best regards
            Varma.
            • 3. Re: OC4J configuration assistant failure at infrastructure installation
              332075
              Hi All,

              OC4J Instance Configuration Assistant is failed to install at the time of installation of infrastructure. Is the component important for running forms. We want to upgrade our client server application(forms 6i and 9iDB) to Application server(3 tire). We are doing the testing. We want to see the forms(.fmx) files on the web.

              Please help me in this to move forward.

              With Best Regards
              Varma.