RMIConnection Disconnected

Hi,
I have a session bean that is used by a JSP for login purposes. When I deploy those on Oracle AS 10g and try to run it I get a message: "javax.naming.NamingException: Disconnected: RMIConnection Disconnected". But only the first time. If I try to login again it works fine. Even if I run it from the embedded server on my PC it works with no problems. I tested to deploy the application from both JDeveloper 904 and 1012 with the same result.
The full log from the server is:
05/11/22 12:04:25 javax.naming.NamingException: Disconnected: RMIConnection Disconnected
05/11/22 12:04:25 at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:168)
05/11/22 12:04:25 at javax.naming.InitialContext.lookup(InitialContext.java:347)
05/11/22 12:04:25 at login.jspService(_login.java:94)
05/11/22 12:04:25 at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
05/11/22 12:04:25 at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:350)
05/11/22 12:04:25 at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
05/11/22 12:04:25 at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
05/11/22 12:04:25 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
05/11/22 12:04:25 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824)
05/11/22 12:04:25 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
05/11/22 12:04:25 at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
05/11/22 12:04:25 at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
05/11/22 12:04:25 at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
05/11/22 12:04:25 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
05/11/22 12:04:25 at java.lang.Thread.run(Thread.java:534)

Hmm, I'm not sure.
You're using the RMIContext and getting a connection error, so presumably it's a remote access you're doing here.
One thing that may be at play here is that the RMI port in OracleAS is different from the one used in OC4J embedded. And it is sometimes subject to change as it's dynamically allocated at startup time by the OPMN service (to avoid conflicts and support multiple processes runnign off the same config if you need it).
Have a look at the EJB Developer's Guide -- it covers some details on how to use the OPMN URL pattern to query the OPMN service as part of the EJB lookup and obtain the actual RMI port in use.
http://download-west.oracle.com/docs/cd/B14099_09/web.1012/b15505/access.htm#sthref228
cheers
-steve-

