Automating OC4J Instance Setup

Hi All,
I was wondering if anyone would be able to help with a simple query? Our company has recently upgraded to using OAS 10.1.3.4.0 for the latest version of our product. We distribute this to all our customers, and so have many installations to do as part of this upgrade. I've written scripts and response files to enable the installation to be quicker, but I'm looking at using the admin_client.jar to do the setup of OC4J containers for the application.
In the documentation I have found how to set up shared, libraries, JMS queues, etc, but I have some questions:
1. Is it possible to include server properties anywhere in an automated script, or deployment plan (i.e -D parameters, heap size, etc)?
2. Is it also possible to specify JSP properties, and transaction manager properties in a deployment plan?
3. I can specify adding JMS queues as part of an admin_tool.jar script, but is it possible to put these in the deployment plan or EAR file too? This would make it easier to change them with subsequent releases.
I hope this is clear, and someone may be able to help with these questions.
thanks,
Chris
Database Administrator, Corelogic Ltd.

You might want to post in OC4J forum too:
OC4J

Similar Messages

  • Automating OC4J Container Setup

    Hi All,
    I was wondering if anyone would be able to help with a simple query? Our company has recently upgraded to using OAS 10.1.3.4.0 for the latest version of our product. We distribute this to all our customers, and so have many installations to do as part of this upgrade. I've written scripts and response files to enable the installation to be quicker, but I'm looking at using the admin_client.jar to do the setup of OC4J containers for the application.
    In the documentation I have found how to set up shared libraries, JMS queues, etc, but I have some questions:
    1. Is it possible to include server properties anywhere in an automated script, or deployment plan (i.e -D parameters, heap size, etc)?
    2. Is it also possible to specify JSP properties, and transaction manager properties in a deployment plan?
    3. I can specify adding JMS queues as part of an admin_tool.jar script, but is it possible to put these in the deployment plan or EAR file too? This would make it easier to change them with subsequent releases.
    I hope this is clear, and someone may be able to help with these questions.
    thanks,
    Chris
    Database Administrator, Corelogic Ltd.

    Chris,
    In response to 1. :
    We use ant for automating deployment and I can describe this if you like, but it may not be an option for your customers since ant must be installed on their servers or on a server that can access and control their machines. In any event, the startup options for the JVM (Max Heap Size etc.) can be placed in a batch file (Windows) or shell script (*nix) that you could exec during your install. This is a great idea if you need to be certain that the target server can accomodate your application's needs but there is a caveat - you should check that the target server can accomodate your settings without being overtaxed. These (custom JVM args) may raise legitimate concerns and be something that their server admin may prefer to control.
    -Michael

  • How to setup new OC4J instance to host jdev business component (EJB)

    From Jdeveloper 9.0.3 I want to deploy a business component to an new oc4j instance running under 9ias version 9.0.3.
    In jdeveloper I have built and tested an application server connection (type=Oracle Application Sever Remote DCM) to my new oc4j instance on 9ias. My understanding is that the jdeveloper deployment profile wizard will help me construct a profile to build what is known as an "EJB session bean".
    Using EmWebSite, I have created and started the new oc4j instance, and i constructed a datasource to be used for the database connection.
    Is there anything else that I will need to do to the new 9ias oc4j instance prior to building the deployment profile in jdeveloper, and then running the deployment? For instance, does this new oc4j instance somehow have the necessary hooks in it to support this bc4j component? Do I need to install any missing jar files? Do I need to define rmi ports ? Do I need to configure BC4J support?
    BTW ... I have tried to pursue this topic from the Jdeveloper side but the support personnel are not familar with 9ias 903, nor are they familar with 9ias Remote DCM deployment.

    Yes, you should be able to deploy an BC4J application without making any other changes to an IAS instance. For standalone OC4J please look at http://otn.oracle.com/products/jdev/htdocs/config_oc4j_for_bc4j.html
    regards
    Debu

  • OC4J 10.1.3.0.0 :: How to create a Parent OC4J Instance ?

    Hi,
    I have an Oracle Application Server Instance on a Windows System :-
    D:\OraAppServer1\j2ee\home>ver
    Microsoft Windows 2000 [Version 5.00.2195]
    D:\OraAppServer1\j2ee\home>java -jar oc4j.jar -version
    Oracle Containers for J2EE 10g (10.1.3.0.0)  (build 060119.1546.05277)I have created two OC4J Instances & the hierarchy is as follows :-
    home
    |
    |
    |-------OC4J_SS1
    |
    |-------OC4J_SS2Now, I am trying to create an additional OC4J instance that can act as the parent instance for the two OC4J isntances. I am trying to setup a hieararchy that looks like this :-
    home
    |
    |
    |-------OC4J_SS
                  |
                  |-------OC4J_SS1
                  |
                  |-------OC4J_SS2The reason for this setup is to have a Parent JNDI NameSpace that the Child Instances can access. We are trying to setup JMS Queues ( File / Memory based Persistence ) & the applications in both the instances ( MDBs ) will be listening to the same Queues.
    We are trying to setup the Queues in the Parent OC4J ( OC4J_SS ) so that the applications in OC4J_SS1 and OC4J_SS2 can access the Queues.
    We noticed that the createInstance command does not have the facility to specify the parent - all the OC4J Instances seem to inherit from the default home instance.
    D:\OraAppServer2\opmn\bin>createinstance -?
    Error: Unknown argument: -?
    Usage:
    createinstance <arguments>
    where arguments are:
      -instanceName <name> :Name of new instance to be created.
      -port <http port>    :(optional)User specified HTTP port.
                            Required in J2EE Server and Process Management
                            install type only.
      -startASControl      :(optional)Start the Application Server Control
                            when starting this new instance.
      -ASControlIsRoutable :(optional)Make the Application Server Control
                            routable when started.We do not want to play with the home instance - instead, we want to deploy our solutions in our own OC4Js.
    Can you please guide us in this solution ?
    Please do let me know if I need to include any other information.
    Regards,
    Sandeep

    Hi Steve,
    Thanks again - I was able to create a Group & put the OC4J instances that I need as a Group.
    It's a very useful feature.
    Now, when I check the Administration page for the Group,
    I notice that I can " Create/delete/view _____________ for the instances in this group."
    I do not want to replicate the JNDI Connection settings for every instance in my Group
    ( the # could easily bloat up to 5 / 6 in the future ).
    I am trying to create a common JNDI Lookup Service that will be available to both the OC4J Instances.
    It's something like this:-
    |          |
    |   OC4J_SS1     |
    |          |
    |          |
         |
         |
         |
         V
    |          |------> jdbc / xxxxx
    |   Group JNDI  |------> jms  / xxxxx ( especially, file based Queues )
    |   Bindings     |
    |          |
         ^
         |
         |
         |
    |          |
    |   OC4J_SS2     |
    |          |
    |          |
    ----------------Is this possible in OC4J ? Or, do I need to use a heavy duty product like the
    Oracle Internet Directory to achieve this ?
    Can you once again post some Documents / WhitePapers that discuss this ?
    Regards,
    Sandeep

  • Unable to see OC4J Instances in ascontrol -- Urgent

    Hi
    Iam not able to see the OC4J instances running in ascontrol.
    They are shown in default group as running.
    adopmnctl status shows the below status as alive.
    --------------------------------------------------------------+---------
    ias-component | process-type | pid | status
    --------------------------------------------------------------+---------
    OC4JGroup:default_group | OC4J:oafm | 2383 | Alive
    OC4JGroup:default_group | OC4J:forms | 2382 | Alive
    OC4JGroup:default_group | OC4J:oacore | 2381 | Alive
    HTTP_Server | HTTP_Server | 2380 | Alive
    **** If click applications-> forms this shows me the below error.
    Unable to login to the OC4J "forms" on Application Server "xxxxxxxxxxx"; the OC4J is not running.
    **** If I click on default_group I get the below error.
    A connection could not established to some members of the Group default_group. Common causes for this failure are an authentication error or a JMX protocol mismatch.
    The administrator password for each OC4J instance in the Group must be the same as the administrator password for the OC4J instance on which ascontrol is running.
    The JMX protocol is specified by the property oracle.oc4j.jmx.internal.connection.protocol and the remote OC4J instance must be configured to use that protocol.
    Anyone had this issue, or any guess what might be wrong.I tried changing the oc4jadmin password with setup but still shows the error.
    Thanks
    Sree

    Hi,
    Was this working before? If yes, any changes have been done recently?
    Did you complete the steps as per this document?
    Note: 603716.1 - Using AS10g AS Control with eBusiness Suite Rel 12
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=603716.1
    Regards,
    Hussein

  • Which OC4J instance to use for Soa Suite: oc4j_soa or home ?

    When I setup Soa Suite I am asked which OC4J instance I want to use:
    home
    or
    oc4j_soa
    By default "home" is filled in the entry field. However in sample tutorials I saw always "oc4j_soa" and never "home"
    What is the difference and which one is recommended ?
    Peter

    Hi Peter,
    If you have installed Basic SOA Suite, you get the home oc4j container alone.
    However, when you go for Advanced SOA Installation, you get oc4j_soa container, which is used clsutering one node with another, generally we have bpel, esb-rt on oc4j_soa and then we create oc4j_esbdt for esbdt. The docs refer to oc4j_soa, as we always talk about the Enterprise Deployments which uses Advanced SOA Suite with Oracle Database Dehydration Store, and not SOA Basic Install which uses Olite as dehydration store.
    So, please create an oc4j container whenever needed for those specific j2ee applications, for easy identification and management.
    Hope that clarifies...
    Cheers
    Anirudh Pucha

  • OC4J Instance Failure

    Hi,
    I'm currently install 9iAS R2 in w2k, however, it always failed to setup "OC4J Instance Configuration Assistant" at the end of installation, even Oracle9iAS Infrastructure or Oracle9i Application Server.
    The error was:
    Starting OC4J instance 'OC4J_DAS'..done.
    Deploying application 'oiddas' to OC4J instance 'OC4J_DAS'..
    ERROR: Caught exception during deploy.
    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)
    Stopping OC4J instance 'OC4J_DAS'..done.
    DCM Terminated.
    Can anyone help me? Thanks!
    Ken

    If you have a corrupted repository you are pretty much done unless you have made a backup of the repo. I had what looked like a corrupted repository and when I contact Oracle support on it they said the best thing to do is reinstall because we may spend hours attempting to fix it and not get anywhere, one has to wonder if they even know how to fix it.
    Another issue that I discovered is that there is an undisclosed bug with the repository that they are currently working on a fix for. It seems that if you issue dcmctl commands while the em is up you risk corrupting the repository. Now the AS9i admin documentation claims that you must have the em up for everything to function properly and that was bad news for me because the EM is so slow on my platform it is almost unusable and I opted to use the dcmctl for everything. When I brought this up to the support representative I was working with he told me that the documentation was incorrect and it would function fine with out the web enterprise manager up. Either way I would get in the habit of making backups of the repo before you do anything.
    In your case I would reinstall the whole thing and when you reinstall you have to make sure that you completely remove all oracle references on the system. Inorder for you to have a successfull reinstall you have to have a completly clean system. Oracle produced a note on what you need to remove from the system inorder for a success reinstall, this document is however just for Unix so its not going to help you much. Last I checked the note wasn't public and consequently not available on metalink, I had to request it through Oracle support. The note is number 201977.1 if you can not access it and you want it let me know and I can send it to you.

  • 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

  • How to Keep the "Start OC4J instance" window or Forms Server always up 24*7

    Gurus -
    Can you please tell me how could I have the "Start OC4J instance" always up and running in my server. I want the Forms server ( 10g) up and running all the the time. please advice how could I do that. My DB is 11g and using the Oracle Devsuite 10g. Please advice
    Gurus - Can you please advice on this. Basically have developed a form and couple of users want to access that but get error " page cannot be displayed" and I figured out the "Start OC4J instance" windows gets closed automatically after some hours.
    so I wanted this OC4J instance to run 24*7 ( always) without closing by itself. Please advice how could I do that.
    Thanks
    Sheik

    Thanks a lot Steve,
    Just wanted to find out if there is no other work around on this except to have the Oracle App Forms server to install and up and running?
    I have 11g DB , so do I have to have 11g Oracle Apps Server or 10g Oracle apps server will be sufficient as the installed Devsuite is in 10g. Please advice
    OR
    Is there way we can setup this Oracle Apps forms server from the OEM console? or we have to do a seperate install for this Apps server.
    Other option I thought, which I am not sure will work out is the creat a scheduled task in windows and have this "Start OC4j Instance" scheduled to run always. Any ideas/commments on this.
    Thanks again for your inputs.
    Rgds
    Sheik

  • Which OC4J instance to install Mapviewer?

    Is there a specific instance of the OC4J on my 9iAS server that I should install Mapviewer? The way my development environment is setup we already have numerous OC4J instances.
    HTTP Server
    OC4J_BI_Forms
    OC4J_Demos
    OC4J_home
    OC4J_Portal
    OC4J_Wireless
    etc...
    Should I install Mapviewer under one of these instance or create a new OC4J instance? Is there a standard place?
    Thanks!
    -Scott

    There is no 'standard' OC4J instance for MapViewer. So yes you can deploy mapviewer into any of the existing OC4J instances, however the following points may make creating a separate OC4J instance for MapViewer reasonable:
    1. individually config memory usage by MapViewer. if mapviewer will be serving lots of big maps that require fetching a ton of data from DB, then you will need to bump up the memory allocation to the oc4j instance.
    2. the mapviewer error/log messages will not be mixed with logs from other applications.
    3. you can just restart the mapviewer oc4j instance w/o affecting other applications; conversely, if you deploy mapviewer to existing OC4J instances, and when that instance is restarted the mapviewer server will also be restarted.
    LJ

  • One Oracle Application Server and multiple OC4J Instances

    While we are getting new server (for development) we have to set-up a Development and Production enviroment for our project (dont have previous OAS installation) but on the same machine.
    So, is a good option to have One OAS INstallation (Ora Home) and then create multiple OC4J instances, one for each environment (Development, QA and Production)?, is it possible? How to manage deployments between OC4J instances, simulating different contexts if they are in the same server and under the same HTTP Server? Will be there conflicts?

    Hi,
    you can do this and OracleAs will manage the different instances. The deployment can be done with Enterprise Manager in which case you select the OC4J instance first before deploying. If deploying from JDeveloper, you can specify the OC4J instance when creating the named connection
    Frank

  • 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

  • To change the JDBC driver for a single OC4J instance

    Hello,
    I implemeted an app with oracle adf (Jdeveloper 10.1.2 ) and it use Oracle Domain objects.
    I have an oas 10g (9.04.1) in windows
    and I want to change the default jdbc driver for a single oc4j instance
    in metalink i found the following information:
    1.- From OTN, download and copy the 10.1.0.x JDBC driver to a directory on the server. E.g OH/newjdbc
    2.- Opening EM-Website, navigate to the OC4J instance that should be altered.
    3.- Find the "Java-Options" and, add the -Xbootclasspath option to it, pointing to the new JDBC driver.
    E.g. -Xbootclasspath/p:$OH/newjdbc/ojdbc14.jar
    4.- Restart the OC4J instance
    my 'Java-optios' default is
    -server -Xrs -Djava.security.policy=C:\oracle\904\j2ee\test_adf\config\java2.policy -Djava.awt.headless=true
    my new 'Java optios' now is
    -server -Xrs -Djava.security.policy=C:\oracle\904\j2ee\test_adf\config\java2.policy -Djava.awt.headless=true -Xbootclasspath/p = D:\jdev1012\jdbc\lib\classes12.jar
    is this correct?
    now I cannot deploy my app
    Rigoberto

    Seems you missed something in step 3. From those steps the driver should be installed under C:\oracle\904\newjdbc and used in classpath, not d:\jdev1012.

  • 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

  • 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

Maybe you are looking for