[jboss-dev-forums] [JBoss AS 7 Development] - Re: URL-Protocol Handler doesn't work
David Lloyd
do-not-reply at jboss.com
Tue Apr 10 10:54:33 EDT 2012
David Lloyd [https://community.jboss.org/people/dmlloyd] created the discussion
"Re: URL-Protocol Handler doesn't work"
To view the discussion, visit: https://community.jboss.org/message/729141#729141
--------------------------------------------------------------
I'll field this one.
If you have a +static+ module which you want considered as a URL stream handler provider for a standalone AS server instance, you must add your custom module to the org.jboss.as.standalone module import list like this:
<dependencies>
<module name="javax.api"/>
<module name="org.jboss.logmanager" services="import"/>
<module name="org.jboss.as.jmx" services="import"/>
<module name="org.jboss.as.server" export="true"/>
<module name="jcifs" services="import"/>
</dependencies>
This should cause your URL handler to be recognized.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/729141#729141]
Start a new discussion in JBoss AS 7 Development at Community
[https://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/20120410/90865e0a/attachment.html
More information about the jboss-dev-forums
mailing list