axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepal Jayasinghe <dee...@opensource.lk>
Subject Re: [Axis2]: SimpleHTTPServer port
Date Thu, 27 Jul 2006 07:42:18 GMT
Hi Jean;
The best way is
  - First create configuration context
  - Then create serviceClient / ServiceClients using that
  - And use the those serviceClient to invoke the service
   - In that case you wont get any exception
 
PS: Try to share same configurationContext across all the service client

Jean-Michel PATER wrote:

> When you are using dual transport with HTTP transport can you use this
feature or the server port can't be specified ?
>
> Saminda Abeyruwan wrote:
>

> SimpleHTTPServer default port is set to 8080. If you want to open
> multiple SHTTPServers, then you have to provide the args with -p.
>
> Ex: SimpleHTTPServer -p9762 /tmp/repo
>
> to start SHTTPS on port 9762 with /tem/repo repository and default
> axis2.xml
>
> Saminda
>
> Jaliya Ekanayake wrote:
>  
>
> >Resending with [Axis2] prefix.
> >----- Original Message ----- From: "Jean-Michel PATER" <pater@cogenit.fr>
> >To: <axis-dev@ws.apache.org>
> >Sent: Wednesday, July 26, 2006 11:46 AM
> >Subject: SimpleHTTPServer port
>
>
>
>
> >>Hi all,
>
> >>How can I dynamically modify the SimpleHTTPServer port number. I want
> >>to call simultaneously several web services but I get the following
> >>exception :
>
> >>      
>
> >>>org.apache.axis2.transport.http.SimpleHTTPServer -
> >>>java.net.BindException: Address already in use
> >>>        
> >>>
> >>For now, the port is define in webapps/axis2/WEB-INF/conf/axis2.xml.
> >>Can I modify this port at runtime in order to have several
> >>simpleHTTPServer at the same time ?
>
>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
> >>For additional commands, e-mail: axis-dev-help@ws.apache.org
>
> >>      
>
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
> >For additional commands, e-mail: axis-dev-help@ws.apache.org
>
>
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
 


>-- 
>Jean-Michel PATER <pater@cogenit.fr>
>Cogenit Tél : +33 (0) 1 40 20 08 43
>53 rue Sainte Anne Fax : +33 (0) 1 40 20 08 45
>75002 Paris <URL:http://www.cogenit.fr>


-- 
Thanks,
Deepal
................................................................
~Future is Open~



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message