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

***** ASSERTION FAILED *****

4 views
Skip to first unread message

Ajay

unread,
Jul 17, 2002, 12:39:36 PM7/17/02
to

Hi, I am getting following error in Message Driven/Session Beans. This bean(s)
is working fine in WL6.1 SP1 Oracle8i, now i am using WL6.1 SP3 and Oracle 9i.


weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ must initialize before
invoke ]
at weblogic.utils.Debug.assert(Debug.java:84)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:217)
at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35)
at $Proxy217.createXConnection(Unknown Source)
at com.teraburst.snms.server.config.XCSessionEJB.createXConnection(XCSessionEJB.java:117)
at com.ddd.snms.server.config.XCSessionEJB_9wsh7_EOImpl.createXConnection(XCSessionEJB_9wsh7_EOImpl.java:247)
at com.ddd.snms.server.config.XCSessionEJB_9wsh7_EOImpl_WLSkel.invoke(Unknown
Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:305)
at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:93)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:274)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:22)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)

Rajesh Mirchandani

unread,
Jul 17, 2002, 2:16:20 PM7/17/02
to
Can you attach a test case?

Ajay wrote:

--
Rajesh Mirchandani
Developer Relations Engineer
BEA Support


Mark Cordobal

unread,
Jul 18, 2002, 11:43:42 AM7/18/02
to

Hi Rajesh,
I have the same problem :

weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ must initialize before
invoke ]
at weblogic.utils.Debug.assert(Debug.java:84)

at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:218)
at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35)
at $Proxy107.go(Unknown Source)

...........

I work on a single WL6.1 sp2 instance, WinNT, development mode.

I have 2 ears: EAR1 (1 ejb-module) and EAR2(1-ejb-module).
EAR1 contains a client jar that acts as a business delegate for EAR2 (lookup +
home creation + remote creation + service invocation).
I have a client jar (external app) that calls the ejb in EAR1;
The ejb in EAR1 calls the ejb in EAR2 by the business delegate.
After the first invocation of the business delegate, the home is cached (static
variable in a service locator accessed by the business delegate).
At the second invocation, the business delegate is instantiated again, the home
is in the cache (no more lookups), the remote is created again.
And everything is ok.

If I redeploy (auto-deploy in the application directory) EAR2, without changing
anything in it, but only "touching" the ear file in the file system (>touch ear2.ear),
if I call EAR1, it fails to call EAR2. Always.
I have to "touch" EAR1 too.


I need to change sometimes the implementation of the ejb in EAR2, so I need to
redeploy it.

My question is :

1) Is this a WL (stub / dyn proxy implementation) bug ?
2) If not, cannot I implement home caching in my business delegate. Do I have
to look up "every time" my home ? (on the same instance the lookup is optimized,
but not if I deploy EAR2 on another instance).

Thanks in advance

Mark Cordobal

Mark Cordobal

unread,
Jul 19, 2002, 5:23:12 AM7/19/02
to

More info :

6.1 sp3 ----> same problem

7.0 ----> it works (different WL stub implementation)


Can someone tell me something ?

Thanks in advance

Mark Cordobal

"Mark Cordobal" <mar...@notme.com> wrote:
>
>Hi Rajesh,
>I have the same problem :
>
>weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ must initialize
>before
>invoke ]
> at weblogic.utils.Debug.assert(Debug.java:84)
> at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:218)
> at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35)
> at $Proxy107.go(Unknown Source)
>

>............

Kiran

unread,
Aug 15, 2002, 1:10:16 PM8/15/02
to

Virag Gokani

unread,
Nov 6, 2002, 6:44:43 AM11/6/02
to

Hi Rajesh,
There seems to be constant problem for Assertion
on weblogic 5.1 with service pack 12

My problem is , it shows verion as weblogic 5.10 service pack 12
but when i try to stop weblogic server

Can u please HELP - ASAP on this ....
i get assertion error
the exact being :


java.io.InvalidClassException: weblogic.security.acl.internal.AuthenticatedUser;
Local class not compatible: stream classdesc serialVersionUID=6699361079932480379
local class serialVersionUID=2825328378974757378
at java.io.ObjectStreamClass.validateLocalClass(ObjectStreamClass.java:523)
at java.io.ObjectStreamClass.setClass(ObjectStreamClass.java:567)
at java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java:936)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:366)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1186)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:2

0 new messages