APAR status
Closed as program error.
Error description
Null returned when accessing the resource file
(deploy.properties file)
via symbolic link by means of Class.getResource() in 5.0 but
works fine
in 4.0.3 FYI, symbolic link is under the classpath but not the
real file
in both the versions
Truss was taken when working and when not working.
and kept under wasdoc1\08\08500.004.000\June16
Local fix
Cu needs to keep the real file dir structure also in the
classpath
in addition to keeping the symbolic link dir structure
Problem summary
****************************************************************
* USERS AFFECTED: WebSphere Application Server 5.0 Users. *
****************************************************************
* PROBLEM DESCRIPTION: A null is returned when accessing a *
* resource file via a symbolic link. *
****************************************************************
* RECOMMENDATION: *
****************************************************************
A null is returned when accessing a resource file (.properties
file) that is using a symbolic link.
Below is a sample snippet of code used to load the properties
file:
URL myurl = Config.class.getResource(FILE_DEPLOY) ;
When the file is real (not a symbolic link) it loads properly.
When the file is a symbolic link it does not load. The variable
myurl is null.
Problem conclusion
The getResource method has been modified to access symbolic
links in Unix, provided the link is created in the appropriate
directory.
Temporary fix
Fix provided to customer, waiting for feedback..
Comments
APAR information |
APAR number |
PQ75815 |
Reported component name |
WEBSPHERE AE AI |
Reported component ID |
5630A3600 |
Reported release |
00S |
Status |
CLOSED PER |
PE |
NoPE |
HIPER |
NoHIPER |
Special Attention |
NoSpecatt |
Submitted date |
2003-06-30 |
Closed date |
2003-07-30 |
Last modified date |
2003-07-30 |
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
PQ79097
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 |
|