Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

java.rmi.ConnectException using webstart Swing client with WL 8.1 SP2 in a clustered environment

26 views
Skip to first unread message

rolf

unread,
May 25, 2005, 8:08:07 AM5/25/05
to
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

0 new messages