JBoss Community

URL-Protocol Handler doesn't work

created by Daniel Straub in JBoss AS7 Development - View the full discussion

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

Start a new discussion in JBoss AS7 Development at Community