I am testing axis2-RC1. I have copied Axis2SampleDocLitService.aar and MyService.aar in C:\software\axis2-rc1\repository\services directory.
 
Now I have started HTTP Server and TCP Server using commands start.bat and tcp-server.bat. I see different outputs displayed for the two commands, my question, is this right, looks like TCP server has not recognized any of the .aar files.
 
Display when tcp-server.bat is run:
---------------------------------------------------
C:\software\axis2-rc1\bin>tcp-server.bat
Using AXIS2_HOME:   C:\software\axis2-rc1
Using JAVA_HOME:    C:\Program Files\AFSMirror\sunjdk\1.5.0_04
Oct 9, 2006 2:01:38 PM org.apache.axis2.deployment.DeploymentEngine prepareRepository
INFO: no services directory found , new one created
Oct 9, 2006 2:01:38 PM org.apache.axis2.deployment.DeploymentEngine doDeploy
INFO: Deploying module : addressing-1.09
[Axis2] Using the Repository C:\software\axis2-rc1
[Axis2] Starting the TCP Server on port 6060
Display when tcp-server.bat is run:
---------------------------------------------------
C:\software\axis2-rc1\bin>start.bat
Using AXIS2_HOME:   C:\software\axis2-rc1
Using JAVA_HOME:    C:\Program Files\AFSMirror\sunjdk\1.5.0_04
[SimpleHTTPServer] Starting
[SimpleHTTPServer] Using the Axis2 Repository C:\software\axis2-rc1\repository
[SimpleHTTPServer] Listening on port 8080
Oct 9, 2006 2:52:52 PM org.apache.axis2.deployment.DeploymentEngine prepareRepository
INFO: no modules directory found , new one created
Oct 9, 2006 2:52:52 PM org.apache.axis2.deployment.DeploymentEngine doDeploy
INFO: Deploying module : addressing-1.09
Oct 9, 2006 2:52:53 PM org.apache.axis2.deployment.DeploymentEngine doDeploy
INFO: Deploying Web service  Axis2SampleDocLitService.aar
Oct 9, 2006 2:52:53 PM org.apache.axis2.deployment.DeploymentEngine doDeploy
INFO: Deploying Web service  MyService.aar
[SimpleHTTPServer] Started
Oct 9, 2006 2:52:53 PM org.apache.axis2.transport.http.server.DefaultConnectionListener run
INFO: Listening on port 8080
When I try to access service listening on TCP connection I get an error: Service not found operation terminated !!
-------------------------------------------------------------------------------------------------------------------------------------------------------------------
Oct 9, 2006 2:57:15 PM org.apache.axis2.deployment.DeploymentEngine doDeploy
INFO: Deploying module : addressing-1.09
org.apache.axis2.AxisFault: Service not found operation terminated !!
 at org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:294)
 at com.sample.Axis2SampleDocLitServiceStub.echoString(Axis2SampleDocLitServiceStub.java:505)
 at TCP1Client.echoString(TCP1Client.java:28)
 at TCP1Client.main(TCP1Client.java:17)
Caused by: java.lang.Exception: org.apache.axis2.AxisFault: Service not found operation terminated !!
 at org.apache.axis2.engine.InstanceDispatcher.fillContextsFromSessionContext(InstanceDispatcher.java:113)
 at org.apache.axis2.engine.InstanceDispatcher.invoke(InstanceDispatcher.java:64)
 at org.apache.axis2.engine.Phase.invoke(Phase.java:377)
 at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:513)
 at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:484)
 at org.apache.axis2.transport.tcp.TCPWorker.run(TCPWorker.java:93)
 at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
 at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
 at java.lang.Thread.run(Thread.java:595)
 
 at org.apache.axis2.AxisFault.<init>(AxisFault.java:159)
 ... 4 more
null
Any clues, what may be wrong ?
 

NOTICE: If received in error, please destroy and notify sender. Sender does not intend to waive confidentiality or privilege. Use of this email is prohibited when received in error.

Reply via email to