Y Do V Create OC4J instance?

Dear All!
i have 2 deploy oracle forms and reports on web using OAS10g
Do i need 2 Create OC4J instance?
If Yes..
Then Y Do V Create OC4J instance?
Rana Adnan

Andy,
Check the state of your repository using 'dcmctl getState' command. If you get an error or 'In Sync Status' for one of the component is shown as 'false', try to resync the instance using 'dcmctl resyncInstance'.
If resyncInstance succeed, remove the OC4J instance/component that you were trying to add initially and create it again using removeComponent and createComponent commands.
If resyncInstance fails, shutdown (if possible) all OracleAS instances in DCM-Managed OracleAS Cluster (if any). Shutdown all process of the instance (using 'opmnctl stopall' command) including OracleAS Control Console (using 'emctl stop iasconsole') and start the instances again (using 'opmnctl startall' and 'opmnctl startproc ias-component=dcm-daemon'). Remember to first start the OracleAS instance that is acting as repository host for File-based repository (if any).
Now check the instance state, list of components and list of applications. If problem persist, please contact Oracle Support by logging a TAR to further diagnose and help resolve this issue.
Regards
Shail

Similar Messages

  • How to deploy and run application in user created OC4J instance

    Hello friends,
    I have created my own OC4J instance in Application Server Control.Now,how can I deploy and run application in this newly created OC4J instance.I need your help,it's
    urgent.
    Regards
    Prasenjit

    Hi Andreas,
    Thanx for your prompt reply.Yes,I had deployed the '.ear'in that.But I am not able to run the program in
    browser.Could you please elaborate more precisely.I wouuld be obliged.
    Regards
    Prasenjit

  • Error while undeploying/creating OC4J instance

    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 exception for more details.
    Resolution:
    Base Exception:
    java.sql.SQLException
    OALL8 is in an inconsistent state.. OALL8 is in an inconsistent state.
    And following while creating a new OC4J instance:
    An exception has occurred while manipulating the DCM repository
    database. Please refer to the accompanying exception for more details.
    According to google the OALL8 has something to do with the JDBC driver.
    Thanks in advance,
    Koen Verhulst

    Are you doing this using the EM GUI? Or using dcmctl?
    Either way, I'd try to remove the lk file that you had (no idea why that file was around - did you do multiple installs on the same box?)
    and then retry the operation.

  • Can't Create OC4J Instance

    Hi,
    Oracle Application Server 10.1.3.3.0
    While creating new OC4J instance we got the following error:
    "Creation of OC4J instance "App" failed due to the error: Caught exception calling invoke on oc4j:name=Singleton,type=OpmnConfig"
    Any ideas ?
    Thanks in advance :)

    I started restarting the complete application server... It stopped forcefully and then never started...
    Sorry to disappoint you, but I reinstalled the complete thing :)
    Aalap Sharma :)

  • Unable to create OC4J instance - out of sync instance

    RDBMS Version: 9.2.0.0
    Operating System: W2K
    Product Version: 9.0.4.0.0
    JDK Version: 1.4.2_03
    Error number: ADMN 705021
    Hi
    I am trying to create an OC4J instance using EM. When I do, I receive the
    following error message:
    The operation failed...<instance_name>. See base exception for details. Root
    cause: Error encountered executing command <oracle_home>\bin\emtcgtcl -add
    <oracle_home> -EMDROOT <oracle_home>_agent. Error in writing input.
    I issued a dcmctl listcomponents command at this point and the container I
    was trying to create shows in the list. I also issued dcmctl updateconfig
    and getstate commands. I then get a ADMN 705021 error: The configuration
    files for this 10g instance are inconsistent with the configuration shared
    in the repository...Check the logs at $ORACLE_HOME\dcm\logs.
    To try and resolve the problem, I used note 238393.1 Troubleshooting DCM
    Repository Out of Sync Errors. I checked all configuration files existed.I
    then checked the repository components list, creating fake directories for
    those components that showed using dcmctl listcomponents, and then
    consequently removed those components. When I removed them, I would receive
    an ADMN 906025 error, but the component would be removed. I checked that the
    deployed applications list was correct using dcmctl listapplications, and it
    was. However I would also receive the following error message:
    java.io.FileNotFoundException:
    <Oracle_Home>\j2ee\home\application-deployment\wp\jazn-data.tmp (The system
    cannot find the path specified). The directory wp does not exist, so this
    message is accurate.
    I'm kind of at a loss where to start given all these error messages. I guess
    what I need to do is get the instance in sync somehow, and then hopefully be
    able to create an oc4j instance.
    Can anyone suggest an approach given the detail above?
    Regards
    Andy

    Andy,
    Check the state of your repository using 'dcmctl getState' command. If you get an error or 'In Sync Status' for one of the component is shown as 'false', try to resync the instance using 'dcmctl resyncInstance'.
    If resyncInstance succeed, remove the OC4J instance/component that you were trying to add initially and create it again using removeComponent and createComponent commands.
    If resyncInstance fails, shutdown (if possible) all OracleAS instances in DCM-Managed OracleAS Cluster (if any). Shutdown all process of the instance (using 'opmnctl stopall' command) including OracleAS Control Console (using 'emctl stop iasconsole') and start the instances again (using 'opmnctl startall' and 'opmnctl startproc ias-component=dcm-daemon'). Remember to first start the OracleAS instance that is acting as repository host for File-based repository (if any).
    Now check the instance state, list of components and list of applications. If problem persist, please contact Oracle Support by logging a TAR to further diagnose and help resolve this issue.
    Regards
    Shail

  • Error creating OC4J instance on OAS 10g

    I just installed Oracle OAS 10.1.2.0.2 on Windows server 2003
    I used my httpd.conf , dadas.conf, rwservlet_properties of my old server and made the hostname change etxc....
    The database and the liststerner seems UP and Running but I can't create an OC4J instance. I have this message :
    The OracleAS Repository API threw an exception when obtaining the connect string to the Metadata Repository
    I'm sure there is something wrong with my installation, I'm a bit new to OAS.
    Here is my ouput of opmnctl status for both INFRA and OAS :
    E:\oas10g\opmn\bin>opmnctl status
    Processes in Instance: oas10g.oas10g-dev
    ------------------------------------------------+---------
    ias-component | process-type | pid | status
    ------------------------------------------------+---------
    DSA | DSA | N/A | Down
    LogLoader | logloaderd | N/A | Down
    dcm-daemon | dcm-daemon | N/A | Down
    OC4J | home | N/A | Down
    OC4J | OC4J_BI_Forms | N/A | Down
    OC4J | OC4J_Portal | N/A | Down
    WebCache | WebCache | 3440 | Alive
    WebCache | WebCacheAdmin | 4464 | Alive
    HTTP_Server | HTTP_Server | 4228 | Alive
    Discoverer | ServicesStatus | 3492 | Alive
    Discoverer | PreferenceServer | 4692 | Alive
    E:\infra10g\opmn\bin>opmnctl status
    Processes in Instance: infra10g.oas10g-dev
    ------------------------------------------------+---------
    ias-component | process-type | pid | status
    ------------------------------------------------+---------
    DSA | DSA | N/A | Down
    LogLoader | logloaderd | N/A | Down
    dcm-daemon | dcm-daemon | N/A | Down
    OC4J | OC4J_SECURITY | N/A | Down
    HTTP_Server | HTTP_Server | 2004 | Alive
    OID | OID | 876 | Alive
    tnsping asdb
    E:\infra10g\opmn\bin>tnsping asdb
    TNS Ping Utility for 32-bit Windows: Version 10.1.0.4.2 - Production on 03-FEB-2
    011 08:43:56
    Copyright (c) 1997, 2003, Oracle. All rights reserved.
    Used parameter files:
    E:\oas10g\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = Oas10g0)
    (PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = asdb.fqr.gou
    v.qc.ca)))
    OK (0 msec)
    Please help
    Edited by: Jpmill on 3 févr. 2011 06:08

    Are you doing this using the EM GUI? Or using dcmctl?
    Either way, I'd try to remove the lk file that you had (no idea why that file was around - did you do multiple installs on the same box?)
    and then retry the operation.

  • About creating OC4J instances

    in ocs 9i , one had the option of creating a new oc4j instance in middle tier standalone instance of enterprise manager, in ocs 10g however , such an option only exists for infrastructure. Any idea why is this so ?

    I was wondering the same thing.
    There is a reference to some issues in the release notes(http://download-east.oracle.com/docs/cd/B15595_01/relnotes.101/b19091/suite.htm#sthref85), maybe there were stability issues when doing custom depoyments.

  • Javascript error when creating a new OC4J instance?

    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 shows a script error in the status bar in IE 6.0.
    it says: Object expected, ....and whenever i click "Create OC4j instance" the page is scrolled up to the top part of the page. so there is some kind of javascript error. how can i fix this? its stopping me from my development process.
    Your help is appreciated. thanks
    Faisal[b]

    On Windows this is caused most often by the temporary directory setting.
    Change the temporary directory to some fixed directory writable by anybody, e.g. "C:\temp".
    Change this in:
    Registry entry: hkey_local_machine\software\oracle\key_<oashome>\REPORTS_TMP
    <oashome>\opmn\conf\opmn.xml: search for environment variable TEMP (under ias-instance)
    Good luck!

  • How to create new OC4J instance in AS 10.1.3 with BC4J- and ADF-Libraries

    Hi
    I have done all the steps mentioned in this thread:
    How to create new OC4J instance in AS 10.1.3
    However, the new created OC4J instance obviously misses some libraries. If I deploy my Application to this OC4J I get an internal error: Class not found: oracle.jbo.JboException.
    The same Application runs well in the "home" Instance.
    What is the trick, to create a new OC4J instance, which more or less behaves the same way as the "home" instances (and especially has all the same libraries)?
    Thanks for your help
    Frank Brandstetter

    I encountered this last month. I definitely agree that it is a glaring omission to not have "Create Like" functionality when instantiating new containers. Here's my notes on the manual steps required after using createinstance to create the fresh container. Not too bad. I've been deploying ADF applications to the new container with no problems after this.
    ==============
    The default (home) OC4J container is pre-configured for ADF 10.1.3 applications; however, when $ORACLE_HOME/bin/createinstance is used to create additional containers, these containers are not configured automatically to host ADF 10.1.3 applications.
    I followed these manual steps:
    1. $ORACLE_HOME/j2ee/home/config/server.xml defines three shared libraries that "install" the needed JARs for Oracle ADF applications in your application server instance (container). Note that "install" does not necessarily mean available to applications (see Step 2). Copy the three shared library element definitions to the <application-server> element of your new container (in server.xml).
    <shared-library name="oracle.expression-evaluator" version="10.1.3" library-compatible="true">
         <code-source path="/usr2/oracle/as10130/jlib/commons-el.jar"/>
         <code-source path="/usr2/oracle/as10130/jlib/oracle-el.jar"/>
         <code-source path="/usr2/oracle/as10130/jlib/jsp-el-api.jar"/>
    </shared-library>
    <shared-library name="adf.oracle.domain" version="10.1.3" library-compatible="true">
         <code-source path="/usr2/oracle/as10130/BC4J/lib"/>
         <code-source path="/usr2/oracle/as10130/jlib/commons-cli-1.0.jar"/>
         <code-source path="/usr2/oracle/as10130/mds/lib/concurrent.jar"/>
         <code-source path="/usr2/oracle/as10130/mds/lib/mdsrt.jar"/>
         <code-source path="/usr2/oracle/as10130/jlib/share.jar"/>
         <code-source path="/usr2/oracle/as10130/jlib/regexp.jar"/>
         <code-source path="/usr2/oracle/as10130/jlib/xmlef.jar"/>
         <code-source path="/usr2/oracle/as10130/BC4J/jlib/adfmtl.jar"/>
         <code-source path="/usr2/oracle/as10130/BC4J/jlib/adfui.jar"/>
         <code-source path="/usr2/oracle/as10130/BC4J/jlib/adf-connections.jar"/>
         <code-source path="/usr2/oracle/as10130/BC4J/jlib/dc-adapters.jar"/>
         <code-source path="/usr2/oracle/as10130/ord/jlib/ordim.jar"/>
         <code-source path="/usr2/oracle/as10130/ord/jlib/ordhttp.jar"/>
         <code-source path="/usr2/oracle/as10130/jlib/ojmisc.jar"/>
         <code-source path="/usr2/oracle/as10130/jlib/jdev-cm.jar"/>
         <code-source path="/usr2/oracle/as10130/lib/xsqlserializers.jar"/>
         <import-shared-library name="oracle.xml"/>
         <import-shared-library name="oracle.jdbc"/>
         <import-shared-library name="oracle.cache"/>
         <import-shared-library name="oracle.dms"/>
         <import-shared-library name="oracle.sqlj"/>
         <import-shared-library name="oracle.toplink"/>
         <import-shared-library name="oracle.ws.core"/>
         <import-shared-library name="oracle.ws.client"/>
         <import-shared-library name="oracle.xml.security"/>
         <import-shared-library name="oracle.ws.security"/>
         <import-shared-library name="oracle.ws.reliability"/>
         <import-shared-library name="oracle.jwsdl"/>
         <import-shared-library name="oracle.http.client"/>
         <import-shared-library name="oracle.expression-evaluator"/>
    </shared-library>
    <shared-library name="adf.generic.domain" version="10.1.3" library-compatible="true">
         <code-source path="/usr2/oracle/as10130/BC4J/jlib/bc4jdomgnrc.jar"/>
         <code-source path="/usr2/oracle/as10130/BC4J/lib"/>
         <code-source path="/usr2/oracle/as10130/jlib/commons-cli-1.0.jar"/>
         <code-source path="/usr2/oracle/as10130/mds/lib/concurrent.jar"/>
         <code-source path="/usr2/oracle/as10130/mds/lib/mdsrt.jar"/>
         <code-source path="/usr2/oracle/as10130/jlib/share.jar"/>
         <code-source path="/usr2/oracle/as10130/jlib/regexp.jar"/>
         <code-source path="/usr2/oracle/as10130/jlib/xmlef.jar"/>
         <code-source path="/usr2/oracle/as10130/BC4J/jlib/adfmtl.jar"/>
         <code-source path="/usr2/oracle/as10130/BC4J/jlib/adfui.jar"/>
         <code-source path="/usr2/oracle/as10130/BC4J/jlib/adf-connections.jar"/>
         <code-source path="/usr2/oracle/as10130/BC4J/jlib/dc-adapters.jar"/>
         <code-source path="/usr2/oracle/as10130/ord/jlib/ordim.jar"/>
         <code-source path="/usr2/oracle/as10130/ord/jlib/ordhttp.jar"/>
         <code-source path="/usr2/oracle/as10130/jlib/ojmisc.jar"/>
         <code-source path="/usr2/oracle/as10130/jlib/jdev-cm.jar"/>
         <code-source path="/usr2/oracle/as10130/lib/xsqlserializers.jar"/>
         <import-shared-library name="oracle.xml"/>
         <import-shared-library name="oracle.jdbc"/>
         <import-shared-library name="oracle.cache"/>
         <import-shared-library name="oracle.dms"/>
         <import-shared-library name="oracle.sqlj"/>
         <import-shared-library name="oracle.toplink"/>
         <import-shared-library name="oracle.ws.core"/>
         <import-shared-library name="oracle.ws.client"/>
         <import-shared-library name="oracle.xml.security"/>
         <import-shared-library name="oracle.ws.security"/>
         <import-shared-library name="oracle.ws.reliability"/>
         <import-shared-library name="oracle.jwsdl"/>
         <import-shared-library name="oracle.http.client"/>
         <import-shared-library name="oracle.expression-evaluator"/>
    </shared-library>
    2. To make the necessary ADF and JSF support libraries available to your deployed ADF application, the default application (that your ADF application and the majority of applications should inherit from) should explicitly import the shared library in the <orion-application> element of $ORACLE_HOME/j2ee/<your container>/config/application.xml.
    <imported-shared-libraries>
         <import-shared-library name="adf.oracle.domain"/>
    </imported-shared-libraries>
    Note: the adf.oracle.domain shared library imports several other shared libraries including oracle.expression-evaluator.

  • Error while installing OIM, during the OC4J Instance Configuration Assistan

    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 configuration assistants, I get an error while the OC4J Instance Configuration Assistant piece is running.
    Here's the full readout:
    Launched configuration assistant 'OC4J Instance Configuration Assistant'
    Tool type is: Recommended.
    The command being spawned is: '/u01/app/oracle/OraHome_2/jdk/bin/java -Djava.net.preferIPv4Stack=true -Djava.io.tmpdir=/tmp -mx512M -classpath /u01/app/oracle/OraHome_2/dcm/lib/dcm.jar:/u01/app/oracle/OraHome_2/dcm/lib/oc4j_deploy_tools.jar:/u01/app/oracle/OraHome_2/opmn/lib/opmnplugin.jar -Doracle.ias.sysmgmt.logging.logdir=/u01/app/oracle/OraHome_2/j2ee/home/log oracle.j2ee.tools.deploy.Oc4jDeploy -oraclehome /u01/app/oracle/OraHome_2 -verbose -inifile /u01/app/oracle/OraHome_2/j2ee/deploy.ini '
    Start output from spawned process:
    Reading ini file - '/u01/app/oracle/OraHome_2/j2ee/deploy.ini'
    Adding web-app 'wirelesssso-web.war' for app 'wirelesssso'.
    Adding web-app 'web.war' for app 'sso'.
    Adding web-app 'ssohelp.war' for app 'sso'.
    Adding web-app 'pls.war' for app 'sso'.
    OC4J instance 'OC4J_SECURITY': Adding java stop command line option '-server'
    OC4J instance 'OC4J_SECURITY': Adding java command line option '-Xmx512m'
    OC4J instance 'OC4J_SECURITY': Adding Environment variable 'LD_LIBRARY_PATH' with value '/u01/app/oracle/OraHome_2/lib32:/u01/app/oracle/OraHome_2/lib'
    OC4J instance 'OC4J_SECURITY': Adding Environment variable 'DISPLAY' with value 'oracleb.djl.com:0.0'
    Adding web-app 'ui.war' for app 'oiddas'.
    OC4J instance 'OC4J_SECURITY': Adding java stop command line option '-Xss1M'
    Ignoring jvm command-line option '-Xmx512m'. Larger heap already specified with '-Xmx512m'
    OC4J instance 'OC4J_SECURITY': Env Option 'LD_LIBRARY_PATH' already exists with value '/u01/app/oracle/OraHome_2/lib32:/u01/app/oracle/OraHome_2/lib'
    Initializing DCM...done.
    Creating OC4J instance 'OC4J_SECURITY' (protected)...done.
    Adding dependent libraries for application 'default'...done.
    Calling SMI to save changes.
    SMISession.saveChanges succeeded.
    Starting OC4J instance 'OC4J_SECURITY'...done.
    Deploying application 'wirelesssso' to OC4J instance 'OC4J_SECURITY'.
    Notification ==> Application Deployer for wirelesssso STARTS [ 2006-11-27T17:20:23.691EST ]
    Notification ==> Undeploy previous deployment
    Notification ==> Removing files for app file:/u01/app/oracle/OraHome_2/j2ee/OC4J_SECURITY/applications/wirelesssso.ear
    Notification ==> Copy the archive to /u01/app/oracle/OraHome_2/j2ee/OC4J_SECURITY/applications/wirelesssso.ear
    Notification ==> Unpack wirelesssso.ear begins...
    Notification ==> Unpack wirelesssso.ear ends...
    Notification ==> Initialize wirelesssso.ear begins...
    Notification ==> Initialize wirelesssso.ear ends...
    Notification ==> Initialize wirelesssso-web begins...
    Notification ==> Initialize wirelesssso-web ends...
    Notification ==> deleting: /u01/app/oracle/OraHome_2/j2ee/OC4J_SECURITY/applications/wirelesssso.ear
    Notification ==> deleting: /u01/app/oracle/OraHome_2/j2ee/OC4J_SECURITY/applications/wirelesssso/wirelesssso-web.war
    Notification ==> Application Deployer for wirelesssso COMPLETES [ 2006-11-27T17:20:24.193EST ]
    Deploying application 'oiddas' to OC4J instance 'OC4J_SECURITY'.
    Notification ==> Application Deployer for oiddas STARTS [ 2006-11-27T17:20:24.246EST ]
    Notification ==> Undeploy previous deployment
    Notification ==> Removing files for app file:/u01/app/oracle/OraHome_2/j2ee/OC4J_SECURITY/applications/oiddas.ear
    Notification ==> Copy the archive to /u01/app/oracle/OraHome_2/j2ee/OC4J_SECURITY/applications/oiddas.ear
    Notification ==> Unpack oiddas.ear begins...
    Notification ==> Unpack oiddas.ear ends...
    Notification ==> Initialize oiddas.ear begins...
    Notification ==> Initialize oiddas.ear ends...
    Notification ==> Initialize ui begins...
    Notification ==> Initialize ui ends...
    Notification ==> deleting: /u01/app/oracle/OraHome_2/j2ee/OC4J_SECURITY/applications/oiddas.ear
    Notification ==> deleting: /u01/app/oracle/OraHome_2/j2ee/OC4J_SECURITY/applications/oiddas/ui.war
    Notification ==> Application Deployer for oiddas COMPLETES [ 2006-11-27T17:20:28.312EST ]
    Deploying application 'sso' to OC4J instance 'OC4J_SECURITY'.
    Notification ==> Application Deployer for sso STARTS [ 2006-11-27T17:20:28.351EST ]
    Notification ==> Undeploy previous deployment
    Notification ==> Removing files for app file:/u01/app/oracle/OraHome_2/j2ee/OC4J_SECURITY/applications/sso.ear
    Notification ==> Copy the archive to /u01/app/oracle/OraHome_2/j2ee/OC4J_SECURITY/applications/sso.ear
    Notification ==> Unpack sso.ear begins...
    Notification ==> Unpack sso.ear ends...
    Notification ==> Initialize sso.ear begins...
    Notification ==> Initialize sso.ear ends...
    Notification ==> Initialize web begins...
    Notification ==> Initialize web ends...
    Notification ==> Initialize ssohelp begins...
    Notification ==> Initialize ssohelp ends...
    Notification ==> Initialize pls begins...
    Notification ==> Initialize pls ends...
    Notification ==> deleting: /u01/app/oracle/OraHome_2/j2ee/OC4J_SECURITY/applications/sso.ear
    Notification ==> deleting: /u01/app/oracle/OraHome_2/j2ee/OC4J_SECURITY/applications/sso/web.war
    Notification ==> deleting: /u01/app/oracle/OraHome_2/j2ee/OC4J_SECURITY/applications/sso/ssohelp.war
    Notification ==> deleting: /u01/app/oracle/OraHome_2/j2ee/OC4J_SECURITY/applications/sso/pls.war
    Notification ==> Application Deployer for sso COMPLETES [ 2006-11-27T17:20:29.806EST ]
    Calling updateConfig to notify DCM of new deployments...done.
    Adding OC4J mount points for application 'wirelesssso'...done.
    Adding OC4J mount points for application 'oiddas'...done.
    Adding dependent libraries for application 'sso'...done.
    Adding OC4J mount points for application 'sso'...done.
    Calling SMI to save changes.
    SMISession.saveChanges succeeded.
    Binding web app 'wirelesssso-web' to default-web-site for application 'wirelesssso' in OC4J instance 'OC4J_SECURITY'
    Web app 'wirelesssso-web' bound successfully.
    Binding web app 'ui' to default-web-site for application 'oiddas' in OC4J instance 'OC4J_SECURITY'
    Web app 'ui' bound successfully.
    Binding web app 'web' to default-web-site for application 'sso' in OC4J instance 'OC4J_SECURITY'
    ERROR: Caught exception while binding web app 'web' to default-web-site:
    Calling updateConfig to notify DCM of new web-bindings...java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at oracle.j2ee.tools.deploy.Oc4jDeploy.doDeploy(Unknown Source)
         at oracle.j2ee.tools.deploy.Oc4jDeploy.execute(Unknown Source)
         at oracle.j2ee.tools.deploy.Oc4jDeploy.deploy(Unknown Source)
         at oracle.j2ee.tools.deploy.Oc4jDeploy.main(Unknown Source)
    Caused by: com.evermind.client.orion.AdminCommandException: Disconnected: RMIConnection Disconnected
         at com.evermind.client.orion.BindWebAppCommand.execute(BindWebAppCommand.java:31)
         at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminConsole.java:139)
         ... 8 more
    Caused by: com.evermind.server.rmi.OrionRemoteException: Disconnected: RMIConnection Disconnected
         at com.evermind.server.rmi.RMIConnection.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(RMIConnection.java:1621)
         at com.evermind.server.rmi.RMIConnection.invokeMethod(RMIConnection.java:1572)
         at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:55)
         at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:22)
         at __Proxy0.bindWebApp(Unknown Source)
         at com.evermind.client.orion.BindWebAppCommand.execute(BindWebAppCommand.java:28)
         ... 9 more
    done.
    Adding application 'wirelesssso' to the DCM repository...done.
    Application 'wirelesssso' deployed successfully.
    Adding application 'oiddas' to the DCM repository...done.
    Application 'oiddas' deployed successfully.
    Undeploying application 'sso' from OC4J instance 'OC4J_SECURITY'.
    java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at oracle.j2ee.tools.deploy.Oc4jDeploy.doDeploy(Unknown Source)
         at oracle.j2ee.tools.deploy.Oc4jDeploy.execute(Unknown Source)
         at oracle.j2ee.tools.deploy.Oc4jDeploy.deploy(Unknown Source)
         at oracle.j2ee.tools.deploy.Oc4jDeploy.main(Unknown Source)
    Caused by: com.evermind.client.orion.AdminCommandException: IOException communicating with the remote server: Connection reset
         at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminConsole.java:121)
         ... 8 more
    Caused by: java.net.SocketException: Connection reset
         at java.net.SocketInputStream.read(SocketInputStream.java:168)
         at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
         at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
         at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java:2508)
         at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java:2361)
         at com.evermind.server.rmi.RMIConnection.lookup(RMIConnection.java:1800)
         at com.evermind.server.rmi.RMIServer.lookup(RMIServer.java:725)
         at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:149)
         at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminConsole.java:106)
         ... 8 more
    FAILED!
    ERROR: Caught exception while undeploying 'sso' from 'OC4J_SECURITY':
    Removing OC4J mount points for application 'sso'...done.
    Calling SMI to save changes.
    SMISession.saveChanges succeeded.
    Calling updateConfig to notify DCM of undeployments...done.
    Stopping OC4J instance 'OC4J_SECURITY'...done.
    Calling SMI to retry init of failed plugins...done.
    Terminating DCM...done.
    Copying /u01/app/oracle/OraHome_2/j2ee/deploy.ini to /u01/app/oracle/OraHome_2/j2ee/deploy.ini.1164667126315.bak.
    Writing any undeployed entries back to /u01/app/oracle/OraHome_2/j2ee/deploy.ini.
    Oc4jDeploy tool completed, but with errors.
    End output from spawned process.
    Any help is appreciated, thanks!

    Hi, did you ever resolve this problem? We've got the same error.
    Cheers,
    Eystein

  • Multiple OC4J instances

    What is the difference between
    1) Creating two OC4J instances on the same host and deploying the same application
    on both with the same URL context
    2) Creating one OC4J instance on one host with two processes

    2) Creating one OC4J instance on one host with twoprocesses
    m_yasin, can you explain how you plan to do that?
    Inside of the Enterprise Manager which comes with OracleAS, there's a "Create OC4J Instance" button. You can click that and create a new OC4J instance with a name of your choosing.
    With the multiple process model you have one set ofconfiguration files to maintain. So
    arguably the onus on management/config is less.If you have one set of configuration files, then when
    you start oc4j, you have to at least specify
    different port for each of those multiple process.
    Can it be/is it done by oracle AS automatically
    behind the scene? OracleAS automatically takes care of it for you -- the OPMN component of OracleAS is responsible for starting (and ongoing monitoring) of processes -- it will allocate a unique set of ports to each instance it manages.
    If you look in the $ORACLE_HOME/opmn/conf/opmn.xml file, you will see that where there is an entry for an OC4J instance, you will see a number of sub elements which effectively define a protocol and a port range to use for that protocol. OPMN will select a free value from this range (starting from the lower bound) and assign to each process it starts.
    If you are using OC4J standalone and manually starting each instance, then you need to adjust the ports in one of the instances so that there are no collisions. This is done using the XML files in the j2ee/home/config directory.
    >
    I have been trying to collect any advantage and
    disadvantage of start two oc4j processes with one
    oc4j configuration. However, I would like to know
    first if this is a supported configuration of AS.Yes its fully supported with OracleAS -- the documentation clearly covers it.
    To start multiple-processes from one configuration file, you can either edit the opmn.xml file and specify a value >1 for the num_procs element inside of relecant OC4J instance's process-type configuration or you can do the same thing by entering a value >1 against the "The Number of Java Virtual Machines'" configuration setting inside of Enterprise Manager.
    cheers
    -steve-

  • OC4J Instance Configuration Assistant Installation Failure

    I am using Redhat Linux Advanced Server 2.1 and trying to install Oracle 9i Application Server R2 (9.0.2.0.1). While installation of OC4J Instance Configuration Assistant
    component, I found following errors. I need to know solution for same.
    OC4J Instance Configuration Assistant
    Reading ini file - '/ora9isoft/oas/OH2/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=%PATH%'
    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': Property 'jbo.server.in_oc4j' already exists with value 'true'
    OC4J instance 'home': Adding property 'jbo.server.in_oc4j=true'
    Initializing DCM...done.
    OC4J instance 'home' already exists.
    Creating OC4J instance 'OC4J_Demos'...done.
    ERROR: Create failed.
    Error message returned is: Instance: as1.dholka.wbtea.com Message: See base exception for details.
    Base Exception:
    oracle.ias.sysmgmt.exception.TaskException:Starting opmn process times out.See base exception for details.
    Starting OC4J instance 'home'...
    ERROR: Start failed.
    Error message returned is: Unable to establish a connection to opmn process.
    Base Exception:
    java.net.UnknownHostException:localhostCheck port, host, or reply message if any
    DCM Terminated.
    Also, for installation of OPMN Configuration Assistant, following error has occured :
    opmnctl: starting opmn and all managed processes...
    /ora9isoft/oas/OH2/opmn/bin/opmnctl: line 2: 20717 Segmentation fault $OPMNADMIN ping
    /ora9isoft/oas/OH2/opmn/bin/opmnctl: line 8: 20722 Segmentation fault $OPMNADMIN pingwait
    opmnctl: opmn start failed
    ---

    niravashah,
    As for the actual error, I suggest you check your ethernet network adapter setup, look for conflicting hostnames - IPs ..
    hope it helps
    RB

  • OC4J instance configuration assistant Failure

    During installation of both infrastructure and oracle collaboration suite on a windows 2k3 machine. I receive this error message during install and configuration:
    OC4J instance 'OC4J_SECURITY': Adding Environment variable 'DISPLAY' with value 'richsw113.us.mysite.com:0.0'
    Adding web-app 'ui.war' for app 'oiddas'.
    Ignoring jvm command-line option '-Xmx512m'. Larger heap already specified with '-Xmx512m'
    Initializing DCM..done.
    Creating OC4J instance 'OC4J_SECURITY' (protected)..done.
    ERROR: Create failed.
    Error message returned is: Instance: ocsinfra.richsw113.us.mysite.com Message: See base exception for details.See base exception for details.
    Terminating DCM..done.
    Copying C:\product\10.1.2\ocs_1\infra/j2ee/deploy.ini to C:\product\10.1.2\ocs_1\infra/j2ee/deploy.ini.1178196416875.bak.
    Writing any undeployed entries back to C:\product\10.1.2\ocs_1\infra/j2ee/deploy.ini.
    Oc4jDeploy tool completed, but with errors.
    Configuration assistant "OC4J Instance Configuration Assistant" failed
    Does anyone have any ideas as to why I'm recieving this error?

    This is an RDBMS related forum, so this thread will not have too much echo here, I suggest you to post it at the Fusion Middleware / OC4J J2EE forum.
    Any way, as a first approach, by following the requirements stated at the installation manual you should be able to install the OC4J instance without tampering with this specific variables.
    As a good advice, specify the OS you are trying to install to and the product versions.
    Why do you mention the DISPLAY environment and then you post Windows paths?

  • How can I create a new OC4J Instance in Application Server Control

    Hi All,
    Is there any way to create a new OC4J Instance in Application Server Control of installed SOA Suite, so that it gets listed in Cluster Topology page.
    Thanks
    Krrish

    Hi Eric,
    Thanks for the reply.
    it is pretty simple..which I didnt try earlier..
    Thanks
    Krrish

  • Error while creating a connection from JDeveloper to OC4J instance on 9iAS

    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 i get is "IO Error: Connection refused: connect". The description of the settings i provided in the wizard step are as follows,
    Step 1
    Connection name:- Connection1
    Connection Type:- Oracle 9i Application Server
    Step 2
    Username:- admin
    Password:- welcome
    Deploy Password checkbox: Unchecked
    Step 3 (the 9iAS server address is 192.168.30.162)
    URL:- ormi://192.168.30.162/
    Target Web Site:- http-web-site
    Local dir where admin.jar is installed for Oracle 9iAS is installed:- C:\ora9i_d2k\j2ee\home
    Step 4
    Test Connection: “IO Error: Connection refused: connect”
    Please advise.
    Thanks
    Unmesh

    Hi,
    You cannot connect to an Oracle9iAS environment directly using the connections node. You can only connect to an individual OC4J instance using this technique.
    You need to use Oracle9iAS Distributed Management Configuration (DCM). See JDeveloper Help under Creating Application Server Connections

Maybe you are looking for