weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Environment not found on thread ] - Weblogic

This is a discussion on weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Environment not found on thread ] - Weblogic ; Using 8.12 server. Trying to connect using weblogic.jms.ConnectionFactory, this is what's being thrown. I've been told it's a known bug that has not been patched yet, but I figured I would still ask. ------------------------- weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Environment ...

+ Reply to Thread
Results 1 to 5 of 5

Thread: weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Environment not found on thread ]

  1. weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Environment not found on thread ]


    Using 8.12 server. Trying to connect using weblogic.jms.ConnectionFactory, this
    is what's being thrown. I've been told it's a known bug that has not been patched
    yet, but I figured I would still ask.
    -------------------------
    weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Environment not found
    on thread ]
    at weblogic.jndi.internal.NamingNodeReplicaHandler.(NamingNodeReplicaHandler.java:150)
    at sun.reflect.NativeConstructorAccessorImpl.newInsta nce0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInsta nce(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newI nstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Construc tor.java:274)
    at java.lang.Class.newInstance0(Class.java:306)
    at java.lang.Class.newInstance(Class.java:259)
    at weblogic.common.internal.ChunkedObjectInputStream. readObject(ChunkedObjectInputStream.java:98)
    at weblogic.common.internal.ChunkedObjectInputStream. readObjectWL(ChunkedObjectInputStream.java:167)
    at weblogic.common.internal.ChunkedObjectInputStream$ NestedObjectInputStream.readObjectWL(ChunkedObject InputStream.java:341)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.readExt ernal(ReplicaAwareRemoteRef.java:384)
    at java.io.ObjectInputStream.readExternalData(ObjectI nputStream.java:1686)
    at java.io.ObjectInputStream.readOrdinaryObject(Objec tInputStream.java:1644)
    at java.io.ObjectInputStream.readObject0(ObjectInputS tream.java:1274)
    at java.io.ObjectInputStream.defaultReadFields(Object InputStream.java:1845)
    at java.io.ObjectInputStream.defaultReadObject(Object InputStream.java:452)
    at weblogic.rmi.internal.StubInfo.readObject(StubInfo .java:116)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at java.io.ObjectStreamClass.invokeReadObject(ObjectS treamClass.java:824)
    at java.io.ObjectInputStream.readSerialData(ObjectInp utStream.java:1746)
    at java.io.ObjectInputStream.readOrdinaryObject(Objec tInputStream.java:1646)
    at java.io.ObjectInputStream.readObject0(ObjectInputS tream.java:1274)
    at java.io.ObjectInputStream.readObject(ObjectInputSt ream.java:324)
    at weblogic.common.internal.ChunkedObjectInputStream. readObject(ChunkedObjectInputStream.java:119)
    at weblogic.common.internal.ChunkedObjectInputStream. readObjectWL(ChunkedObjectInputStream.java:167)
    at weblogic.common.internal.ChunkedObjectInputStream$ NestedObjectInputStream.readObjectWL(ChunkedObject InputStream.java:341)
    at weblogic.jndi.internal.WLContextImpl.readExternal( WLContextImpl.java:430)
    at java.io.ObjectInputStream.readExternalData(ObjectI nputStream.java:1686)
    at java.io.ObjectInputStream.readOrdinaryObject(Objec tInputStream.java:1644)
    at java.io.ObjectInputStream.readObject0(ObjectInputS tream.java:1274)
    at java.io.ObjectInputStream.defaultReadFields(Object InputStream.java:1845)
    at java.io.ObjectInputStream.readSerialData(ObjectInp utStream.java:1769)
    at java.io.ObjectInputStream.readOrdinaryObject(Objec tInputStream.java:1646)
    at java.io.ObjectInputStream.readObject0(ObjectInputS tream.java:1274)
    at java.io.ObjectInputStream.defaultReadFields(Object InputStream.java:1845)
    at java.io.ObjectInputStream.readSerialData(ObjectInp utStream.java:1769)
    at java.io.ObjectInputStream.readOrdinaryObject(Objec tInputStream.java:1646)
    at java.io.ObjectInputStream.readObject0(ObjectInputS tream.java:1274)
    at java.io.ObjectInputStream.readObject(ObjectInputSt ream.java:324)
    at weblogic.common.internal.ChunkedObjectInputStream. readObject(ChunkedObjectInputStream.java:119)
    at weblogic.rjvm.ResponseImpl.getThrowable(ResponseIm pl.java:115)
    at weblogic.rjvm.BasicOutboundRequest.sendReceive(Bas icOutboundRequest.java:106)
    at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicR emoteRef.java:138)
    at weblogic.jms.dispatcher.DispatcherImpl_811_WLStub. dispatchSyncNoTranFuture(Unknown
    Source)
    at weblogic.jms.dispatcher.DispatcherWrapperState.dis patchSyncNoTran(DispatcherWrapperState.java:463)
    at weblogic.jms.client.JMSSession.createDestination(J MSSession.java:1961)
    at weblogic.jms.client.JMSSession.createTopic(JMSSess ion.java:1353)
    at JMSProvider.getTopic(JMSProvider.java:127)
    at JMSPub.startJMSPubs(JMSPub.java:229)
    at JMSPub.main(JMSPub.java:138)

  2. Re: weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[Environment not found on thread ]

    I'm not familiar with this problem - but I can make
    a guess at some work-arounds:
    (1) Lookup the destination via a standard JNDI
    context lookup rather than "createTopic()".
    (2) Make sure that the thread calling "createTopic()"
    also previously created a JNDI context.

    Matt Dickens wrote:
    > Using 8.12 server. Trying to connect using weblogic.jms.ConnectionFactory, this
    > is what's being thrown. I've been told it's a known bug that has not been patched
    > yet, but I figured I would still ask.
    > -------------------------
    > weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Environment not found
    > on thread ]
    > at weblogic.jndi.internal.NamingNodeReplicaHandler.(NamingNodeReplicaHandler.java:150)
    > at sun.reflect.NativeConstructorAccessorImpl.newInsta nce0(Native Method)
    > at sun.reflect.NativeConstructorAccessorImpl.newInsta nce(NativeConstructorAccessorImpl.java:39)
    > at sun.reflect.DelegatingConstructorAccessorImpl.newI nstance(DelegatingConstructorAccessorImpl.java:27)
    > at java.lang.reflect.Constructor.newInstance(Construc tor.java:274)
    > at java.lang.Class.newInstance0(Class.java:306)
    > at java.lang.Class.newInstance(Class.java:259)
    > at weblogic.common.internal.ChunkedObjectInputStream. readObject(ChunkedObjectInputStream.java:98)
    > at weblogic.common.internal.ChunkedObjectInputStream. readObjectWL(ChunkedObjectInputStream.java:167)
    > at weblogic.common.internal.ChunkedObjectInputStream$ NestedObjectInputStream.readObjectWL(ChunkedObject InputStream.java:341)
    > at weblogic.rmi.cluster.ReplicaAwareRemoteRef.readExt ernal(ReplicaAwareRemoteRef.java:384)
    > at java.io.ObjectInputStream.readExternalData(ObjectI nputStream.java:1686)
    > at java.io.ObjectInputStream.readOrdinaryObject(Objec tInputStream.java:1644)
    > at java.io.ObjectInputStream.readObject0(ObjectInputS tream.java:1274)
    > at java.io.ObjectInputStream.defaultReadFields(Object InputStream.java:1845)
    > at java.io.ObjectInputStream.defaultReadObject(Object InputStream.java:452)
    > at weblogic.rmi.internal.StubInfo.readObject(StubInfo .java:116)
    > at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    > at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    > at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    > at java.lang.reflect.Method.invoke(Method.java:324)
    > at java.io.ObjectStreamClass.invokeReadObject(ObjectS treamClass.java:824)
    > at java.io.ObjectInputStream.readSerialData(ObjectInp utStream.java:1746)
    > at java.io.ObjectInputStream.readOrdinaryObject(Objec tInputStream.java:1646)
    > at java.io.ObjectInputStream.readObject0(ObjectInputS tream.java:1274)
    > at java.io.ObjectInputStream.readObject(ObjectInputSt ream.java:324)
    > at weblogic.common.internal.ChunkedObjectInputStream. readObject(ChunkedObjectInputStream.java:119)
    > at weblogic.common.internal.ChunkedObjectInputStream. readObjectWL(ChunkedObjectInputStream.java:167)
    > at weblogic.common.internal.ChunkedObjectInputStream$ NestedObjectInputStream.readObjectWL(ChunkedObject InputStream.java:341)
    > at weblogic.jndi.internal.WLContextImpl.readExternal( WLContextImpl.java:430)
    > at java.io.ObjectInputStream.readExternalData(ObjectI nputStream.java:1686)
    > at java.io.ObjectInputStream.readOrdinaryObject(Objec tInputStream.java:1644)
    > at java.io.ObjectInputStream.readObject0(ObjectInputS tream.java:1274)
    > at java.io.ObjectInputStream.defaultReadFields(Object InputStream.java:1845)
    > at java.io.ObjectInputStream.readSerialData(ObjectInp utStream.java:1769)
    > at java.io.ObjectInputStream.readOrdinaryObject(Objec tInputStream.java:1646)
    > at java.io.ObjectInputStream.readObject0(ObjectInputS tream.java:1274)
    > at java.io.ObjectInputStream.defaultReadFields(Object InputStream.java:1845)
    > at java.io.ObjectInputStream.readSerialData(ObjectInp utStream.java:1769)
    > at java.io.ObjectInputStream.readOrdinaryObject(Objec tInputStream.java:1646)
    > at java.io.ObjectInputStream.readObject0(ObjectInputS tream.java:1274)
    > at java.io.ObjectInputStream.readObject(ObjectInputSt ream.java:324)
    > at weblogic.common.internal.ChunkedObjectInputStream. readObject(ChunkedObjectInputStream.java:119)
    > at weblogic.rjvm.ResponseImpl.getThrowable(ResponseIm pl.java:115)
    > at weblogic.rjvm.BasicOutboundRequest.sendReceive(Bas icOutboundRequest.java:106)
    > at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicR emoteRef.java:138)
    > at weblogic.jms.dispatcher.DispatcherImpl_811_WLStub. dispatchSyncNoTranFuture(Unknown
    > Source)
    > at weblogic.jms.dispatcher.DispatcherWrapperState.dis patchSyncNoTran(DispatcherWrapperState.java:463)
    > at weblogic.jms.client.JMSSession.createDestination(J MSSession.java:1961)
    > at weblogic.jms.client.JMSSession.createTopic(JMSSess ion.java:1353)
    > at JMSProvider.getTopic(JMSProvider.java:127)
    > at JMSPub.startJMSPubs(JMSPub.java:229)
    > at JMSPub.main(JMSPub.java:138)



  3. Re: weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[


    I did try #1, and it seemed to show no improvement. As to #2, it's a multi-threaded
    application that uses one thread to make the connections, and the others all use
    that same connection. Is there a fix out there that will allow the connections
    to be shared across threads - or is this something that's simply not possible?

    ~Matt


    Tom Barnes wrote:
    >I'm not familiar with this problem - but I can make
    >a guess at some work-arounds:
    > (1) Lookup the destination via a standard JNDI
    > context lookup rather than "createTopic()".
    > (2) Make sure that the thread calling "createTopic()"
    > also previously created a JNDI context.



  4. Re: weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[

    This is a known issue, and I think there may
    be a fix now. Contact customer support.

    matt wrote:

    > I did try #1, and it seemed to show no improvement. As to #2, it's a multi-threaded
    > application that uses one thread to make the connections, and the others all use
    > that same connection. Is there a fix out there that will allow the connections
    > to be shared across threads - or is this something that's simply not possible?
    >
    > ~Matt
    >
    >
    > Tom Barnes wrote:
    >
    >>I'm not familiar with this problem - but I can make
    >>a guess at some work-arounds:
    >> (1) Lookup the destination via a standard JNDI
    >> context lookup rather than "createTopic()".
    >> (2) Make sure that the thread calling "createTopic()"
    >> also previously created a JNDI context.

    >
    >



  5. Re: weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[



    matt wrote:

    > I did try #1, and it seemed to show no improvement. As to #2, it's a multi-threaded
    > application that uses one thread to make the connections, and the others all use
    > that same connection. Is there a fix out there that will allow the connections
    > to be shared across threads - or is this something that's simply not possible?


    The issue is not with the shared connection, but with the JNDI context.

    >
    > ~Matt
    >
    >
    > Tom Barnes wrote:
    >
    >>I'm not familiar with this problem - but I can make
    >>a guess at some work-arounds:
    >> (1) Lookup the destination via a standard JNDI
    >> context lookup rather than "createTopic()".
    >> (2) Make sure that the thread calling "createTopic()"
    >> also previously created a JNDI context.

    >
    >



+ Reply to Thread