axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "José Antonio Sánchez" <>
Subject [Axis2] Problem invoking real asynchronous operation
Date Wed, 25 Apr 2007 15:02:25 GMT
I have a service deployed in Axis2 using Tomcat as container and it's
running in port 8080. Now I'm trying to access some operations in that
service using two connections as described here:

So I've added this code to my client:

stub._getServiceClient().engageModule(new QName("addressing"));

and to make it work I have created a ConfigurationContext from my
local Axis2 installation. The server and client are running in the
same machine. The problem is that when I try to invoke the service I
get the following exception:

5-abr-2007 16:43:05 org.apache.axis2.transport.http.SimpleHTTPServer start
GRAVE: Address already in use
org.apache.axis2.AxisFault: Address already in use; nested exception is: Address already in use
	at org.apache.axis2.transport.http.SimpleHTTPServer.start(
	at org.apache.axis2.engine.ListenerManager.addListener(
	at org.apache.axis2.description.ClientUtils.inferInTransport(
	at org.apache.axis2.description.OutInAxisOperationClient.execute(
	at org.lsd.transfs.installation.service.InstallationServiceStub.startInstall(
	at org.lsd.transfs.installation.InstallationServiceTest.main(
Caused by: Address already in use
	at Method)
	at org.apache.axis2.transport.http.server.DefaultConnectionListener.<init>(
	at org.apache.axis2.transport.http.server.DefaultConnectionListener.<init>(
	at org.apache.axis2.transport.http.server.HttpFactory.newRequestConnectionListener(
	at org.apache.axis2.transport.http.server.SimpleHttpServer.init(
	at org.apache.axis2.transport.http.SimpleHTTPServer.start(
	... 5 more

I suppose it's because it's trying to bind a socket to the 8080 port
that it's now busy with the service listening, so, is there a way that
I can specify to the client what port it must use when creating a
listener for an asynchronous call?

José Antonio Sánchez

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message