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

Daniel Straub do-not-reply at jboss.com
Sat Sep 24 19:00:57 EDT 2011


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

"Re: URL-Protocol Handler doesn't work"

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

--------------------------------------------------------------
That is a solution, thanks for the fast response !
But at the moment the protocol handlers are part of our application. 
In your solution the handler classes (with all dependencies) have to move to the server installation, in a module with a service extension.
A hotdeploy or dynamic registration of handlers is impossible.
Or can we register the handler as a service extension in our jar files ? I guess not, because the ModulearURLStreamHandlerFactory resolve this in a static initializer.

The "java.protocol.handler.pkgs" - mechanism is a standard java way (more or less) what we use since a long time.
It's hard to accept that this is impossible with the new AS7 and to change a long running, tested application.
What's the reason for this ClassNotFoundException ?
--------------------------------------------------------------

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

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/18b61b33/attachment.html 


More information about the jboss-dev-forums mailing list