2 Replies Latest reply: May 30, 2013 1:30 PM by 1011965 RSS

    Web Logical Server. Connection Not established.

    989973
      Hi All,

      Jdeveloper Version is 11.1.1.2.0
      and the database is Oracle Fusion.

      When I am running my application in ADF I am getting the following error.

      oracle.rc.asadapter.weblogic.context.spi.AppDeploymentProvider$1: Cannot establish connection.
           at oracle.rc.asadapter.weblogic.context.spi.AppDeploymentProvider.listBindingsImpl(AppDeploymentProvider.java:109)
           at oracle.rc.asadapter.context.spi.AbstractContextProvider.listBindings(AbstractContextProvider.java:133)
           at oracle.rc.asadapter.context.spi.DefaultMutableAppServerContext$ContextProviderSupport$3.method(DefaultMutableAppServerContext.java:384)
           at oracle.rc.asadapter.context.spi.DefaultMutableAppServerContext$ContextProviderSupport$MethodCall.invoke(DefaultMutableAppServerContext.java:421)
           at oracle.rc.asadapter.context.spi.DefaultMutableAppServerContext$ContextProviderSupport.listBindings(DefaultMutableAppServerContext.java:381)
           at oracle.rc.asadapter.context.spi.DefaultMutableAppServerContext$ContextProviderSupport.access$500(DefaultMutableAppServerContext.java:314)
           at oracle.rc.asadapter.context.spi.DefaultMutableAppServerContext.localListBindings(DefaultMutableAppServerContext.java:207)
           at oracle.rc.asadapter.context.spi.AbstractEventDirContext.listBindings(AbstractEventDirContext.java:185)
           at oracle.adf.rc.spi.jndi.AbstractDirContext.listBindings(AbstractDirContext.java:214)
           at oracle.rc.asadapter.context.spi.DefaultAppServerManageableContext.getManageables(DefaultAppServerManageableContext.java:58)
           at oracle.jdeveloper.asnav.nodes.DefaultManageableFolder.loadChildren(DefaultManageableFolder.java:327)
           at oracle.jdeveloper.asnav.nodes.DefaultManageableFolder$4.run(DefaultManageableFolder.java:288)
      Caused by: oracle.rc.asadapter.connection.ConnectionException: Cannot establish connection.
           at oracle.rc.asadapter.weblogic.connection.spi.Weblogic10Jsr160Provider.getPresentation(Weblogic10Jsr160Provider.java:73)
           at oracle.rc.asadapter.connection.AppServerConnectionImpl$PM.getPresentation(AppServerConnectionImpl.java:171)
           at oracle.rc.asadapter.weblogic.connection.spi.Weblogic10ServerMBeanModelImpl.getDomainRuntimeService(Weblogic10ServerMBeanModelImpl.java:59)
           at oracle.rc.asadapter.weblogic.context.spi.AppDeploymentProvider.listBindingsImpl(AppDeploymentProvider.java:71)
           ... 11 more
      Caused by: java.io.IOException
           at weblogic.management.remote.common.ClientProviderBase.makeConnection(ClientProviderBase.java:187)
           at weblogic.management.remote.common.ClientProviderBase.newJMXConnector(ClientProviderBase.java:81)
           at javax.management.remote.JMXConnectorFactory.newJMXConnector(JMXConnectorFactory.java:338)
           at oracle.rc.asadapter.weblogic.connection.spi.Weblogic10Jsr160Provider.getPresentation(Weblogic10Jsr160Provider.java:67)
           ... 14 more
      Caused by: javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3://127.0.0.1:7101: Destination unreachable; nested exception is:
           java.net.ConnectException: Connection refused: connect; No available router to destination]
           at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:40)
           at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:783)
           at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:365)
           at weblogic.jndi.Environment.getContext(Environment.java:315)
           at weblogic.jndi.Environment.getContext(Environment.java:285)
           at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:117)
           at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
           at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
           at javax.naming.InitialContext.init(InitialContext.java:223)
           at javax.naming.InitialContext.<init>(InitialContext.java:197)
           at weblogic.management.remote.common.ClientProviderBase.makeConnection(ClientProviderBase.java:169)
           ... 17 more
      Caused by: java.net.ConnectException: t3://127.0.0.1:7101: Destination unreachable; nested exception is:
           java.net.ConnectException: Connection refused: connect; No available router to destination
           at weblogic.rjvm.RJVMFinder.findOrCreateInternal(RJVMFinder.java:216)
           at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:170)
           at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:153)
           at weblogic.jndi.WLInitialContextFactoryDelegate$1.run(WLInitialContextFactoryDelegate.java:344)
           at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
           at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
           at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:339)
           at weblogic.jndi.Environment.getContext(Environment.java:315)
           at weblogic.jndi.Environment.getContext(Environment.java:285)
           at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:117)
           at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
           at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
           at javax.naming.InitialContext.init(InitialContext.java:223)
           at javax.naming.InitialContext.<init>(InitialContext.java:197)
           at weblogic.management.remote.common.ClientProviderBase.makeConnection(ClientProviderBase.java:169)
           at weblogic.management.remote.common.ClientProviderBase.newJMXConnector(ClientProviderBase.java:81)
           at javax.management.remote.JMXConnectorFactory.newJMXConnector(JMXConnectorFactory.java:338)
           at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:247)
           at oracle.jdeveloper.adrs.lifecycle.AdrsWlsStarterImpl$WlsListener.initConnection(AdrsWlsStarterImpl.java:690)
           at oracle.jdeveloper.adrs.lifecycle.AdrsWlsStarterImpl$WlsListener.waitForReady(AdrsWlsStarterImpl.java:720)
           at oracle.jdeveloper.adrs.lifecycle.AdrsWlsStarterImpl.waitForWlsInit(AdrsWlsStarterImpl.java:401)
           at oracle.jdeveloper.server.lifecycle.ide.WlsStarterImpl$1.run(WlsStarterImpl.java:688)
           at java.lang.Thread.run(Thread.java:619)
      Caused by: java.rmi.ConnectException: Destination unreachable; nested exception is:
           java.net.ConnectException: Connection refused: connect; No available router to destination
           at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:464)
           at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:315)
           at weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(RJVMManager.java:251)
           at weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:194)
           at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:238)
           at weblogic.rjvm.RJVMFinder.findOrCreateInternal(RJVMFinder.java:200)
           ... 22 more

      Initially I was geting the error as "Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
      Cannot run application Application4 due to error deploying to IntegratedWebLogicServer.
      [Application Application4 stopped and undeployed from Server Instance IntegratedWebLogicServer]
      ".

      I tried running the Weblogical server from cmd and also from the console by starting or shutting down. But of no vain. Every time I am running my project/application it is Saying "Redploying Application and Starting Weblogical Server" but for hours nothing happen.



      Regards,
      Shahnawaz