Discussions

General J2EE: UserTransaction and server restart

  1. UserTransaction and server restart (1 messages)

    I'm getting the following error when a remote client code tries to call begin() on a new UserTransaction object after server restarted. It works fine if the client is restarted after the server restart.

    org.omg.CORBA.OBJECT_NOT_EXIST: vmcid: OMG minor code: 1 completed: No
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
    at java.lang.Class.newInstance0(Class.java:308)
    at java.lang.Class.newInstance(Class.java:261)
    at com.sun.corba.se.internal.iiop.messages.ReplyMessage_1_2.getSystemException(ReplyMessage_1_2.java:90)
    at com.sun.corba.se.internal.iiop.ClientResponseImpl.getSystemException(ClientResponseImpl.java:105)
    at com.sun.corba.se.internal.corba.ClientDelegate.invoke(ClientDelegate.java:314)
    at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:457)
    at org.omg.CosTransactions._TransactionFactoryStub.create(_TransactionFactoryStub.java:20)
    at weblogic.corba.j2ee.transaction.TransactionManagerImpl.begin(TransactionManagerImpl.java:116)
    at weblogic.corba.j2ee.transaction.TransactionManagerWrapper.begin(TransactionManagerWrapper.java:94)


    Is there a way to force clear any old object references...?

    Using WebLogic 8.1 SP4
  2. We are running WLS 8.1 SP4 and are using wlclient.jar and experience same problem if the WLS 8.1 server is restarted (and the client is not), eg:

    Caused by: java.rmi.NoSuchObjectException: CORBA OBJECT_NOT_EXIST 1330446337 No; nested exception is:
    org.omg.CORBA.OBJECT_NOT_EXIST: vmcid: OMG minor code: 1 completed: No
    at com.sun.corba.se.internal.iiop.ShutdownUtilDelegate.mapSystemException(ShutdownUtilDelegate.java:102)
    at javax.rmi.CORBA.Util.mapSystemException(Util.java:65)
    at com.ispek.asset.service._AssetService_Stub.renameGroupFolders(Unknown Source)
    at com.ispek.assetclient.MdsAssetManagementWrapper.renameGroupFolders(MdsAssetManagementWrapper.java:167)
    ... 7 more
    Caused by: org.omg.CORBA.OBJECT_NOT_EXIST: vmcid: OMG minor code: 1 completed: No
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
    at java.lang.Class.newInstance0(Class.java:308)
    at java.lang.Class.newInstance(Class.java:261)
    at com.sun.corba.se.internal.iiop.messages.ReplyMessage_1_2.getSystemException(ReplyMessage_1_2.java:90)
    at com.sun.corba.se.internal.iiop.ClientResponseImpl.getSystemException(ClientResponseImpl.java:105)
    at com.sun.corba.se.internal.corba.ClientDelegate.invoke(ClientDelegate.java:314)
    at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:457)
    ... 9 more


    Note: the problem does not occur if the client uses weblogic.jar instead of wlclient.jar.