Shelley Baker [
http://community.jboss.org/people/shelleyb] created the discussion
"Re: Failure to Instantiate DnsContextFactory"
To view the discussion, visit:
http://community.jboss.org/message/620152#620152
--------------------------------------------------------------
I found a workaround for this issue:
* Create a com.sun.jndi.dns module, by copying $JBOSS_HOME/modules/com/sun/jndi/ldap to
$JBOSS_HOME/modules/com/sun/jndi/dns and modify occurrences of "ldap" to
"dns"
* Add the following entry to the web module's MANIFEST.MF: Dependencies:
com.sun.jndi.dns
Although this now allows the DnsContextFactory to instantiate properly, this doesn't
seem to be a feasible solution, requiring modification of all JBoss servers as well as any
applications that utilize the DnsContextFactory. Is there a bug or enhancement that could
be added to JBoss to prevent these manual modifications? Or is there already an existing
approach that can resolve this issue?
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/620152#620152]
Start a new discussion in JBoss AS7 Development at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]