]
Stuart Douglas reassigned AS7-1500:
-----------------------------------
Assignee: Stuart Douglas
Additional packages in the sun.jdk module
-----------------------------------------
Key: AS7-1500
URL:
https://issues.jboss.org/browse/AS7-1500
Project: Application Server 7
Issue Type: Feature Request
Affects Versions: 7.0.0.Final
Environment: JBoss AS 7.0.0.Final, Sun JRE 1.6.0_26
Reporter: Shelley Baker
Assignee: Stuart Douglas
Attachments: jboss-test-app.ear
There are several packages that in the Sun JDK that should be made available to
applications in JBoss, including:
* com.sun.jndi.dns
* com.sun.jndi.ldap
* com.sun.security.auth
One potential solution that would prevent applications from explicitly creating these
modules or declaring them as dependencies would be to include them in the
"sun.jdk" module (AS7-962).
The inclusion of the DNS JNDI package was originally discussed in the following thread:
http://community.jboss.org/message/619522#619522. The LDAP JNDI package is already
included as a separate module (AS7-956), but it would be preferable to include it in the
"sun.jdk" module so that applications do not need to declare this module
dependency. The security package prevents performing privileged actions, so it would also
be beneficial to include in the sun.jdk module.
Attached is a test case that can be used to demonstrate the requested packages currently
missing from the classloader. The exceptions will be thrown by invoking the following:
*
http://localhost:8080/jboss-test/dns
*
http://localhost:8080/jboss-test/ldap
*
http://localhost:8080/jboss-test/security
After adding the following paths to the sun.jdk module descriptor
($JBOSS_HOME/modules/sun/jdk/main/module.xml), the classes are found and the application
behaves as expected:
<path name="com/sun/jndi/dns"/>
<path name="com/sun/jndi/ldap"/>
<path name="com/sun/security/auth"/>
--
This message is automatically generated by JIRA.
For more information on JIRA, see: