APAR status
Closed as program error.
Error description
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.
Local fix Problem summary
****************************************************************
* USERS AFFECTED: WebSphere Application Server 5.0.2 customers *
****************************************************************
* PROBLEM DESCRIPTION: 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. *
****************************************************************
* RECOMMENDATION: *
****************************************************************
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.<init>(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)
Problem conclusion
Code was modified to allowed the refs to exist without
causing an exception. The code changes were packaged
into an interim fix.
Temporary fix Comments
APAR information |
APAR number |
PQ78419 |
Reported component name |
WAS BASE 5.0 |
Reported component ID |
5630A3600 |
Reported release |
00W |
Status |
CLOSED PER |
PE |
NoPE |
HIPER |
NoHIPER |
Special Attention |
NoSpecatt |
Submitted date |
2003-09-12 |
Closed date |
2003-10-28 |
Last modified date |
2004-03-26 |
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
Publications Referenced
Applicable component levels |
R003 PSY |
UP |
R00A PSY |
UP |
R00H PSY |
UP |
R00I PSY |
UP |
R00P PSY |
UP |
R00S PSY |
UP |
R00W PSY |
UP |
|