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.7
Local fix
No WorkAround
Problem 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 information
APAR number PQ95872
Reported component name WEBSPHERE AE AI
Reported component ID 5630A2200
Reported release 400
Status CLOSED PER
PE NoPE
HIPER NoHIPER
Submitted date 2004-10-18
Closed date 2004-10-27
Last modified date 2004-11-16

APAR is sysrouted FROM one or more of the following:

APAR is sysrouted TO one or more of the following:

Modules/Macros
PREREQ          

Fix information

Applicable component levels
R400 PSY    UP


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