You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Michele Mazzucco (JIRA)" <ji...@apache.org> on 2006/10/30 10:36:27 UTC

[jira] Created: (AXIS2-1546) sample clients fail (only if addressing module is used)

sample clients fail (only if addressing module is used)
-------------------------------------------------------

                 Key: AXIS2-1546
                 URL: http://issues.apache.org/jira/browse/AXIS2-1546
             Project: Apache Axis 2.0 (Axis2)
          Issue Type: Sub-task
          Components: client-api
         Environment: nigthly build 30/10/06, java 5
            Reporter: Michele Mazzucco
            Priority: Blocker


Dims, in when I updated axis2 I forgot to deploy the sample web service. Actually he problem arises ONLY when the addressing module is needed.

tomcat catalina.out:

Oct 30, 2006 9:28:03 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: .:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
Oct 30, 2006 9:28:04 AM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Oct 30, 2006 9:28:04 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1382 ms
Oct 30, 2006 9:28:04 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Oct 30, 2006 9:28:04 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.15
Oct 30, 2006 9:28:04 AM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Oct 30, 2006 9:28:05 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive axis2.war
2006-10-30 09:28:07,094 INFO  org.apache.axis2.deployment.DeploymentEngine - Deploying module : addressing-1.1
2006-10-30 09:28:07,102 INFO  org.apache.axis2.deployment.DeploymentEngine - Deploying module : soapmonitor-1.1
2006-10-30 09:28:07,285 INFO  org.apache.axis2.deployment.DeploymentEngine - Deploying Web service  version.aar
Oct 30, 2006 9:28:08 AM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Oct 30, 2006 9:28:08 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Oct 30, 2006 9:28:08 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/55  config=null
Oct 30, 2006 9:28:08 AM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Oct 30, 2006 9:28:08 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 4177 ms
2006-10-30 09:29:47,389 INFO  org.apache.axis2.deployment.DeploymentEngine - Deploying Web service  MyService.aar


Clients:

testEchoBlockingClient:
     [java] Oct 30, 2006 9:30:00 AM org.apache.axis2.deployment.DeploymentEngine prepareRepository
     [java] INFO: no services directory found , new one created
     [java] Oct 30, 2006 9:30:00 AM org.apache.axis2.deployment.DeploymentEngine prepareRepository
     [java] INFO: no modules directory found , new one created
     [java] <example1:echo xmlns:tns="http://example1.userguide" xmlns:example1="http://example1.org/example1"><example1:Text>Axis2 Echo String </example1:Text></example1:echo>

BUILD SUCCESSFUL
Total time: 2 seconds
sealbook:~/Desktop/axis2-1.1-SNAPSHOT/samples/userguide nmm42$ ant testEchoNonBlockingClient
Buildfile: build.xml

testEchoNonBlockingClient:
     [java] Oct 30, 2006 9:30:12 AM org.apache.axis2.deployment.DeploymentEngine prepareRepository
     [java] INFO: no services directory found , new one created
     [java] Oct 30, 2006 9:30:12 AM org.apache.axis2.deployment.DeploymentEngine prepareRepository
     [java] INFO: no modules directory found , new one created
     [java] <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header /><soapenv:Body><example1:echo xmlns:tns="http://example1.userguide" xmlns:example1="http://example1.org/example1"><example1:Text>Axis2 Echo String </example1:Text></example1:echo></soapenv:Body></soapenv:Envelope>

BUILD SUCCESSFUL
Total time: 2 seconds

As you can see, even the asynchronous sample works, if only one channel is used.

sealbook:~/Desktop/axis2-1.1-SNAPSHOT/samples/userguide nmm42$ ant testEchoNonBlockingDualClient
Buildfile: build.xml

testEchoNonBlockingDualClient:
     [java] Oct 30, 2006 9:30:26 AM org.apache.axis2.deployment.DeploymentEngine prepareRepository
     [java] INFO: no services directory found , new one created
     [java] Oct 30, 2006 9:30:26 AM org.apache.axis2.deployment.DeploymentEngine prepareRepository
     [java] INFO: no modules directory found , new one created
     [java] org.apache.axis2.AxisFault: Module not found
     [java]     at org.apache.axis2.description.AxisService.engageModule(AxisService.java:478)
     [java]     at org.apache.axis2.client.ServiceClient.engageModule(ServiceClient.java:294)
     [java]     at userguide.clients.EchoNonBlockingDualClient.main(EchoNonBlockingDualClient.java:63)

sealbook:~/Desktop/axis2-1.1-SNAPSHOT/samples/userguide nmm42$ ant testEchoBlockingDualClient
Buildfile: build.xml

