PQ78401: When running Java app using RMI/IIOP in WSAS 4.0.6 and higher generic server, JTS "not initialized" occurs

 Fixes are available

5.0.2.7: WebSphere Application Server Express 5.0.2 Cumulative Fix 7
5.0.2.12: WebSphere Application Server 5.0.2 Cumulative Fix 12
5.0.2.13: WebSphere Application Server 5.0.2 Cumulative Fix 13
5.0.2.14: WebSphere Application Server 5.0.2 Cumulative Fix 14 for AIX
5.0.2.14: WebSphere Application Server 5.0.2 Cumulative Fix 14 for Solaris
5.0.2.14: WebSphere Application Server 5.0.2 Cumulative Fix 14 for HP-UX
5.0.2.14: WebSphere Application Server 5.0.2 Cumulative Fix 14 for Windows
5.0.2.14: WebSphere Application Server 5.0.2 Cumulative Fix 14 for Linux
5.0.2.15: WebSphere Application Server 5.0.2 Cumulative Fix 15 for Windows
5.0.2.15: WebSphere Application Server 5.0.2 Cumulative Fix 15 for Solaris
5.0.2.15: WebSphere Application Server 5.0.2 Cumulative Fix 15 for AIX
5.0.2.15: WebSphere Application Server 5.0.2 Cumulative Fix 15 for Linux
5.0.2.15: WebSphere Application Server 5.0.2 Cumulative Fix 15 for HP-UX
5.1.1.9: WebSphere Application Server V5.1.1 Cumulative Fix 9 for HP-UX
5.1.1.9: WebSphere Application Server V5.1.1 Cumulative Fix 9 for AIX
5.1.1.9: WebSphere Application Server V5.1.1 Cumulative Fix 9 for Solaris
5.1.1.9: WebSphere Application Server V5.1.1 Cumulative Fix 9 for Windows
5.1.1.9: WebSphere Application Server V5.1.1 Cumulative Fix 9 for Linux
5.0.2.16: WebSphere Application Server 5.0.2 Cumulative Fix 16 for AIX
5.0.2.16: WebSphere Application Server 5.0.2 Cumulative Fix 16 for HP-UX
5.0.2.16: WebSphere Application Server 5.0.2 Cumulative Fix 16 for Linux
5.0.2.16: WebSphere Application Server 5.0.2 Cumulative Fix 16 for Windows
5.0.2.16: WebSphere Application Server 5.0.2 Cumulative Fix 16 for Solaris
5.0.2.8: WebSphere Application Server V5.0.2 Cumulative Fix 8
5.1.1.10: WebSphere Application Server V5.1.1 Cumulative Fix 10 for HP-UX
5.1.1.10: WebSphere Application Server V5.1.1 Cumulative Fix 10 for AIX
5.1.1.10: WebSphere Application Server V5.1.1 Cumulative Fix 10 for Solaris
5.1.1.10: WebSphere Application Server V5.1.1 Cumulative Fix 10 for Windows
5.1.1.10: WebSphere Application Server V5.1.1 Cumulative Fix 10 for Linux
5.0.2.17: WebSphere Application Server 5.0.2 Cumulative Fix 17 for Windows
5.0.2.17: WebSphere Application Server 5.0.2 Cumulative Fix 17 for Solaris
5.0.2.17: WebSphere Application Server 5.0.2 Cumulative Fix 17 for HP-UX
5.0.2.17: WebSphere Application Server 5.0.2 Cumulative Fix 17 for Linux
5.0.2.17: WebSphere Application Server 5.0.2 Cumulative Fix 17 for AIX



APAR status
Closed as program error.

Error description
In WebSphere Application Server (WSAS) 4.0.5 and above, a Java
application running in the generic server (as opposed to a
managed server) using RMI/IIOP generated the following exception
in the stderr when the generic server is started:

Exception in thread "P=94562:O=0:CT"
javax.naming.NamingException:
MQWFAGENT.  Root exception is
com.ibm.ejs.jts.jts.CurrentSet$InitializationError: not
initialized
  at com.ibm.ejs.jts.jts.CurrentSet.self(CurrentSet.java:218)
  at
com.ibm.ejs.jts.jts.CurrentSet.get_control(CurrentSet.java:265)
  at com.ibm.ejs.jts.jts.Current.get_control(Current.java:72)
  at
com.ibm.ws.naming.util.Helpers.suspendTransaction(Helpers.java:1
412)
  at
com.ibm.ejs.ns.jndi.CNContextImpl.cosRebindCorbaObject(CNContext
Impl.java:2925)
  at
com.ibm.ejs.ns.jndi.CNContextImpl.doRebind(CNContextImpl.java:18
37)
  at
com.ibm.ejs.ns.jndi.CNContextImpl.rebind(CNContextImpl.java:609)
  at
com.ibm.ws.naming.util.WsnInitCtx.rebind(WsnInitCtx.java:168)
  at javax.naming.InitialContext.rebind(InitialContext.java:375)
  at
com.ibm.workflow.iiop.jni.DomainControllerImpl.<init>(DomainCont
rollerImpl.java:249)
  at com.ibm.workflow.agent.Main.main(Main.java:78)
Local fix Problem summary
****************************************************************
* USERS AFFECTED: WebSphere Application Server users of        *
*                 Naming JNDI, who has the release 4.0.7       *
*                 or the release prior to 4.0.7 installed,     *
*                 or who has the release 5.0.2 or the release  *
*                 prior to 5.0.2 installed.                    *
****************************************************************
* PROBLEM DESCRIPTION: In the case where JTS fails to be       *
*                      initialized in a non WebSphere          *
*                      application server - a generic server,  *
*                      a JNDI operation will fail with a       *
*                      NamingException, whose root exception   *
*                      is com.ibm.ejs.jts.jts.                 *
*                      CurrentSet$InitializationEroor:         *
*                      not initialized.                        *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
Transaction is being suspended during a Naming operation that
requires name server accesses. In the case where JTS fails to
be initialized in a non WebSphere application server - a
generic server, a Naming operation will fail with a
NamingException, whose root exception is:
com.ibm.ejs.jts.jts.CurrentSet$InitializationEroor:
not initialized.
Problem conclusion
Implemented a try block to catch any exception thrown while
getting hold of a transaction so that the Naming operation
can be continued.
Temporary fix Comments
APAR information
APAR number PQ78401
Reported component name WEBSPHERE AE NT
Reported component ID 5630A2201
Reported release 400
Status CLOSED PER
PE NoPE
HIPER NoHIPER
Submitted date 2003-09-12
Closed date 2003-10-15
Last modified date 2003-10-15

APAR is sysrouted FROM one or more of the following:

APAR is sysrouted TO one or more of the following:

Modules/Macros
naming          

SRLS

Fix information

Applicable component levels
R400 PSY    UP


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > General
Operating system(s):
Software version: 400
Software edition:
Reference #: PQ78401
IBM Group: Software Group
Modified date: Oct 15, 2003