PQ85578: 'CORBA.BAD_OPERATION: The delegate has not been set!' error in logs when making EJB calls

 A fix is available

PQ86588: java.lang.ClassCastException after reinstalling an application



APAR status
Closed as program error.

Error description
If a customer is running WebSphere Application Server V5.0.2.2
or higher, or running V5.0.2.1 with a fix applied for 
PQ81989
(JDK SR6), then intermittently the following error can occur
when an accessing an EJB.  (Note this problem exists in
previous orbs but is more likely to occur on jdk 1.3.1 sr6).
[2/4/04 15:26:07:317 CST] 696b8f20 SystemErr     R
java.lang.reflect.InvocationTargetException:
java.rmi.RemoteException: CORBA BAD_OPERATION 0x0 No; nested
exception is:
 org.omg.CORBA.BAD_OPERATION: The delegate has not been set!
minor code: 0  completed: No
[2/4/04 15:26:07:317 CST] 696b8f20 SystemErr     R
org.omg.CORBA.BAD_OPERATION: The delegate has not been set!
minor code: 0  completed: No


This has been fixed in JDK defect SOV,68352.  This fix has
been incorporated into the next 1.3.1 java SDK release, but a
separate fix for the 1.4.1 java SDK is needed.   Full stack
trace is below:


[2/4/04 15:26:07:317 CST] 696b8f20 SystemErr     R
java.lang.reflect.InvocationTargetException:
java.rmi.RemoteException: CORBA BAD_OPERATION 0x0 No; nested
exception is:
 org.omg.CORBA.BAD_OPERATION: The delegate has not been set!