testEchoBlockingDualClient:
     [java] Oct 30, 2006 9:36:12 AM org.apache.axis2.deployment.DeploymentEngine prepareRepository
     [java] INFO: no services directory found , new one created
     [java] Oct 30, 2006 9:36:12 AM org.apache.axis2.deployment.DeploymentEngine prepareRepository
     [java] INFO: no modules directory found , new one created
     [java] org.apache.axis2.AxisFault: Module not found
     [java]     at org.apache.axis2.description.AxisService.engageModule(AxisService.java:478)
     [java]     at org.apache.axis2.client.ServiceClient.engageModule(ServiceClient.java:294)
     [java]     at userguide.clients.EchoBlockingDualClient.main(EchoBlockingDualClient.java:51)



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] Assigned: (AXIS2-1546) sample clients fail (only if addressing module is used)

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-1546?page=all ]

Davanum Srinivas reassigned AXIS2-1546:
---------------------------------------

    Assignee: Thilina Gunarathne

> sample clients fail (only if addressing module is used)
> -------------------------------------------------------
>
>                 Key: AXIS2-1546
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1546
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Sub-task
>          Components: client-api
>         Environment: nigthly build 30/10/06, java 5
>            Reporter: Michele Mazzucco
>         Assigned To: Thilina Gunarathne
>            Priority: Blocker
>
> Dims, in when I updated axis2 I forgot to deploy the sample web service. Actually he problem arises ONLY when the addressing module is needed.
> tomcat catalina.out:
> Oct 30, 2006 9:28:03 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
> INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: .:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
> Oct 30, 2006 9:28:04 AM org.apache.coyote.http11.Http11BaseProtocol init
> INFO: Initializing Coyote HTTP/1.1 on http-8080
> Oct 30, 2006 9:28:04 AM org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 1382 ms
> Oct 30, 2006 9:28:04 AM org.apache.catalina.core.StandardService start
> INFO: Starting service Catalina
> Oct 30, 2006 9:28:04 AM org.apache.catalina.core.StandardEngine start
> INFO: Starting Servlet Engine: Apache Tomcat/5.5.15
> Oct 30, 2006 9:28:04 AM org.apache.catalina.core.StandardHost start
> INFO: XML validation disabled
> Oct 30, 2006 9:28:05 AM org.apache.catalina.startup.HostConfig deployWAR
> INFO: Deploying web application archive axis2.war
> 2006-10-30 09:28:07,094 INFO  org.apache.axis2.deployment.DeploymentEngine - Deploying module : addressing-1.1
> 2006-10-30 09:28:07,102 INFO  org.apache.axis2.deployment.DeploymentEngine - Deploying module : soapmonitor-1.1
> 2006-10-30 09:28:07,285 INFO  org.apache.axis2.deployment.DeploymentEngine - Deploying Web service  version.aar
> Oct 30, 2006 9:28:08 AM org.apache.coyote.http11.Http11BaseProtocol start
> INFO: Starting Coyote HTTP/1.1 on http-8080
> Oct 30, 2006 9:28:08 AM org.apache.jk.common.ChannelSocket init
> INFO: JK: ajp13 listening on /0.0.0.0:8009
> Oct 30, 2006 9:28:08 AM org.apache.jk.server.JkMain start
> INFO: Jk running ID=0 time=0/55  config=null
> Oct 30, 2006 9:28:08 AM org.apache.catalina.storeconfig.StoreLoader load
> INFO: Find registry server-registry.xml at classpath resource
> Oct 30, 2006 9:28:08 AM org.apache.catalina.startup.Catalina start
> INFO: Server startup in 4177 ms
> 2006-10-30 09:29:47,389 INFO  org.apache.axis2.deployment.DeploymentEngine - Deploying Web service  MyService.aar
> Clients:
> testEchoBlockingClient:
>      [java] Oct 30, 2006 9:30:00 AM org.apache.axis2.deployment.DeploymentEngine prepareRepository
>      [java] INFO: no services directory found , new one created
>      [java] Oct 30, 2006 9:30:00 AM org.apache.axis2.deployment.DeploymentEngine prepareRepository
>      [java] INFO: no modules directory found , new one created
>      [java] <example1:echo xmlns:tns="http://example1.userguide" xmlns:example1="http://example1.org/example1"><example1:Text>Axis2 Echo String </example1:Text></example1:echo>
> BUILD SUCCESSFUL
> Total time: 2 seconds
> sealbook:~/Desktop/axis2-1.1-SNAPSHOT/samples/userguide nmm42$ ant testEchoNonBlockingClient
> Buildfile: build.xml
> testEchoNonBlockingClient:
>      [java] Oct 30, 2006 9:30:12 AM org.apache.axis2.deployment.DeploymentEngine prepareRepository
>      [java] INFO: no services directory found , new one created
>      [java] Oct 30, 2006 9:30:12 AM org.apache.axis2.deployment.DeploymentEngine prepareRepository
>      [java] INFO: no modules directory found , new one created
>      [java] <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header /><soapenv:Body><example1:echo xmlns:tns="http://example1.userguide" xmlns:example1="http://example1.org/example1"><example1:Text>Axis2 Echo String </example1:Text></example1:echo></soapenv:Body></soapenv:Envelope>
> BUILD SUCCESSFUL
> Total time: 2 seconds
> As you can see, even the asynchronous sample works, if only one channel is used.
> sealbook:~/Desktop/axis2-1.1-SNAPSHOT/samples/userguide nmm42$ ant testEchoNonBlockingDualClient
> Buildfile: build.xml
> testEchoNonBlockingDualClient:
>      [java] Oct 30, 2006 9:30:26 AM org.apache.axis2.deployment.DeploymentEngine prepareRepository
>      [java] INFO: no services directory found , new one created
>      [java] Oct 30, 2006 9:30:26 AM org.apache.axis2.deployment.DeploymentEngine prepareRepository
>      [java] INFO: no modules directory found , new one created
>      [java] org.apache.axis2.AxisFault: Module not found
>      [java]     at org.apache.axis2.description.AxisService.engageModule(AxisService.java:478)
>      [java]     at org.apache.axis2.client.ServiceClient.engageModule(ServiceClient.java:294)
>      [java]     at userguide.clients.EchoNonBlockingDualClient.main(EchoNonBlockingDualClient.java:63)
> sealbook:~/Desktop/axis2-1.1-SNAPSHOT/samples/userguide nmm42$ ant testEchoBlockingDualClient
> Buildfile: build.xml
> testEchoBlockingDualClient:
>      [java] Oct 30, 2006 9:36:12 AM org.apache.axis2.deployment.DeploymentEngine prepareRepository
>      [java] INFO: no services directory found , new one created
>      [java] Oct 30, 2006 9:36:12 AM org.apache.axis2.deployment.DeploymentEngine prepareRepository
>      [java] INFO: no modules directory found , new one created
>      [java] org.apache.axis2.AxisFault: Module not found
>      [java]     at org.apache.axis2.description.AxisService.engageModule(AxisService.java:478)
>      [java]     at org.apache.axis2.client.ServiceClient.engageModule(ServiceClient.java:294)
>      [java]     at userguide.clients.EchoBlockingDualClient.main(EchoBlockingDualClient.java:51)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] Commented: (AXIS2-1546) sample clients fail (only if addressing module is used)

