eFix (APAR): PQ65941 Status: Fix Release: WebSphere 3.5.6 Operating System: all platforms Supersedes eFixes: none CMVC defect: PQ65941 Byte size of APAR: 35.160 - PQ65941_ujc.jar Date: 09/11/02 Abstract: A JNDI call to a remote CosNaming server within context of transaction causes undesired 2 phase commit on transacation. Description/symptom of problem: Error message "Illegal use of 1 phase resource in transaction, 2 phase commit was attempted with 1 phase resource" will be given when a JNDI call to a remote CosNaming server is made within context of transaction with 1 phase resource. Directions to apply efix: 1) Create "efix" directory to store the efix jar file(s): AIX: /usr/WebSphere/AppServer/efix Solaris/Linux: /opt/WebSphere/AppServer/efix Windows: c:\WebSphere\AppServer\efix 2) Copy PQ65941_ujc.jar to the directory 3) Add the directory/jar file to the beginning of the admin server's classpath in admin.config: com.ibm.ejs.sm.adminserver.classpath=C:/WebSphere/AppServer/efix/PQ65941_ujc.jar... 4) Stop and restart the Admin Server Additional Information: PQ65941_ujc.jar is also needed for the naming client, where the list() method is being called. Just append "C:/WebSphere/AppServer/efix/PQ65941_ujc.jar" to the beginning of the classpath used by the client. ------------------------------------------------------------------