Yogen, Can you please try this bat file: http://svn.apache.org/repos/asf/webservices/axis2/branches/java/1_1/modules/tool/script/tcp-server.bat
Thanks, dims On 10/9/06, Yadav, Yogendra (IT) <[EMAIL PROTECTED]> wrote:
the tcp-server.bat file should be modified to: line this %_RUNJAVA% %JAVA_OPTS% -cp %AXIS2_CLASS_PATH% org.apache.axis2.transport.tcp.TCPServer %AXIS2_HOME% 6060 %* changed to %_RUNJAVA% %JAVA_OPTS% -cp %AXIS2_CLASS_PATH% org.apache.axis2.transport.tcp.TCPServer %AXIS2_HOME%/repository 6060 %* ________________________________ From: Yadav, Yogendra (IT) Sent: Monday, October 09, 2006 3:01 PM To: [email protected] Subject: axis2-RC1 problem, tcp server does not recognize deployed services 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. ________________________________ 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.
-- Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