Posted by "Michele Mazzucco (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-1546?page=comments#action_12445549 ] 
            
Michele Mazzucco commented on AXIS2-1546:
-----------------------------------------

Dims,

I've tried to add the addressing module to class path in samples/userguide/build.xml, but it does not work

> sample clients fail (only if addressing module is used)
> -------------------------------------------------------
>
>                 Key: AXIS2-1546
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1546
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Sub-task
>          Components: client-api
>         Environment: nigthly build 30/10/06, java 5
>            Reporter: Michele Mazzucco
>         Assigned To: Thilina Gunarathne
>            Priority: Blocker
>
> Dims, in when I updated axis2 I forgot to deploy the sample web service. Actually he problem arises ONLY when the addressing module is needed.
> tomcat catalina.out:
> Oct 30, 2006 9:28:03 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
> INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: .:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
> Oct 30, 2006 9:28:04 AM org.apache.coyote.http11.Http11BaseProtocol init
> INFO: Initializing Coyote HTTP/1.1 on http-8080
> Oct 30, 2006 9:28:04 AM org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 1382 ms
> Oct 30, 2006 9:28:04 AM org.apache.catalina.core.StandardService start
> INFO: Starting service Catalina
> Oct 30, 2006 9:28:04 AM org.apache.catalina.core.StandardEngine start
> INFO: Starting Servlet Engine: Apache Tomcat/5.5.15
> Oct 30, 2006 9:28:04 AM org.apache.catalina.core.StandardHost start
> INFO: XML validation disabled
> Oct 30, 2006 9:28:05 AM org.apache.catalina.startup.HostConfig deployWAR
> INFO: Deploying web application archive axis2.war
> 2006-10-30 09:28:07,094 INFO  org.apache.axis2.deployment.DeploymentEngine - Deploying module : addressing-1.1
> 2006-10-30 09:28:07,102 INFO  org.apache.axis2.deployment.DeploymentEngine - Deploying module : soapmonitor-1.1
> 2006-10-30 09:28:07,285 INFO  org.apache.axis2.deployment.DeploymentEngine - Deploying Web service  version.aar
> Oct 30, 2006 9:28:08 AM org.apache.coyote.http11.Http11BaseProtocol start
> INFO: Starting Coyote HTTP/1.1 on http-8080
> Oct 30, 2006 9:28:08 AM org.apache.jk.common.ChannelSocket init
> INFO: JK: ajp13 listening on /0.0.0.0:8009
> Oct 30, 2006 9:28:08 AM org.apache.jk.server.JkMain start
> INFO: Jk running ID=0 time=0/55  config=null
> Oct 30, 2006 9:28:08 AM org.apache.catalina.storeconfig.StoreLoader load
> INFO: Find registry server-registry.xml at classpath resource
> Oct 30, 2006 9:28:08 AM org.apache.catalina.startup.Catalina start
> INFO: Server startup in 4177 ms
> 2006-10-30 09:29:47,389 INFO  org.apache.axis2.deployment.DeploymentEngine - Deploying Web service  MyService.aar
> Clients:
> testEchoBlockingClient:
>      [java] Oct 30, 2006 9:30:00 AM org.apache.axis2.deployment.DeploymentEngine prepareRepository
>      [java] INFO: no services directory found , new one created
>      [java] Oct 30, 2006 9:30:00 AM org.apache.axis2.deployment.DeploymentEngine prepareRepository
>      [java] INFO: no modules directory found , new one created
>      [java] <example1:echo xmlns:tns="http://example1.userguide" xmlns:example1="http://example1.org/example1"><example1:Text>Axis2 Echo String </example1:Text></example1:echo>
> BUILD SUCCESSFUL
> Total time: 2 seconds
> sealbook:~/Desktop/axis2-1.1-SNAPSHOT/samples/userguide nmm42$ ant testEchoNonBlockingClient
> Buildfile: build.xml
> testEchoNonBlockingClient:
>      [java] Oct 30, 2006 9:30:12 AM org.apache.axis2.deployment.DeploymentEngine prepareRepository
>      [java] INFO: no services directory found , new one created
>      [java] Oct 30, 2006 9:30:12 AM org.apache.axis2.deployment.DeploymentEngine prepareRepository
>      [java] INFO: no modules directory found , new one created
>      [java] <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header /><soapenv:Body><example1:echo xmlns:tns="http://example1.userguide" xmlns:example1="http://example1.org/example1"><example1:Text>Axis2 Echo String </example1:Text></example1:echo></soapenv:Body></soapenv:Envelope>
> BUILD SUCCESSFUL
> Total time: 2 seconds
> As you can see, even the asynchronous sample works, if only one channel is used.
> sealbook:~/Desktop/axis2-1.1-SNAPSHOT/samples/userguide nmm42$ ant testEchoNonBlockingDualClient
> Buildfile: build.xml
> testEchoNonBlockingDualClient:
>      [java] Oct 30, 2006 9:30:26 AM org.apache.axis2.deployment.DeploymentEngine prepareRepository
>      [java] INFO: no services directory found , new one created
>      [java] Oct 30, 2006 9:30:26 AM org.apache.axis2.deployment.DeploymentEngine prepareRepository
>      [java] INFO: no modules directory found , new one created
>      [java] org.apache.axis2.AxisFault: Module not found
>      [java]     at org.apache.axis2.description.AxisService.engageModule(AxisService.java:478)
>      [java]     at org.apache.axis2.client.ServiceClient.engageModule(ServiceClient.java:294)
>      [java]     at userguide.clients.EchoNonBlockingDualClient.main(EchoNonBlockingDualClient.java:63)
> sealbook:~/Desktop/axis2-1.1-SNAPSHOT/samples/userguide nmm42$ ant testEchoBlockingDualClient
> Buildfile: build.xml
> testEchoBlockingDualClient:
>      [java] Oct 30, 2006 9:36:12 AM org.apache.axis2.deployment.DeploymentEngine prepareRepository
>      [java] INFO: no services directory found , new one created
>      [java] Oct 30, 2006 9:36:12 AM org.apache.axis2.deployment.DeploymentEngine prepareRepository
>      [java] INFO: no modules directory found , new one created
>      [java] org.apache.axis2.AxisFault: Module not found
>      [java]     at org.apache.axis2.description.AxisService.engageModule(AxisService.java:478)
>      [java]     at org.apache.axis2.client.ServiceClient.engageModule(ServiceClient.java:294)
>      [java]     at userguide.clients.EchoBlockingDualClient.main(EchoBlockingDualClient.java:51)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] Resolved: (AXIS2-1546) sample clients fail (only if addressing module is used)

