APAR status
Closed as program error.
Error description
Running Web Services implementation using a service to service
link. In other words a client implementation in a server that
accesses another web services.Without security this works
fine but with Java 2 security turned on the following
error occurs.
[6/20/03 19:26:28:484 PDT] 740051ef SecurityManag W SECJ0314W:
Current Java 2 Security policy reported a potential violation
of Java 2 Security Permission.
Please refer to Problem Determination Guide for further
information.Permission:
accessClassInPackage.sun.net.www.protocol.jms : access denied
Local fix Problem summary
****************************************************************
* USERS AFFECTED: All WebSphere Application Server who have *
* enabled security and are creating URL *
* connections using the Java Message Service *
* ( JMS ) protocol. *
****************************************************************
* PROBLEM DESCRIPTION: The following exception is thrown when *
* creating a URL connection: *
* java.security.AccessControlException . *
****************************************************************
* RECOMMENDATION: *
****************************************************************
The following exception occurs when creating a URL connection
using the JMS protocol when global security is enabled:
java.security.AccessControlException: access denied
(java.lang.RuntimePermission
accessClassInPackage.sun.net.www.protocol.jms)
at java.security.AccessControlContext.checkPermission
(AccessControlContext.java(Compiled Code))
at java.security.AccessController.checkPermission
(AccessController.java(Compiled Code))
at java.lang.SecurityManager.checkPermission
(SecurityManager.java(Compiled Code))
at com.ibm.ws.security.core.SecurityManager.
checkPermission(SecurityManager.java(Compiled Code))
at java.lang.SecurityManager.checkPackageAccess
(SecurityManager.java(Compiled Code))
If this permission is granted into the was.policy file of the
application the error that occurs is a MalformedURLException.
The cause was explicitly setting the java.protocol.handler.pkgs
system property, overriding what is already specified for the
JMS protocol.
Problem conclusion
The JMS protocol handler package is now appended to the
java.protocol.handler.pkgs system property value rather than
replacing the property value.
Temporary fix Comments
APAR information |
APAR number |
PQ75698 |
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-06-26 |
Closed date |
2003-07-31 |
Last modified date |
2003-07-31 |
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 |
|