Gert,

thank you for this information. I will update the tutorial for this.

Regards,
Lars



Gert Vanthienen wrote:
> 
> Lars, Nithya,
> 
> 
> You can have multiple services exposed by servicemix-http on the same 
> port, but you have to make sure to always use the same host part when 
> specifying the locationURI.  In this case, the HTTP upload tutorial uses 
> "http://localhost:8192";, while some other examples use 
> "http://0.0.0.0:8192"; to bind to all interfaces.
> 
> So you will probably also get this working if you change the locationUri 
> for the HTTP upload example to "http://0.0.0.0:8192/upload";.  This will 
> also allow you to access the upload service from another machine, which 
> isn't possible if you only bind the service to localhost (127.0.0.1).
> 
> 
> Gert
> 
> 
> lhe77 wrote:
>> Nithya,
>> 
>> great. So finally you were able to deploy it correctly.
>> 
>> About the webserver:
>> I really don't know if it is really necessary to have an own port for
>> each
>> service. Normally it is possible to have several services just with some
>> other path than /upload. But maybe somebody else can clarify this here.
>> Another reason I can imagine for this error is, that the port 8192 is
>> somehow in use at your machine or you are missing the rights to occupy
>> this
>> port.
>> 
>> I hope the tutorial was helpful to you.
>> 
>> Regards,
>> Lars
>> 
>> 
>> 
>> nvijayak wrote:
>>> Thanks for clarifying. I understand it better now.  so each service in
>>> servicemix needs to be host on a different port. I got this mistaken
>>> with
>>> the approach axis takes. I changed the locationUri to
>>> http://localhost:8092/upload and it works now
>>>
>>> Thanks,
>>> Nithya
>>>
>> 
>> 
> 
> 
> -----
> ---
> Gert Vanthienen
> http://www.anova.be
> 

-- 
View this message in context: 
http://www.nabble.com/bind-error-in-deploying-http-upload-tutorial-tp14722182s12049p14797064.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to