Posted by "Thilina Gunarathne (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-1546?page=all ]

Thilina Gunarathne resolved AXIS2-1546.
---------------------------------------

    Resolution: Fixed

http://svn.apache.org/viewvc?view=rev&rev=469373

> sample clients fail (only if addressing module is used)
> -------------------------------------------------------
>
>                 Key: AXIS2-1546
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1546
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Sub-task
>          Components: client-api
>         Environment: nigthly build 30/10/06, java 5
>            Reporter: Michele Mazzucco
>         Assigned To: Thilina Gunarathne
>            Priority: Blocker
>
> Dims, in when I updated axis2 I forgot to deploy the sample web service. Actually he problem arises ONLY when the addressing module is needed.
> tomcat catalina.out:
> Oct 30, 2006 9:28:03 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
> INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: .:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
> Oct 30, 2006 9:28:04 AM org.apache.coyote.http11.Http11BaseProtocol init
> INFO: Initializing Coyote HTTP/1.1 on http-8080
> Oct 30, 2006 9:28:04 AM org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 1382 ms
> Oct 30, 2006 9:28:04 AM org.apache.catalina.core.StandardService start
> INFO: Starting service Catalina
> Oct 30, 2006 9:28:04 AM org.apache.catalina.core.StandardEngine start
> INFO: Starting Servlet Engine: Apache Tomcat/5.5.15
> Oct 30, 2006 9:28:04 AM org.apache.catalina.core.StandardHost start
> INFO: XML validation disabled
> Oct 30, 2006 9:28:05 AM org.apache.catalina.startup.HostConfig deployWAR
> INFO: Deploying web application archive axis2.war
> 2006-10-30 09:28:07,094 INFO  org.apache.axis2.deployment.DeploymentEngine - Deploying module : addressing-1.1
> 2006-10-30 09:28:07,102 INFO  org.apache.axis2.deployment.DeploymentEngine - Deploying module : soapmonitor-1.1
> 2006-10-30 09:28:07,285 INFO  org.apache.axis2.deployment.DeploymentEngine - Deploying Web service  version.aar
> Oct 30, 2006 9:28:08 AM org.apache.coyote.http11.Http11BaseProtocol start
> INFO: Starting Coyote HTTP/1.1 on http-8080
> Oct 30, 2006 9:28:08 AM org.apache.jk.common.ChannelSocket init
> INFO: JK: ajp13 listening on /0.0.0.0:8009
> Oct 30, 2006 9:28:08 AM org.apache.jk.server.JkMain start
> INFO: Jk running ID=0 time=0/55  config=null
> Oct 30, 2006 9:28:08 AM org.apache.catalina.storeconfig.StoreLoader load
> INFO: Find registry server-registry.xml at classpath resource
> Oct 30, 2006 9:28:08 AM org.apache.catalina.startup.Catalina start
> INFO: Server startup in 4177 ms
> 2006-10-30 09:29:47,389 INFO  org.apache.axis2.deployment.DeploymentEngine - Deploying Web service  MyService.aar
> Clients:
> testEchoBlockingClient:
>      [java] Oct 30, 2006 9:30:00 AM org.apache.axis2.deployment.DeploymentEngine prepareRepository
>      [java] INFO: no services directory found , new one created
>      [java] Oct 30, 2006 9:30:00 AM org.apache.axis2.deployment.DeploymentEngine prepareRepository
>      [java] INFO: no modules directory found , new one created
>      [java] <example1:echo xmlns:tns="http://example1.userguide" xmlns:example1="http://example1.org/example1"><example1:Text>Axis2 Echo String </example1:Text></example1:echo>
> BUILD SUCCESSFUL
> Total time: 2 seconds
> sealbook:~/Desktop/axis2-1.1-SNAPSHOT/samples/userguide nmm42$ ant testEchoNonBlockingClient
> Buildfile: build.xml
> testEchoNonBlockingClient:
>      [java] Oct 30, 2006 9:30:12 AM org.apache.axis2.deployment.DeploymentEngine prepareRepository
>      [java] INFO: no services directory found , new one created
>      [java] Oct 30, 2006 9:30:12 AM org.apache.axis2.deployment.DeploymentEngine prepareRepository
>      [java] INFO: no modules directory found , new one created
>      [java] <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header /><soapenv:Body><example1:echo xmlns:tns="http://example1.userguide" xmlns:example1="http://example1.org/example1"><example1:Text>Axis2 Echo String </example1:Text></example1:echo></soapenv:Body></soapenv:Envelope>
> BUILD SUCCESSFUL
> Total time: 2 seconds
> As you can see, even the asynchronous sample works, if only one channel is used.
> sealbook:~/Desktop/axis2-1.1-SNAPSHOT/samples/userguide nmm42$ ant testEchoNonBlockingDualClient
> Buildfile: build.xml
> testEchoNonBlockingDualClient:
>      [java] Oct 30, 2006 9:30:26 AM org.apache.axis2.deployment.DeploymentEngine prepareRepository
>      [java] INFO: no services directory found , new one created
>      [java] Oct 30, 2006 9:30:26 AM org.apache.axis2.deployment.DeploymentEngine prepareRepository
>      [java] INFO: no modules directory found , new one created
>      [java] org.apache.axis2.AxisFault: Module not found
>      [java]     at org.apache.axis2.description.AxisService.engageModule(AxisService.java:478)
>      [java]     at org.apache.axis2.client.ServiceClient.engageModule(ServiceClient.java:294)
>      [java]     at userguide.clients.EchoNonBlockingDualClient.main(EchoNonBlockingDualClient.java:63)
> sealbook:~/Desktop/axis2-1.1-SNAPSHOT/samples/userguide nmm42$ ant testEchoBlockingDualClient
> Buildfile: build.xml
> testEchoBlockingDualClient:
>      [java] Oct 30, 2006 9:36:12 AM org.apache.axis2.deployment.DeploymentEngine prepareRepository
>      [java] INFO: no services directory found , new one created
>      [java] Oct 30, 2006 9:36:12 AM org.apache.axis2.deployment.DeploymentEngine prepareRepository
>      [java] INFO: no modules directory found , new one created
>      [java] org.apache.axis2.AxisFault: Module not found
>      [java]     at org.apache.axis2.description.AxisService.engageModule(AxisService.java:478)
>      [java]     at org.apache.axis2.client.ServiceClient.engageModule(ServiceClient.java:294)
>      [java]     at userguide.clients.EchoBlockingDualClient.main(EchoBlockingDualClient.java:51)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] Commented: (AXIS2-1546) sample clients fail (only if addressing module is used)