minor code: 0  completed: No
[2/4/04 15:26:07:317 CST] 696b8f20 SystemErr     R
org.omg.CORBA.BAD_OPERATION: The delegate has not been set!
minor code: 0  completed: No
[2/4/04 15:26:07:317 CST] 696b8f20 SystemErr     R  at
org.omg.CORBA.portable.ObjectImpl._get_delegate(ObjectImpl.java(
Inlined Compiled Code))
[2/4/04 15:26:07:318 CST] 696b8f20 SystemErr     R  at
org.omg.CORBA.portable.ObjectImpl._is_local(ObjectImpl.java(Inli
ned Compiled Code))
[2/4/04 15:26:07:318 CST] 696b8f20 SystemErr     R  at
com.ibm.CORBA.iiop.UtilDelegateImpl.isLocal(UtilDelegateImpl.jav
a(Compiled Code))
[2/4/04 15:26:07:318 CST] 696b8f20 SystemErr     R  at
com.queplix.core.modules.services.ejb._LogManagerHome_Stub.creat
e(_LogManagerHome_Stub.java(Compiled Code))
[2/4/04 15:26:07:318 CST] 696b8f20 SystemErr     R  at
java.lang.reflect.Method.invoke(Native Method)
[2/4/04 15:26:07:318 CST] 696b8f20 SystemErr     R  at
com.queplix.core.utils.cache.CacheObjectManager.getRemoteObject(
CacheObjectManager.java(Inlined Compiled Code))
[2/4/04 15:26:07:318 CST] 696b8f20 SystemErr     R  at
com.queplix.core.modules.services.utils.log.AbstractLogPublisher
.publish(AbstractLogPublisher.java(Compiled Code))
[2/4/04 15:26:07:318 CST] 696b8f20 SystemErr     R  at
com.queplix.jd.solnpub.log.SolutionPublishLogPublisher.publish(S
olutionPublishLogPublisher.java:39)
[2/4/04 15:26:07:318 CST] 696b8f20 SystemErr     R  at
com.queplix.jd.solnpub.log.AbstractSolnReplicationLogPublisher.D
EBUG(AbstractSolnReplicationLogPublisher.java(Inlined Compiled
Code))
[2/4/04 15:26:07:318 CST] 696b8f20 SystemErr     R  at
com.queplix.jd.solnpub.AbstractXASolutionAction.DEBUG(AbstractXA
SolutionAction.java(Inlined Compiled Code))
[2/4/04 15:26:07:318 CST] 696b8f20 SystemErr     R  at
com.queplix.jd.solnpub.SolutionPublishAction.doPublish(SolutionP
ublishAction.java(Compiled Code))
[2/4/04 15:26:07:318 CST] 696b8f20 SystemErr     R  at
com.queplix.jd.solnpub.SolutionPublishAction.perform(SolutionPub
lishAction.java(Compiled Code))
[2/4/04 15:26:07:318 CST] 696b8f20 SystemErr     R  at
com.queplix.core.modules.services.ActionRunner.run(ActionRunner.
java:53)
[2/4/04 15:26:07:318 CST] 696b8f20 SystemErr     R  at
com.queplix.jd.update.SolutionUpdate.afterUpdate(SolutionUpdate.
java:183)
[2/4/04 15:26:07:318 CST] 696b8f20 SystemErr     R  at
com.queplix.core.modules.eql.update.EntityUpdate.process(EntityU
pdate.java(Compiled Code))
[2/4/04 15:26:07:319 CST] 696b8f20 SystemErr     R  at
com.queplix.core.modules.eql.ejb.AsyncMDB.onMessage(AsyncMDB.jav
a(Compiled Code))
[2/4/04 15:26:07:319 CST] 696b8f20 SystemErr     R  at
com.ibm.ejs.jms.listener.MDBWrapper$PriviledgedOnMessage.run(MDB
Wrapper.java(Compiled Code))
[2/4/04 15:26:07:319 CST] 696b8f20 SystemErr     R  at
java.security.AccessController.doPrivileged(Native Method)
[2/4/04 15:26:07:319 CST] 696b8f20 SystemErr     R  at
com.ibm.ejs.jms.listener.MDBWrapper.callOnMessage(MDBWrapper.jav
a(Compiled Code))
[2/4/04 15:26:07:319 CST] 696b8f20 SystemErr     R  at
com.ibm.ejs.jms.listener.MDBWrapper.onMessage(MDBWrapper.java(Co
mpiled Code))
[2/4/04 15:26:07:319 CST] 696b8f20 SystemErr     R  at
com.ibm.mq.jms.MQSession.run(MQSession.java(Compiled Code))
[2/4/04 15:26:07:319 CST] 696b8f20 SystemErr     R  at
com.ibm.ejs.jms.JMSSessionHandle.run(JMSSessionHandle.java(Compi
led Code))
[2/4/04 15:26:07:319 CST] 696b8f20 SystemErr     R  at
com.ibm.ejs.jms.listener.ServerSession.connectionConsumerOnMessa
ge(ServerSession.java(Compiled Code))
[2/4/04 15:26:07:319 CST] 696b8f20 SystemErr     R  at
com.ibm.ejs.jms.listener.ServerSession.onMessage(ServerSession.j
ava(Compiled Code))
[2/4/04 15:26:07:319 CST] 696b8f20 SystemErr     R  at
com.ibm.ejs.jms.listener.ServerSession.dispatch(ServerSession.ja
va(Compiled Code))
[2/4/04 15:26:07:319 CST] 696b8f20 SystemErr     R  at
java.lang.reflect.Method.invoke(Native Method)
[2/4/04 15:26:07:319 CST] 696b8f20 SystemErr     R  at
com.ibm.ejs.jms.listener.ServerSessionDispatcher.dispatch(Server
SessionDispatcher.java(Compiled Code))
[2/4/04 15:26:07:319 CST] 696b8f20 SystemErr     R  at
com.ibm.ejs.container.MDBWrapper.onMessage(MDBWrapper.java(Compi
led Code))
[2/4/04 15:26:07:319 CST] 696b8f20 SystemErr     R  at
com.ibm.ejs.container.MDBWrapper.onMessage(MDBWrapper.java(Compi
led Code))
[2/4/04 15:26:07:319 CST] 696b8f20 SystemErr     R  at
com.ibm.ejs.jms.listener.ServerSession.run(ServerSession.java(Co
mpiled Code))
[2/4/04 15:26:07:320 CST] 696b8f20 SystemErr     R  at
com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled
Code))
Local fix
Downgrading to version 5.0.2.1 (or removal of 
PQ81989 if that
fix was applied to V5.0.2.1) will bypass the problem.
Problem summary
****************************************************************
* USERS AFFECTED: All users of IBM JDK release SR6.            *
****************************************************************
* PROBLEM DESCRIPTION: 'CORBA.BAD_OPERATION: The delegate      *
*                      has not been set!' error in logs when   *
*                      making EJB calls.                       *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
If a customer is running WebSphere Application Server 5.0.2.2
or higher, or running V5.0.2.1 with a fix applied for 
PQ81989
(JDK SR6), then intermittently the following error can occur
when an accessing an EJB:
.
[2/4/04 15:26:07:317 CST] 696b8f20 SystemErr     R
java.lang.reflect.InvocationTargetException:
java.rmi.RemoteException: CORBA BAD_OPERATION 0x0 No; nested
exception is:
org.omg.CORBA.BAD_OPERATION: The delegate has not been set!
minor code: 0  completed: No
[2/4/04 15:26:07:317 CST] 696b8f20 SystemErr     R
org.omg.CORBA.BAD_OPERATION: The delegate has not been set!
minor code: 0  completed: No
Problem conclusion
This has been fixed in JDK defect SOV,68352.  This fix has
been incorporated into the next 1.3.1 java SDK release.
Temporary fix Comments
APAR information
APAR number PQ85578
Reported component name WAS NETWRK DEPL
Reported component ID 5630A3601
Reported release 00I
Status CLOSED PER
PE NoPE
HIPER NoHIPER
Special Attention NoSpecatt
Submitted date 2004-03-04
Closed date 2004-03-17
Last modified date 2006-02-08

APAR is sysrouted FROM one or more of the following:

APAR is sysrouted TO one or more of the following:

Modules/Macros
JDK          

Publications Referenced

Fix information

Applicable component levels
R003 PSY    UP
R00A PSY    UP
R00I PSY    UP
R00P PSY    UP
R00W PSY    UP


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > General
Operating system(s):
Software version: 00I
Software edition:
Reference #: PQ85578
IBM Group: Software Group
Modified date: Feb 8, 2006