Java.rmi.activation.ActivateFailedException

I get this error using Activation
java.rmi.activation.ActivateFailedException: failed to activate object; nested exception is:
java.rmi.activation.ActivationException: unable to create activation group; nested exception is:
java.io.IOException: The pipe is being closed
I haven't found an answer to this on the web, nobody seems to know. I must be doing something wrong, but I have no clue

i had the same problem, i imagine that you find the solution even if you did'nt have an answer to your post,
here is the output when i try to call a remote method:
java.rmi.activation.ActivateFailedException: failed to activate object; nested exception is:
     java.rmi.activation.ActivationException: unable to create activation group; nested exception is:
     java.io.IOException: Le canal de communication est sur le point d'�tre ferm�
please i need help....

Similar Messages

  • Java.rmi.activation.UnknownGroupException when startet from JDeveloper

    I'm currently working on a project using the activation feature of java. But when I try to debug my program with JDev3.1 I get this UnknownGroupException. (If I choose "run" inside JDev. - same result). If I try the same from a DOS-Shell using Sun's JDK1.3 the program works fine.
    Do you have any suggestions how to make it work with JDeveloper (ojvm) ?
    null

    Hi,
    I think we need some more information on this. I'm not familiar with the activation features in Java.
    What are the results if you try from a DOS-Shell using OJVM?
    Also, what are the results if you put -classic in the Java VM Parameters field of the Run/Debug tab in the project properties dialog box and then run or debug? This will force JDev not to use OJVM.
    I'm wondering if this is a problem with OJVM, or a problem with how JDev launches programs for run or debug.
    Thanks,
    Liz

  • RMI activation problem under LINUX

    When I try to run the activation example from the RMI tutorial, I get the following exception:
    Exception in thread "main" java.rmi.activation.ActivationException: ActivationSystem not running; nested exception is:
    java.rmi.NotBoundException: java.rmi.activation.ActivationSystem
    at java.rmi.activation.ActivationGroup.getSystem(ActivationGroup.java:453)
    at examples.activation.Setup.main(Setup.java:68)
    Caused by: java.rmi.NotBoundException: java.rmi.activation.ActivationSystem
    at sun.rmi.registry.RegistryImpl.lookup(RegistryImpl.java:106)
    at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source)
    at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:342)
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:207)
    at sun.rmi.transport.Transport$1.run(Transport.java:148)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
    at java.lang.Thread.run(Thread.java:536)
    at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
    at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
    at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:350)
    at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
    at java.rmi.Naming.lookup(Naming.java:84)
    at java.rmi.activation.ActivationGroup.getSystem(ActivationGroup.java:449)
    ... 1 more
    This is with J2SE 1.4.1 on RedHat 7.3 running a vanilla 2.4.18 kernel. I'm running everything out of shell scripts to keep from getting bitten by typos.
    Here's the punchline: The identical code works just fine on RedHat 6.2 (kernel 2.2.14 or so) - same 1.4.1.
    Netstat tells me there is something listening on the appropriate ports, and output from strace suggests that there is some traffic back and forth to the server. There is no firewall running - I unloaded ipchains in the interest of paranoia. (There is firewalling running on the working system, go figure...)
    Help? I can post more details if that would help resolve the problem.

    I wrote
    When I try to run the activation example from the RMI
    tutorial, I get the following exception:<snip>
    The key was this:
    The identical code works just
    fine on RedHat 6.2 (kernel 2.2.14 or so) - same 1.4.1."Identical" really was - I'd used a tar archive to make a complete copy of the code running on the RH 6.2 system. The copy included the file log/Logfile.1, written by rmid (or rmiregistry). This contains lots of IP addresses; I suspect it's more than a log. Since the original machine and the clone are separated by a firewall, attempts by the clone to contact the original failed.
    Deleting the "log" directory made the problem go away.

  • Java RMI or Servers

    I want to have a server process running on a Windows computer as long as the computer is on, but a user is not necessarily logged in. I don't want to have someone have to go physically to the computer, but I want this to run automatically. How can this be done? Is there something like a "cron" job (Unix) for Windows?
    Also, I want a Java process on Unix to connect to this Windows computer and run commands. How can the Windows process be sure that the authorized user is connecting to the environment? The thing is we are already inside a company within a firewall , protected from the outside world. However, within this project only 4-5 people should be able to run commands on the Windows computer, so how can I secure it in that manner?

    On the Page: Making a UnicastRemoteObject Activatable
    "This page is just for developers who wish to change an existing class from being a sub-class of UnicastRemoteObject to being a sub-class of java.rmi.activation.Activatable."
    But then the second paragraph:
    "Now with the introduction of the class java.rmi.activation.Activatable and the RMI daemon, rmid, programs can be written to register information about remote object implementations that should be created and execute "on demand," rather than running all the time. "
    The second paragraph states that Activatable is for running on demand and this page says this page is for changing the class to a sub-class of Activatable.
    I don't want something that can run on demand, I want it to run all the time.
    Also, I have never written an RMI program before. I know basic Socket's to do a server/client program that way but never done RMI so maybe I'm lost with this Activatable stuff.

  • Quick rmi activation question

    Hi folks,
    I am having a problem with one my activatable objects. Originally I was working on NT but now I'm on Linux and there is a strrange difference in behaviour between the two.
    My Activatable Object starts up once on NT and on any subsequent calls to that object the original 'activated' object is used and no new instance created. However on Linux it seems that SEVEN instances of this objects is created! It's very strange indeed.
    Does anyone have any ideas as to why this is?
    I will enclose the rmid logs and also the command I use to run rmid.
    Any help/suggestions would be greatly appreciated.
    Thanks in advance,
    Brian
    Command used to run the rmid
    ${JAVA_HOME}/bin/rmid -J-Djava.security.policy=/opt/arantech/current/etc/config/policy -C-Djava.rmi.server.logCalls=true -port 1098 -log /var/opt/arantech/assure/procman
    RMID log on startup ( notice all newInstance calls) :(
    Tue Jul 29 15:06:35 IST 2003:ExecGroup-0:err:29-Jul-2003 15:06:34 sun.rmi.server.UnicastServerRef logCall
    Tue Jul 29 15:06:35 IST 2003:ExecGroup-0:err:FINER: RMI TCP Connection(1)-192.168.1.107: [192.168.1.107: sun.rmi.transport.DGCImpl[0:0:0, 2]: java.rmi.dgc.Lease dirty(java.rmi.server.ObjID[], long, java.rmi.dgc.Lease)]
    Tue Jul 29 15:06:35 IST 2003:ExecGroup-0:err:29-Jul-2003 15:06:35 sun.rmi.server.UnicastServerRef logCall
    Tue Jul 29 15:06:35 IST 2003:ExecGroup-0:err:FINER: RMI TCP Connection(1)-192.168.1.107: [192.168.1.107: sun.rmi.server.ActivationGroupImpl[0]: public abstract java.rmi.MarshalledObject java.rmi.activation.ActivationInstantiator.newInstance(java.rmi.activation.ActivationID,java.rmi.activation.ActivationDesc) throws java.rmi.activation.ActivationException,java.rmi.RemoteException]
    Tue Jul 29 15:06:37 IST 2003:ExecGroup-1:err:29-Jul-2003 15:06:37 sun.rmi.server.UnicastServerRef logCall
    Tue Jul 29 15:06:37 IST 2003:ExecGroup-1:err:FINER: RMI TCP Connection(1)-192.168.1.107: [192.168.1.107: sun.rmi.transport.DGCImpl[0:0:0, 2]: java.rmi.dgc.Lease dirty(java.rmi.server.ObjID[], long, java.rmi.dgc.Lease)]
    Tue Jul 29 15:06:37 IST 2003:ExecGroup-1:err:29-Jul-2003 15:06:37 sun.rmi.server.UnicastServerRef logCall
    Tue Jul 29 15:06:37 IST 2003:ExecGroup-1:err:FINER: RMI TCP Connection(1)-192.168.1.107: [192.168.1.107: sun.rmi.server.ActivationGroupImpl[0]: public abstract java.rmi.MarshalledObject java.rmi.activation.ActivationInstantiator.newInstance(java.rmi.activation.ActivationID,java.rmi.activation.ActivationDesc) throws java.rmi.activation.ActivationException,java.rmi.RemoteException]
    Tue Jul 29 15:06:39 IST 2003:ExecGroup-2:err:29-Jul-2003 15:06:39 sun.rmi.server.UnicastServerRef logCall
    Tue Jul 29 15:06:39 IST 2003:ExecGroup-2:err:FINER: RMI TCP Connection(1)-192.168.1.107: [192.168.1.107: sun.rmi.transport.DGCImpl[0:0:0, 2]: java.rmi.dgc.Lease dirty(java.rmi.server.ObjID[], long, java.rmi.dgc.Lease)]
    Tue Jul 29 15:06:39 IST 2003:ExecGroup-2:err:29-Jul-2003 15:06:39 sun.rmi.server.UnicastServerRef logCall
    Tue Jul 29 15:06:39 IST 2003:ExecGroup-2:err:FINER: RMI TCP Connection(1)-192.168.1.107: [192.168.1.107: sun.rmi.server.ActivationGroupImpl[0]: public abstract java.rmi.MarshalledObject java.rmi.activation.ActivationInstantiator.newInstance(java.rmi.activation.ActivationID,java.rmi.activation.ActivationDesc) throws java.rmi.activation.ActivationException,java.rmi.RemoteException]
    Tue Jul 29 15:06:41 IST 2003:ExecGroup-3:err:29-Jul-2003 15:06:41 sun.rmi.server.UnicastServerRef logCall
    Tue Jul 29 15:06:41 IST 2003:ExecGroup-3:err:FINER: RMI TCP Connection(1)-192.168.1.107: [192.168.1.107: sun.rmi.transport.DGCImpl[0:0:0, 2]: java.rmi.dgc.Lease dirty(java.rmi.server.ObjID[], long, java.rmi.dgc.Lease)]
    Tue Jul 29 15:06:41 IST 2003:ExecGroup-3:err:29-Jul-2003 15:06:41 sun.rmi.server.UnicastServerRef logCall
    Tue Jul 29 15:06:41 IST 2003:ExecGroup-3:err:FINER: RMI TCP Connection(1)-192.168.1.107: [192.168.1.107: sun.rmi.server.ActivationGroupImpl[0]: public abstract java.rmi.MarshalledObject java.rmi.activation.ActivationInstantiator.newInstance(java.rmi.activation.ActivationID,java.rmi.activation.ActivationDesc) throws java.rmi.activation.ActivationException,java.rmi.RemoteException]
    Tue Jul 29 15:06:44 IST 2003:ExecGroup-4:err:29-Jul-2003 15:06:43 sun.rmi.server.UnicastServerRef logCall
    Tue Jul 29 15:06:44 IST 2003:ExecGroup-4:err:FINER: RMI TCP Connection(1)-192.168.1.107: [192.168.1.107: sun.rmi.transport.DGCImpl[0:0:0, 2]: java.rmi.dgc.Lease dirty(java.rmi.server.ObjID[], long, java.rmi.dgc.Lease)]
    Tue Jul 29 15:06:44 IST 2003:ExecGroup-4:err:29-Jul-2003 15:06:43 sun.rmi.server.UnicastServerRef logCall
    Tue Jul 29 15:06:44 IST 2003:ExecGroup-4:err:FINER: RMI TCP Connection(1)-192.168.1.107: [192.168.1.107: sun.rmi.server.ActivationGroupImpl[0]: public abstract java.rmi.MarshalledObject java.rmi.activation.ActivationInstantiator.newInstance(java.rmi.activation.ActivationID,java.rmi.activation.ActivationDesc) throws java.rmi.activation.ActivationException,java.rmi.RemoteException]
    Tue Jul 29 15:06:46 IST 2003:ExecGroup-5:err:29-Jul-2003 15:06:45 sun.rmi.server.UnicastServerRef logCall
    Tue Jul 29 15:06:46 IST 2003:ExecGroup-5:err:FINER: RMI TCP Connection(1)-192.168.1.107: [192.168.1.107: sun.rmi.transport.DGCImpl[0:0:0, 2]: java.rmi.dgc.Lease dirty(java.rmi.server.ObjID[], long, java.rmi.dgc.Lease)]
    Tue Jul 29 15:06:46 IST 2003:ExecGroup-5:err:29-Jul-2003 15:06:46 sun.rmi.server.UnicastServerRef logCall
    Tue Jul 29 15:06:46 IST 2003:ExecGroup-5:err:FINER: RMI TCP Connection(1)-192.168.1.107: [192.168.1.107: sun.rmi.server.ActivationGroupImpl[0]: public abstract java.rmi.MarshalledObject java.rmi.activation.ActivationInstantiator.newInstance(java.rmi.activation.ActivationID,java.rmi.activation.ActivationDesc) throws java.rmi.activation.ActivationException,java.rmi.RemoteException]
    Tue Jul 29 15:06:48 IST 2003:ExecGroup-6:err:29-Jul-2003 15:06:47 sun.rmi.server.UnicastServerRef logCall
    Tue Jul 29 15:06:48 IST 2003:ExecGroup-6:err:FINER: RMI TCP Connection(1)-192.168.1.107: [192.168.1.107: sun.rmi.transport.DGCImpl[0:0:0, 2]: java.rmi.dgc.Lease dirty(java.rmi.server.ObjID[], long, java.rmi.dgc.Lease)]
    Tue Jul 29 15:06:48 IST 2003:ExecGroup-6:err:29-Jul-2003 15:06:48 sun.rmi.server.UnicastServerRef logCall
    Tue Jul 29 15:06:48 IST 2003:ExecGroup-6:err:FINER: RMI TCP Connection(1)-192.168.1.107: [192.168.1.107: sun.rmi.server.ActivationGroupImpl[0]: public abstract java.rmi.MarshalledObject java.rmi.activation.ActivationInstantiator.newInstance(java.rmi.activation.ActivationID,java.rmi.activation.ActivationDesc) throws java.rmi.activation.ActivationException,java.rmi.RemoteException]
    Tue Jul 29 15:06:50 IST 2003:ExecGroup-7:err:29-Jul-2003 15:06:50 sun.rmi.server.UnicastServerRef logCall
    Tue Jul 29 15:06:50 IST 2003:ExecGroup-7:err:FINER: RMI TCP Connection(1)-192.168.1.107: [192.168.1.107: sun.rmi.transport.DGCImpl[0:0:0, 2]: java.rmi.dgc.Lease dirty(java.rmi.server.ObjID[], long, java.rmi.dgc.Lease)]
    Tue Jul 29 15:06:50 IST 2003:ExecGroup-7:err:29-Jul-2003 15:06:50 sun.rmi.server.UnicastServerRef logCall
    Tue Jul 29 15:06:50 IST 2003:ExecGroup-7:err:FINER: RMI TCP Connection(1)-192.168.1.107: [192.168.1.107: sun.rmi.server.ActivationGroupImpl[0]: public abstract java.rmi.MarshalledObject java.rmi.activation.ActivationInstantiator.newInstance(java.rmi.activation.ActivationID,java.rmi.activation.ActivationDesc) throws java.rmi.activation.ActivationException,java.rmi.RemoteException]

    Could you have run your activation-setup program seven times on Linux? Clean out your $JAVA_HOME/bin/log directory and run the setup once, then try your client again.
    EJP

  • Java.rmi.ServerException: Server unavailable, please try later

    I'm testing a service proxy in JDeveloper 10.1.3.1.
    I'm using encryption and signing.
    Now that I have the encryption/signing key loading, I get the following error:
    WARNING: Subject Key ID extension not found.Using BST Referencing scheme
    java.rmi.ServerException:
    start fault message:
    Server unavailable, please try later
    :end fault message
         at oracle.j2ee.ws.client.StreamingSender._raiseFault(StreamingSender.java:560)
         at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:396)
         at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:112)
         at pkg.service.client.runtime.RequestSoap_Stub.execute(RequestSoap_Stub.java:84)
         at pkg.service.client.RequestSoapClient.execute(RequestSoapClient.java:48)
         at pkg.service.client.RequestSoapClient.main(RequestSoapClient.java:34)
    Process exited.
    Debugger disconnected from local process.
    Is this a failure of the RMI server on my side or is it a failure to connect to the service? Is the destination service sending this to me or just the transmission code?
    It looks to me from the trace and the vagueness of the message that this is from the Oracle transmission code in the StreamingSender class, not a message received from the destination webservice. Would love some confirmation, though.
    Thanks for any help.

    This error generally means there is trouble in the host file, or there is trouble with anti-virus software. Check this section of the support document that you came here from.
    Unable to contact the iOS software update server gs.apple.com
    Error 1004, 1013, 1638, 3014, 3194: These errors may be the result of the connection to gs.apple.com being redirected or blocked. Follow these steps to resolve these errors: 
    Install the latest version of iTunes.
    Check security software. Ensure that communication to gs.apple.com is allowed. Follow this article for assistance with security software. iTunes for Windows: Troubleshooting security software issues.
    Check the hosts file. The restore will fail if there is an active entry to redirect gs.apple.com. Follow iTunes: Advanced iTunes Store troubleshooting to edit the hosts file or revert to a default hosts file. See section "Blocked by configuration: (Mac OS X/Windows) > Rebuild network information".
    Try to restore from another known-good computer and network.
    If the errors persist on another computer, the device may need service.

  • 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

  • Java.rmi.UnmarshalException: skeleton class not found but required for clie

    Hello everyone,
    I am new to RMI and getting a strange exception. I am using Java 1.5.0_07 both on client and server. They are running on the same machine, the rmi registry is started inside the server application.
    I am wondering why java complains about skeletons, I thought they are automatically created when using java 5.0?
    Please have a look at the stacktrace below.
    Thank you for your help.
    Best Regards
    Patric
    java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
         java.rmi.UnmarshalException: error unmarshalling call header; nested exception is:
         java.rmi.UnmarshalException: skeleton class not found but required for client version
         sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:325)
         sun.rmi.transport.Transport$1.run(Transport.java:153)
         java.security.AccessController.doPrivileged(Native Method)
         sun.rmi.transport.Transport.serviceCall(Transport.java:149)
         sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
         sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
         java.lang.Thread.run(Thread.java:595)
         sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
         sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
         sun.rmi.server.UnicastRef.invoke(UnicastRef.java:343)
         sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
         java.rmi.Naming.lookup(Naming.java:84)
         org.apache.jsp.index_jsp._jspService(index_jsp.java:58)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

    The full class path information that I can gather is as follows (some of the library path locations could be suspect...):
    Class path: /edge/node3/hotfix::/edge/node3/current/lib/JMdsApi.jar:/edge/node3/current/lib/MemoryProfilingAgent.jar:/edge/node3/current/lib/T2common-2.6.0-SNAPSHOT.3200.jar:/edge/node3/current/lib/T2scripting-jython.jar:/edge/node3/current/lib/activation.jar:/edge/node3/current/lib/alib.jar:/edge/node3/current/lib/alibom.jar:/edge/node3/current/lib/ant.jar:/edge/node3/current/lib/authapi.jar:/edge/node3/current/lib/bbdlapi.jar:/edge/node3/current/lib/bcpg-jdk15-136.jar:/edge/node3/current/lib/bcprov-jdk15-136.jar:/edge/node3/current/lib/c3p0-0.9.1.2.jar:/edge/node3/current/lib/castor-1.1-codegen-anttask.jar:/edge/node3/current/lib/castor-1.1-codegen.jar:/edge/node3/current/lib/castor-1.1-xml.jar:/edge/node3/current/lib/castor-1.1.jar:/edge/node3/current/lib/colt-1.2.0.jar:/edge/node3/current/lib/common-annotations.jar:/edge/node3/current/lib/commons-beanutils.jar:/edge/node3/current/lib/commons-codec-1.3.jar:/edge/node3/current/lib/commons-collections-3.2.1.jar:/edge/node3/current/lib/commons-jexl-1.1.jar:/edge/node3/current/lib/commons-lang-2.3.jar:/edge/node3/current/lib/commons-logging-1.1.1.jar:/edge/node3/current/lib/commons-net-1.4.1.jar:/edge/node3/current/lib/dsn.jar:/edge/node3/current/lib/eagleapi.jar:/edge/node3/current/lib/ezmorph-1.0.3.jar:/edge/node3/current/lib/f2-loader-1.8.jar:/edge/node3/current/lib/fasttrade-boviewer-1.0.1.jar:/edge/node3/current/lib/hsqldb.jar:/edge/node3/current/lib/icu4j-3.4.4.jar:/edge/node3/current/lib/ivy.jar:/edge/node3/current/lib/janino.jar:/edge/node3/current/lib/janus-sdk-1.7.0.0.jar:/edge/node3/current/lib/jasypt-1.4.1.jar:/edge/node3/current/lib/javolution.jar:/edge/node3/current/lib/jcalendar-1.3.2.jar:/edge/node3/current/lib/jcl-over-slf4j-1.5.6.jar:/edge/node3/current/lib/jcommon-1.0.9.jar:/edge/node3/current/lib/jconn2.jar:/edge/node3/current/lib/jconn3-6.05-b26214.jar:/edge/node3/current/lib/jdom.jar:/edge/node3/current/lib/jfreechart-1.0.5.jar:/edge/node3/current/lib/jgroups-all.jar:/edge/node3/current/lib/jline.jar:/edge/node3/current/lib/jmkv123p1.jar:/edge/node3/current/lib/jna.jar:/edge/node3/current/lib/joda-time-1.5.2.jar:/edge/node3/current/lib/jscience.jar:/edge/node3/current/lib/json-lib-2.2.1-jdk15.jar:/edge/node3/current/lib/jul-to-slf4j-1.5.6.jar:/edge/node3/current/lib/junit.jar:/edge/node3/current/lib/jython.jar:/edge/node3/current/lib/log4j-1.2.15.jar:/edge/node3/current/lib/log4j-over-slf4j-1.5.6.jar:/edge/node3/current/lib/loggablePreparedStatement-1.6.jar:/edge/node3/current/lib/looks-2.1.4.jar:/edge/node3/current/lib/mailapi.jar:/edge/node3/current/lib/model-12021.jar:/edge/node3/current/lib/mysql-connector-java-5.1.7-bin.jar:/edge/node3/current/lib/opencsv-1.8.jar:/edge/node3/current/lib/rfa.jar:/edge/node3/current/lib/rspcore.jar:/edge/node3/current/lib/slf4j-api-1.5.6.jar:/edge/node3/current/lib/slf4j-log4j12-1.5.6.jar:/edge/node3/current/lib/smtp.jar:/edge/node3/current/lib/smtphandler-0.6.jar:/edge/node3/current/lib/spring-2.5.2.jar:/edge/node3/current/lib/statsvn.jar:/edge/node3/current/lib/swingx-0.9.3.jar:/edge/node3/current/lib/t2-12021.jar:/edge/node3/current/lib/testng-5.9-jdk15.jar:/edge/node3/current/lib/tibmsg.jar:/edge/node3/current/lib/tibrvj.jar:/edge/node3/current/lib/trove.jar:/edge/node3/current/lib/velocity-tools.jar:/edge/node3/current/lib/velocity.jar:/edge/node3/current/lib/xalan.jar:/edge/node3/current/lib/xerces.jar:/edge/node3/current/lib/patng/activeio-core-3.0.0-incubator.jar:/edge/node3/current/lib/patng/activemq-core-4.1.1.jar:/edge/node3/current/lib/patng/avalon-framework-4.1.3.jar:/edge/node3/current/lib/patng/backport-util-concurrent-2.2.jar:/edge/node3/current/lib/patng/binding-1.4.0.jar:/edge/node3/current/lib/patng/cglib-nodep-2.1_3.jar:/edge/node3/current/lib/patng/common-1.30.jar:/edge/node3/current/lib/patng/commons-cli-1.0.jar:/edge/node3/current/lib/patng/commons-configuration-1.2.jar:/edge/node3/current/lib/patng/commons-discovery-0.2.jar:/edge/node3/current/lib/patng/commons-math-1.1.jar:/edge/node3/current/lib/patng/concurrent-1.3.4.jar:/edge/node3/current/lib/patng/geronimo-j2ee-management_1.0_spec-1.0.jar:/edge/node3/current/lib/patng/geronimo-jms_1.1_spec-1.0.jar:/edge/node3/current/lib/patng/logkit-1.0.1.jar:/edge/node3/current/lib/patng/mina-core-1.0.1.jar:/edge/node3/current/lib/patng/mina-filter-ssl-1.0.1.jar:/edge/node3/current/lib/patng/mina-java5-1.0.1.jar:/edge/node3/current/lib/patng/mx4j-remote-3.0.1.jar:/edge/node3/current/lib/patng/mx4j-tools-3.0.1.jar:/edge/node3/current/lib/patng/org.apache.felix.framework-1.0.0.jar:/edge/node3/current/lib/patng/org.osgi.core-1.0.0.jar:/edge/node3/current/lib/patng/pat-dt-common-1.18.jar:/edge/node3/current/lib/patng/pat-sdt-1.18.jar:/edge/node3/current/lib/patng/patNg-api-1.27.1.jar:/edge/node3/current/lib/patng/patNg-server-aoc-1.21.jar:/edge/node3/current/lib/patng/patNg-server-common-1.21.jar:/edge/node3/current/lib/patng/patNg-server-session-manager-1.21.jar:/edge/node3/current/lib/patng/patNg-utils-1.27.1.jar:/edge/node3/current/lib/patng/qpid-broker-2.2.2.0.jar:/edge/node3/current/lib/patng/qpid-client-2.2.2.0.jar:/edge/node3/current/lib/patng/qpid-common-2.2.2.0.jar:/edge/node3/current/lib/patng/qpid-mina-core-2.2.2.0.jar:/edge/node3/current/lib/patng/rsee-2.11.jar:/edge/node3/current/lib/patng/servlet-api-2.3.jar:/edge/node3/current/lib/patng/silk-1.3.jar:/edge/node3/current/lib/patng/slf4j-api-1.4.0.jar:/edge/node3/current/lib/patng/slf4j-log4j12-1.4.0.jar:/edge/node3/current/lib/patng/validation-1.2.0.jar
    Boot class path: /apps/jdk/1.6.0_13/linux/jre/lib/resources.jar:/apps/jdk/1.6.0_13/linux/jre/lib/rt.jar:/apps/jdk/1.6.0_13/linux/jre/lib/sunrsasign.jar:/apps/jdk/1.6.0_13/linux/jre/lib/jsse.jar:/apps/jdk/1.6.0_13/linux/jre/lib/jce.jar:/apps/jdk/1.6.0_13/linux/jre/lib/charsets.jar:/apps/jdk/1.6.0_13/linux/jre/classes:/tmp/yjp200811122006.jar
    Library path: /apps/jdk/1.6.0_13/linux/jre/lib/i386/server:/apps/jdk/1.6.0_13/linux/jre/lib/i386:/apps/jdk/1.6.0_13/linux/jre/../lib/i386::/edge/node3/current/lib:/home/eqdev/eqedgeuat/yourkit_7_5_11/yjp-7.5.11/bin/linux-x86-32:/edge/node3/current/lib:/home/eqdev/eqedgeuat/yourkit_7_5_11/yjp-7.5.11/bin/linux-x86-32:/usr/java/packages/lib/i386:/lib:/usr/lib

  • Java.rmi.RemoteException - on deploying a webservice through NWDS.

    Hi All,
    We have created and successfully build a webservice application in NWDS.
    Now when the activity is activated in Activation view, the build goes fine but deployment gets aborted with the following error:
    Caught exception during application deployment from SAP J2EE Engine's deploy service:
    java.rmi.RemoteException: Cannot deploy application syngenta.com/crmws~usprvwebservice..
    Reason: Webservices common deployment exception! The reason is: Error occurred, trying to update web services for application
    The Runtime system is on SAP J2EE ENGINE CORE 7.00 - SPS 19.
    For the same issue i checked in SDN and found out a SAP NOTE - 956443, according to which 2 sda files 'webservices' and 'webservices_lib'  were to be deployed on the server.
    We have done the same and restarted the engine also. But still on deployment we got the same error again.
    Just wanted to know the workaround for this issue and whether some updated version of this SAP Note does exist?
    Regards,
    Shailesh

    Hi All,
    Now the above issue has been resolved and the webservice is getting deployed successfully, and is visible under Web service Navaigator of the desired server.
    But when i am clicking on the webservice name i am getting an error:
    Cannot download WSDL from http://<name>:<port>/webservicename/Config1?wsdl: java.lang.NullPointerException.
    Could you please help out with this issue.
    Regards,
    Shailesh

  • Java.rmi.RemoteException: [Deployer:149150]An IOException occurred while re

    Hi All,
    I am getting below error in logs, is any body has faced this problem ?
    <28.06.2011 13:33 Uhr GMT> <Warning> <Deployer> <ADFBDFEFRM> <BD_AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1309267994877> <BEA-149078> <Stack trace for message 149004
    java.rmi.RemoteException: [Deployer:149150]An IOException occurred while reading input. : with response code '401' : with response message 'Unauthorized'
         at weblogic.deploy.service.internal.transport.http.HTTPMessageSender.sendMessageToServerURL(HTTPMessageSender.java:297)
         at weblogic.deploy.service.internal.transport.http.HTTPMessageSender.sendMessageToTargetServer(HTTPMessageSender.java:123)
         at weblogic.deploy.service.internal.transport.CommonMessageSender$1.run(CommonMessageSender.java:299)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

    Hi Akash,
    Did you manage to resolve this issue?
    If so, please let me know. I am facing a similar issue as well.
    Thanks,
    Ananya

  • JSP client in RMI system - java.rmi.UnmarshalException: error unmarshalling

    Hi,
    Im developing a login part for a distributed airline reservation system using JSP as the client but while executing the jsp, the error that is being catched is :
    java.rmi.UnmarshalException: error unmarshalling return; nested exception is: java.lang.ClassNotFoundException: AirlineImpl_Stub (no security manager: RMI class loader disabled)
    Here are my codes:
    //Interface - Airline.java
    package Air;
    import java.rmi.*;
    public interface Airline extends Remote
         public int CheckUname(String username) throws RemoteException;
    }//implementation - AirlineImpl.java
    import java.net.*;
    import java.io.*;
    import java.sql.*;
    import java.rmi.*;
    import java.rmi.server.UnicastRemoteObject;
    public class AirlineImpl extends UnicastRemoteObject implements Airline
         public AirlineImpl() throws RemoteException
              super();
         public int CheckUname(String username) throws RemoteException
              try
                   int UnameCount = 0;
                   String xxx = "eaglebeta";
                   if(username.equals(xxx)
                        UnameCount++;
                   return UnameCount;
              catch (Exception e3)
                   System.out.println("Error: " + e3);
                   return 0;
    }//Server - AirlineServer.java
    import java.rmi.*;
    import java.rmi.server.UnicastRemoteObject;
    public class AirlineServer
         public static void main(String arg[])
              try
                   Airline myAirline = new AirlineImpl();
                   Naming.rebind("Airline", myAirline);
                   System.out.println();
                   System.out.println("************************************");
                   System.out.println(" >>> Airline Reservation System <<< ");
                   System.out.println("    >>> Server is Listening! <<<    ");
                   System.out.println("************************************");
                   System.out.println();
              catch (RemoteException e)
                   //System.out.println("Error: " + e);
                   System.out.println("RMI Registry is not active!");
                   System.out.println("Activate RMI Registry and retry!");
                   System.out.println("Bye bye, exiting...");
              catch (java.net.MalformedURLException e)
                   //System.out.println("URL Error: "+ e);
                   System.out.println("URL Malformed!");
                   System.out.println("Bye bye, exiting...");
    }//JSP client - newuser.jsp
    <%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*" errorPage="" %>
    <%@ page import="java.rmi.*, javax.servlet.*" %>
    <%@ page import="java.util.*, java.lang.*, java.io.*, Air.Airline" %>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    </head>
    <body bgcolor="#99CCFF">
    <%
    Object Airline = null;
    try
    Airline Air = (Airline)Naming.lookup("rmi://localhost/Airline");
    String Name = "eaglebeta";
    if(Air.CheckUname(Name)>0)
         %>
              Username already exists, choose another name
         <%
    else
         %>
         <%=Name%>
         <%
    catch (Exception e1)
    %>
    <%=e1%>
    <%
    %>
    </body>
    </html>The server, implementation, interface and stub are in a folder named "Airline Server" located on my desktop.
    The interface and stub again are in another folder named "Air" located in the "classes\Air" directory which is located in the tomcat 5.5 installation directory!
    The JSP client is located in the "Root" folder in the tomcat 5.5 installation derectory!
    1. I start the registry in the "Airline Server" folder by typing rmiregistry
    2. Load the Airline Server - java AirlineServer
    3. Call the jsp - http://localhost/newuser.jsp
    And i get the following error:
    java.rmi.UnmarshalException: error unmarshalling return; nested exception is: java.lang.ClassNotFoundException: AirlineImpl_Stub (no security manager: RMI class loader disabled)
    Please help me to solve this problem!

    When I am including security manager in my JSP code, the browser just get blank without any display
    if(System.getSecurityManager() == null)
         System.setProperty("java.security.policy", "java.policy");
        System.setSecurityManager(new RMISecurityManager());
    }Please, someone solve my problem! Im realy stuck and I don't know how to proceed! Provide me with a solution or any tutorial that would help me...

  • Java.rmi.server.ExportException: Listen failed on port: 1099;

    Hi All,
    I am trying to run RMI tutorial from sun's java tutorial. It has 8 parts. The last two parts are "Compiling the Example Programs" and "Running the Example Programs".
    Until "Compiling the Example Programs", I am okay.
    But I am stuck in the last part, "Running the Example Programs". When I use the command "rmiregistry", it gives me a list of exceptions as follows.
    c:\home\ann\src>rmiregistry
    java.rmi.server.ExportException: Listen failed on port: 1099; nested exception is:
    java.net.SocketException: Permission denied: listen failed
    at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:312)
    at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:218)
    at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:393)
    at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:129)
    at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:190)
    at sun.rmi.registry.RegistryImpl.setup(RegistryImpl.java:92)
    at sun.rmi.registry.RegistryImpl.<init>(RegistryImpl.java:78)
    at sun.rmi.registry.RegistryImpl.main(RegistryImpl.java:322)
    Caused by: java.net.SocketException: Permission denied: listen failed
    at java.net.PlainSocketImpl.socketListen(Native Method)
    at java.net.PlainSocketImpl.listen(PlainSocketImpl.java:380)
    at java.net.ServerSocket.bind(ServerSocket.java:320)
    at java.net.ServerSocket.<init>(ServerSocket.java:185)
    at java.net.ServerSocket.<init>(ServerSocket.java:97)
    at sun.rmi.transport.proxy.RMIDirectSocketFactory.createServerSocket(RMIDirectSocketFactory.java:27)
    at sun.rmi.transport.proxy.RMIMasterSocketFactory.createServerSocket(RMIMasterSocketFactory.java:333)
    at sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(TCPEndpoint.java:649)
    at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:299)
    ... 7 more
    c:\home\ann\src>
    Then, I try to use "start rmiregistry" command. At that time, a command window stating the above exception popup just for a while and closed automatically.
    Now, I use jdk1.6.0_16 on Windows Vista.
    Previously, I used j2sdk1.4.2_19. That time, I could run "start rmiregistry" properly and could try testing another RMI example application.
    But if I use j2sdk1.4.2_19, compiling some statements in the sun's RMI tutorial gives me error. So, I change to use jdk1.6.0_16 for this tutorial. "jdk1.6.0_16" compiles all programs in the tutorial with no error. But I can't run the statement "start rmiregistry".
    I use the command prompt from Vista's default Administrator account and already disable User Account Control too.
    Any help, please!
    Thanks a lot,
    atzm111

    Hi,
    This is the result of netstat -an
    c:\home\ann\src>netstat -an
    Active Connections
    Proto Local Address Foreign Address State
    TCP 0.0.0.0:135 0.0.0.0:0 LISTENING
    TCP 0.0.0.0:2868 0.0.0.0:0 LISTENING
    TCP 0.0.0.0:3999 0.0.0.0:0 LISTENING
    TCP 0.0.0.0:49152 0.0.0.0:0 LISTENING
    TCP 0.0.0.0:49153 0.0.0.0:0 LISTENING
    TCP 0.0.0.0:49154 0.0.0.0:0 LISTENING
    TCP 192.168.1.102:139 0.0.0.0:0 LISTENING
    TCP 192.168.1.102:49475 64.233.189.17:80 ESTABLISHED
    TCP 192.168.1.102:49620 64.233.189.83:80 ESTABLISHED
    TCP 192.168.1.102:49625 72.5.124.102:80 ESTABLISHED
    TCP 192.168.1.102:49626 72.5.124.102:80 ESTABLISHED
    TCP 192.168.1.102:49627 72.5.124.102:80 ESTABLISHED
    TCP 192.168.1.102:49628 72.5.124.102:80 ESTABLISHED
    TCP 192.168.1.102:49629 72.5.124.102:80 ESTABLISHED
    TCP 192.168.1.102:49631 72.5.124.61:80 TIME_WAIT
    TCP 192.168.1.102:49634 124.155.222.16:80 ESTABLISHED
    TCP [::]:135 [::]:0 LISTENING
    TCP [::]:49152 [::]:0 LISTENING
    TCP [::]:49153 [::]:0 LISTENING
    TCP [::]:49154 [::]:0 LISTENING
    UDP 0.0.0.0:123 *:*
    UDP 0.0.0.0:500 *:*
    UDP 0.0.0.0:4500 *:*
    UDP 0.0.0.0:5355 *:*
    UDP 127.0.0.1:1900 *:*
    UDP 127.0.0.1:51196 *:*
    UDP 127.0.0.1:64757 *:*
    UDP 192.168.1.102:137 *:*
    UDP 192.168.1.102:138 *:*
    UDP 192.168.1.102:1900 *:*
    UDP 192.168.1.102:51195 *:*
    UDP [::]:123 *:*
    UDP [::]:500 *:*
    UDP [::]:5355 *:*
    UDP [::1]:1900 *:*
    UDP [::1]:51193 *:*
    UDP [fe80::100:7f:fffe%16]:1900 *:*
    UDP [fe80::100:7f:fffe%16]:51194 *:*
    UDP [fe80::18c1:1fa4:382b:261%12]:1900 *:*
    UDP [fe80::18c1:1fa4:382b:261%12]:51191 *:*
    UDP [fe80::69bc:321e:5e99:dc7c%11]:1900 *:*
    UDP [fe80::69bc:321e:5e99:dc7c%11]:51192 *:*
    UDP [fe80::a0a0:89c2:b2fd:e4b9%13]:1900 *:*
    UDP [fe80::a0a0:89c2:b2fd:e4b9%13]:51190 *:*
    c:\home\ann\src>
    So, port 1099 is not in use. I don't know how to check your second fact. I'll find it out coz I can't ask you. :D
    Thanks!

  • REGARDING :::Caused by: java.rmi.RemoteException: Transaction Rolledback.;

    Hi ,
    I use weblogic 9.2 server . I got this error and am getting this again and again ...
    actually this is a test bed environment , newly setup one based on production environment.
    can any one help me out ??
    Caused by: java.rmi.RemoteException: Transaction Rolledback.; nested exception is:
    weblogic.transaction.internal.TimedOutException: Transaction timed out after 122 seconds
    BEA1-0012E646C6D14C8E60D6
    at weblogic.ejb.container.internal.EJBRuntimeUtils.throwRemoteException(EJBRuntimeUtils.java:95)
    at weblogic.ejb.container.internal.BaseEJBObject.postInvoke1(BaseEJBObject.java:514)
    at weblogic.ejb.container.internal.StatelessEJBObject.postInvoke1(StatelessEJBObject.java:72)
    at weblogic.ejb.container.internal.BaseEJBObject.postInvokeTxRetry(BaseEJBObject.java:374)
    at com.mountain.molehill.ejb.controller.HandleSystemAdminEJB_rbrj0q_EOImpl.handleEvent(HandleSystemAdminEJB_rbrj0q_EOImpl.java:365)
    ... 29 more
    Caused by: weblogic.transaction.internal.TimedOutException: Transaction timed out after 122 seconds
    BEA1-0012E646C6D14C8E60D6
    at weblogic.transaction.internal.ServerTransactionImpl.wakeUp(ServerTransactionImpl.java:1721)
    at weblogic.transaction.internal.ServerTransactionManagerImpl.processTimedOutTransactions(ServerTransactionManagerImpl.java:1560)
    at weblogic.transaction.internal.TransactionManagerImpl.wakeUp(TransactionManagerImpl.java:1919)
    at weblogic.transaction.internal.ServerTransactionManagerImpl.wakeUp(ServerTransactionManagerImpl.java:1468)
    at weblogic.transaction.internal.WLSTimer.timerExpired(WLSTimer.java:35)
    at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:265)
    at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
    ... 2 more
    DO I NEED TO CHANGE ANYTHING IN THE CONFIGURATION
    Thanks in advance

    Adding to the above post >>>
    I also get the following errors
    java.sql.SQLException: The transaction is no longer active - status: 'Marked rollback. [Reason=weblogic.transaction.internal.TimedOutException: Transaction timed out after 121 seconds
    BEA1-0011E646C6D14C8E60D6]'. No further JDBC access is allowed within this transaction.
         at weblogic.jdbc.wrapper.JTSConnection.checkIfRolledBack(JTSConnection.java:192)
         at weblogic.jdbc.wrapper.JTSConnection.checkConnection(JTSConnection.java:202)
         at weblogic.jdbc.wrapper.ResultSet.preInvocationHandler(ResultSet.java:59)
         at weblogic.jdbc.wrapper.ResultSet_oracle_jdbc_driver_OracleResultSetImpl.getString(Unknown Source)
         at org.hibernate.type.StringType.get(StringType.java:16)
         at org.hibernate.type.NullableType.nullSafeGet(NullableType.java:77)
         at org.hibernate.type.NullableType.nullSafeGet(NullableType.java:68)
         at org.hibernate.type.AbstractType.hydrate(AbstractType.java:80)
         at org.hibernate.type.ComponentType.hydrate(ComponentType.java:422)
         at org.hibernate.type.ComponentType.nullSafeGet(ComponentType.java:182)
         at org.hibernate.loader.Loader.getKeyFromResultSet(Loader.java:726)
         at org.hibernate.loader.Loader.getRowFromResultSet(Loader.java:284)
         at org.hibernate.loader.Loader.doQuery(Loader.java:395)
         at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:210)
         at org.hibernate.loader.Loader.doList(Loader.java:1562)
         at org.hibernate.loader.Loader.list(Loader.java:1545)
         at org.hibernate.hql.classic.QueryTranslatorImpl.list(QueryTranslatorImpl.java:886)
         at org.hibernate.impl.SessionImpl.list(SessionImpl.java:840)
         at org.hibernate.impl.QueryImpl.list(QueryImpl.java:74)
    2007-11-19 03:19:53,358|WARN|org.hibernate.util.JDBCExceptionReporter|logExceptions|SQL Error: 0, SQLState: null
    2007-11-19 03:19:53,358|ERROR|org.hibernate.util.JDBCExceptionReporter|logExceptions|The transaction is no longer active - status: 'Marked rollback. [Reason=weblogic.transaction.internal.TimedOutException: Transaction timed out after 121 seconds
    BEA1-0011E646C6D14C8E60D6]'. No further JDBC access is allowed within this transaction.

  • Writing a custom RMI Activator process

    Hello Group,
    I am in the process of implementing a custom RMI activation scheme, in which remote Activatable objects will be hosted in a custom EXE process, instead of the standard Java.exe/Javaw.exe. I intend to use JNI to create the JVM in this custom EXE process and then load Java classes. I have used JNI to create JVMs in native processes before, but have no experience writing custom RMI activation systems.
    Has anyone attempted this before, and knows if there are any gotchas that I should know early on?
    Thanks,
    Ranjit

    I have a breakthrough. I am able to host a simple RMI server inside a custom EXE. All I do is inside the main of a Win32 EXE, create the JVM and use JNI to call the ‘main’ of a Java class I wrote below.
    This class runs (some undocumented) code to bootstrap the RMI machinery. Hereafter my EXE process process remains alive and is available to service RMI requests. Using this approach, I wouldn’t need to recompile java.c inorder to rename it as long as my custom JNI code is able to parse in all the VM options passed in by RMID in order to create the JVM.
    I was missing the crucial step of calling back into rmid (the Activator) and registering the newly created group, only after which would rmid start creating instances of the remote object. Your advice that I carefully read the spec helped!
    public class Host {
    public static void main(String[] args) throws Exception {
    Class clsInputStream = Class.forName("sun.rmi.server.MarshalInputStream");
    Constructor ctor = clsInputStream.getConstructor(InputStream.class);
    Method readObj = clsInputStream.getMethod("readObject", null);
    Method readLong = clsInputStream.getMethod("readLong", null);
    // Instantiate MarshalInputStream
    Object in = ctor.newInstance(System.in);
    // Read all the data passed in by the Activator (rmid)
    ActivationGroupID id = (ActivationGroupID) readObj.invoke(in);
    ActivationGroupDesc desc = (ActivationGroupDesc) readObj.invoke(in);
    long incarnation = (Long) readLong.invoke(in);
    // Create the ActivationGroup
    ActivationGroup grp = ActivationGroup.createGroup(id, desc, incarnation);
    // Callback into rmid to register the group.
    ActivationGroup.getSystem().activeGroup(id, grp, incarnation);
    // rmid will now invoke ActivationGroup.newInstance to create the RMI server
    Thanks,
    Ranjit

  • BEA-000126 java.rmi.MarshalException: failed to marshal

    We are getting the following error in our clustered QA environment. We run Weblogic 10.3.3.0 on linux.
    ####<Mar 29, 2011 3:59:54 PM CDT> <Error> <Cluster> <app2.qa.server.com> <qa_app2j> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1301432394933> <BEA-000126> <All session objects should be serializable to replicate. Check the objects in your session. Failed to replicate non-serializable object.
    java.rmi.MarshalException: failed to marshal update(Lweblogic.cluster.replication.ROID;ILjava.io.Serializable;Ljava.lang.Object;); nested exception is:
    java.io.NotSerializableException: com.tjf.admin.virtualFair.Job$1
    at weblogic.rjvm.BasicOutboundRequest.marshalArgs(BasicOutboundRequest.java:92)
    at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:221)
    at weblogic.cluster.replication.ReplicationManager_1033_WLStub.update(Unknown Source)
    at sun.reflect.GeneratedMethodAccessor15419.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at weblogic.cluster.replication.SecureReplicationInvocationHandler$ReplicationServicesInvocationAction.run(SecureReplicationInvocationHandler.java:184)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.cluster.replication.SecureReplicationInvocationHandler.invoke(SecureReplicationInvocationHandler.java:154)
    at $Proxy98.update(Unknown Source)
    at weblogic.cluster.replication.ReplicationManager.updateSecondary(ReplicationManager.java:535)
    at weblogic.servlet.internal.session.ReplicatedSessionData.syncSession(ReplicatedSessionData.java:594)
    at weblogic.servlet.internal.session.ReplicatedSessionContext.sync(ReplicatedSessionContext.java:85)
    at weblogic.servlet.internal.ServletRequestImpl$SessionHelper.syncSession(ServletRequestImpl.java:2810)
    at weblogic.servlet.internal.ServletRequestImpl$SessionHelper.syncSession(ServletRequestImpl.java:2785)
    at weblogic.servlet.internal.ServletResponseImpl$1.run(ServletResponseImpl.java:1480)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.ServletResponseImpl.send(ServletResponseImpl.java:1474)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1455)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Here is the java file that is causing this:
    package com.tjf.admin.virtualFair;
    import com.tjf.TargetedJobFairsConstants;
    import com.tjf.util.TargetedJobFairsToolBox;
    import org.apache.log4j.Logger;
    import java.io.Serializable;
    import java.sql.Connection;
    import java.sql.PreparedStatement;
    import java.sql.ResultSet;
    import java.util.Comparator;
    import java.util.TreeMap;
    public class Job implements Serializable {
         protected int id;
         protected String name;
         protected String description;
         protected int companyId;
         protected String hash;
         private static Logger logger = initializeLogger();
         protected static Logger initializeLogger() {
              Logger logger = Logger.getLogger(TargetedJobFairsConstants.TJF_LOG4J_NAME);
              logger.info("logger initialized!");
              return logger;
         public Job(String name, String description, int companyId) {
              this.name = name;
              this.description = description;
              this.companyId = companyId;
         public Job(int id, String name, String description, int companyId) {
              this.id = id;
              this.name = name;
              this.description = description;
              this.companyId = companyId;
         public Job(String name, String description) {
              this.name = name;
              this.description = description;
              this.companyId = companyId;
         public String getHash() {
              if (id != -1 && name != null && !name.equals("")) {
                   return TargetedJobFairsToolBox.createHash(name, "" + id);
              } else {
                   return null;
         public int getCompanyId() {
              return companyId;
         public void setCompanyId(int companyId) {
              this.companyId = companyId;
         public int getId() {
              return id;
         public void setId(int id) {
              this.id = id;
         public String getName() {
              return name;
         public void setName(String name) {
              this.name = name;
         public String getDescription() {
              return description;
         public void setDescription(String description) {
              this.description = description;
         public static boolean validateName(String name, StringBuffer message) {
              if (name != null && !name.trim().equals("")) {
                   // check for duplicated Virtual Fair Company Name
                   return true;
              } else {
                   if (message.length() > 0) {
                        message.append(", Name ");
                   } else {
                        message.append(" Name ");
                   return false;
         public static boolean validateDescription(String description, StringBuffer message) {
              if (description != null && !description.trim().equals("")) {
                   return true;
              } else {
                   if (message.length() > 0) {
                        message.append(", Description ");
                   } else {
                        message.append(" Description ");
                   return false;
         public static boolean validateCompanyIDString(String companyID, StringBuffer message) {
              if (companyID != null && !companyID.trim().equals("")) {
                   return true;
              } else {
                   if (message.length() > 0) {
                        message.append(", unknown virtual fair error(32) ");
                   } else {
                        message.append(" unknown virtual fair error(32) ");
                   return false;
         protected boolean insertJob(Connection tjfConn, StringBuffer message) {
              PreparedStatement insertJobStmt = null;
              String insertJobSQL = null;
              try {
                   insertJobSQL = "insert into VIRTUAL_FAIR_JOB ( NAME, DESCRIPTION, COMPANY_ID ) " +
                             "values (?, ?, ?) ";
                   insertJobStmt = tjfConn.prepareStatement(insertJobSQL);
                   insertJobStmt.setString(1, this.name);
                   insertJobStmt.setString(2, this.description);
                   insertJobStmt.setInt(3, this.companyId);
                   insertJobStmt.executeUpdate();
                   message.append(" Job \"" + this.name + "\" was successfully created.");
                   return true;
              } catch (Exception x) {
                   logger.error(x, x);
                   if (message.length() > 0) {
                        message.append(", unknown virtual fair error(33) ");
                   } else {
                        message.append(" unknown virtual fair error(33) ");
                   return false;
         protected boolean updateJob(Connection tjfConn, StringBuffer message) {
              PreparedStatement insertJobStmt = null;
              String insertJobSQL = null;
              try {
                   insertJobSQL = "update VIRTUAL_FAIR_JOB set NAME = ?, DESCRIPTION = ? where" +
                             " COMPANY_ID = ? and ID = ?";
                   insertJobStmt = tjfConn.prepareStatement(insertJobSQL);
                   insertJobStmt.setString(1, this.name);
                   insertJobStmt.setString(2, this.description);
                   insertJobStmt.setInt(3, this.companyId);
                   insertJobStmt.setInt(4, this.id);
                   insertJobStmt.executeUpdate();
                   message.append(" Job \"" + this.name + "\" was successfully updated.");
                   return true;
              } catch (Exception x) {
                   logger.error(x, x);
                   if (message.length() > 0) {
                        message.append(", unknown virtual fair error(34) ");
                   } else {
                        message.append(" unknown virtual fair error(34) ");
                   return false;
         public static boolean deleteJobByCompanyID(Connection tjfConn, int companyID, StringBuffer message) {
              PreparedStatement deleteJobStmt = null;
              String deleteJobSQL = null;
              try {
                   deleteJobSQL = "delete from VIRTUAL_FAIR_JOB where " +
                             " COMPANY_ID = ? ";
                   deleteJobStmt = tjfConn.prepareStatement(deleteJobSQL);
                   deleteJobStmt.setInt(1, companyID);
                   deleteJobStmt.executeUpdate();
                   message.append(" Jobs were successfully deleted.");
                   return true;
              } catch (Exception x) {
                   logger.error(x, x);
                   if (message.length() > 0) {
                        message.append(", unknown virtual fair error(35) ");
                   } else {
                        message.append(" unknown virtual fair error(35) ");
                   return false;
         public static boolean deleteJob(Connection tjfConn, int jobID, int companyID, StringBuffer message) {
              PreparedStatement deleteJobStmt = null;
              String deleteJobSQL = null;
              try {
                   deleteJobSQL = "delete from VIRTUAL_FAIR_JOB where " +
                             " COMPANY_ID = ? and ID = ? ";
                   deleteJobStmt = tjfConn.prepareStatement(deleteJobSQL);
                   deleteJobStmt.setInt(1, companyID);
                   deleteJobStmt.setInt(2, jobID);
                   deleteJobStmt.executeUpdate();
                   message.append(" Job was successfully deleted.");
                   return true;
              } catch (Exception x) {
                   logger.error(x, x);
                   if (message.length() > 0) {
                        message.append(", unknown virtual fair error(36) ");
                   } else {
                        message.append(" unknown virtual fair error(36) ");
                   return false;
         public static TreeMap<Job, Integer> getJobListforCompany(Connection tjfConn, int companyID, StringBuffer message) {
              TreeMap<Job, Integer> jobsList = new TreeMap<Job, Integer>(new Comparator() {
                   public int compare(Object job, Object anotherJob) {
                        String name1 = ((Job) job).getName();
                        String name2 = ((Job) anotherJob).getName();
                        return name1.toLowerCase().compareTo(name2.toLowerCase());
              PreparedStatement getJobListStmt = null;
              String getJobListSQL = null;
              ResultSet getJobListRset = null;
              try {
                   getJobListSQL = "select ID, NAME, DESCRIPTION, COMPANY_ID from VIRTUAL_FAIR_JOB where COMPANY_ID = ?";
                   getJobListStmt = tjfConn.prepareStatement(getJobListSQL);
                   getJobListStmt.setInt(1, companyID);
                   getJobListRset = getJobListStmt.executeQuery();
                   while (getJobListRset.next()) {
                        Job holdJob = new Job(getJobListRset.getInt(1),
                                  getJobListRset.getString(2),
                                  getJobListRset.getString(3),
                                  getJobListRset.getInt(4));
                        jobsList.put(holdJob, holdJob.id);
                   return jobsList;
              } catch (Exception x) {
                   logger.error(x, x);
                   if (message.length() > 0) {
                        message.append(", unknown virtual fair error(37) ");
                   } else {
                        message.append(" unknown virtual fair error(37) ");
                   return null;
         public static Job getJobByID(Connection tjfConn, int jobID, StringBuffer message) {
              PreparedStatement getJobListStmt = null;
              String getJobListSQL = null;
              ResultSet getJobListRset = null;
              try {
                   getJobListSQL = "select ID, NAME, DESCRIPTION, COMPANY_ID from VIRTUAL_FAIR_JOB where ID = ?";
                   getJobListStmt = tjfConn.prepareStatement(getJobListSQL);
                   getJobListStmt.setInt(1, jobID);
                   getJobListRset = getJobListStmt.executeQuery();
                   Job holdJob = null;
                   if (getJobListRset.next()) {
                        holdJob = new Job(getJobListRset.getInt(1),
                                  getJobListRset.getString(2),
                                  getJobListRset.getString(3),
                                  getJobListRset.getInt(4));
                   return holdJob;
              } catch (Exception x) {
                   logger.error(x, x);
                   if (message.length() > 0) {
                        message.append(", unknown virtual fair error(38) ");
                   } else {
                        message.append(" unknown virtual fair error(38) ");
                   return null;
    Any suggestions on what might cause this?
    Thanks,
    Tom

    Hi Thenrik,
    This is right but Serialization does not concern about methods. and it is only about Instance variables.
    public static TreeMap<Job, Integer> getJobListforCompany(Connection tjfConn, int companyID, StringBuffer message) {
               TreeMap<Job, Integer> jobsList = new TreeMap<Job, Integer>(new Comparator() {
                    public int compare(Object job, Object anotherJob) {
                         String name1 = ((Job) job).getName();
                         String name2 = ((Job) anotherJob).getName();
                         return name1.toLowerCase().compareTo(name2.toLowerCase());
               PreparedStatement getJobListStmt = null;
               String getJobListSQL = null;
               ResultSet getJobListRset = null;
               try {
                    getJobListSQL = "select ID, NAME, DESCRIPTION, COMPANY_ID from VIRTUAL_FAIR_JOB where COMPANY_ID = ?";
                    getJobListStmt = tjfConn.prepareStatement(getJobListSQL);
                    getJobListStmt.setInt(1, companyID);
                    getJobListRset = getJobListStmt.executeQuery();
                    while (getJobListRset.next()) {
                         Job holdJob = new Job(getJobListRset.getInt(1),
                                   getJobListRset.getString(2),
                                   getJobListRset.getString(3),
                                   getJobListRset.getInt(4));
                         jobsList.put(holdJob, holdJob.id);
                    return jobsList;
               } catch (Exception x) {
                    logger.error(x, x);
                    if (message.length() > 0) {
                         message.append(", unknown virtual fair error(37) ");
                    } else {
                         message.append(" unknown virtual fair error(37) ");
                    return null;
    So please tell how that inner class will effect the serialization process of the instance of this calss?
    thanks in advance.

Maybe you are looking for

  • CALL WEBI Report from SAP Portal

    Hi Experts, I need to call WEBI report from SAP Portal, is it possible? The submitted report will be opened in the same window? Kind Regads.

  • Start-up problem disappears after several months non-use? Real?

    Old Satellite laptop suddenly would not complete start-up when turned on ---- this was more than 18 months ago.  So I stopped using it, charged the battery and left it for 18 months.  NO usage for 18 months; maybe the battery drained during this time

  • How can I create a fillabe form

    I want to make a form fillable, in an E-Version. How do I do that?

  • Making wife's old Macbook Pro mine.

    Wife gave me her Macbook Pro. Transferred her files to new Air.  Get app update notices on Pro that still need her Apple ID.  How do I change to my ID or delete her apps?

  • Customer invoice baseline date- VERY URGENT

    User wants partial payment baseline date and credit memo baseline date with reference to customer's original invoice baseline date. E.g.  1. We received customer invoice 01/01/2007 and baseline date is 01/01/2007. 2. We recieved partial payment 06/10