Posted by "Michele Mazzucco (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-1546?page=comments#action_12445530 ] 
            
Michele Mazzucco commented on AXIS2-1546:
-----------------------------------------

I forgot to mention: I'm using the version available here http://ws.zones.apache.org/dist/axis2/nightly/

> sample clients fail (only if addressing module is used)
> -------------------------------------------------------
>
>                 Key: AXIS2-1546
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1546
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Sub-task
>          Components: client-api
>         Environment: nigthly build 30/10/06, java 5
>            Reporter: Michele Mazzucco
>            Priority: Blocker
>
> Dims, in when I updated axis2 I forgot to deploy the sample web service. Actually he problem arises ONLY when the addressing module is needed.
> tomcat catalina.out:
> Oct 30, 2006 9:28:03 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
> INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: .:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
> Oct 30, 2006 9:28:04 AM org.apache.coyote.http11.Http11BaseProtocol init
> INFO: Initializing Coyote HTTP/1.1 on http-8080
> Oct 30, 2006 9:28:04 AM org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 1382 ms
> Oct 30, 2006 9:28:04 AM org.apache.catalina.core.StandardService start
> INFO: Starting service Catalina
> Oct 30, 2006 9:28:04 AM org.apache.catalina.core.StandardEngine start
> INFO: Starting Servlet Engine: Apache Tomcat/5.5.15
> Oct 30, 2006 9:28:04 AM org.apache.catalina.core.StandardHost start
> INFO: XML validation disabled
> Oct 30, 2006 9:28:05 AM org.apache.catalina.startup.HostConfig deployWAR
> INFO: Deploying web application archive axis2.war
> 2006-10-30 09:28:07,094 INFO  org.apache.axis2.deployment.DeploymentEngine - Deploying module : addressing-1.1
> 2006-10-30 09:28:07,102 INFO  org.apache.axis2.deployment.DeploymentEngine - Deploying module : soapmonitor-1.1
> 2006-10-30 09:28:07,285 INFO  org.apache.axis2.deployment.DeploymentEngine - Deploying Web service  version.aar
> Oct 30, 2006 9:28:08 AM org.apache.coyote.http11.Http11BaseProtocol start
> INFO: Starting Coyote HTTP/1.1 on http-8080
> Oct 30, 2006 9:28:08 AM org.apache.jk.common.ChannelSocket init
> INFO: JK: ajp13 listening on /0.0.0.0:8009
> Oct 30, 2006 9:28:08 AM org.apache.jk.server.JkMain start
> INFO: Jk running ID=0 time=0/55  config=null
> Oct 30, 2006 9:28:08 AM org.apache.catalina.storeconfig.StoreLoader load
> INFO: Find registry server-registry.xml at classpath resource
> Oct 30, 2006 9:28:08 AM org.apache.catalina.startup.Catalina start
> INFO: Server startup in 4177 ms
> 2006-10-30 09:29:47,389 INFO  org.apache.axis2.deployment.DeploymentEngine - Deploying Web service  MyService.aar
> Clients:
> testEchoBlockingClient:
>      [java] Oct 30, 2006 9:30:00 AM org.apache.axis2.deployment.DeploymentEngine prepareRepository
>      [java] INFO: no services directory found , new one created
>      [java] Oct 30, 2006 9:30:00 AM org.apache.axis2.deployment.DeploymentEngine prepareRepository
>      [java] INFO: no modules directory found , new one created
>      [java] <example1:echo xmlns:tns="http://example1.userguide" xmlns:example1="http://example1.org/example1"><example1:Text>Axis2 Echo String </example1:Text></example1:echo>
> BUILD SUCCESSFUL
> Total time: 2 seconds
> sealbook:~/Desktop/axis2-1.1-SNAPSHOT/samples/userguide nmm42$ ant testEchoNonBlockingClient
> Buildfile: build.xml
> testEchoNonBlockingClient:
>      [java] Oct 30, 2006 9:30:12 AM org.apache.axis2.deployment.DeploymentEngine prepareRepository
>      [java] INFO: no services directory found , new one created
>      [java] Oct 30, 2006 9:30:12 AM org.apache.axis2.deployment.DeploymentEngine prepareRepository
>      [java] INFO: no modules directory found , new one created
>      [java] <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header /><soapenv:Body><example1:echo xmlns:tns="http://example1.userguide" xmlns:example1="http://example1.org/example1"><example1:Text>Axis2 Echo String </example1:Text></example1:echo></soapenv:Body></soapenv:Envelope>
> BUILD SUCCESSFUL
> Total time: 2 seconds
> As you can see, even the asynchronous sample works, if only one channel is used.
> sealbook:~/Desktop/axis2-1.1-SNAPSHOT/samples/userguide nmm42$ ant testEchoNonBlockingDualClient
> Buildfile: build.xml
> testEchoNonBlockingDualClient:
>      [java] Oct 30, 2006 9:30:26 AM org.apache.axis2.deployment.DeploymentEngine prepareRepository
>      [java] INFO: no services directory found , new one created
>      [java] Oct 30, 2006 9:30:26 AM org.apache.axis2.deployment.DeploymentEngine prepareRepository
>      [java] INFO: no modules directory found , new one created
>      [java] org.apache.axis2.AxisFault: Module not found
>      [java]     at org.apache.axis2.description.AxisService.engageModule(AxisService.java:478)
>      [java]     at org.apache.axis2.client.ServiceClient.engageModule(ServiceClient.java:294)
>      [java]     at userguide.clients.EchoNonBlockingDualClient.main(EchoNonBlockingDualClient.java:63)
> sealbook:~/Desktop/axis2-1.1-SNAPSHOT/samples/userguide nmm42$ ant testEchoBlockingDualClient
> Buildfile: build.xml
> testEchoBlockingDualClient:
>      [java] Oct 30, 2006 9:36:12 AM org.apache.axis2.deployment.DeploymentEngine prepareRepository
>      [java] INFO: no services directory found , new one created
>      [java] Oct 30, 2006 9:36:12 AM org.apache.axis2.deployment.DeploymentEngine prepareRepository
>      [java] INFO: no modules directory found , new one created
>      [java] org.apache.axis2.AxisFault: Module not found
>      [java]     at org.apache.axis2.description.AxisService.engageModule(AxisService.java:478)
>      [java]     at org.apache.axis2.client.ServiceClient.engageModule(ServiceClient.java:294)
>      [java]     at userguide.clients.EchoBlockingDualClient.main(EchoBlockingDualClient.java:51)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] Commented: (AXIS2-1546) sample clients fail (only if addressing module is used)

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-1546?page=comments#action_12445694 ] 
            
Davanum Srinivas commented on AXIS2-1546:
-----------------------------------------

Michele,

2 ways to fix this. 

#1: With the snapshot you have, fix the build.xml  replace the following:
 -Daxis2.repo=${mainDir} 
with 
-Daxis2.repo=${mainDir}/repository

#2: Pick a new snapshot in an hour or so, it will pick up mar from the the classpath. The fix is here:
http://svn.apache.org/viewvc?view=rev&revision=469232

Thilina,
Please fix the samples build.xml, repository is pointing to the wrong location.

-- dims



> sample clients fail (only if addressing module is used)
> -------------------------------------------------------
>
>                 Key: AXIS2-1546
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1546
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Sub-task
>          Components: client-api
>         Environment: nigthly build 30/10/06, java 5
>            Reporter: Michele Mazzucco
>         Assigned To: Thilina Gunarathne
>            Priority: Blocker
>
> Dims, in when I updated axis2 I forgot to deploy the sample web service. Actually he problem arises ONLY when the addressing module is needed.
> tomcat catalina.out:
> Oct 30, 2006 9:28:03 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
> INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: .:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
> Oct 30, 2006 9:28:04 AM org.apache.coyote.http11.Http11BaseProtocol init
> INFO: Initializing Coyote HTTP/1.1 on http-8080
> Oct 30, 2006 9:28:04 AM org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 1382 ms
> Oct 30, 2006 9:28:04 AM org.apache.catalina.core.StandardService start
> INFO: Starting service Catalina
> Oct 30, 2006 9:28:04 AM org.apache.catalina.core.StandardEngine start
> INFO: Starting Servlet Engine: Apache Tomcat/5.5.15
> Oct 30, 2006 9:28:04 AM org.apache.catalina.core.StandardHost start
> INFO: XML validation disabled
> Oct 30, 2006 9:28:05 AM org.apache.catalina.startup.HostConfig deployWAR
> INFO: Deploying web application archive axis2.war
> 2006-10-30 09:28:07,094 INFO  org.apache.axis2.deployment.DeploymentEngine - Deploying module : addressing-1.1
> 2006-10-30 09:28:07,102 INFO  org.apache.axis2.deployment.DeploymentEngine - Deploying module : soapmonitor-1.1
> 2006-10-30 09:28:07,285 INFO  org.apache.axis2.deployment.DeploymentEngine - Deploying Web service  version.aar
> Oct 30, 2006 9:28:08 AM org.apache.coyote.http11.Http11BaseProtocol start
> INFO: Starting Coyote HTTP/1.1 on http-8080
> Oct 30, 2006 9:28:08 AM org.apache.jk.common.ChannelSocket init
> INFO: JK: ajp13 listening on /0.0.0.0:8009
> Oct 30, 2006 9:28:08 AM org.apache.jk.server.JkMain start
> INFO: Jk running ID=0 time=0/55  config=null
> Oct 30, 2006 9:28:08 AM org.apache.catalina.storeconfig.StoreLoader load
> INFO: Find registry server-registry.xml at classpath resource
> Oct 30, 2006 9:28:08 AM org.apache.catalina.startup.Catalina start
> INFO: Server startup in 4177 ms
> 2006-10-30 09:29:47,389 INFO  org.apache.axis2.deployment.DeploymentEngine - Deploying Web service  MyService.aar
> Clients:
> testEchoBlockingClient:
>      [java] Oct 30, 2006 9:30:00 AM org.apache.axis2.deployment.DeploymentEngine prepareRepository
>      [java] INFO: no services directory found , new one created
>      [java] Oct 30, 2006 9:30:00 AM org.apache.axis2.deployment.DeploymentEngine prepareRepository
>      [java] INFO: no modules directory found , new one created
>      [java] <example1:echo xmlns:tns="http://example1.userguide" xmlns:example1="http://example1.org/example1"><example1:Text>Axis2 Echo String </example1:Text></example1:echo>
> BUILD SUCCESSFUL
> Total time: 2 seconds
> sealbook:~/Desktop/axis2-1.1-SNAPSHOT/samples/userguide nmm42$ ant testEchoNonBlockingClient
> Buildfile: build.xml
> testEchoNonBlockingClient:
>      [java] Oct 30, 2006 9:30:12 AM org.apache.axis2.deployment.DeploymentEngine prepareRepository
>      [java] INFO: no services directory found , new one created
>      [java] Oct 30, 2006 9:30:12 AM org.apache.axis2.deployment.DeploymentEngine prepareRepository
>      [java] INFO: no modules directory found , new one created
>      [java] <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header /><soapenv:Body><example1:echo xmlns:tns="http://example1.userguide" xmlns:example1="http://example1.org/example1"><example1:Text>Axis2 Echo String </example1:Text></example1:echo></soapenv:Body></soapenv:Envelope>
> BUILD SUCCESSFUL
> Total time: 2 seconds
> As you can see, even the asynchronous sample works, if only one channel is used.
> sealbook:~/Desktop/axis2-1.1-SNAPSHOT/samples/userguide nmm42$ ant testEchoNonBlockingDualClient
> Buildfile: build.xml
> testEchoNonBlockingDualClient:
>      [java] Oct 30, 2006 9:30:26 AM org.apache.axis2.deployment.DeploymentEngine prepareRepository
>      [java] INFO: no services directory found , new one created
>      [java] Oct 30, 2006 9:30:26 AM org.apache.axis2.deployment.DeploymentEngine prepareRepository
>      [java] INFO: no modules directory found , new one created
>      [java] org.apache.axis2.AxisFault: Module not found
>      [java]     at org.apache.axis2.description.AxisService.engageModule(AxisService.java:478)
>      [java]     at org.apache.axis2.client.ServiceClient.engageModule(ServiceClient.java:294)
>      [java]     at userguide.clients.EchoNonBlockingDualClient.main(EchoNonBlockingDualClient.java:63)
> sealbook:~/Desktop/axis2-1.1-SNAPSHOT/samples/userguide nmm42$ ant testEchoBlockingDualClient
> Buildfile: build.xml
> testEchoBlockingDualClient:
>      [java] Oct 30, 2006 9:36:12 AM org.apache.axis2.deployment.DeploymentEngine prepareRepository
>      [java] INFO: no services directory found , new one created
>      [java] Oct 30, 2006 9:36:12 AM org.apache.axis2.deployment.DeploymentEngine prepareRepository
>      [java] INFO: no modules directory found , new one created
>      [java] org.apache.axis2.AxisFault: Module not found
>      [java]     at org.apache.axis2.description.AxisService.engageModule(AxisService.java:478)
>      [java]     at org.apache.axis2.client.ServiceClient.engageModule(ServiceClient.java:294)
>      [java]     at userguide.clients.EchoBlockingDualClient.main(EchoBlockingDualClient.java:51)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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