Fix (APAR): PQ78419 Status: Fix Release: 5.0.2 Operating System: All Supersedes Fixes: PQ7313 CMVC Defect: PQ78419 Byte size of APAR: 16746 Date: 2003-09-17 Abstract: Description/symptom of problem: An exception is observed when the client-resources.xmi file does not exist AND and application client contains resource-env-refs. Fix made to handle the file not found exception and allow the client container to proceed. NOTE: In some cases (resources-references) the file is still required; however, this fixes the cases where resource-references is not used. java.io.FileNotFoundException: R:\ws20030726_2016-WB211-AD-V51D-GM\App_Client_Client\ appClientModule\META-INF\client-resource.xmi (The system cannot find the file specified) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.(FileInputStream.java:78) at com.ibm.etools.archive.impl.DirectoryLoadStrategyImpl. getInputStream(DirectoryLoadStrategyImpl.java:117) at com.ibm.etools.commonarchive.impl.ContainerImpl. primGetInputStream(ContainerImpl.java:258) at com.ibm.etools.commonarchive.impl.ContainerImpl. getInputStream(ContainerImpl.java:237) at com.ibm.etools.archive.impl.ArchiveURIConverterImpl. createInputStream(ArchiveURIConverterImpl.java:53) at org.eclipse.emf.ecore.resource.impl.ResourceImpl. load(ResourceImpl.java:752) at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl. demandLoad(ResourceSetImpl.java:220) at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl. getResource(ResourceSetImpl.java:286) at com.ibm.etools.archive.impl.LoadStrategyImpl. getMofResource(LoadStrategyImpl.java:311) at com.ibm.etools.commonarchive.impl.ArchiveImpl. getMofResource(ArchiveImpl.java:764) at com.ibm.ws.client.applicationclient. ClientContainerResourceRepositoryImpl.loadResourceFile (ClientContainerResourceRepositoryImpl.java:516) at com.ibm.ws.client.applicationclient. ApplicationClientMetaData.getResourceConfigInfo (ApplicationClientMetaData.java:705) at com.ibm.ws.client.applicationclient.ClientContainer. addResourceEnvRefs(ClientContainer.java:484) at com.ibm.ws.client.applicationclient.ClientContainer. init(ClientContainer.java:169) at com.ibm.websphere.client.applicationclient.launchClient. createContainerAndLaunchApp(launchClient.java:590) at com.ibm.websphere.client.applicationclient.launchClient. main(launchClient.java:420) at java.lang.reflect.Method.invoke(Native Method) at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94) Wrapped by org.eclipse.emf.common.util.WrappedException: R:\ws20030726_2016-WB211-AD-V51D-GM\App_Client_Client\ appClientModule\META-INF\client-resource.xmi (The system cannot find the file specified) at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl. getResource(ResourceSetImpl.java:294) at com.ibm.etools.archive.impl.LoadStrategyImpl. getMofResource(LoadStrategyImpl.java:311) at com.ibm.etools.commonarchive.impl.ArchiveImpl. getMofResource(ArchiveImpl.java:764) at com.ibm.ws.client.applicationclient. ClientContainerResourceRepositoryImpl. loadResourceFile (ClientContainerResourceRepositoryImpl.java:516) at com.ibm.ws.client.applicationclient. ApplicationClientMetaData.getResourceConfigInfo (ApplicationClientMetaData.java:705) at com.ibm.ws.client.applicationclient.ClientContainer. addResourceEnvRefs(ClientContainer.java:484) at com.ibm.ws.client.applicationclient.ClientContainer. init(ClientContainer.java:169) at com.ibm.websphere.client.applicationclient.launchClient. createContainerAndLaunchApp(launchClient.java:590) at com.ibm.websphere.client.applicationclient.launchClient. main(launchClient.java:420) at java.lang.reflect.Method.invoke(Native Method) at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94) Additional Information: None Directions to apply fix: NOTE: YOU MUST FIRST DOWNLOAD THE FIX INSTALLER TOOL IN ORDER TO INSTALL AN FIX. The Fix Installer can be downloaded from the following link: http://www-3.ibm.com/software/webservers/appserv/support/index.html 1) Create temporary "fix" directory to store the jar file: UNIX: /tmp/WebSphere/fix Windows: c:\temp\WebSphere\fix 2) Copy jar file to the directory 3) Shutdown WebSphere 4) Follow the Fix installation instructions that are packaged with the Fix Installer on how to install the Fix. 5) Restart WebSphere 6) The temp directory may be removed. Directions to remove fix: NOTE: FIXES MUST BE REMOVED IN THE ORDER THEY WERE APPLIED. DO NOT REMOVE AN FIX UNLESS ALL FIXES APPLIED AFTER IT HAVE FIRST BEEN REMOVED. YOU MAY REAPPLY ANY REMOVED FIX. Example: If your system has fix1, fix2, and fix3 applied in that order and fix2 is to be removed, fix3 must be removed first, fix2 removed, and fix3 re-applied. 1) Shutdown WebSphere 2) Follow the instructions that are packaged with the Fix Installer on how to uninstall the Fix. 3) Restart WebSphere Directions to re-apply fix: 1) Follow the instructions for uninstalling a fix. 2) Follow the instructions for installing a fix. Additional Information: None