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.

Similar Messages

  • Portal Installation Failure at OC4J Instance Configuration Assistant

    Portal Pals,
    Portal install fails when the install procedure is at the "OC4J Instance Configuration Assistant" step. There is a message stating that "SMI Saving Changes", but it never completes to go to the next step. After waiting I finally terminate the process and retry iit, the results are always the same. Note, the Infrastructure is running fine. I have tried installing Portal on a separate host and the same thing happens.
    I am using Oracle Application Server 10g Release 2 (10.1.2.0.2) on a Windows 2003 Server with 3GB Memory.
    The ipm.log in the both the Infrastructure and Portal homes have similar errors, see below for an abbreviated listing.
    I have read all similar posts and searched Metalink as well. I could sure use some help as do not know what else to do, except go back to a previous release which installed fine.
    Thanks,
    Bill Gfroehrer...
    ipm.log
    infra01.host01.mydomain.com~OC4J~OC4J_SECURITY~default_island~139132951:2900
    Status: Alive
    Operation: internal (Unknown error)
    ErrFile: C:\OraHome_1\opmn\logs\OC4J~OC4J_SECURITY~default_island~1
    05/09/24 01:50:03 [4] [libopmnohs] Process Ping Failed: HTTP_Server~HTTP_Server~HTTP_Server~1 (139132948:1320) [Unknown error]
    05/09/24 01:50:43 [4] [libopmnohs] Process Ping Failed: HTTP_Server~HTTP_Server~HTTP_Server~1 (139132948:1320) [Unknown error]
    05/09/24 02:50:23 [4] PM state directory exists: C:\OraHome_1\opmn\logs\states
    05/09/24 02:50:23 [4] OPMN server ready. Request handling enabled.
    05/09/24 02:55:13 [4] PM state directory exists: C:\OraHome_1\opmn\logs\states
    05/09/24 02:55:13 [4] OPMN server ready. Request handling enabled.
    05/09/24 02:55:15 [4] Request 2 Started. Command: start
    05/09/24 02:55:15 [4] Starting Process: HTTP_Server~HTTP_Server~HTTP_Server~1 (578879512:0)
    05/09/24 02:55:16 [4] Starting Process: dcm-daemon~dcm-daemon~dcm~1 (578879514:0)
    05/09/24 02:55:24 [4] Process Alive: HTTP_Server~HTTP_Server~HTTP_Server~1 (578879512:1952)
    05/09/24 02:56:00 [4] Starting Process: dcm-daemon~dcm-daemon~dcm~1 (578879514:0)
    05/09/24 02:56:01 [4] Starting Process: OID~OID~OID~1 (578879513:0)
    05/09/24 02:56:12 [4] Process Alive: OID~OID~OID~1 (578879513:2636)
    05/09/24 02:57:20 [4] Starting Process: dcm-daemon~dcm-daemon~dcm~1 (578879516:0)
    05/09/24 02:57:25 [4] Starting Process: dcm-daemon~dcm-daemon~dcm~1 (578879516:0)
    05/09/24 02:58:11 [4] [libopmnohs] Process Ping Failed: HTTP_Server~HTTP_Server~HTTP_Server~1 (578879512:1952) [Unknown error]
    05/09/24 02:59:35 [4] Starting Process: dcm-daemon~dcm-daemon~dcm~1 (578879517:0)
    05/09/24 02:59:52 [4] Starting Process: dcm-daemon~dcm-daemon~dcm~1 (578879517:0)
    05/09/24 03:00:28 [4] Starting Process: OC4J~OC4J_SECURITY~default_island~1 (578879515:0)
    05/09/24 03:02:09 [4] Request 42 Started. Command: start
    05/09/24 03:02:22 [4] [libopmnoc4j] DMS gave NULL for host or port or both for port id: rmi
    05/09/24 03:02:22 [2] [libopmnoc4j] Port information in the ONS notification is incorrect for proc: 578879515
    05/09/24 03:02:22 [4] [libopmnoc4j] Process Start Error: OC4J~OC4J_SECURITY~default_island~1 (578879515:1040)
    05/09/24 03:02:23 [4] Stopping Process: OC4J~OC4J_SECURITY~default_island~1 (578879515:1040)
    05/09/24 03:02:23 [4] [libopmnoc4j] Process Stop Error: OC4J~OC4J_SECURITY~default_island~1 (578879515:1040)
    05/09/24 03:02:23 [4] [libopmnoc4j] Forcefully Terminating Process: OC4J~OC4J_SECURITY~default_island~1 (578879515:1040)
    05/09/24 03:02:25 [4] Starting Process: OC4J~OC4J_SECURITY~default_island~1 (578879515:0)
    05/09/24 03:03:02 [4] Starting Process: dcm-daemon~dcm-daemon~dcm~1 (578879518:0)
    05/09/24 03:05:18 [4] Process Alive: OC4J~OC4J_SECURITY~default_island~1 (578879515:4652)
    05/09/24 03:05:32 [4] Request 57 Started. Command: start
    05/09/24 03:05:35 [4] Request 58 Started. Command: restart
    05/09/24 03:05:35 [4] Restarting Process: HTTP_Server~HTTP_Server~HTTP_Server~1 (578879512:1952)
    05/09/24 03:05:41 [4] Process Alive: HTTP_Server~HTTP_Server~HTTP_Server~1 (578879512:1952)
    05/09/24 03:05:41 [4] Request 58 Completed. Command: restart
    05/09/24 03:05:42 [4] Process Alive: dcm-daemon~dcm-daemon~dcm~1 (578879518:5816)
    05/09/24 03:08:20 [3] [libopmnoc4j] Could not connect to socket while pinging an OC4J process
    05/09/24 03:08:20 [4] [libopmnoc4j] Process Ping Failed: OC4J~OC4J_SECURITY~default_island~1 (578879515:4652)
    05/09/24 03:08:20 [4] Job 0 1101 result:
    infra01.host01.mydomain.com~OC4J~OC4J_SECURITY~default_island~578879515:4652
    Status: Alive
    Operation: internal (Unknown error)
    ErrFile: C:\OraHome_1\opmn\logs\OC4J~OC4J_SECURITY~default_island~1
    05/09/24 03:08:24 [4] [libopmnohs] Process Ping Failed: HTTP_Server~HTTP_Server~HTTP_Server~1 (578879512:1952) [Unknown error]
    05/09/24 03:09:05 [4] [libopmnohs] Process Ping Failed: HTTP_Server~HTTP_Server~HTTP_Server~1 (578879512:1952) [Unknown error]

    Hi Patrick,
    I done that as well many times with the same result.
    Note, when installing the Infrastructure it also failed in a similar way, but as you say using "retry" did work in that instance.
    I'm missing something (besides my mind), and will keep trying. If anyone has any clues please let me know.
    Thanks,
    Bill G...

  • 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?

  • 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

  • Error in Create 'New OC4J Instance'

    First time i created the oc4j instance. and Then deleted the instance.
    After that i am trying to create the same instance it is showing the error "unique Constraint error". I checked the following things,
    1. There is no directory of that instance under "<oracle_home>/j2ee"
    2. There is no entries in opmn.xml
    After that even if i specify the different name, it displays the following error,
    "Internal Error Instance creation failure. Root Cause: No config data persisted for component orionp.."
    Can any one suggest what could be the problem/solution?
    Thanks Ramesh

    Hi Jason,
    Thanks for your help.
    I tried DCM tool but it is giving the same error. Is there any other tool to resolve this problem?
    Have you worked on Oracle Content Management SDK (Oracle CM SDK)?
    Actually, I am currently working on Oracle CM SDK. I have to dvelope an Content Management application (like WebstarterApplication which is provided)from scratch which can enable end user
    1. To browse through the documents in the repository.
    2. To open the documents form the repository itself.
    3. To edit and save the document in the place in the repository.
    I found that in WebstarterApplication (an CM SDK Application which is provided as demo), 1st and 2nd features are there but 3rd one is not.
    So, I am going to develope an application from scratch.
    Then is it necessary to create an OC4J Instance?
    Please suggest me what should be the steps to be followed to develope such an application from scratch.
    Thanks.

  • Unable to make a connection to OC4J instance - passwords identical for sure

    Hi,
    I have an unusual problem on my AS instance. We're using AS 10.1.3.5.0 (recently upgraded from 10.1.3.3.) and suddenly we're receiving the next error when we try to go to the instance <MY_INSTANCE> in enterprise manager:
    Unable to make a connection to OC4J instance <MY_INSTANCE>on Application Server <MY_SERVER>. A common cause for this failure is an authentication error. The administrator password for each OC4J instance in the Cluster must be the same as the administrator password for the OC4J instance on which Application Server Control is running.
    I've been working on this issue for a whole day now and I'm 100% sure, the passwords fore domain home and <MY_INSTANCE> are the same and it is the password I use for logging into the EM. I've been following the instructions from http://download.oracle.com/docs/cd/B31017_01/core.1013/b28940/em_app.htm#CEGCFFCB but no success.
    Can anyone please try and explain what might be wrong? The error also appear if I click on default_group group. The message is:
    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 Application Server Control 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.
    Any help would be very appreciated.
    Thanks, BB

    On further search I managed to view the ascontrol.log file. Here is the error that is being thrown (my instance is called archibus):
    2010-07-08 15:05:14,355 [EMUI_15_05_14_/console/ias/cluster/clickThruLogin] WARN cluster.ClusterUtil switchDefaultJMXTarget.541
    - couldn't connect to oraias_09.boswell.bath.ac.uk, archibus
    oracle.oc4j.admin.jmx.shared.exceptions.JMXRuntimeException: RuntimeException thrown by the invoke method of the Dynamic MBean
    at oracle.oc4j.admin.jmx.distributed.SimpleInstanceMBeanServerDelegate.queryNames(SimpleInstanceMBeanServerDelegate.java:556)
    at oracle.oc4j.admin.jmx.server.state.LocalizationFilterMBeanServer.queryNames(LocalizationFilterMBeanServer.java:442)
    at oracle.sysman.ias.studio.jmx.spi.JMXConnectorImpl.queryNames(JMXConnectorImpl.java:352)
    at oracle.sysman.ias.studio.sdk.SDKJMXUtil.queryNames(SDKJMXUtil.java:236)
    at oracle.sysman.ias.studio.sdk.SDKJMXUtil.queryNames(SDKJMXUtil.java:214)
    at oracle.sysman.ias.studio.sdk.SDKJMXUtil.queryName(SDKJMXUtil.java:129)
    at oracle.sysman.ias.studio.oc4j.OC4JJMXUtil.getDisplayName(OC4JJMXUtil.java:842)
    at oracle.sysman.ias.studio.cluster.ClusterUtil$Switcher.switchDefaultJMXTarget(ClusterUtil.java:508)
    at oracle.sysman.ias.studio.cluster.ClickThruLoginHelper.handleEvent(ClickThruLoginHelper.java:111)
    at oracle.sysman.ias.studio.sdk.AbstractController.handleEvent(AbstractController.java:769)
    at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:378)
    at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:765)
    at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:283)
    at oracle.sysman.ias.studio.app.StudioConsole.doGet(StudioConsole.java:385)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.sysman.ias.studio.app.BrowserVersionFilter.doFilter(BrowserVersionFilter.java:75)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
    at oracle.sysman.ias.studio.app.MultipleJVMFilter.doFilter(MultipleJVMFilter.java:85)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
    at oracle.sysman.ias.studio.app.PostLogonFilter.doFilter(PostLogonFilter.java:80)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
    at oracle.sysman.ias.studio.app.ShortHostnameRedirectFilter.doFilter(ShortHostnameRedirectFilter.java:68)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:642)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: javax.management.RuntimeMBeanException: RuntimeException thrown by the invoke method of the Dynamic MBean
    at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:227)
    at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
    at oracle.oc4j.admin.jmx.server.state.LocalizationFilterMBeanServer.invoke(LocalizationFilterMBeanServer.java:579)
    at oracle.oc4j.admin.jmx.distributed.SimpleInstanceMBeanServerDelegate.queryNames(SimpleInstanceMBeanServerDelegate.java:550)
    ... 32 more
    Caused by: javax.management.RuntimeMBeanException: Error calling queryNames for pattern: *:j2eeType=J2EEServer,* on VM: ias:j2eeType
    =JVMProxy,name=1,J2EEServerGroup=default_group,J2EEServer=archibus,ASInstance=oraias_09.boswell.bath.ac.uk
    at oracle.oc4j.admin.jmx.server.mbeans.model.DefaultModelMBeanImpl.invoke(DefaultModelMBeanImpl.java:709)
    at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
    ... 37 more
    Caused by: oracle.oc4j.admin.jmx.shared.exceptions.JMXClusterRuntimeException: Error calling queryNames for pattern: *:j2eeType=J2EEServer
    ,* on VM: ias:j2eeType=JVMProxy,name=1,J2EEServerGroup=default_group,J2EEServer=archibus,ASInstance=oraias_09.boswell.bath.ac.uk
    at oracle.oc4j.admin.management.farm.mbeans.J2EEServerAgr.queryLocalNames(J2EEServerAgr.java:1373)
    at sun.reflect.GeneratedMethodAccessor278.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:36)
    at sun.reflect.GeneratedMethodAccessor72.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:243)
    at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1073)
    at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:954)
    at oracle.oc4j.admin.jmx.server.mbeans.model.DefaultModelMBeanImpl.invoke(DefaultModelMBeanImpl.java:700)
    ... 38 more
    ---- Embedded exception
    javax.management.RuntimeMBeanException: RuntimeException thrown by the invoke method of the Dynamic MBean
    at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:227)
    at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
    at oracle.oc4j.admin.jmx.server.state.LocalizationFilterMBeanServer.invoke(LocalizationFilterMBeanServer.java:579)
    at oracle.oc4j.admin.jmx.distributed.SimpleInstanceMBeanServerDelegate.queryNames(SimpleInstanceMBeanServerDelegate.java:550)
    at oracle.oc4j.admin.jmx.server.state.LocalizationFilterMBeanServer.queryNames(LocalizationFilterMBeanServer.java:442)
    at oracle.sysman.ias.studio.jmx.spi.JMXConnectorImpl.queryNames(JMXConnectorImpl.java:352)
    at oracle.sysman.ias.studio.sdk.SDKJMXUtil.queryNames(SDKJMXUtil.java:236)
    at oracle.sysman.ias.studio.sdk.SDKJMXUtil.queryNames(SDKJMXUtil.java:214)
    at oracle.sysman.ias.studio.sdk.SDKJMXUtil.queryName(SDKJMXUtil.java:129)
    at oracle.sysman.ias.studio.oc4j.OC4JJMXUtil.getDisplayName(OC4JJMXUtil.java:842)
    at oracle.sysman.ias.studio.cluster.ClusterUtil$Switcher.switchDefaultJMXTarget(ClusterUtil.java:508)
    at oracle.sysman.ias.studio.cluster.ClickThruLoginHelper.handleEvent(ClickThruLoginHelper.java:111)
    at oracle.sysman.ias.studio.sdk.AbstractController.handleEvent(AbstractController.java:769)
    at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:378)
    at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:765)
    at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:283)
    at oracle.sysman.ias.studio.app.StudioConsole.doGet(StudioConsole.java:385)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.sysman.ias.studio.app.BrowserVersionFilter.doFilter(BrowserVersionFilter.java:75)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
    at oracle.sysman.ias.studio.app.MultipleJVMFilter.doFilter(MultipleJVMFilter.java:85)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
    at oracle.sysman.ias.studio.app.PostLogonFilter.doFilter(PostLogonFilter.java:80)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
    at oracle.sysman.ias.studio.app.ShortHostnameRedirectFilter.doFilter(ShortHostnameRedirectFilter.java:68)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:642)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: javax.management.RuntimeMBeanException: Error calling queryNames for pattern: *:j2eeType=J2EEServer,* on VM: ias:j2eeType
    =JVMProxy,name=1,J2EEServerGroup=default_group,J2EEServer=archibus,ASInstance=oraias_09.boswell.bath.ac.uk
    at oracle.oc4j.admin.jmx.server.mbeans.model.DefaultModelMBeanImpl.invoke(DefaultModelMBeanImpl.java:709)
    at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
    ... 37 more
    Caused by: oracle.oc4j.admin.jmx.shared.exceptions.JMXClusterRuntimeException: Error calling queryNames for pattern: *:j2eeType=J2EEServer
    ,* on VM: ias:j2eeType=JVMProxy,name=1,J2EEServerGroup=default_group,J2EEServer=archibus,ASInstance=oraias_09.boswell.bath.ac.uk
    at oracle.oc4j.admin.management.farm.mbeans.J2EEServerAgr.queryLocalNames(J2EEServerAgr.java:1373)
    at sun.reflect.GeneratedMethodAccessor278.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:36)
    at sun.reflect.GeneratedMethodAccessor72.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:243)
    at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1073)
    at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:954)
    at oracle.oc4j.admin.jmx.server.mbeans.model.DefaultModelMBeanImpl.invoke(DefaultModelMBeanImpl.java:700)
    ... 38 more
    ---- Embedded exception
    javax.management.RuntimeMBeanException: Error calling queryNames for pattern: *:j2eeType=J2EEServer,* on VM: ias:j2eeType=JVMProxy
    ,name=1,J2EEServerGroup=default_group,J2EEServer=archibus,ASInstance=oraias_09.boswell.bath.ac.uk
    at oracle.oc4j.admin.jmx.server.mbeans.model.DefaultModelMBeanImpl.invoke(DefaultModelMBeanImpl.java:709)
    at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
    at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
    at oracle.oc4j.admin.jmx.server.state.LocalizationFilterMBeanServer.invoke(LocalizationFilterMBeanServer.java:579)
    at oracle.oc4j.admin.jmx.distributed.SimpleInstanceMBeanServerDelegate.queryNames(SimpleInstanceMBeanServerDelegate.java:550)
    at oracle.oc4j.admin.jmx.server.state.LocalizationFilterMBeanServer.queryNames(LocalizationFilterMBeanServer.java:442)
    at oracle.sysman.ias.studio.jmx.spi.JMXConnectorImpl.queryNames(JMXConnectorImpl.java:352)
    at oracle.sysman.ias.studio.sdk.SDKJMXUtil.queryNames(SDKJMXUtil.java:236)
    at oracle.sysman.ias.studio.sdk.SDKJMXUtil.queryNames(SDKJMXUtil.java:214)
    at oracle.sysman.ias.studio.sdk.SDKJMXUtil.queryName(SDKJMXUtil.java:129)
    at oracle.sysman.ias.studio.oc4j.OC4JJMXUtil.getDisplayName(OC4JJMXUtil.java:842)
    at oracle.sysman.ias.studio.cluster.ClusterUtil$Switcher.switchDefaultJMXTarget(ClusterUtil.java:508)
    at oracle.sysman.ias.studio.cluster.ClickThruLoginHelper.handleEvent(ClickThruLoginHelper.java:111)
    at oracle.sysman.ias.studio.sdk.AbstractController.handleEvent(AbstractController.java:769)
    at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:378)
    at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:765)
    at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:283)
    at oracle.sysman.ias.studio.app.StudioConsole.doGet(StudioConsole.java:385)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.sysman.ias.studio.app.BrowserVersionFilter.doFilter(BrowserVersionFilter.java:75)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
    at oracle.sysman.ias.studio.app.MultipleJVMFilter.doFilter(MultipleJVMFilter.java:85)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
    at oracle.sysman.ias.studio.app.PostLogonFilter.doFilter(PostLogonFilter.java:80)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
    at oracle.sysman.ias.studio.app.ShortHostnameRedirectFilter.doFilter(ShortHostnameRedirectFilter.java:68)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:642)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)

  • 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

  • EJB 3.0 Cache Issue With OC4J Instance With Multiple JVM's

    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 getting a different persistence context for each virtual machine. i.e. I'll have 3 browsers that can view the same data even after updating, another 2 browsers that can't see the first 3's changes but can see changes by any browser in this group, etc.
    I tried adding the below to the persistence-unit tag in the persistence.xml but it didn't seem to help.
    <properties>
    <property name="toplink.cache.shared.default" value="true"/>
    </properties>
    How do you get all connections to use the same cache?

    here is the code for my bean.
    package com.ups;
    import java.util.logging.Logger;
    import javax.ejb.ActivationConfigProperty;
    import javax.ejb.EJBException;
    import javax.ejb.MessageDriven;
    import javax.ejb.MessageDrivenContext;
    import javax.jms.JMSException;
    import javax.jms.Message;
    import javax.jms.MessageListener;
    import javax.jms.TextMessage;
    * Message-Driven Bean implementation class for: MessageBean
    @MessageDriven(
              activationConfig = { @ActivationConfigProperty(
                        propertyName = "destinationType", propertyValue = "javax.jms.Queue"
    public class MessageBean implements MessageListener {
         private MessageDrivenContext mdc;
    * Default constructor.
    public MessageBean() {
    // TODO Auto-generated constructor stub
    * @see MessageListener#onMessage(Message)
    public void onMessage(Message message) {
         TextMessage tmsg = null;
    try {
    tmsg = (TextMessage) message;
    System.out.println("MESSAGE BEAN: Message received: " + tmsg.getText( ));
    System.out.println ("The onMessage() is called");
    } catch (JMSException e) {
    e.printStackTrace( );
    mdc.setRollbackOnly( );
    catch (Throwable th) {
    th.printStackTrace();
    public void ejbRemove( )throws EJBException{
         System.out.println("ejbRemove() is executed >>>>>>>");
    I have configured my JMS Distributed queue in the Weblogic.
    If possible please provide more details so that I can get rid of this error as soon as possible.
    Thanks for reply.
    Piyush

  • 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

  • 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.

Maybe you are looking for