Similar Messages

  • Javax.naming.AuthenticationException: RMIConnection Disconnected

    Hi,
    I'm having a problem deploying one application in the Enterprise Manager (10g). When i deploy the application, everything works fine, i can enter on the instance, see stadistics of my application, etc
    But when i stop the instance, and start again, it throws an error javax.naming.AuthenticationException: RMIConnection Disconnected. And when i try to access to the configuration of my instance, it said me that there's a problem in the authentication, and the admin password must be the same that the oc4j administrator password... and i'm using the same account...
    The full trace of the error is the following:
    10/06/30 16:46:19 SEVERE: CoreRemoteMBeanServer.fetchMBeanServerEjbRemote Error reading application-client descriptor: Error communicating with server: Lookup error: javax.naming.AuthenticationException: RMIConnection Disconnected; nested exception is:
    javax.naming.AuthenticationException: RMIConnection Disconnected; nested exception is:
    javax.naming.NamingException: Lookup error: javax.naming.AuthenticationException: RMIConnection Disconnected; nested exception is:
    javax.naming.AuthenticationException: RMIConnection Disconnected [Root exception is javax.naming.AuthenticationException: RMIConnection Disconnected] for URL: ormis://servidor:12718/defaultjavax.naming.NamingException: Error reading application-client descriptor: Error communicating with server: Lookup error: javax.naming.AuthenticationException: RMIConnection Disconnected; nested exception is:
    javax.naming.AuthenticationException: RMIConnection Disconnected; nested exception is:
    javax.naming.NamingException: Lookup error: javax.naming.AuthenticationException: RMIConnection Disconnected; nested exception is:
    javax.naming.AuthenticationException: RMIConnection Disconnected [Root exception is javax.naming.AuthenticationException: RMIConnection Disconnected] [Root exception is java.lang.InstantiationException: Error communicating with server: Lookup error: javax.naming.AuthenticationException: RMIConnection Disconnected; nested exception is:
            javax.naming.AuthenticationException: RMIConnection Disconnected; nested exception is:
            javax.naming.NamingException: Lookup error: javax.naming.AuthenticationException: RMIConnection Disconnected; nested exception is:
            javax.naming.AuthenticationException: RMIConnection Disconnected [Root exception is javax.naming.AuthenticationException: RMIConnection Disconnected]]
    at oracle.j2ee.naming.ApplicationClientInitialContextFactory.getApplicationContext(ApplicationClientInitialContextFactory.java:127)
    at oracle.j2ee.naming.ApplicationClientInitialContextFactory.getInitialContext(ApplicationClientInitialContextFactory.java:117)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
    at javax.naming.InitialContext.init(InitialContext.java:223)
    at javax.naming.InitialContext.<init>(InitialContext.java:197)
    at oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.fetchMBeanServerEjbRemote(CoreRemoteMBeanServer.java:468)
    at oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.<init>(CoreRemoteMBeanServer.java:161)
    at oracle.oc4j.admin.jmx.client.RemoteMBeanServer.<init>(RemoteMBeanServer.java:128)
    at oracle.oc4j.admin.jmx.client.RemoteMBeanServer.getMBeanServer(RemoteMBeanServer.java:158)
    at oracle.oc4j.admin.jmx.client.ClientMBeanServerProxyFactory.getMBeanServer(ClientMBeanServerProxyFactory.java:68)
    at oracle.oc4j.admin.jmx.remote.rmi.RMIJMXConnectorImpl.getConnector(RMIJMXConnectorImpl.java:190)
    at oracle.oc4j.admin.jmx.remote.JMXConnectorImpl.connect(JMXConnectorImpl.java:400)
    at oracle.oc4j.admin.topology.ConnectionRefImpl.getConnector(ConnectionRefImpl.java:241)
    at oracle.oc4j.admin.management.farm.mbeans.JVMAgr.getAttribute(JVMAgr.java:1378)
    at sun.reflect.GeneratedMethodAccessor39.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.GeneratedMethodAccessor6.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:239)
    at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1071)
    at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:953)
    at oracle.oc4j.admin.jmx.server.mbeans.model.DefaultModelMBeanImpl.invoke(DefaultModelMBeanImpl.java:700)
    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.MBeanServerDelegate.invoke(MBeanServerDelegate.java:495)
    at oracle.oc4j.admin.management.farm.mbeans.J2EEServerAgr.getAttribute(J2EEServerAgr.java:1599)
    at sun.reflect.GeneratedMethodAccessor38.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.GeneratedMethodAccessor6.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:239)
    at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1071)
    at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:953)
    at oracle.oc4j.admin.jmx.server.mbeans.model.DefaultModelMBeanImpl.invoke(DefaultModelMBeanImpl.java:700)
    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.sysman.ias.studio.jmx.spi.JMXConnectorImpl.invoke(JMXConnectorImpl.java:389)
    at oracle.sysman.ias.studio.j2ee.shared.jmx.oc4j.ClusterIASJMXUtil.getAttribute(ClusterIASJMXUtil.java:370)
    at oracle.sysman.ias.studio.setup.javasso.JMXJavaSSOConfAdminBean.isJssoConfigured(JMXJavaSSOConfAdminBean.java:1041)
    at oracle.sysman.ias.studio.setup.javasso.JavaSSOConfHelper.isJssoConfigured(JavaSSOConfHelper.java:802)
    at oracle.sysman.ias.studio.cluster.TopologyHelper.prepareData(TopologyHelper.java:1300)
    at oracle.sysman.ias.studio.sdk.AbstractController.prepareData(AbstractController.java:875)
    at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:391)
    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:297)
    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:619)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
    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: java.lang.InstantiationException: Error communicating with server: Lookup error: javax.naming.AuthenticationException: RMIConnection Disconnected; nested exception is:
    javax.naming.AuthenticationException: RMIConnection Disconnected; nested exception is:
    javax.naming.NamingException: Lookup error: javax.naming.AuthenticationException: RMIConnection Disconnected; nested exception is:
    javax.naming.AuthenticationException: RMIConnection Disconnected [Root exception is javax.naming.AuthenticationException: RMIConnection Disconnected]
    at com.oracle.naming.J2EEContext.create(J2EEContext.java:104)
    at oracle.j2ee.naming.ApplicationClientInitialContextFactory.getApplicationContext(ApplicationClientInitialContextFactory.java:124)
    ... 77 more
    Caused by: oracle.oc4j.rmi.OracleRemoteException: Lookup error: javax.naming.AuthenticationException: RMIConnection Disconnected; nested exception is:
    javax.naming.AuthenticationException: RMIConnection Disconnected; nested exception is:
    javax.naming.NamingException: Lookup error: javax.naming.AuthenticationException: RMIConnection Disconnected; nested exception is:
    javax.naming.AuthenticationException: RMIConnection Disconnected [Root exception is javax.naming.AuthenticationException: RMIConnection Disconnected]
    at oracle.oc4j.deployment.ApplicationClientResourceFinder.lookupResourceFinder(ApplicationClientResourceFinder.java:110)
    at oracle.oc4j.deployment.ApplicationClientResourceFinder.getFinder(ApplicationClientResourceFinder.java:123)
    at oracle.oc4j.deployment.ApplicationClientResourceFinder.getLocation(ApplicationClientResourceFinder.java:75)
    at oracle.oc4j.deployment.ApplicationClientResourceFinder.getEjbBinding(ApplicationClientResourceFinder.java:38)
    at com.oracle.naming.J2EEContext.addEJBReferenceEntries(J2EEContext.java:515)
    at com.oracle.naming.J2EEContext.create(J2EEContext.java:97)
    ... 78 more
    Caused by: javax.naming.NamingException: Lookup error: javax.naming.AuthenticationException: RMIConnection Disconnected; nested exception is:
    javax.naming.AuthenticationException: RMIConnection Disconnected [Root exception is javax.naming.AuthenticationException: RMIConnection Disconnected]
    at com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:64)
    at oracle.oc4j.deployment.ApplicationClientResourceFinder.lookupResourceFinder(ApplicationClientResourceFinder.java:101)
    ... 83 more
    Caused by: javax.naming.AuthenticationException: RMIConnection Disconnected
    at oracle.oc4j.rmi.ClientRmiTransport.connectToServer(ClientRmiTransport.java:99)
    at oracle.oc4j.rmi.ClientSocketRmiTransport.connectToServer(ClientSocketRmiTransport.java:68)
    at com.evermind.server.rmi.RMIClientConnection.connect(RMIClientConnection.java:646)
    at com.evermind.server.rmi.RMIClientConnection.sendLookupRequest(RMIClientConnection.java:190)
    at com.evermind.server.rmi.RMIClientConnection.lookup(RMIClientConnection.java:174)
    at com.evermind.server.rmi.RMIClient.lookup(RMIClient.java:283)
    at com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:51)
    ... 84 more
    In bold, there is a clue that can help, but i can't understand :P
    Any help would be appreciated
    Bye!

    gday WhiteSox --
    You don't say how you are creating the new container -- is this standalone where you've extracted it to another directory and munged the ports, or in an OracleAS instalallation where you created a new instance?
    What are you using to perform the deployment operation?
    If you post some more details, we can try and help.
    cheers
    -steve-

  • RemoteException: RMIConnection Disconnected

    Are there guidelines about keeping a reference to a proxy at the client side ?
    I keep a reference to a proxy of a Container Managed Persistency Entity Bean at the client side in a (singleton) object. The first set of transactions works, but when I try to access it again (some seconds later) I get an OrionRemoteException saying "Disconnected: RMIConnection Disconnected" why does this happen? How should I work if I want to avoid looking up the Bean again?
    -- Jurgen

    Hmm, I'm not sure.
    You're using the RMIContext and getting a connection error, so presumably it's a remote access you're doing here.
    One thing that may be at play here is that the RMI port in OracleAS is different from the one used in OC4J embedded. And it is sometimes subject to change as it's dynamically allocated at startup time by the OPMN service (to avoid conflicts and support multiple processes runnign off the same config if you need it).
    Have a look at the EJB Developer's Guide -- it covers some details on how to use the OPMN URL pattern to query the OPMN service as part of the EJB lookup and obtain the actual RMI port in use.
    http://download-west.oracle.com/docs/cd/B14099_09/web.1012/b15505/access.htm#sthref228
    cheers
    -steve-

  • "OrionRemoteException: Disconnected: Connection timed out"- slowness

    Hi all,
    I have a bit of a head scratcher of a problem here.
    I have an StatelessSessionBean deployed on an Oracle 9.0.4.0.0 server, which I connect to from 3 different J2EE clients All three of the clients intermittantly get "OrionRemoteException: Disconnected: Connection timed out" messages when invoking the create() method on the EJB Home.
    While I'd like to get to the bottom of the Disconnect, I'm not too worried about that right now.
    The real issue is that on one of the clients, I dont get the timeout returned for 10 (TEN) minutes. Once I get the timeout, the application resets the home instance, and everything recovers sub second.
    Interestingly, the EJB is called from both inside the Container, and from a standalone (non-J2EE) application. Both get the slow timeout.
    The slow client is
    OS     AIX 4.3
    JDK     IBM JDK 1.3.1
    AppServer     IBM Websphere 5.0.0
    J2EE     1.3
    The fast(er) client where the disconnect message comes back in about a minute is
    OS     SunOS 5.8
    JDK     Sun JDK 1.4.2_05-b04
    AppServer     BEA Weblogic 8.1.4
    J2EE     1.3
    Oracle Server
    OS     SunOS 5.8
    JDK     Sun JDK 1.4.1_03
    AppServer     Oracle App Server 10g (9.0.4)
    J2EE     1.3
    So the issue is when I invoke
    remote = (MyService) PortableRemoteObject.narrow(home.create(), MyService.class);
    it intermittantly (<1%) takes 10 minutes before the home.create() method returns the exception "OrionRemoteException: Disconnected: Connection timed out"
    For the record, the home object may have been created some time previously as it is cached.
    So the questions
    Is there any way to set a client timeout?
    Why is the timeout behaviour different for the different clients?
    Last but not least
    Any suggestions for why I'm getting disconnected also appreciated, although I suspect this may be to do with my network environment :-)
    For background.....
    When creating the Home object, the Initial Context is setup using these config settings
    provider.url=ormi://x.x.x.x/MyService
    factory.initial=com.evermind.server.rmi.RMIInitialContextFactory
    jndi.name=MyServiceEJB
    env.put(Context.PROVIDER_URL, providerUrl);
    env.put(Context.INITIAL_CONTEXT_FACTORY, initialFactory);
    env.put(Context.SECURITY_PRINCIPAL, principal);
    env.put(Context.SECURITY_CREDENTIALS, credentials);
    InitialContext ic = null;
    try {
    ic = new InitialContext(env);
    } catch (NamingException ne) {
    log.error("Unable to lookup new InitialContext");
    //rethrow exception
    throw ne;
    Then the home object is retrieved.
    home = (PortServiceHome) PortableRemoteObject.narrow(
    ic.lookup(jndiName),
    PortServiceHome.class);

    Hi Chris,
    Have u found any work around / Solution for the problem. If yes pls share with us. We are having similar problem. We have deployed Stateless session beans in 9.0.2.3 cotainers. From client we are getting "A remote host did not respond within the timeout period" exception. But in the server we found
    java.io.EOFException
         at com.evermind.server.rmi.RMIConnection.readCommand(RMIConnection.java(Compiled Code))
         at com.evermind.server.rmi.RMIConnection.run(RMIConnection.java:460)
         at com.evermind.server.rmi.RMIConnection.run(RMIConnection.java:276)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:802)
         at java.lang.Thread.run(Thread.java:513)
    RMIConnection Disconnected
    The client program is a multithreaded program which will route the request to multiple application server instances. Because of which we need to restart the Client program to make the application work.
    Any help will be highly appreciated.
    Thanks
    Suresh.M

  • Creation of data sources by Ant

    Hi all
    Please help me..
    when i create data source by ant(copying data-sources.xml already stored in my hard disk with all valid entries.)and then deploy my EAR file and get the following error:
    10g-deploy:
    [exec] ADMN-300075
    [exec] Nested exception
    [exec] Resolution:
    [exec] Base Exception:
    [exec] javax.naming.NamingException
    [exec] Lookup error: javax.naming.AuthenticationException: RMIConnection Disconnected; nested exception is:
    [exec] javax.naming.AuthenticationException: RMIConnection Disconnected
    [exec] javax.naming.NamingException: Lookup error: javax.naming.AuthenticationException: RMIConnection Disconnected; nested exception is:
    [exec] javax.naming.AuthenticationException: RMIConnection Disconnected [Root exception is javax.naming.AuthenticationException: RMIConnection Disconnected]
    [exec] at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:168)
    [exec] at oracle.ias.sysmgmt.utility.Oc4jUtil.getOC4JApplicationServerAdministrator(Unknown Source)
    [exec] at oracle.ias.sysmgmt.deployment.j2ee.runtime.RuntimeIf.getOC4JApplicationServerAdministrator(Unknown Source)
    [exec] at oracle.ias.sysmgmt.deployment.j2ee.runtime.LocalDeploy.deployOnSingleInstance(Unknown Source)
    [exec] at oracle.ias.sysmgmt.deployment.j2ee.runtime.LocalDeploy.doExecute(Unknown Source)
    [exec] at oracle.ias.sysmgmt.deployment.j2ee.runtime.RuntimeIf.execute(Unknown Source)
    [exec] at oracle.ias.sysmgmt.deployment.j2ee.adapter.DeploymentAdapter.doEvaluateDeploy(Unknown Source)
    [exec] at oracle.ias.sysmgmt.deployment.j2ee.adapter.DeploymentAdapter.evaluate(Unknown Source)
    [exec] at oracle.ias.sysmgmt.task.TaskMaster.sync_evaluate(Unknown Source)
    [exec] at oracle.ias.sysmgmt.task.TaskMaster.internal_evaluate(Unknown Source)
    [exec] at oracle.ias.sysmgmt.task.RemoteEvaluate.execCommand(Unknown Source)
    [exec] at oracle.ias.sysmgmt.task.DaemonWorker.run(Unknown Source)
    [exec] Caused by: javax.naming.AuthenticationException: RMIConnection Disconnected
    [exec] at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java:2523)
    [exec] at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java:2339)
    [exec] at com.evermind.server.rmi.RMIConnection.lookup(RMIConnection.java:1781)
    [exec] at com.evermind.server.rmi.RMIServer.lookup(RMIServer.java:721)
    [exec] at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:149)
    [exec] ... 11 more
    BUILD SUCCESSFUL
    Total time: 4 minutes 58 seconds
    But when i crete data source using Oracle enterprise manager,I m able to deploy my EAR file successfully.
    Can nebody please tell me how can i create data source manually by ant script ant then deploy my appln. successfully
    The entries done by me in data-sources.xml are:
    <data-source class="com.evermind.sql.orionCMTDataSource" location="jdbc/los" connection-driver="oracle.jdbc.driver.OracleDriver" username="dbprod_test" password="dbprod_test" url="jdbc:oracle:thin:@//10.0.52.160:1521/orcl" name="jdbc/los"><description>LOSDB</description></data-source
    Thanks in advance..

    user534925,
    Do you want to create a global datasource or one for a specific J2EE application?
    For a global datasource, you can use the "admin.jar" file.
    Type the following command for more details:
    java -jar admin.jar -helpOne of the options is "-installDataSource".
    You should be able to launch "admin.jar" from an "ant" script (I think -- I don't use "ant").
    Sorry, I don't remember how to set up a datasource for a specific application.
    (And I'm too lazy to search for it for you, now :-)
    Good Luck,
    Avi.

  • 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

  • OC4J Instance Configuration Assistant Failed during SSO install

    Hi,
    I am building a Oracle Portal on Linux Server, at step of SSO installation i reached an error *"OC4J Instance Configuration Assistant Failed"* .
    In the log file i found that :
    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:
    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
    Calling updateConfig to notify DCM of new web-bindings...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
    FAILED!
    ERROR: Caught exception while undeploying 'sso' from 'OC4J_SECURITY':
         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
    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/oracle/OraHome_1/j2ee/deploy.ini to /u01/oracle/OraHome_1/j2ee/deploy.ini.1342977480035.bak.
    Writing any undeployed entries back to /u01/oracle/OraHome_1/j2ee/deploy.ini.
    Oc4jDeploy tool completed, but with errors.
    Can any one solve it.
    Thanks very much!

    Use physical disks, not NFS mounts. But you are still restricted to a 10.2 database max. SSO won't install in an 11g database with the repca tools from IDM 10.1.2 and 10.1.4.

  • Error in JNDI

    javax.naming.AuthenticationException: RMIConnection Disconnected
    What could be the possible cause for this exception
    Following are the context details
    [RMI context JavaO2S]/jdbc/jo2s
    com.evermind.naming.SubContext
    Running the following code in jsp page
    Context ctx = new InitialContext();
    Context jdbc = (Context)ctx.lookup("java:comp/env/jdbc");
              out.println("<BR>" + jdbc.getNameInNamespace() + "<BR>");
              out.println("<BR>" + jdbc.getClass().getName() + "<BR>");
    NamingEnumeration ne = jdbc.listBindings("");
    while (ne.hasMore()) {
    Binding b = (Binding)ne.next();
    String name = b.getName();
    if (dbList.length() > 0)
    dbList.append(',');
    dbList.append(name);
    }

    javax.naming.AuthenticationException: RMIConnection Disconnected
    What could be the possible cause for this exception
    Following are the context details
    [RMI context JavaO2S]/jdbc/jo2s
    com.evermind.naming.SubContext
    Running the following code in jsp page
    Context ctx = new InitialContext();
    Context jdbc = (Context)ctx.lookup("java:comp/env/jdbc");
              out.println("<BR>" + jdbc.getNameInNamespace() + "<BR>");
              out.println("<BR>" + jdbc.getClass().getName() + "<BR>");
    NamingEnumeration ne = jdbc.listBindings("");
    while (ne.hasMore()) {
    Binding b = (Binding)ne.next();
    String name = b.getName();
    if (dbList.length() > 0)
    dbList.append(',');
    dbList.append(name);
    }

  • OC4J Instance Configuration Assistant Failed during Infrastructure install

    Hi,
    I tried to install the Oracle Infrastructure 10.1.4.0.1 on windows2003 machine.I had ram of 3GB.I got this error while installing it.In the log file i found that
    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:
    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.depCalling updateConfig to notify DCM of new web-bindings...loy(Unknown Source)
         at oracle.j2ee.tools.deploy.Oc4jDeploy.main(Unknown Source)
    Caused by: com.evermind.client.orion.AdminCommandException: Disconnected: Connection reset
         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: Connection reset
         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
    can any solve it.
    Thanks&Regards,
    Rajesh.

    Hello,
    I arrived on this thread by trying to install Oracle Portal 11.1.1.2 from scratch.
    My environment is just for evaluating, so it is a vm with 6GB of RAM on 64b architecture.
    I've installed so far:
    OS: OEL5.6 - 64b
    DB: 11.1.0.7 -64b
    AS: Weblogic - [10.3.5 from JAR, as this is available for 64b|http://www.oracle.com/technetwork/middleware/weblogic/downloads/wls-main-097127.html]
    OID - [11.1.1.2|http://www.oracle.com/technetwork/middleware/downloads/oid-11g-161194.html]
    so until now everything went pretty smooth.
    Further according to the install guide for portal , I needed to install SSO.
    So I continued to install the mrcu(metadata repository ) which went fine
    MRCU: [10.1.4.3.1|http://www.oracle.com/technetwork/middleware/downloads/fmw-11-download-092893.html]
    Further I for SSO and DAS I've started to install following document:1069426.1
    SSO+DAS : 10.1.4.1
    Installing this I've get next error
    Output generated from configuration assistant "OC4J Instance Configuration Assistant":
    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:
    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
    Calling updateConfig to notify DCM of new web-bindings..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
    FAILED!
    ERROR: Caught exception while undeploying 'sso' from 'OC4J_SECURITY':
    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
    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/product/Middleware/idm10/j2ee/deploy.ini to /u01/app/oracle/product/Middleware/idm10/j2ee/deploy.ini.1312567534091.bak.
    Writing any undeployed entries back to /u01/app/oracle/product/Middleware/idm10/j2ee/deploy.ini.
    Oc4jDeploy tool completed, but with errors.
    Configuration assistant "OC4J Instance Configuration Assistant" failed
    Edited by: ciprian.o on Aug 8, 2011 5:00 AM

  • Urget!!!! OrionRemoteException: Disconnected: Type code out of range, is 52

    I am running oc4j version 9.0.3.0.0
    I have a client which creates a statefull session bean on the server.
    in the session xml, I defined timeout = 0 so the seesion will not be removed if client does not invoke session for amount of time.
    the client stores the session interface as a private member.
    Every one minute the client invokes the session intensively.
    bothe client and server are located on the same host.
    The problem is that randomly (generally after 15-20 minutes), the client receives the next exception from the server:
    com.evermind.server.rmi.OrionRemoteException: Disconnected: Type code out of range, is 52
    void com.evermind.server.rmi.RMIConnection.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(java.lang.Throwable)
    RMIConnection.java:1512
    java.lang.Object com.evermind.server.rmi.RMIConnection.invokeMethod(com.evermind.server.rmi.RMIContext, long, long, java.lang.reflect.Method, java.lang.Object[])
    RMIConnection.java:1435
    java.lang.Object com.evermind.server.rmi.RemoteInvocationHandler.invoke(java.lang.Object, java.lang.reflect.Method, java.lang.Object[])
    RemoteInvocationHandler.java:53
    java.lang.Object com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(java.lang.Object, java.lang.reflect.Method, java.lang.Object[])
    RecoverableRemoteInvocationHandler.java:22
    java.lang.Object com.evermind.server.ejb.StatefulSessionRemoteInvocationHandler.invoke(java.lang.Object, java.lang.reflect.Method, java.lang.Object[])
    StatefulSessionRemoteInvocationHandler.java:31
    The real problem is that the session interface that I hold as an attribute on client is no longer valid after the disconnect exception occurs.
    In other words, after the exception occurs I have to recreate the session again (and restore its interface) before I can invoke any session's method again......
    What really annoyes me, is that I tried to invoke from client a session's method which does nothing on server side (empty implementation on bean) and so no exception should occur on server side!!!!
    As I said b4, I invoke this method intensively and get this disconnected exception once in while.
    Could it be an oc4j bug/problem ??????

    Avi -- Please try the latest v903 Developer Preview. A number of changes have gone into it.
    Thanks -- Jeff

  • Disconnecting MacBookPro from Cinema Display

    Here's a stupid question that appears to be too elementary to address in the documentation: When I want to disconnect my MacBookPro from the Cinema Display, do I simply remove the connections or do I have to shut the laptop down first?
    Related stupid question: when I return with my laptop, can I simply plug in the Cinema connections, or does the laptop have to be powered down?
    Thanks.

    You don't have to shut it down.

  • Phone Service disconnected over VPN

    Hello,
    I'm using Version 9.2.1 (147214) of Jabber for OS X and I'm using a VPN to connect to my work network with AnyConnect Secure Mobility Client.
    My issue is that Phone Services are disconnected while the Voicemail and Meeting Accounts are functioning as expected.
    My server settings are configured automatically, and I'm using the same saved credentials that work when I'm at the office.
    Any ideas?
    - Ken

    This issue is fixed.
    Once I changed the automatic configuration of the CCMCIP from an IP address to the hostname that my CUCM uses, my phone service registered across the VPN.

  • Disconnection from mounted volume

    Hi there, I am accessing files on a colleague's G4 running OS 9.2.2 which acts as a file server (small office, no server as yet). I have a G4 running OS X 10.4.10. I go to My Network, select her computer, click on Connect, select her hard disk as the volume and click OK. I am then connected to her HDD. I then access files etc but then many times a day I appear to be disconnected (error message stating that the connection has been interrupted). File sharing is on and appletalk is on.
    It never used to happen with my old G4 running OS 9.2.2. With my old G4, I wiped the HDD and put in a partition, with OS 9.2.2 on one volume and OS X Tiger on the other volume. Whichever OS I ran, the same thing seemed to happen (disconnection). I have since acquired a newer Mac, but seem to be having the same problem. What might be causing it do you think? I am tempted to put all the files onto my newer machine and see what happens. And replace the network cables!

    Thanks Joe. And I thought by updating all the G4s in our office from 9.1 to 9.2.1 to 9.2.2 was improving things! lol...oh well. I will soon be installing a server and doing things properly, which will run Tiger, so hopefully like you say the problem will disappear! All the best, Pat

  • New Airport Extreme restarts/disconnects/boots all devices if specific MacBook joins wirelessly...?

    Preface:
    This is my second new AEBS in two weeks. They've both had this issue (which seems unique from the other disconnect postings I've found), so it's not AEBS hardware. I've also had a perfectly functioning Airport Express in the exact same configuration (sans dual-band of course) for the last two years, so interference and the like (for which I did test and troubleshoot) also seems unlikely. I have a 2008 Macbook, a mid 2009 Macbook Pro, a Windows 7 PC, an iPhone 4, and iPhone 4s, and an iPad on the network.
    Issue:
    After setting up my AEBS, I kept getting knocked off at random, frequent intervals. It would disappear from all my devices simultaneously--no network connections and nothing showing in Airport Utility. I tweaked every setting imaginable five times over. No luck. Looked into networks around me and fiddled with channels etc. No luck. At first, I would have to go unplug and replug the AEBS to get it to show back up. Eventually I managed to get it to where it would just "reset" more or less and come back on in about 30-45 seconds. The light on the router will blink green once, and then two seconds later go solid amber for about 10-15 seconds, and then blink amber for another 10 or so. Then it's back like nothing happened.
    I think that I finally narrowed it down today to what is triggering it more or less. I noticed it was fine with everything connected WITHOUT any security. When I added the WPA2 security back on, it was doing it soon after the older Macbook connected, right after "Installed unicast CCMP key for supplicant 3c:d0:f8:8e:31:b5". I could connect the Macbook through ethernet and be fine. If it did connect without the issue, it would do it soon after when the router would run that "Installed unicast CCMP" process again in a mere matter of minutes.
    I decided that maybe having old OSX Leopard wasn't working well, so I finally upgraded it to Snow Leopard to see if maybe it would help. No luck. Exact same issue. I disabled Airport on it, and since then I'm going on 5 hours of no issues, but why is this computer causing the AEBS to freak out when it worked 100% with my Airport Express for years???
    Here's a sample log, starting from one reset to a disconnect:
    Dec 07 11:39:30          Severity:5          Initialized (firmware 7.6).
    Dec 07 11:39:37          Severity:5          Deauthenticating with station ff:ff:ff:ff:ff:ff (reserved 3).
    Dec 07 11:39:37          Severity:5          Deauthenticating with station ff:ff:ff:ff:ff:ff (reserved 2).
    Dec 07 11:39:37          Severity:5          Rotated CCMP group key.
    Dec 07 11:39:38          Severity:5          Deauthenticating with station ff:ff:ff:ff:ff:ff (reserved 2).
    Dec 07 11:39:38          Severity:5          Rotated CCMP group key.
    Dec 07 11:39:41          Severity:5          Associated with station 00:1b:63:00:46:94
    Dec 07 11:39:41          Severity:5          Installed unicast CCMP key for supplicant 00:1b:63:00:46:94
    Dec 07 11:39:41          Severity:5          Internet configuration leased [IPv4] -- host <76.183.234.251/255.255.252.0> gateway <76.183.232.1> dns <209.18.47.61 209.18.47.62> wins <> lease <43199> domain <tx.rr.com>
    Dec 07 11:39:42          Severity:5          Clock synchronized to network time server time.apple.com (adjusted +1 seconds).
    Dec 07 11:39:43          Severity:5          (WAN) link state is Up.
    Dec 07 11:39:43          Severity:5          Internet configuration leased [IPv4] -- host <76.183.234.251/255.255.252.0> gateway <76.183.232.1> dns <209.18.47.61 209.18.47.62> wins <> lease <43197> domain <tx.rr.com>
    Dec 07 11:39:48          Severity:5          Connection accepted from [fe80::226:4aff:fe10:2c66%bridge0]:60946.
    Dec 07 11:39:49          Severity:5          Connection accepted from [fe80::226:4aff:fe10:2c66%bridge0]:60947.
    Dec 07 11:39:57          Severity:5          Associated with station 3c:d0:f8:8e:31:b5
    Dec 07 11:39:57          Severity:5          Installed unicast CCMP key for supplicant 3c:d0:f8:8e:31:b5
    Dec 07 11:39:58          Severity:5          Connection accepted from [fe80::226:4aff:fe10:2c66%bridge0]:60949.
    Dec 07 11:39:59          Severity:5          Connection accepted from [fe80::226:4aff:fe10:2c66%bridge0]:60950.
    Dec 07 11:39:59          Severity:5          Connection accepted from [fe80::226:4aff:fe10:2c66%bridge0]:60951.
    Dec 07 11:40:14          Severity:5          Associated with station 00:18:e7:83:45:ed
    Dec 07 11:40:14          Severity:5          Installed unicast CCMP key for supplicant 00:18:e7:83:45:ed
    Dec 07 11:40:29          Severity:5          Deauthenticating with station ff:ff:ff:ff:ff:ff (reserved 3).
    Dec 07 11:40:29          Severity:5          Deauthenticating with station ff:ff:ff:ff:ff:ff (reserved 2).
    Dec 07 11:40:35          Severity:5          Connection accepted from [fe80::226:4aff:fe10:2c66%bridge0]:60954.
    Dec 07 11:40:35          Severity:5          Connection accepted from [fe80::226:4aff:fe10:2c66%bridge0]:60955.
    Dec 07 11:40:36          Severity:5          Connection accepted from [fe80::226:4aff:fe10:2c66%bridge0]:60956.
    Dec 07 11:40:44          Severity:5          Associated with station a4:67:06:60:67:41
    Dec 07 11:40:44          Severity:5          Associated with station 00:26:bb:00:cc:a2
    Dec 07 11:40:49          Severity:5          Associated with station 3c:d0:f8:8e:31:b5
    Dec 07 11:42:14          Severity:5          Associated with station 00:1b:63:00:46:94
    Dec 07 11:43:39          Severity:5          Deauthenticating with station ff:ff:ff:ff:ff:ff (reserved 3).
    Dec 07 11:43:39          Severity:5          Deauthenticating with station ff:ff:ff:ff:ff:ff (reserved 2).
    Dec 07 11:43:39          Severity:5          Rotated CCMP group key.
    Dec 07 11:43:41          Severity:5          Connection accepted from [fe80::226:4aff:fe10:2c66%bridge0]:60962.
    Dec 07 11:43:45          Severity:5          Connection accepted from [fe80::226:4aff:fe10:2c66%bridge0]:60964.
    Dec 07 11:43:45          Severity:5          Connection accepted from [fe80::226:4aff:fe10:2c66%bridge0]:60963.
    Dec 07 11:43:48          Severity:5          Associated with station 00:18:e7:83:45:ed
    Dec 07 11:43:48          Severity:5          Installed unicast CCMP key for supplicant 00:18:e7:83:45:ed
    Dec 07 11:44:24          Severity:5          Associated with station 00:26:bb:00:cc:a2
    Dec 07 11:44:24          Severity:5          Installed unicast CCMP key for supplicant 00:26:bb:00:cc:a2
    Dec 07 11:44:40          Severity:5          Associated with station 3c:d0:f8:8e:31:b5
    Dec 07 11:44:40          Severity:5          Installed unicast CCMP key for supplicant 3c:d0:f8:8e:31:b5

    Hi,
    I have roughly the same issue.  I have a new 5th Generation (I had a 4th Generation that seemed to do the same thing) that will reboot for no apparant reason.  I have a 1st Generation Time Capsule as the main wireless access point, then a 2nd generation Extreme extending, and the 5th generation as another extension.  I also have an Express extending to the top floor.  All my other devices work great, but the new 5th generation will just reboot over and over.  Seems to be every 5 - 10 minutes.  I have it setup in the middle of my house, with some devices connected to it via ethernet cable.  I used to have the Express in that location connected to a switch for my devices, and never had any issues.  My log looks similar, basically nothing useful. 

  • Mini DVI to Video: blue screen after disconnect

    Hi,
    can't find a solution: after disconnecting the mini dvi to video-adapter I always get a blue screen and I need to restart my brandnew 20" iMac.
    I use it to connect my (old) television via s-video. It is clear that I bought the right Mini-DVI-Adapter.
    Can anyone help or has the same problem?
    iMac 20"   Mac OS X (10.4.8)  

    Thanks for the help. I'd figured out that shutting it off would keep it from happening and was probably a "best practice," but since 90% of my television watching is from my eyeTV, I'd be turning it on and off a lot.
    The only problem with leaving the setup plugged in, is that as soon as the mini DVI cable is plugged in, the resolution on the iMac resets itself to super-large fit for television mode and becomes virtually unusable as a computer, thus when I want to use my computer, the cable has to be unplugged....unless of course you know something I don't
    Thanks,
    Shaun

Maybe you are looking for

  • Firewire Target Disc mode failure

    Does anyone know why my 400Mhz Ti Powerbook refuses to boot into target firewire mode? - It just shuts itself down... I am trying to exchange my old files from the G4 Ti Powerbook (running 10.3 to my iMac (iSight) G5 2.1Ghz running 10.4.3. I thought

  • Frame opening in the Background

    Hi I am making a GUI application in which i am creating object of a class which extends frame .As I want when i am clicking on a button ,a frame is displaying alternatly in the background and on top ,(i want it to be displayed on top).I initializes t

  • Can I stream video to apple tv and sound to airtunes at the same time?

    Does anyone know whether I can stream video to apple tv and sound to airtunes (airport express) at the same time? I am trying to build a setup where I watch the video via a projector (connected to ATV) and get sound from my hi-fi system which sits on

  • Script,Place call

    Hi,when i use the place the call step in the script editor,and the collected string matches an internal number,the place call step rings the destination but as soon as i answer the call,the call does not get really connected and  the reactive debug s

  • Unrendered frames in Livetype

    I've made a bunch of very basic livetype files (.ipr) to place in an instructional video. When I bring the files into the Final Cut browser and place them in the timeline 1-5 frames won't render and flash an unrendered frame in the video. I've tried