JBWS-1178 implementation trouble
--------------------------------
Key: JBWS-1399
URL:
http://jira.jboss.com/jira/browse/JBWS-1399
Project: JBoss Web Services
Issue Type: Patch
Security Level: Public (Everyone can see)
Affects Versions: jbossws-1.0.4
Reporter: Stefano Maestri
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_s...
).
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
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
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira