Most of my apps are deployed as wars inside ears (but I have one war inside
an ear), and the issue is not with the naming of it. Application servers
will deploy the wars separated in that each war has it's own web.xml that
defines it's context root, which is the part that gets bound to the url.
Generally if the web.xml has no context root defined it uses the name of the
war, and not that of the ear.

Also the endpoint that is being found as existing is the one with
wsn-producer_b in it; so that part of the deployment is ok.

I am unsure as to how he routes to them though; since he does not use Axis.
All of my Muse apps have been Axis based.


Vinh Nguyen (vinguye2) wrote:
> 
> I think the problem is because the WAR files are inside an EAR.  So when
> you deploy the EAR, the name of the main application is the EAR name,
> not the WAR app's name.
> 
> Your producer is trying to reference this address:
> http://localhost:8080/wsn-producer_a/services/NotificationProducerA
>  
> But it can't find it because the EAR is in the way.  So the address
> should probably look like:
> http://localhost:8080/EARApp/...
> 
> But, I'm not sure how you're supposed to reference the Muse app when
> it's contained in an EAR?  The EAR must route the requests to the
> contained WARs.
> 
> 

-- 
View this message in context: 
http://www.nabble.com/One-endpoint-but-two-wsn-producer-EPRs-tf4134220.html#a11770994
Sent from the Muse User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to