domenica 18 marzo 2012

Jboss 4.2.3 remoting services not working with non RFC-952 compliant hostname

Jboss  Version 4.2.3 introduces a new version  (2.2.2 SP8) of   jboss-remoting.jar  involved for connecting remote server with :
o    Socket (SSL Socket)
o    RMI (SSL RMI)  (es. EJB remote invocation)
o    HTTP(S) (web and webServices)
o    Bisocket (SSL Bisocket)
o    Servlet (SSL Servlet)

This new library version checks remote hostname sintax according RFC-952  otherwise raise a generic I/O exception.
Usually hostname doesn't mach specs if contains some char as '_' (for example invalid_host_name is not RFC-952 compliant). 
If you can't modify hostname you have same choices:
- return to version 2.2.2.SP1 used in jboss-4.2.2 (doesn't check hostname sintax).
- try to configure your remote server  web container (es. tomcat based web contatiner) for a different binding. 

Nessun commento:

Posta un commento