Current Position:Home > [ERROR]adding another JVM to OC4J instance

[ERROR]adding another JVM to OC4J instance

Update:11-30Source: network consolidation
Advertisement
Hi gurus,
I had this following configuration on my opmn.xml,
<restart timeout="720" retry="2"/>
<port id="default-web-site" range="8890" protocol="http"/>
<port id="rmi" range="12401-12500"/>
<port id="rmis" range="12701-12800"/>
<port id="jms" range="12601-12700"/>
<process-set id="solusiAS2_group" numprocs="1"/>
</process-type>
and then i modified the numprocs, so that i can run multiple JVM.
<restart timeout="720" retry="2"/>
<port id="default-web-site" range="8890" protocol="http"/>
<port id="rmi" range="12401-12500"/>
<port id="rmis" range="12701-12800"/>
<port id="jms" range="12601-12700"/>
<process-set id="solusiAS2_group" numprocs="2"/>
</process-type>
but when i start the opmnctl gave me these following error,
[[email protected] ~]# /u01/app/oracle/product/10.1.3.1/OracleAS_1/opmn/bin/opmnctl startall
opmnctl: starting opmn and all managed processes...
================================================================================
opmn id=deployment:6200
4 of 5 processes started.
ias-instance id=testAS.deployment
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ias-component/process-type/process-set:
solusiAS2_group/solusiAS2/solusiAS2_group/
Error
--> Process (index=2,uid=1957579602,pid=0)
no port available from the port range
failed to start a managed process after the maximum retry limit
no port available from the port range
no port available from the port range
Log:
none
but the opmnctl up and running,
Processes in Instance: testAS.deployment
--------------------------------------------------------------+---------
ias-component | process-type | pid | status
--------------------------------------------------------------+---------
OC4JGroup:solusiAS3_group | OC4J:solusiAS3 | 14467 | Alive
OC4JGroup:solusiAS2_group | OC4J:solusiAS2 | 14466 | Alive
OC4JGroup:solusiAS2_group | OC4J:solusiAS2 | N/A | Down
OC4JGroup:solusiAS1_group | OC4J:solusiAS1 | 14465 | Alive
ASG | ASG | N/A | Down
OC4JGroup:default_group | OC4J:home | 14464 | Alive
could you help me what's is wrong ? from i read on internet, only OAS 10.1.3.0 that doesn't support running multiple JVM. mine version is 10.1.3.1 patchset 10.1.3.3.
Many THanks,
Andes
Edited by: andes on May 11, 2009 8:01 PM

The Best Answer

Advertisement
As reported in the error message, there is a port conflict. It isn't able to allocate a free port (from the defined ranges) to this new JVM. You show having this:
<port id="default-web-site" range="8890" protocol="http"/>
It is good for one JVM but now that you will have two, this range needs to be expended. Try something like this:
<port id="default-web-site" range="8890-8899" protocol="http"/>
And try to start it again.
Hope this will resolve the problem.
Thanks
Shail
  • [ERROR]adding another JVM to OC4J instance Update:11-30

    Hi gurus, I had this following configuration on my opmn.xml, <restart timeout="720" retry="2"/> <port id="default-web-site" range="8890" protocol="http"/> <port id="rmi" range=&quo

  • Javascript error when creating a new OC4J instance? Update:10-11

    Hi Im trying to deploy the documentum portlet, and a requirement was to install Ant, Java SDK....and i did after that...on my Application server machine (the portal), when i login to the enterprise manager to start a new OC4j instance, my browser sho

  • Installer ias to OC4J Instance Configuration Assistant  has error Update:11-30

    os:AIX 5.3 5300-06 installer:Oracle Application Server 10.1.2.0.2 Symptoms:the successful installation infrastructure but installation ias to OC4J Instance Configuration Assistant has error Deploying application 'reports' to OC4J instance 'OC4J_BI_Fo

  • Deploy one Application per OC4J instance or multiple Update:11-30

    Hello, I have the following questions on deploying applications on OC4J: 1. What is the best practice for deploying applications on OC4J? 2. Should I deploy only One application per OC4J Instance or multiple applications per OC4J Instance. 3. If I de

  • Error while installing OIM, during the OC4J Instance Configuration Assistan Update:10-11

    Hi, running RHEL 4 32Bit Linux. There's an installation of the SOA Suite 10.1.3.1 (Release 2) on /u01/app/oracle/OracleAS_1, and I am installing OIM on /u01/app/oracle/OraHome_2 Near the end of the installation, when it's installing the recommended c

  • EJB 3.0 Cache Issue With OC4J Instance With Multiple JVM's Update:10-11

    I created an EJB 3.0 project in JDeveloper 10.1.3.3.0 and everything works fine in the embedded OC4J server. I am deploying the application to an OC4J instance consisting of 3 Java Virtual Machines in Oracle Application server 10.1.3 and seem to be g

  • Cannot start OC4J instance - after java.lang.OutOfMemory errors Update:11-30

    Hi, I have successfully deployed an application (using Oracle Web Services, J2EE - EJB, TopLink ) to a new OC4J instance that we created. We use the OEM web site to manage the start/stop and deploy operations. Then we tried to run simultaneously 10 c

  • Error while creating a connection from JDeveloper to OC4J instance on 9iAS Update:10-11

    I m trying to create a connection to the application server(9iAS release 2) from the JDeveloper(9.0.2.822) using the JDeveloper connection wizard. I followed all the steps, but when i click on "Test Connection" button to test the connection the

  • Error while undeploying/creating OC4J instance Update:10-11

    Hi, following error is shown while I'm trying to undeploy an application on AS 10.1.2.0.2: An error occured while undeploying the application. An exception has occurred while manipulating the DCM repository database. Please refer to the accompanying

  • Not able to run the forms -OC4J Instance Error Update:10-11

    Hi all, We are facing a problem, like in our developement server we have installed Forms 10g, and configured the formsweb.cfg(we had set the working folder as D:\Source) and default.env and registry also. While calling the form from the other machine