-
Patch
-
Resolution: Done
-
Major
-
jbossws-1.0.4
-
None
-
None
I got jbossws-1.0.4 and I installed it in my environment (for the description of the environment refer to my original blog post about multiple virtual host:
http://www.javalinux.it/blogs/index.php?title=multiple_virtual_host_and_soap_address_p&more=1&c=1&tb=1&pb=1 ).
There are some problems
- If I follow instruction in jboss-beans.xml leaving webservicehost as a null string I get this Exception during deploy of jbossws:
Code:
09:11:02,349 ERROR [AbstractKernelController] Error installing to Configured: name=ServiceEndpointMa
nager state=Instantiated mode=Manual requiredState=Create
java.lang.IllegalArgumentException: Null value metadata
at org.jboss.kernel.plugins.config.Configurator.getPropertySetterJoinPoint(Configurator.java
:487)
at org.jboss.kernel.plugins.config.Configurator.getPropertySetterJoinPoint(Configurator.java
:434)
at org.jboss.kernel.plugins.config.Configurator.getPropertySetterJoinPoints(Configurator.jav
a:398)
at org.jboss.kernel.plugins.config.AbstractKernelConfigurator.getPropertySetterJoinPoints(Ab
[...]
-
-
- DEPLOYMENTS IN ERROR:
ServiceEndpointManager -> java.lang.IllegalArgumentException: Null value metadata
- DEPLOYMENTS IN ERROR:
-
If I comment the webServiceHost tag the deploy works correctly. I think here the explaination in the commented part of jboss-beans.xml have to be changed .
- The current implementation only replaces the host name, but not the port used to call the webservice. I think the port replacing is also very important in an environment of complete virtual hosting like our one. Using Linux Virtual Server is normal to virtualize ports. For example we use ports > 1024 on real servers and standard 80/443 ports on virtual servers
- You didn't apply the patch on showServiceEndpointTable method in ServiceEndPointManager. This method is called from context servlets and IMHO have to replace host and ports accordingly to wsdl's replacing. Otherwise you get an horrible list of wsdl pointing to "http://jbossws.undefined.host/..." and of course links do not work