-
1. Re: Unable to deploy Webservice in Jboss 7:
nickarls Nov 16, 2012 11:51 AM (in response to genrosesusai)On the same JBoss instance? How do you configure the ports?
(perhaps someone could move this post over to the JBoss AS 7 forums?)
-
2. Re: Unable to deploy Webservice in Jboss 7:
genrosesusai Nov 16, 2012 6:20 PM (in response to nickarls)I am trying to deploy 3 webservices on different ports e.g 8080, 8081, 8082. Out of 3 webservice , 2nd and 3rd webservice share the same endpoint and same package structure, same webservice class name and other details. But all three are in different war file. I made 3 copies of standalone folder and used each for each webservice.
1st and 2nd Webservice gets deployed but 3rd fails because of the below error:
"JBAS015533: Web Service endpoint com.x.y.Z with URL pattern /* is already registered. Web service endpoint com.x.y.Z is requesting the same URL pattern."
Then i deleted the 1st and 2nd instance from the jboss server and tried to run 3rd webservice only. Which still didnot work . It gives the same exception.
Can somebody show light on this.
-
3. Re: Unable to deploy Webservice in Jboss 7:
nickarls Nov 17, 2012 4:55 AM (in response to genrosesusai)How have you configured three http-connector-ports on the same AS?
-
4. Re: Unable to deploy Webservice in Jboss 7:
genrosesusai Nov 17, 2012 1:38 PM (in response to nickarls)yes in standalone.xml
for e.g.
<socket-binding name="http" port="${jboss.http.port:8080}"/>
-
5. Re: Unable to deploy Webservice in Jboss 7:
nickarls Nov 17, 2012 2:21 PM (in response to genrosesusai)The point I'm trying to make is that I'm not aware of any way of binding a single instance of JBoss to have multiple http connectors. Can somebody confirm this?
-
6. Re: Unable to deploy Webservice in Jboss 7:
genrosesusai Nov 17, 2012 2:53 PM (in response to nickarls)I am running 3 standalone instances of jboss server. did I answer your question.
-
7. Re: Unable to deploy Webservice in Jboss 7:
nickarls Nov 18, 2012 2:25 AM (in response to genrosesusai)Hmm, I have a hard time seeing how completely different instances could know of each others deployments. In standalone.xml webservice subsystem.conf there is the wsdl-host element but in any case one should think the port should be a part of the WS URL...
-
8. Re: Unable to deploy Webservice in Jboss 7:
nickarls Nov 19, 2012 1:47 AM (in response to nickarls)OK. I read your post once more. Don't copy any directories - use full copies of the AS. I think there has been some work on making multiple instances run from a single set of binaries but I'm not sure what is supported in 7.1.1. Copying folders like that was for AS6 and earlier, I think.