PQ77045: IC.LOOKUP("JTA/USERTRANSACTION") NOT WORK FOR J2EE 1.2 APPS

 A fix is available

Obtain the fix for this APAR



APAR status
Closed as program error.

Error description
Customer was trying to do a look up of
ic.lookup("jta/usertransaction") under a 1.3 application and
was getting a classcastexception.   What they are doing is not
allowed on 1.3, but is on 1.2.  While investigating, we found
that the 1.2 support was broken.  This apar is to resolve this.
.
Here is a stack trace which shows the error:
.
com.ibm.websphere.naming.CannotInstantiateObjectException:
 Exception occurred while the JNDI NamingManager was processing
 a javax.naming.Reference object.
Root exception is
 java.lang.ClassCastException: com.ibm.ejs.jts.jta.UtxFactory
at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup
   (CNContextImpl.java:1
at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup
   (CNContextImpl.java:1
at com.ibm.ws.naming.jndicos.CNContextImpl.lookup
   (CNContextImpl.java:117
at com.ibm.ws.naming.util.WsnInitCtx.lookup
   (WsnInitCtx.java:132)
at javax.naming.InitialContext.lookup(InitialContext.java:359)
at biz.ff.wowi.DAOFactoryEJB.<init>(DAOFactoryEJB.java:47)
at java.lang.reflect.Constructor.newInstance(Native Method)
at biz.ff.formatter.Formatierer.endElement(Formatierer.java:167)
at org.apache.xerces.parsers.SAXParser.endElement
   (SAXParser.java:140
at org.apache.xerces.validators.common.XMLValidator.
   callEndElement(XMLVa
at org.apache.xerces.framework.XMLDocumentScanner$
   ContentDispatcher.disp
at org.apache.xerces.framework.XMLDocumentScanner.parseSome
   (XMLDocumentS
at org.apache.xerces.framework.XMLParser.parse
   (XMLParser.java:968)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:317)
at biz.ff.formatter.ThreadedExecuter.run
   (ThreadedExecuter.java:56)
at java.lang.Thread.run(Thread.java:514)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:317)
at java.lang.Thread.run(Thread.java:514)
Local fix Problem summary
****************************************************************
* USERS AFFECTED: All users of WebSphere Application Server    *
*                 V5.0 for z/OS                                *
****************************************************************
* PROBLEM DESCRIPTION: Attempt to lookup "jta/usertransaction" *
*                      results in a                            *
*                      CannotInstantiateObjectException.       *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
The javax.naming.Reference bound into JNDI by the transaction
service contained the wrong object factory name.
Problem conclusion
The JNDI object factory name contained in JNDI Reference objects
bound by the transaction service has changed.  Instead of
specifying com.ibm.ejs.jts.jta.UtxFactory as the factory, the
correct class com.ibm.ejs.jts.jta.UtxJNDIFactory is now used.

APAR PQ77045 is associated with SERVICE LEVEL W500104 of
WebSphere Application Server V5.0 for z/OS.
Temporary fix Comments
APAR information
APAR number PQ77045
Reported component name WEBSPHERE FOR Z
Reported component ID 5655I3500
Reported release 500
Status CLOSED PER
PE NoPE
HIPER NoHIPER
Special Attention NoSpecatt
Submitted date 2003-08-01
Closed date 2003-08-30
Last modified date 2003-10-03

APAR is sysrouted FROM one or more of the following:

APAR is sysrouted TO one or more of the following:

Modules/Macros
BBOUBINF          

Publications Referenced

Fix information
Fixed component name WEBSPHERE FOR Z
Fixed component ID 5655I3500

Applicable component levels
R500 PSY UQ79825    UP03/09/10 P F309

  Fix is available
Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.


Document Information


Current web document: swg1PQ77045.html
Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server for z/OS
Operating system(s):
Software version: 500
Software edition:
Reference #: PQ77045
IBM Group: Software Group
Modified date: Oct 3, 2003