Hi,

Thanks I will try this.

Deepal Jayasinghe wrote:
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" <[EMAIL PROTECTED]>
To: <[email protected]>
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
        
     
        
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
      



    

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


  
-- 
Jean-Michel PATER <[EMAIL PROTECTED]>
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>
    


  

-- 
Jean-Michel PATER <[EMAIL PROTECTED]>
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>

Reply via email to