Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
3.3
-
None
-
None
-
Windows XP SP 2
Description
Create some SA that contains http SU with following xbean.xml file content:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<beans xmlns:ns="http://servicemix.apache.org/http/1.0" xmlns:sa="FakeWS" xmlns:sm="http://servicemix.apache.org/config/1.0">
<classpath>
<location>.</location>
</classpath>
<ns:endpoint defaultMep="http://www.w3.org/2004/08/wsdl/in-out" endpoint="FakeWS_http" locationURI="http:dshfhsdkhkj" role="consumer" service="sa:http_1" soap="true" targetEndpoint="FakeWS_eip_2" targetService="sa:eip_2"/>
</beans>
Pay attention to locationURI="http:dshfhsdkhkj" value.
Place this SA to "hotdeploy" folder and start SM.
SM started, but exception appeared when try to deploy SA:
<stack-trace><![CDATA[java.lang.IllegalArgumentException: port out of range:-1
Delete this SA from "hotdeploy" folder, change "locationURI" to correct (e.g. "locationURI="http://localhost:5005/httpserver/") and copy SA to "hotdeploy" folder
Problem:
SA can't be deployed, exception appeared:
<loc-message>An external endpoint for service
http_1 and endpoint FakeWS_http_1 is already registered
So it is impossible re-deploy SA with incorrect http "locationURI" without restarting SM