Java.rmi.ConnectException: Could not ...

          I have realized a Cluster on WLS 6.1 sp4 but failover doesn't works fine. After
          the fail of the first node , the application goes on the secondary and works fine
          .. when the second node fails the http session goes on the third node but my
          application crash with this stack trace : <7-mar-03 19.30.03 CET> <Info> <Cluster>
          <Removing 5110730417871414485S:192.168.120.35:[7009,7009,7010,7010,7009,7010,-1]:192.1
          68.12 0.35,192.168.120.39,192.168.120.222,192.168.120.223:mydomain:nodo1 to the
          cluster> <7-mar-03 19.30.14 CET> <Info> <HTTP> <[WebAppServletContext(4776087,portale,/portale)]
          Localita: init> [PrimarySecondaryReplicaHandler] : weblogic.rmi.internal.LeasedRemoteRef@159
          - jvmid: '5110730417871414485S:192.168.120.35:[7009,700 9,7010,7010,7009,7010,-1]:192.168.120.35,192.168.120.39,192.168.120.222,192.
          168.120.223:mydomain:nodo1', oid: '345' java.rmi.ConnectException: Could not establish
          a connection with 5110730417871414485S:192.168.120.35:[7009,7009,7010,7010,7009,7010,
          -1]:192.168.120.35,192.168.120.39,192.168.120.222,192.168.120.223:mydomain:n odo1,
          java.rmi.ConnectException: Destination unreachable ; nested exception is: java.net.ConnectException:
          Connection refused; No available router to destination at weblogic.rjvm.RJVMImpl.getOutputStream(RJVMImpl.java:275)
          at weblogic.rjvm.RJVMImpl.getRequestStream(RJVMImpl.java:408) at weblogic.rmi.internal.BasicRemoteRef.getOutboundRequest(BasicRemoteRef.java:
          97) at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
          :255) at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
          :230) at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35) at $Proxy165.getFunzioneCorrente(Unknown
          Source) at dbr.servlet.FunzioneServlet.doGetOrPost(FunzioneServlet.java:126) at
          dbr.servlet.FunzioneServlet.doPost(FunzioneServlet.java:49) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
          :262) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
          :198) at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
          ntext.java:2637) at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
          :2359) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
          <7-mar-03 19.30.15 CET> <Debug> <DBR-TIM> <Could not establish a connection with
          5110730417871414485S:192.168.120.35:[7009,7009,7010 ,7010,7009,7010,-1]:192.168.120.35,192.168.120.39,192.168.120.222,192.168.12
          0.223:mydomain:nodo1, java.rmi.ConnectException: Destina tion unreachable; nested
          exception is: java.net.ConnectException: Connection refused; No available router
          to destination>
          it looks like the secondary don't trasform himself in a primary , looking for
          ejb stub on the node died. Thanks for any help.
          

          For respect reason to Bea , I think it's better to send my prototipe in private
          with e-mail ...
          Support has seen it and they accord to me about the existence of this crazy behavior...
          If you want test it and suggest some solution please give me your e-mail or send
          a mail to this address [email protected] , I'll reply really shortly with the
          prototipe in attach.
          Please help me , my team is under attack for this problem.
          Bye Bye
          Emanuele
          [email protected]
          "Sree Bodapati" <[email protected]> wrote:
          >Do you have replication groups setup? If not try
          >http://e-docs.bea.com/wls/docs61/cluster/servlet.html#1011791
          >
          >Can you duplicate this problem with a simple test case? If so post it
          >here
          >and I will take a look at it.
          >
          >/
          >sree
          >
          >"Emanuele Alfieri" <[email protected]> wrote in message
          >news:[email protected]...
          >>
          >> I have realized a Cluster on WLS 6.1 sp4 but failover doesn't works
          >fine.
          >After
          >> the fail of the first node , the application goes on the secondary
          >and
          >works fine
          >> .. when the second node fails the http session goes on the third node
          >but
          >my
          >> application crash with this stack trace : <7-mar-03 19.30.03 CET> <Info>
          ><Cluster>
          >> <Removing
          >5110730417871414485S:192.168.120.35:[7009,7009,7010,7010,7009,7010,-1]:192.1
          >> 68.12 0.35,192.168.120.39,192.168.120.222,192.168.120.223:mydomain:nodo1
          >to the
          >> cluster> <7-mar-03 19.30.14 CET> <Info> <HTTP>
          ><[WebAppServletContext(4776087,portale,/portale)]
          >> Localita: init> [PrimarySecondaryReplicaHandler] :
          >weblogic.rmi.internal.LeasedRemoteRef@159
          >> - jvmid: '5110730417871414485S:192.168.120.35:[7009,700
          >9,7010,7010,7009,7010,-1]:192.168.120.35,192.168.120.39,192.168.120.222,192.
          >> 168.120.223:mydomain:nodo1', oid: '345' java.rmi.ConnectException:
          >Could
          >not establish
          >> a connection with
          >5110730417871414485S:192.168.120.35:[7009,7009,7010,7010,7009,7010,
          >> -1]:192.168.120.35,192.168.120.39,192.168.120.222,192.168.120.223:mydomain
          >:n odo1,
          >> java.rmi.ConnectException: Destination unreachable ; nested exception
          >is:
          >java.net.ConnectException:
          >> Connection refused; No available router to destination at
          >weblogic.rjvm.RJVMImpl.getOutputStream(RJVMImpl.java:275)
          >> at weblogic.rjvm.RJVMImpl.getRequestStream(RJVMImpl.java:408) at
          >weblogic.rmi.internal.BasicRemoteRef.getOutboundRequest(BasicRemoteRef.java:
          >> 97) at
          >weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
          >> :255) at
          >weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
          >> :230) at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35)
          >at
          >$Proxy165.getFunzioneCorrente(Unknown
          >> Source) at
          >dbr.servlet.FunzioneServlet.doGetOrPost(FunzioneServlet.java:126) at
          >> dbr.servlet.FunzioneServlet.doPost(FunzioneServlet.java:49) at
          >javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
          >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
          >weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
          >> :262) at
          >weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
          >> :198) at
          >weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
          >> ntext.java:2637) at
          >weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
          >> :2359) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
          >at
          >weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
          >> <7-mar-03 19.30.15 CET> <Debug> <DBR-TIM> <Could not establish a
          >connection with
          >> 5110730417871414485S:192.168.120.35:[7009,7009,7010
          >,7010,7009,7010,-1]:192.168.120.35,192.168.120.39,192.168.120.222,192.168.12
          >> 0.223:mydomain:nodo1, java.rmi.ConnectException: Destina tion unreachable;
          >nested
          >> exception is: java.net.ConnectException: Connection refused; No available
          >router
          >> to destination>
          >>
          >> it looks like the secondary don't trasform himself in a primary , looking
          >for
          >> ejb stub on the node died. Thanks for any help.
          >>
          >
          >
          

Similar Messages

  • Java.rmi.ConnectException: Could not establish...

              I have realized a Cluster on WLS 6.1 sp4 but failover doesn't works fine.
              After the fail of the first node , the application goes on the secondary and works
              fine ... when the second node fails the http session goes on the third node but
              my application crash with this stack trace : <7-mar-03 19.30.03 CET> <Info> <Cluster>
              <Removing
              5110730417871414485S:192.168.120.35:[7009,7009,7010,7010,7009,7010,-1]:192.1
              68.12
              0.35,192.168.120.39,192.168.120.222,192.168.120.223:mydomain:nodo1 to the
              cluster>
              <7-mar-03 19.30.14 CET> <Info> <HTTP>
              <[WebAppServletContext(4776087,portale,/portale)] Localita: init>
              [PrimarySecondaryReplicaHandler] :
              weblogic.rmi.internal.LeasedRemoteRef@159 - jvmid:
              '5110730417871414485S:192.168.120.35:[7009,700
              9,7010,7010,7009,7010,-1]:192.168.120.35,192.168.120.39,192.168.120.222,192.
              168.120.223:mydomain:nodo1', oid: '345'
              java.rmi.ConnectException: Could not establish a connection with
              5110730417871414485S:192.168.120.35:[7009,7009,7010,7010,7009,7010,
              -1]:192.168.120.35,192.168.120.39,192.168.120.222,192.168.120.223:mydomain:n
              odo1, java.rmi.ConnectException: Destination unreachable
              ; nested exception is:
              java.net.ConnectException: Connection refused; No available router
              to destination
              at weblogic.rjvm.RJVMImpl.getOutputStream(RJVMImpl.java:275)
              at weblogic.rjvm.RJVMImpl.getRequestStream(RJVMImpl.java:408)
              at
              weblogic.rmi.internal.BasicRemoteRef.getOutboundRequest(BasicRemoteRef.java:
              97)
              at
              weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
              :255)
              at
              weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
              :230)
              at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35)
              at $Proxy165.getFunzioneCorrente(Unknown Source)
              at dbr.servlet.FunzioneServlet.doGetOrPost(FunzioneServlet.java:126)
              at dbr.servlet.FunzioneServlet.doPost(FunzioneServlet.java:49)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
              at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :262)
              at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :198)
              at
              weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
              ntext.java:2637)
              at
              weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
              :2359)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              <7-mar-03 19.30.15 CET> <Debug> <DBR-TIM> <Could not establish a connection
              with 5110730417871414485S:192.168.120.35:[7009,7009,7010
              ,7010,7009,7010,-1]:192.168.120.35,192.168.120.39,192.168.120.222,192.168.12
              0.223:mydomain:nodo1, java.rmi.ConnectException: Destina
              tion unreachable; nested exception is:
              java.net.ConnectException: Connection refused; No available router
              to destination>
              it looks like the secondary don't trasform himself in a primary , looking for
              ejb stub on the node died.
              Thanks for any help.
              

    Hi, I got the solution. Now it is working. Need to set the 'Listen Address:' environment parameter of the weblogic Admin server with the IP address of the machine on which the EJBs' are deployed. The path to this parameter on the console is - 'base_domain/Environment/Servers/'. Under this select your server and under configuration tab and General sub tab.

  • Java.rmi.ConnectException using webstart Swing client with WL 8.1 SP2 in a

    Hi all,
    I'm receiving the following exception when invoking a remote method on
    a cached remote stub. This only happens if there are at least two
    nodes running in a cluster. It happens more often the more nodes are
    running.
    It seems that the exception occurs if for a call to a remote method a
    cached stub is used, and if that call is referred to a different node
    in the cluster by the load balancer than the one that the stub
    originally came from. But I'm not completely sure about that...
    Client side config:
    Webstart
    JDK 1.4.2_05
    weblogic.jar (we're experiencing other problems already discussed in
    this group when using wlclient.jar)
    Server side config:
    Weblogic 8.1 SP2
    cluster on Sun Solaris machines (two nodes, one manager)
    Here is the exception stacktrace:
    java.rmi.ConnectException: Could not establish a connection with
    2198062098923170717S:shebea219:[7001,7001,-1,-1,7001,-1,-1,0,0]:SHEBEA219,SHEBEA334:DaGama:DaGamaNode1,
    java.security.AccessControlException: access denied
    (java.net.SocketPermission shebea219 resolve)
    at weblogic.rjvm.RJVMImpl.getOutputStream(RJVMImpl.java:316)
    at weblogic.rjvm.RJVMImpl.getRequestStream(RJVMImpl.java:488)
    at weblogic.rjvm.RJVMImpl.getOutboundRequest(RJVMImpl.java:584)
    at
    weblogic.rmi.internal.BasicRemoteRef.getOutboundRequest(BasicRemoteRef.java:91)
    at
    weblogic.rmi.internal.activation.ActivatableRemoteRef.invoke(ActivatableRemoteRef.java:69)
    at
    de.conet.dagama.interesengine.nativesession.SBNativeSession_8da95c_EOImpl_812_WLStub.isConnected(Unknown
    Source)
    at
    de.conet.dagama.agent.flight.nativ.FlightNativeListener.doExitNativeSession(FlightNativeListener.java:244)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at
    de.objektpark.framework.command.CommandInvoker.invoke(CommandInvoker.java:132)
    at
    de.objektpark.framework.command.CommandProcessor.doService(CommandProcessor.java:169)
    at
    de.objektpark.framework.command.CommandProcessor.service(CommandProcessor.java:131)
    at
    de.objektpark.framework.command.CommandProcessor.execute(CommandProcessor.java:71)
    at
    de.conet.webactiv.swing.command.GUICommandProcessor.execute(GUICommandProcessor.java:87)
    at
    de.conet.webactiv.swing.controller.GUICommandController.execute(GUICommandController.java:98)
    at
    de.conet.webactiv.swing.controller.GUICommandController.execute(GUICommandController.java:124)
    at
    de.conet.dagama.agent.flight.nativ.FlightFreeNativeView.this_windowClosing(FlightFreeNativeView.java:84)
    at
    de.conet.dagama.agent.flight.nativ.FlightFreeNativeView$1.windowClosing(FlightFreeNativeView.java:73)
    at java.awt.AWTEventMulticaster.windowClosing(Unknown Source)
    at java.awt.Window.processWindowEvent(Unknown Source)
    at javax.swing.JFrame.processWindowEvent(Unknown Source)
    at java.awt.Window.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown
    Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    Has anyone ever come across the same problem and possibly found a
    solution?
    Any help would be greatly appreciated.
    Thanks in advance
    Rolf

    Hi all,
    I'm receiving the following exception when invoking a remote method on
    a cached remote stub. This only happens if there are at least two
    nodes running in a cluster. It happens more often the more nodes are
    running.
    It seems that the exception occurs if for a call to a remote method a
    cached stub is used, and if that call is referred to a different node
    in the cluster by the load balancer than the one that the stub
    originally came from. But I'm not completely sure about that...
    Client side config:
    Webstart
    JDK 1.4.2_05
    weblogic.jar (we're experiencing other problems already discussed in
    this group when using wlclient.jar)
    Server side config:
    Weblogic 8.1 SP2
    cluster on Sun Solaris machines (two nodes, one manager)
    Here is the exception stacktrace:
    java.rmi.ConnectException: Could not establish a connection with
    2198062098923170717S:shebea219:[7001,7001,-1,-1,7001,-1,-1,0,0]:SHEBEA219,SHEBEA334:DaGama:DaGamaNode1,
    java.security.AccessControlException: access denied
    (java.net.SocketPermission shebea219 resolve)
    at weblogic.rjvm.RJVMImpl.getOutputStream(RJVMImpl.java:316)
    at weblogic.rjvm.RJVMImpl.getRequestStream(RJVMImpl.java:488)
    at weblogic.rjvm.RJVMImpl.getOutboundRequest(RJVMImpl.java:584)
    at
    weblogic.rmi.internal.BasicRemoteRef.getOutboundRequest(BasicRemoteRef.java:91)
    at
    weblogic.rmi.internal.activation.ActivatableRemoteRef.invoke(ActivatableRemoteRef.java:69)
    at
    de.conet.dagama.interesengine.nativesession.SBNativeSession_8da95c_EOImpl_812_WLStub.isConnected(Unknown
    Source)
    at
    de.conet.dagama.agent.flight.nativ.FlightNativeListener.doExitNativeSession(FlightNativeListener.java:244)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at
    de.objektpark.framework.command.CommandInvoker.invoke(CommandInvoker.java:132)
    at
    de.objektpark.framework.command.CommandProcessor.doService(CommandProcessor.java:169)
    at
    de.objektpark.framework.command.CommandProcessor.service(CommandProcessor.java:131)
    at
    de.objektpark.framework.command.CommandProcessor.execute(CommandProcessor.java:71)
    at
    de.conet.webactiv.swing.command.GUICommandProcessor.execute(GUICommandProcessor.java:87)
    at
    de.conet.webactiv.swing.controller.GUICommandController.execute(GUICommandController.java:98)
    at
    de.conet.webactiv.swing.controller.GUICommandController.execute(GUICommandController.java:124)
    at
    de.conet.dagama.agent.flight.nativ.FlightFreeNativeView.this_windowClosing(FlightFreeNativeView.java:84)
    at
    de.conet.dagama.agent.flight.nativ.FlightFreeNativeView$1.windowClosing(FlightFreeNativeView.java:73)
    at java.awt.AWTEventMulticaster.windowClosing(Unknown Source)
    at java.awt.Window.processWindowEvent(Unknown Source)
    at javax.swing.JFrame.processWindowEvent(Unknown Source)
    at java.awt.Window.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown
    Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    Has anyone ever come across the same problem and possibly found a
    solution?
    Any help would be greatly appreciated.
    Thanks in advance
    Rolf

  • Help !!!!!  java.rmi.ConnectException

              I have realized a Cluster on WLS 6.1 sp4 but failover doesn't works fine. After
              the fail of the first node , the application goes on the secondary and works fine
              .. when the second node fails the http session goes on the third node but my
              application crash with this stack trace : <7-mar-03 19.30.03 CET> <Info> <Cluster>
              <Removing 5110730417871414485S:192.168.120.35:[7009,7009,7010,7010,7009,7010,-1]:192.1
              68.12 0.35,192.168.120.39,192.168.120.222,192.168.120.223:mydomain:nodo1 to the
              cluster> <7-mar-03 19.30.14 CET> <Info> <HTTP> <[WebAppServletContext(4776087,portale,/portale)]
              Localita: init> [PrimarySecondaryReplicaHandler] : weblogic.rmi.internal.LeasedRemoteRef@159
              - jvmid: '5110730417871414485S:192.168.120.35:[7009,700 9,7010,7010,7009,7010,-1]:192.168.120.35,192.168.120.39,192.168.120.222,192.
              168.120.223:mydomain:nodo1', oid: '345' java.rmi.ConnectException: Could not establish
              a connection with 5110730417871414485S:192.168.120.35:[7009,7009,7010,7010,7009,7010,
              -1]:192.168.120.35,192.168.120.39,192.168.120.222,192.168.120.223:mydomain:n odo1,
              java.rmi.ConnectException: Destination unreachable ; nested exception is: java.net.ConnectException:
              Connection refused; No available router to destination at weblogic.rjvm.RJVMImpl.getOutputStream(RJVMImpl.java:275)
              at weblogic.rjvm.RJVMImpl.getRequestStream(RJVMImpl.java:408) at weblogic.rmi.internal.BasicRemoteRef.getOutboundRequest(BasicRemoteRef.java:
              97) at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
              :255) at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
              :230) at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35) at $Proxy165.getFunzioneCorrente(Unknown
              Source) at dbr.servlet.FunzioneServlet.doGetOrPost(FunzioneServlet.java:126) at
              dbr.servlet.FunzioneServlet.doPost(FunzioneServlet.java:49) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :262) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :198) at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
              ntext.java:2637) at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
              :2359) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              <7-mar-03 19.30.15 CET> <Debug> <DBR-TIM> <Could not establish a connection with
              5110730417871414485S:192.168.120.35:[7009,7009,7010 ,7010,7009,7010,-1]:192.168.120.35,192.168.120.39,192.168.120.222,192.168.12
              0.223:mydomain:nodo1, java.rmi.ConnectException: Destina tion unreachable; nested
              exception is: java.net.ConnectException: Connection refused; No available router
              to destination>
              it looks like the secondary don't trasform himself in a primary , looking for
              ejb stub on the node died. Thanks for any help.
              

              Nobody has used Stateful ejb on a 3/4 node cluster?
              "Emanuele Alfieri" <[email protected]> wrote:
              >
              >I have realized a Cluster on WLS 6.1 sp4 but failover doesn't works fine.
              >After
              >the fail of the first node , the application goes on the secondary and
              >works fine
              >... when the second node fails the http session goes on the third node
              >but my
              >application crash with this stack trace : <7-mar-03 19.30.03 CET> <Info>
              ><Cluster>
              ><Removing 5110730417871414485S:192.168.120.35:[7009,7009,7010,7010,7009,7010,-1]:192.1
              >68.12 0.35,192.168.120.39,192.168.120.222,192.168.120.223:mydomain:nodo1
              >to the
              >cluster> <7-mar-03 19.30.14 CET> <Info> <HTTP> <[WebAppServletContext(4776087,portale,/portale)]
              >Localita: init> [PrimarySecondaryReplicaHandler] : weblogic.rmi.internal.LeasedRemoteRef@159
              >- jvmid: '5110730417871414485S:192.168.120.35:[7009,700 9,7010,7010,7009,7010,-1]:192.168.120.35,192.168.120.39,192.168.120.222,192.
              >168.120.223:mydomain:nodo1', oid: '345' java.rmi.ConnectException: Could
              >not establish
              >a connection with 5110730417871414485S:192.168.120.35:[7009,7009,7010,7010,7009,7010,
              >-1]:192.168.120.35,192.168.120.39,192.168.120.222,192.168.120.223:mydomain:n
              >odo1,
              >java.rmi.ConnectException: Destination unreachable ; nested exception
              >is: java.net.ConnectException:
              >Connection refused; No available router to destination at weblogic.rjvm.RJVMImpl.getOutputStream(RJVMImpl.java:275)
              >at weblogic.rjvm.RJVMImpl.getRequestStream(RJVMImpl.java:408) at weblogic.rmi.internal.BasicRemoteRef.getOutboundRequest(BasicRemoteRef.java:
              >97) at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
              >:255) at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
              >:230) at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35) at
              >$Proxy165.getFunzioneCorrente(Unknown
              >Source) at dbr.servlet.FunzioneServlet.doGetOrPost(FunzioneServlet.java:126)
              >at
              >dbr.servlet.FunzioneServlet.doPost(FunzioneServlet.java:49) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
              >at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              >:262) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              >:198) at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
              >ntext.java:2637) at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
              >:2359) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
              >at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              ><7-mar-03 19.30.15 CET> <Debug> <DBR-TIM> <Could not establish a connection
              >with
              >5110730417871414485S:192.168.120.35:[7009,7009,7010 ,7010,7009,7010,-1]:192.168.120.35,192.168.120.39,192.168.120.222,192.168.12
              >0.223:mydomain:nodo1, java.rmi.ConnectException: Destina tion unreachable;
              >nested
              >exception is: java.net.ConnectException: Connection refused; No available
              >router
              >to destination>
              >
              >it looks like the secondary don't trasform himself in a primary , looking
              >for
              >ejb stub on the node died. Thanks for any help.
              >
              

  • Java.rmi.ConnectException

    hi I am trying to connect to a remote server from my client as follows
    $ java TestRcf -Djava.security.policy=policy
    and my policy file is as follows....
    grant {
    permission java.net.SocketPermission "*:1024-65535", "connect";
    I get the following error when i try to connect it...
    Do i have to include anything else in the policy file or what is that i am missing?
    the error is as follows......
    lookup host: //10.1.129.3/RCFSearch10.1.129.3
    java.rmi.ConnectException: Connection refused to host: 10.1.129.3; nested exception is:
    java.net.ConnectException: Connection timed out
    at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:574)
    at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185)
    at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
    at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:306)
    at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
    at java.rmi.Naming.lookup(Naming.java:84)
    at com.lt.rcf.RemoteRCF.<init>(RemoteRCF.java:48)
    at com.lt.rcf.RCFMediator.init(RCFMediator.java:405)
    at com.lt.rcf.RCFMediator.<init>(RCFMediator.java:60)
    at com.lt.rcf.RCFClient.<init>(RCFClient.java:59)
    at com.lt.rcf.RCFAppBuilder.create(RCFAppBuilder.java:50)
    at TestRcf.test0(TestRcf.java:55)
    at TestRcf.main(TestRcf.java:88)
    Caused by: java.net.ConnectException: Connection timed out
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:364)
    at java.net.Socket.connect(Socket.java:507)
    at java.net.Socket.connect(Socket.java:457)
    at java.net.Socket.<init>(Socket.java:365)
    at java.net.Socket.<init>(Socket.java:178)
    at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)
    at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)
    at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:569)
    ... 12 more
    com.lt.rcf.RCFException: RCF Server connection not available: Connection refused to host: 10.1.129.3; nested exception is:
    java.net.ConnectException: Connection timed out

    first of all, which OS are you working on? This
    question might sound wierd, but I have noticed a
    lotta people working on Linux boxes havecomplained
    about this. There is another mail thread about it:
    >
    http://forum.java.sun.com/thread.jspa?threadID=570065&
    tstart=0
    is your client able to look up the reference tothe
    server ? If so, can you print that reference andfind
    out which port the remote server is listening on ?
    here did u mean Naming.LookUp("rmi://10.1.129.3") in the client.thats where i get connection refused while doing naming.lookup.
    Then use the netstat command to see if the serveris
    indeed listenign on that port when the connectionis
    refused !
    netstat -anp - p | grep <port_of_server>
    let me know how it goes.
    when i did netstat -anp - p | grep <port_of_server> on my client this is what i get ...
    Not all processes could be identified, non-owned process info
    will not be shown, you would have to be root to see it all.)
    tcp 0 0 0.0.0.0:1099 0.0.0.0:* LISTEN
    6435/rmiregistry
    tcp 0 0 10.1.129.3:51983 10.1.129.3:1099 ESTABLISHED
    6492/java
    tcp 0 0 10.1.129.3:1099 10.1.129.3:51983 ESTABLISHED
    6435/rmiregistry

  • Exception in the main client program: java.rmi.ConnectException: Connection

    Hi
    I have written a program in Java using RMI and it runs perfectly fine on my pc(localhost). But when I run it on the LAN in my office, the client program stucks and I get an exception
    ***Exception in the main client program: java.rmi.ConnectException: Connection refused to host***
    ***java.net.ConnectException: Connection timed out: connect***
    Do we need to make some settings in the RMI server...or some firewall issue is there...By default port is 1099 as used by RMI registry server
    Please help me TIA
    vnx_in

    Hi, i am having the same java.rmi.ConnectException, but the problem is that i can't even run it on localhost. I simply can't start my server, and i am getting a problem on Naming.rebind, however i think it could be because i am using an static ip to connect to internet in the LAN of my town. Does it matter in this case. I would be so thankful, because i am not able to solve it after many efforts.
    Thanks in Advance :)

  • Java.rmi.ConnectException on calling callback method

    I have an interface exposed as a remote service with a simple method to register the callback object on wich the server calls a method to notify an event.
    public void registerForNotification (ExitCodeCallback callback) throws RemoteException;
    public interface ExitCodeCallback extends Remote
       * @param event
       * @throws RemoteException
      public void notifyExitCode (ExitCodeEvent event) throws RemoteException;
    public class ExitCodeEvent implements Serializable
       * Comment for <code>serialVersionUID</code>
      private static final long serialVersionUID = -8542839971016423057L;
      private Integer code;
      private String sourceName;
       * @param source
       * @param exitCode
      public ExitCodeEvent (String source, Integer exitCode)
        exitCode = code;
        sourceName = source;
       * @return Object
      public Object asString ()
        return sourceName + " exited with code " + code;
    }When the server try to call this method causes an exception to be thrown
    java.rmi.ConnectException: Connection refused to host: 26.2.242.76; nested exception is:
         java.net.ConnectException: Connection refused: connect
         at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:574)
         at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185)
         at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
         at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:94)
         at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:179)
         at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:132)
         at $Proxy2.notifyExitCode(Unknown Source)
         at it.sogei.jscheduler.rmi.server.SchedulerServicesServerSide$InnerServerExitCodeCallback.notifyExitCode(SchedulerServicesServerSide.java:156)
         at it.sogei.jscheduler.rmi.server.ApplicationTask.notifyExitCode(ApplicationTask.java:129)
         at it.sogei.jscheduler.rmi.server.WaiterThread.run(WaiterThread.java:47)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
         at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
         at java.net.Socket.connect(Socket.java:516)
         at java.net.Socket.connect(Socket.java:466)
         at java.net.Socket.<init>(Socket.java:366)
         at java.net.Socket.<init>(Socket.java:179)
         at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)
         at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)
         at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:569)
         ... 10 morebut, surprisingly, the client receives the event even if the ExitCodeEvent.asString() called on that object print the following line
    null exited with code null.
    I wonder how this could be happened?

    - It happens every single time the callback method is invoked, I see the event been deserialized client-side with the fields initialized with null values and server-side there is the java.rmi.ConnectException.
    - The client can't unexport the callback object, that's because I didn't think to do it.
    this is the method where I start to notify to all the registered client the event
    for (ExitCodeCallback callbackElement : callback)
            try
              callbackElement.notifyExitCode(event);
            catch (RemoteException ex)
              logger.debug("Unable to notify.", ex);
          }where
    List<ExitCodeCallback> callback;and implementation of the callback interface is
    public class ClientExitCodeCallback implements ExitCodeCallback
      transient Logger logger = Logger.getLogger(ClientExitCodeCallback.class);
       * @see it.sogei.jscheduler.ExitCodeCallback#notifyExitCode()
      public void notifyExitCode (ExitCodeEvent event) throws RemoteException
        logger.warn(event.asString());
    }

  • What does java.rmi.ConnectException: Connection refused to host mean? ¶

    Several users have run into a java.rmi.ConnectException message during deployment, and need some information on how to troubleshoot this. We'll be adding this to our documentation, but thought it might be useful now.
    In NoSQL DB R2.0, the show plan -id <id> command displays plan status and any errors that may have occurred. If you see this exception listed in the error section, it means that the Admin service was unable to reach one of the NoSQL DB components while the system was trying to execute an administrative command.
    The first step is check on the overall status of the store. One way to do that is to use the show topology command, followed by the verify command. The show topology command will display the layout of the store, while verify will check the status of each component. A component that can't be reached will display a status of UNREACHABLE.
    In general, NoSQL DB attempts to make any troubleshooting information you need available through the Admin CLI, through commands like show plan, show events, show faults. A ConnectException message means that a communication channel either was not established, or failed, and in those cases, troubleshooting information may not have been conveyed to the Admin service. This is particularly true if there was a communication failure during initial deployment of a component.
    The next step would be to look in the NoSQL log files for more detailed error information. Look first in the aggregated storewide log, which can be found in the node that is hosting the master admin service, under the KVROOT/<storename>/logs/<storename>*.log. You can locate the master Admin through the "verify" command. This log file contains information from all the different components in the store.
    Suppose Replication Node rg1-rn3, on Storage Node sn3, is not responsive. Look through the <storename>.log for entries made by those components. Each log entry is prefixed with the name of the component that issued the log message. Sometimes the aggregated storewide log has too much information, or sometimes information from a component was not transmitted to the Admin, and therefore isn't included in the aggregated log. In that case, it can be more helpful to look at the Replication Node or Storage Node logs directly, which can be found on their host, in the <KVROOT>/<storename>/logs directory.
    If the problem occurs during an initial deployment, it can be particularly helpful to review the Storage Node logs to make sure that the Storage Node Agent on that node was created correctly, and that the process came up as expected, according to the installation directions, and the Replication Node logs. Some of the common reasons why a Replication Node might not come up are that here is inadequate heap and memory on the node, or that a initial configuration parameter is misspelled or has an invalid value, or that the time skew between components is greater than NoSQL's acceptable limit.

    Several users have run into a java.rmi.ConnectException message during deployment, and need some information on how to troubleshoot this. We'll be adding this to our documentation, but thought it might be useful now.
    In NoSQL DB R2.0, the show plan -id <id> command displays plan status and any errors that may have occurred. If you see this exception listed in the error section, it means that the Admin service was unable to reach one of the NoSQL DB components while the system was trying to execute an administrative command.
    The first step is check on the overall status of the store. One way to do that is to use the show topology command, followed by the verify command. The show topology command will display the layout of the store, while verify will check the status of each component. A component that can't be reached will display a status of UNREACHABLE.
    In general, NoSQL DB attempts to make any troubleshooting information you need available through the Admin CLI, through commands like show plan, show events, show faults. A ConnectException message means that a communication channel either was not established, or failed, and in those cases, troubleshooting information may not have been conveyed to the Admin service. This is particularly true if there was a communication failure during initial deployment of a component.
    The next step would be to look in the NoSQL log files for more detailed error information. Look first in the aggregated storewide log, which can be found in the node that is hosting the master admin service, under the KVROOT/<storename>/logs/<storename>*.log. You can locate the master Admin through the "verify" command. This log file contains information from all the different components in the store.
    Suppose Replication Node rg1-rn3, on Storage Node sn3, is not responsive. Look through the <storename>.log for entries made by those components. Each log entry is prefixed with the name of the component that issued the log message. Sometimes the aggregated storewide log has too much information, or sometimes information from a component was not transmitted to the Admin, and therefore isn't included in the aggregated log. In that case, it can be more helpful to look at the Replication Node or Storage Node logs directly, which can be found on their host, in the <KVROOT>/<storename>/logs directory.
    If the problem occurs during an initial deployment, it can be particularly helpful to review the Storage Node logs to make sure that the Storage Node Agent on that node was created correctly, and that the process came up as expected, according to the installation directions, and the Replication Node logs. Some of the common reasons why a Replication Node might not come up are that here is inadequate heap and memory on the node, or that a initial configuration parameter is misspelled or has an invalid value, or that the time skew between components is greater than NoSQL's acceptable limit.

  • Invocation time Exception (java.rmi.ConnectException: Connection refused to

    Hi folks,
    SERVER = LINUX
    CLIENT = WINDOWS 200
    JAVA VERSION : 1.4.2
    Object obj = Naming.lookup("rmi://x.x.x.x:5578/MyServer");
    System.out.println("Object ="+obj); // Works fine and return stub as shown in o/p
    MyServer_Stub server = (MyServer_Stub)obj;
    server.validate(); // throws following Connection refused exception
    -----OUTPUT-----
    Object =com.MyServer_Stub[RemoteStub [ref: [endpoint:[x.x.x.x:42360](remote),objID:[a981ca:10722cb9411:-8000, 0]]]]
    java.rmi.ConnectException: Connection refused to host: x.x.x.x.x; nested exception is:
         java.net.ConnectException: Connection refused: connect
         at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:567)
         at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185)
         at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
         at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:101)[
         at com.MyServer_Stub.validate(Unknown Source)/b]
         at tescasees.testbyexample.rmi.MyServerChangesTestApplication.main
    Caused by: java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
         at java.net.Socket.connect(Socket.java:452)
         at java.net.Socket.connect(Socket.java:402)
         at java.net.Socket.<init>(Socket.java:309)
         at java.net.Socket.<init>(Socket.java:124)
         at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)
         at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)
         at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:562)
         ... 5 more
    Exception in thread "main"
    [b] Why does java system throws exception at invoke time not connection time at lookup time</b]
    Any suggestion...
    Regards,
    Manoj

    > Are you getting this from a lookup()? If so it means the Registry you are looking for at rmi://x.x.x.x:5578 is not present.
    I am getting it at the time when I invoke the method validate on the object returned from lookup.
    --Manoj                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Java.lang.RuntimeException: Could not find the OffLine WLST class

    Installation of OIM On weblogic.
    oracle/oim/xellerate/setup/setup.xml:443: The following error occurred while executing this line:
    /oracle/oim/xellerate/setup/weblogic-setup.xml:196: java.lang.RuntimeException: Could not find the OffLine WLST class
    at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:539)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:384)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.Target.execute(Target.java:341)
    at org.apache.tools.ant.Target.performTasks(Target.java:369)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    at org.apache.tools.ant.Main.runBuild(Main.java:668)
    at org.apache.tools.ant.Main.startAnt(Main.java:187)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
    Tried to run this command ./wlst.sh
    shows
    CLASSPATH=/home/oracle/bea/patch_wls1030/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/oracle/bea/patch_cie660/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/oracle/jdk/lib/tools.jar:/oracle/weblogic/server/server/lib/weblogic_sp.jar:/oracle/weblogic/server/server/lib/weblogic.jar:/home/oracle/bea/modules/features/weblogic.server.modules_10.3.0.0.jar:/oracle/weblogic/server/server/lib/webservices.jar:/home/oracle/bea/modules/org.apache.ant_1.6.5/lib/ant-all.jar:/home/oracle/bea/modules/net.sf.antcontrib_1.0.0.0_1-0b2/lib/ant-contrib.jar:
    PATH=/oracle/weblogic/server/server/bin:/home/oracle/bea/modules/org.apache.ant_1.6.5/bin:/oracle/jdk/jre/bin:/oracle/jdk/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/oracle/bin:/home/oracle/bin:/oracle/jdk/bin
    Your environment has been set.
    CLASSPATH=/home/oracle/bea/patch_wls1030/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/oracle/bea/patch_cie660/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/oracle/jdk/lib/tools.jar:/oracle/weblogic/server/server/lib/weblogic_sp.jar:/oracle/weblogic/server/server/lib/weblogic.jar:/home/oracle/bea/modules/features/weblogic.server.modules_10.3.0.0.jar:/oracle/weblogic/server/server/lib/webservices.jar:/home/oracle/bea/modules/org.apache.ant_1.6.5/lib/ant-all.jar:/home/oracle/bea/modules/net.sf.antcontrib_1.0.0.0_1-0b2/lib/ant-contrib.jar::/oracle/weblogic/server/common/eval/pointbase/lib/pbembedded57.jar:/oracle/weblogic/server/common/eval/pointbase/lib/pbtools57.jar:/oracle/weblogic/server/common/eval/pointbase/lib/pbclient57.jar
    Initializing WebLogic Scripting Tool (WLST) ...
    Problem invoking WLST - java.lang.RuntimeException: Could not find the OffLine WLST class

    try Problem invoking WLST - Could not find the OffLine WLST class the last post on this thread, he claims to solve the problem...

  • OIM Installn :java.lang.RuntimeException: Could not find OffLine WLST class

    Installation of OIM On weblogic.
    oracle/oim/xellerate/setup/setup.xml:443: The following error occurred while executing this line:
    /oracle/oim/xellerate/setup/weblogic-setup.xml:196: java.lang.RuntimeException: Could not find the OffLine WLST class
         at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:539)
         at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:384)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
         at org.apache.tools.ant.Task.perform(Task.java:364)
         at org.apache.tools.ant.Target.execute(Target.java:341)
         at org.apache.tools.ant.Target.performTasks(Target.java:369)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
         at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
         at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
         at org.apache.tools.ant.Main.runBuild(Main.java:668)
         at org.apache.tools.ant.Main.startAnt(Main.java:187)
         at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
         at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
    Tried to run this command ./wlst.sh
    shows
    CLASSPATH=/home/oracle/bea/patch_wls1030/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/oracle/bea/patch_cie660/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/oracle/jdk/lib/tools.jar:/oracle/weblogic/server/server/lib/weblogic_sp.jar:/oracle/weblogic/server/server/lib/weblogic.jar:/home/oracle/bea/modules/features/weblogic.server.modules_10.3.0.0.jar:/oracle/weblogic/server/server/lib/webservices.jar:/home/oracle/bea/modules/org.apache.ant_1.6.5/lib/ant-all.jar:/home/oracle/bea/modules/net.sf.antcontrib_1.0.0.0_1-0b2/lib/ant-contrib.jar:
    PATH=/oracle/weblogic/server/server/bin:/home/oracle/bea/modules/org.apache.ant_1.6.5/bin:/oracle/jdk/jre/bin:/oracle/jdk/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/oracle/bin:/home/oracle/bin:/oracle/jdk/bin
    Your environment has been set.
    CLASSPATH=/home/oracle/bea/patch_wls1030/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/oracle/bea/patch_cie660/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/oracle/jdk/lib/tools.jar:/oracle/weblogic/server/server/lib/weblogic_sp.jar:/oracle/weblogic/server/server/lib/weblogic.jar:/home/oracle/bea/modules/features/weblogic.server.modules_10.3.0.0.jar:/oracle/weblogic/server/server/lib/webservices.jar:/home/oracle/bea/modules/org.apache.ant_1.6.5/lib/ant-all.jar:/home/oracle/bea/modules/net.sf.antcontrib_1.0.0.0_1-0b2/lib/ant-contrib.jar::/oracle/weblogic/server/common/eval/pointbase/lib/pbembedded57.jar:/oracle/weblogic/server/common/eval/pointbase/lib/pbtools57.jar:/oracle/weblogic/server/common/eval/pointbase/lib/pbclient57.jar
    Initializing WebLogic Scripting Tool (WLST) ...
    Problem invoking WLST - java.lang.RuntimeException: Could not find the OffLine WLST class
    Edited by: user10213645 on Mar 9, 2010 3:37 PM

    There is an existing Bug 8431390 - WLST NOT WORKING IF WE USE NON-DEFAULT INSTALLATION (WL_HOME OUTSIDE BEA_HOME)
    As per this bug, the issue can be reproduced as follows:
    Steps to reproduce:
    1. Install WLS 10.3GA (essex) kit in a non-default fashion (WL_HOME outside BEA_HOME)
    2. Go to ur $WL_HOME/common/bin directory and execute wlst.cmd
    3. It exits with the following exception:
    java.lang.RuntimeException:could not find the OffLine WLST class
    Hope this helps.
    For more details, refer: http://idm-oracle.blogspot.com/2010/03/javalangruntimeexception-could-not-find.html

  • Java.lang.Exception: Could not get name for DC project

    Hello Experts,
    We have a code which is downloaded from SVN repository.
    I have imported the code from my desktop into NWDS and when I try to deploy it throws,
    java.lang.Exception: Could not get name for DC project
    I have referred few threads in SCN and solution suggested is to change the workspace and create a new DC & copy the _comp from old DC.
    I tried the above solution but there are lot of build errors as we have few RFC models and it is throwing build errors for missing model reference.
    Kindly help me on how to fix the error.
    Thanks, Swarnaprakash

    Dear Swarnaprakash,
    The Web Dynpro DCs Import C:\----\user\.dtc\LocalDevelopment\DCs\sap.com\test and
    the related package for DC  is missing once check it after try to import.
    Depending on which Java compiler preferences are set, you may see some
    warnings in the "Task" view after importing the project. If the severity level for problems of type "Unused imports" (set in Preferences – Java – Compiler) has the value "Warning", the compiler will issue a warning for unused import references. Ignore these warnings!
    Still You getting means delete your .metadata before take the backup.after open the NWDS again it will set new configurations in your system.
    Thanks & Regards,
    Durga Rao.

  • BAMAdapter Issue : java.rmi.ConnectException: Destination unreachable;

    Hi,
    I have installed SOA server and BAM server on same localhost but while calling BAM adapter from the BPEL process it's throwing below error.
    *<Jun 24, 2011 6:56:51 PM BST> <Error> <oracle.soa.bpel.engine.ws> <BEA-000000>*
    *<got FabricInvocationException java.rmi.ConnectException: Destination unreachable; nested exception is: java.net.ConnectException: Connection refused; No available router to destination*
    Here are my JNDI configuration :: eis/bam/rmi
    HostName     java.lang.String     localhost
    InstanceName     java.lang.String     ADCServer1
    Password     java.lang.String     *******
    PortNumber     java.lang.String     9001
    UserName     java.lang.String     weblogic
    I have also tried with the eis/bam/soap but it is giving me
    javax.xml.ws.WebServiceException: javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Message send failed: Connection refused
    Do i need to modify any configuration file in server?
    Please suggest.
    Thanks,
    Sagar

    Hi,
    I have installed SOA server and BAM server on same localhost but while calling BAM adapter from the BPEL process it's throwing below error.
    *<Jun 24, 2011 6:56:51 PM BST> <Error> <oracle.soa.bpel.engine.ws> <BEA-000000>*
    *<got FabricInvocationException java.rmi.ConnectException: Destination unreachable; nested exception is: java.net.ConnectException: Connection refused; No available router to destination*
    Here are my JNDI configuration :: eis/bam/rmi
    HostName     java.lang.String     localhost
    InstanceName     java.lang.String     ADCServer1
    Password     java.lang.String     *******
    PortNumber     java.lang.String     9001
    UserName     java.lang.String     weblogic
    I have also tried with the eis/bam/soap but it is giving me
    javax.xml.ws.WebServiceException: javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Message send failed: Connection refused
    Do i need to modify any configuration file in server?
    Please suggest.
    Thanks,
    Sagar

  • Java.rmi.ConnectException: Connection refuse

    Hi all,
    I have built a simple RMI client server application.I can run client & server fine locally.
    However if I test this appplication over the internet, I get this exception on the client:
    java.rmi.ConnectException: Connection refused to host: 169.254.157.53; nested exception is:
    java.net.ConnectException: Connection timed out: connectConnection refused to host:169.254.157.53
    The RMI server is running on my PC and the client on a friend's remote PC.Both PCs are connected to Internet.
    I don't have any firewall running on my PC (including windows XP firewall). The server RMI lookup on the client happens correctly,
    the exception is raised when the client tries to call the remote method on the server.
    Here is an extract of my RMI server code (it works locally):
    public static void main(String[] args) throws Exception {
              try {
              // args[0] contains the database server name given as command line argument, arg[1] contains binary path that contains weather jpeg files     
              CPrimaryWeatherServer test = new CPrimaryWeatherServer(args[0], args[1]);
              Naming.rebind("rmi://localhost:1099/WeatherPrimaryService", test);
              System.out.println("Serveur m�t�o principal d�marr�");
              } catch (Exception e){ System.out.println(e.getMessage());}
    Here is an extract of my RMI client code (it works locally):
    try{
                        rec=1;
                        leftClik=1;
                        System.out.println("Before RMI lookup");
                        IPrimaryWeatherServerService serveur =(IPrimaryWeatherServerService)Naming.lookup("rmi://"+primWS+":1099/WeatherPrimaryService");
                        System.out.println("After RMI lookup");
                        System.out.println("Before server method call");
                        z=serveur.getFullWeatherData(); --> exception is raised here
                        System.out.println("After RMI server method call");
    I am directly connected to Internet using an ethernet card connected to an ADSL modem.169.254.157.53 is the automatic IP of my network card different from the IP given by my ISP. By the way, the client tries to contact me using my DNS name that resolves correctly to my ISP IP adress.
    Thanks a lot for help,

    because I am guessing that a local IP address is being embedded into the stub so the clien't can't find the remote server. I am guessing because you didn't provide the exception or its text. Anyway the suggestion will cause the correct public IP address/hostname to be embedded into the stub.

  • Java.rmi.RemoteException:  newServlets not found

    I am developing a java servlet using J2EE 1.4 RI.
    I have developed a new application called newServlets.ear. This application has a web component named Servlet1. When I click on Tools, Deploy I get the following error:
    stop newServlets
    running...
    java.rmi.ServerException: RemoteException occured in server thread; nested exception is:
    java.rmi.RemoteException: newServlets not found; nested exception is
    javax.management.InstanceNotFoundException: newServlets not found at
    com.sun.corba.se.internal.iiop.ShutdownUtilDelegate.mapSystemException(ShutdownUtilDelegate.java:61)
    at javax.rmi.CORBA.Util.mapSystemException(Util.java:65)
    at
    org.omg.stub.com.sun.enterprise.tools.deployment.backend.JarInstaller_Stub.stop(Unknown Source)
    The J2EE RI Verifier produces no failed tests or warnings.
    I have no idea what is causing this. Each time this happens, the Command Prompt window that is running J2ee server displays the message:
    Stop recieved
    I have tried stopping and restarting both the j2ee server and deploytool, but this has not fixed the problem.
    In my servlet, I would like to take information that has been entered into an HTML text field and add it to a MS Access database. I have the following code in my servlet to load the driver:
    final String pathConnection="jdbc:odbc:"+dataBase;
    con = null;
    String driverName="sun.jdbc.odbc.JdbcOdbcDriver";
    try{
    try{
    Class.forName(driverName);
    System.out.println("OK");
    catch (ClassNotFoundException e)
    System.out.println(" ERROR : driver not found");
    e.printStackTrace();
    }//end inner try/catch
    System.out.println("Drivers (DriverManager.getDrivers()) :");
    con = DriverManager.getConnection(pathConnection, "", "");
    }//end outer try block
    catch (Exception e)
    e.printStackTrace();
    }//end outer catch
    The following code is being used to enter the data into the database:
    try {
    stmt = con.prepareStatement(
    "INSERT INTO User (emailAddress, passWord) VALUES (?, ?)");
    stmt.setString(1, emAddress);
    stmt.setString(2, passWord);
    stmt.executeUpdate();
    catch (SQLException e) {
    System.err.println(e);
    e.printStackTrace();
    finally {
    con.close();
    Is it possible that something in the code above is causing the problem??
    Please help!!
    I am running J2EE 1.4 RI and J2SDK1.4.1_01 on Windows XP Professional.

    java.rmi.ServerException: RemoteException occured in
    server thread; nested exception is:
    java.rmi.RemoteException: newServlets not found;
    nested exception is
    javax.management.InstanceNotFoundException:
    newServlets not found at
    I'm having a similar problem trying to deploy an EJB on the j2ee 1.4 ri. It appears to be some sort of JMX problem. I suspect it has something to do with having a wrong value somewhere in the sun-j2ee-ri.xml descriptor, but I haven't figured it out yet. If you have, can you let me know what you did to fix it?
    Thanks,
    Steve

Maybe you are looking for

  • Photos Not Syncing; Photos Missing From Albums, No Error Message, Running iTunes for Windows & iOS 7.1.2

    I am having an issue with syncing my photos on my iOS devices running iOS 7.1.2, the two being an iPhone 4s and iPad 2 Wi-Fi + 3G. When I sync photos, I keep on having photos turn up missing from entire albums. I have tried everything I can to resolv

  • Questions on Servlets

    I don't know WHERE the Oracle team came up with my username (mine was TheWhiteKnight), but it's funny guys.... Thanks for the laugh. ANYwho.... I have a question. I currently am creating some objects with getter and setter methods. For example, I hav

  • Apex 4.0 Websheets: Insert existing Tables in a Report

    Hi there Apex 4.0 friends (& family), this could be mayby a stupid question, but anyway ... :-) I´m playing arround with Websheets. New Section/ Data / Data Section Source: Report But where can i define this Report ? Thanks in advance Marco

  • How to uninstall MAxDB instance

    Hi, I am not able to uninstall MAXDB instance. it gives error as follows when I try to remove using control panel.:- start uninstallation now (y/n)?y found instance J2E cannot remove package "Database Kernel": fir fatal error at Mo, Jul 10, 2006 at 1

  • Need some help in icon for s60 carbide!

    Can any one tell me where is the option I can changed this Icon? 1. Application Folder 2. Internet Folder 3. Video Center Application Plz hekp me out b'coz I almost finished my theme.....