[jboss-dev-forums] [JBoss AS7 Development] - URL-Protocol Handler doesn't work

Daniel Straub do-not-reply at jboss.com
Sat Sep 24 11:30:16 EDT 2011


Daniel Straub [http://community.jboss.org/people/dastraub] created the discussion

"URL-Protocol Handler doesn't work"

To view the discussion, visit: http://community.jboss.org/message/628372#628372

--------------------------------------------------------------
We register some protocol handler via the system property "java.protocol.handler.pkgs".
This works very well with JBoss 4.x and 5, but now in JBoss 7 the URL can't find our handler class (in java.net.URL.
getURLStreamHandler). Here the URL will load the handler with Class.forName, but the result is always null. 
If we try to load the handler class in a EJB, it's work.
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/628372#628372]

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/20110924/e3c48295/attachment.html 


More information about the jboss-dev-forums mailing list