PQ95872: PLUGIN REGEN WILL NOT WORK AND THE APPLICATION WILL NOT START, IF THERE IS A SOFTLINK W/IN A SOFTLINK | |||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||
APAR status Closed as program error. Error description The problem is recreatable and it was recreated by making installedApps a softlink, and by creating another softlink for Increment.jar in the sampleApp.This happens only when there is a soft link created with in a linked directory. When Increment.jar and installedApps are both softlinks, commonarchive code is using the Absolute path while indexing (/usr/WebSphere/AppServer/installedApps/sampleApp.ear/Increment. jar) and it fails to find Increment.jar from the list, as it contains the full path. ------------------------------------------------------------- Working trace of the FileList built by commonarchive code: installedApps is a softlink, but Increment.jar is not a link: [8/27/04 9:45:44:929 EDT] 30a503f2 SystemOut U Getting list of files[com.ibm.etools.commonarchive.impl.WARFileImpl (URI:default_app.war, lastModified: 1093009478000, size: 512, originalURI:default_app.war), com.ibm.etools.commonarchive.impl.WARFileImpl (URI: examples.war, lastModified: 1093009479000, size: 512, originalURI: examples.war), com.ibm.etools.commonarchive.impl.EJBJarFileImpl (URI: beenthere.jar, lastModified: 1093009479000, size: 45600, originalURI: beenthere.jar), com.ibm.etools.commonarchive.impl.EJBJarFileImpl (URI : Increment.jar) ---------------------------------------------------------------- Failing trace of the FileList built by commonarchive code: installedApps is a softlink and Increment.jar is also a soft link : [8/27/04 9:38:17:608 EDT] 30a50095 SystemOut U Getting list of files[com.ibm.etools.commonarchive.impl.WARFileImpl (URI: default_app.war, lastModified: 1093009478000, size: 512, originalURI: default_app.war), com.ibm.etools.commonarchive.impl.WARFileImpl (URI: examples.war, lastModified: 1093009479000, size: 512, originalURI: examples.war), com.ibm.etools.commonarchive.impl.EJBJarFileImpl (URI: beenthere.jar, lastModified: 1093009479000, size: 45600, originalURI: beenther e.jar), com.ibm.etools.commonarchive.impl.FileImpl URI: /usr/WebSphere/AppServer/installedApps/sampleApp.ear/Increment.j ar, lastModified: 1093009480000, size:59771, originalURI: /usr/WebSphere/AppServer/installedApps/sampleApp.ear/Increment.j ar), com.ibm.etools.commonarchive.impl.FileImpl (URI: META-INF/ibm-application-bnd.xmi, lastModified: 1065456180000, size: 954, originalURI: META-INF/ibm-application-bnd.xmi), com.ibm.etools.commonarchive.impl.FileImpl (URI: META-INF/MA NIFEST.MF, lastModified: 1093009480000, size: 62, originalURI: META-INF/MANIFEST.MF), com.ibm.etools.commonarchive.impl.FileImpl (URI: META-INF/application.xml, lastModified: 1093009480000, size: 1434, originalURI: META-INF/application.xml), ---------------------------------------------------------------- Websphere Application server 4.0.7Local fix No WorkAroundProblem summary **************************************************************** * USERS AFFECTED: Customers using WebSphere Application * * Server 4.0.7 * **************************************************************** * PROBLEM DESCRIPTION: Plugin regen fails when an application * * has a softlink within a softlink. * **************************************************************** * RECOMMENDATION: * **************************************************************** The problem is recreatable and it was recreated by making installedApps a softlink, and by creating another softlink for Increment.jar in the sampleApp. This happens only when there is a soft link created with in a linked directory. When Increment.jar and installedApps are both softlinks, commonarchive code is using the Absolute path while indexing (/usr/WebSphere/AppServer/installedApps/sampleApp.ear/ Increment.jar) and it fails to find Increment.jar from the list, as it contains the full path. ------------------------------------------------------------- Working trace of the FileList built by commonarchive code: installedApps is a softlink, but Increment.jar is not a link: [8/27/04 9:45:44:929 EDT] 30a503f2 SystemOut U Getting list of files[com.ibm.etools.commonarchive.impl.WARFileImpl (URI:default_app.war, lastModified: 1093009478000, size: 512, originalURI:default_app.war), com.ibm.etools.commonarchive.impl.WARFileImpl (URI: examples.war, lastModified: 1093009479000, size: 512, originalURI: examples.war), com.ibm.etools.commonarchive.impl.EJBJarFileImpl (URI: beenthere.jar, lastModified: 1093009479000, size: 45600, originalURI: beenthere.jar), com.ibm.etools.commonarchive.impl.EJBJarFileImpl (URI : Increment.jar) -------------------------------------------------------------- Failing trace of the FileList built by commonarchive code: installedApps is a softlink and Increment.jar is also a soft link : [8/27/04 9:38:17:608 EDT] 30a50095 SystemOut U Getting list of files[com.ibm.etools.commonarchive.impl.WARFileImpl (URI: default_app.war, lastModified: 1093009478000, size: 512, originalURI: default_app.war), com.ibm.etools.commonarchive.impl.WARFileImpl (URI: examples.war, lastModified: 1093009479000, size: 512, originalURI:examples.war), com.ibm.etools.commonarchive.impl.EJBJarFileImpl (URI: beenthere.jar, lastModified: 1093009479000, size: 45600, originalURI: beenthere.jar), com.ibm.etools.commonarchive.impl.FileImpl URI: /usr/WebSphere/AppServer/installedApps/sampleApp.ear/ Increment.jar, lastModified: 1093009480000, size:59771, originalURI: /usr/WebSphere/AppServer/installedApps/sampleApp.ear/ Increment.jar), com.ibm.etools.commonarchive.impl.FileImpl (URI: META-INF/ibm-application-bnd.xmi, lastModified: 1065456180000, size:954, originalURI: META-INF/ibm-application-bnd.xmi), com.ibm.etools.commonarchive.impl.FileImpl (URI: META-INF/MA NIFEST.MF, lastModified: 1093009480000, size: 62, originalURI: META-INF/MANIFEST.MF), com.ibm.etools.commonarchive.impl.FileImpl (URI: META-INF/application.xml, lastModified: 1093009480000, size:1434, originalURI: META-INF/application.xml), --------------------------------------------------------------Problem conclusion Received patch from common-archive team (mofj2ee.jar). Created fix. Created build with the patch.Temporary fix Comments
APAR is sysrouted FROM one or more of the following: APAR is sysrouted TO one or more of the following: Modules/Macros
|
Document Information |
Product categories: Software > Application Servers >
Distributed Application & Web Servers > WebSphere Application
Server > General
Operating system(s):
Software version: 400
Software edition:
Reference #: PQ95872
IBM Group: Software Group
Modified date: Nov 16, 2004
(C) Copyright IBM Corporation 2000, 2006. All Rights Reserved.