[jboss-dev-forums] [JBoss AS7 Development] - Re: Failure to Instantiate DnsContextFactory
Shelley Baker
do-not-reply at jboss.com
Tue Aug 9 11:07:59 EDT 2011
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&containerType=14&container=2225]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20110809/509cb5af/attachment.html
More information about the jboss-dev-forums
mailing list