You are viewing a plain text version of this content. The canonical link for it is here.
Posted to muse-user@ws.apache.org by Gero Vermaas <gv...@xebia.com> on 2006/10/05 17:51:38 UTC

Running the WSN-Consumer example

Hi,

I've sucessfully build an deployed wsn-consumer and wsn-producer 
examples and deployed them to Tomcat (5.5.20) by copying the war files 
to the webapps directory (not sure if the wsn-producer war was also 
needed).

Then I tried to run the test client sample. I added the following to the 
build.xml file of wsn-consumer and then invoked 'ant run'
<target name="run">
        <java className="org.apache.muse.test.wsn.WsnTestClient">
                <classpath>
                        <fileset dir="build/WEB-INF/lib">
                                <include name="*.jar"/>
                        </fileset>
                </classpath>
        </java>
</target>

The tomcat log file now reports the following error:
Oct 5, 2006 5:49:58 PM org.apache.axis2.deployment.DeploymentEngine doDeploy
INFO: Deploying module : addressing
Oct 5, 2006 5:49:58 PM org.apache.axis2.deployment.DeploymentEngine doDeploy
SEVERE: Invalid module : muse-response-action.mar caused 
org.apache.muse.core.platform.axis2.ResponseActionHandler
org.apache.axis2.AxisFault: 
org.apache.muse.core.platform.axis2.ResponseActionHandler
        at 
org.apache.axis2.deployment.util.Utils.getHandlerClass(Utils.java:210)
        at 
org.apache.axis2.deployment.util.Utils.addFlowHandlers(Utils.java:60)
        at 
org.apache.axis2.deployment.DeploymentEngine.addNewModule(DeploymentEngine.java:317)
        at 
org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:599)
        at 
org.apache.axis2.deployment.RepositoryListener.init(RepositoryListener.java:166)
        at 
org.apache.axis2.deployment.RepositoryListener.<init>(RepositoryListener.java:54)
        at 
org.apache.axis2.deployment.DeploymentEngine.loadRepository(DeploymentEngine.java:100)
        at 
org.apache.axis2.deployment.WarBasedAxisConfigurator.getAxisConfiguration(WarBasedAxisConfigurator.java:196)
        at 
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:61)
        at 
org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:366)
        at 
org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:304)
        at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
        at 
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:757)
        at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:130)
        at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
        at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
        at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
        at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
        at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
        at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
        at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
        at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
        at 
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
        at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
        at java.lang.Thread.run(Thread.java:595)
Oct 5, 2006 5:49:58 PM org.apache.axis2.deployment.DeploymentEngine doDeploy
INFO: Deploying module : soapmonitor

Any idea what is wrong?

Regards,
Gero

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


Re: Running the WSN-Consumer example

Posted by Daniel Jemiolo <da...@us.ibm.com>.
This is my fault - I put the class that implements the 
muse-response-action module (ResponseActionHandler) in the 
muse-platform-axis2.jar instead of the .mar file. I did this because it 
makes our build much easier, but it obviously breaks things for 2.0 users. 
I will update the Axis2 WAR to have the ResponseActionHandler class in the 
.mar itself, which will solve the problem. I'll update the list when this 
is complete.

Dan



Gero Vermaas <gv...@xebia.com> wrote on 10/05/2006 11:51:38 AM:

> Hi,
> 
> I've sucessfully build an deployed wsn-consumer and wsn-producer 
> examples and deployed them to Tomcat (5.5.20) by copying the war files 
> to the webapps directory (not sure if the wsn-producer war was also 
> needed).
> 
> Then I tried to run the test client sample. I added the following to the 

> build.xml file of wsn-consumer and then invoked 'ant run'
> <target name="run">
>         <java className="org.apache.muse.test.wsn.WsnTestClient">
>                 <classpath>
>                         <fileset dir="build/WEB-INF/lib">
>                                 <include name="*.jar"/>
>                         </fileset>
>                 </classpath>
>         </java>
> </target>
> 
> The tomcat log file now reports the following error:
> Oct 5, 2006 5:49:58 PM org.apache.axis2.deployment.DeploymentEngine 
doDeploy
> INFO: Deploying module : addressing
> Oct 5, 2006 5:49:58 PM org.apache.axis2.deployment.DeploymentEngine 
doDeploy
> SEVERE: Invalid module : muse-response-action.mar caused 
> org.apache.muse.core.platform.axis2.ResponseActionHandler
> org.apache.axis2.AxisFault: 
> org.apache.muse.core.platform.axis2.ResponseActionHandler
>         at 
> org.apache.axis2.deployment.util.Utils.getHandlerClass(Utils.java:210)
>         at 
> org.apache.axis2.deployment.util.Utils.addFlowHandlers(Utils.java:60)
>         at 
> 
org.apache.axis2.deployment.DeploymentEngine.addNewModule(DeploymentEngine.java:317)
>         at 
> 
org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:599)
>         at 
> 
org.apache.axis2.deployment.RepositoryListener.init(RepositoryListener.java:166)
>         at 
> 
org.apache.axis2.deployment.RepositoryListener.<init>(RepositoryListener.java:54)
>         at 
> 
org.apache.axis2.deployment.DeploymentEngine.loadRepository(DeploymentEngine.java:100)
>         at 
> org.apache.axis2.deployment.WarBasedAxisConfigurator.
> getAxisConfiguration(WarBasedAxisConfigurator.java:196)
>         at 
> org.apache.axis2.context.ConfigurationContextFactory.
> createConfigurationContext(ConfigurationContextFactory.java:61)
>         at 
> 
org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:366)
>         at 
> org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:304)
>         at 
> 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
>         at 
> 
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:757)
>         at 
> 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:130)
>         at 
> 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>         at 
> 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>         at 
> 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>         at 
> 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>         at 
> 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>         at 
> 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>         at 
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.
> processConnection(Http11BaseProtocol.java:664)
>         at 
> 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>         at 
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.
> runIt(LeaderFollowerWorkerThread.java:80)
>         at 
> 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>         at java.lang.Thread.run(Thread.java:595)
> Oct 5, 2006 5:49:58 PM org.apache.axis2.deployment.DeploymentEngine 
doDeploy
> INFO: Deploying module : soapmonitor
> 
> Any idea what is wrong?
> 
> Regards,
> Gero
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: muse-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: muse-user-help@ws.apache.org
> 


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


Re: Running the WSN-Consumer example

Posted by Gero Vermaas <gv...@xebia.com>.
Great Daniel, thanks again for the quick response. I downloaded, 
compiled and tested it and it worked fine now!

Regards,
Gero

Daniel Jemiolo wrote:
> The Axis2 WAR has been updated to resolve the issue. I've tested by 
> downloading the 2.0.0 release, running update-install, and then building a 
> sample project; Axis2 loads the new module because the new class is part 
> of the muse-response-action.mar file. The mirrors should pick up the new 
> file within thirty minutes; at that time, run the update-install script 
> again and it will refresh things for you. Then rebuild the sample projects 
> by running 'ant'.
>
> Dan
>
>
> Gero Vermaas <gv...@xebia.com> wrote on 10/05/2006 11:51:38 AM:
>
>   
>> Hi,
>>
>> I've sucessfully build an deployed wsn-consumer and wsn-producer 
>> examples and deployed them to Tomcat (5.5.20) by copying the war files 
>> to the webapps directory (not sure if the wsn-producer war was also 
>> needed).
>>
>> Then I tried to run the test client sample. I added the following to the 
>>     
>
>   
>> build.xml file of wsn-consumer and then invoked 'ant run'
>> <target name="run">
>>         <java className="org.apache.muse.test.wsn.WsnTestClient">
>>                 <classpath>
>>                         <fileset dir="build/WEB-INF/lib">
>>                                 <include name="*.jar"/>
>>                         </fileset>
>>                 </classpath>
>>         </java>
>> </target>
>>
>> The tomcat log file now reports the following error:
>> Oct 5, 2006 5:49:58 PM org.apache.axis2.deployment.DeploymentEngine 
>>     
> doDeploy
>   
>> INFO: Deploying module : addressing
>> Oct 5, 2006 5:49:58 PM org.apache.axis2.deployment.DeploymentEngine 
>>     
> doDeploy
>   
>> SEVERE: Invalid module : muse-response-action.mar caused 
>> org.apache.muse.core.platform.axis2.ResponseActionHandler
>> org.apache.axis2.AxisFault: 
>> org.apache.muse.core.platform.axis2.ResponseActionHandler
>>         at 
>> org.apache.axis2.deployment.util.Utils.getHandlerClass(Utils.java:210)
>>         at 
>> org.apache.axis2.deployment.util.Utils.addFlowHandlers(Utils.java:60)
>>         at 
>>
>>     
> org.apache.axis2.deployment.DeploymentEngine.addNewModule(DeploymentEngine.java:317)
>   
>>         at 
>>
>>     
> org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:599)
>   
>>         at 
>>
>>     
> org.apache.axis2.deployment.RepositoryListener.init(RepositoryListener.java:166)
>   
>>         at 
>>
>>     
> org.apache.axis2.deployment.RepositoryListener.<init>(RepositoryListener.java:54)
>   
>>         at 
>>
>>     
> org.apache.axis2.deployment.DeploymentEngine.loadRepository(DeploymentEngine.java:100)
>   
>>         at 
>> org.apache.axis2.deployment.WarBasedAxisConfigurator.
>> getAxisConfiguration(WarBasedAxisConfigurator.java:196)
>>         at 
>> org.apache.axis2.context.ConfigurationContextFactory.
>> createConfigurationContext(ConfigurationContextFactory.java:61)
>>         at 
>>
>>     
> org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:366)
>   
>>         at 
>> org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:304)
>>         at 
>>
>>     
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
>   
>>         at 
>>
>>     
> org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:757)
>   
>>         at 
>>
>>     
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:130)
>   
>>         at 
>>
>>     
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>   
>>         at 
>>
>>     
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>   
>>         at 
>>
>>     
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>   
>>         at 
>>
>>     
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>   
>>         at 
>>
>>     
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>   
>>         at 
>>
>>     
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>   
>>         at 
>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.
>> processConnection(Http11BaseProtocol.java:664)
>>         at 
>>
>>     
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>   
>>         at 
>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.
>> runIt(LeaderFollowerWorkerThread.java:80)
>>         at 
>>
>>     
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>   
>>         at java.lang.Thread.run(Thread.java:595)
>> Oct 5, 2006 5:49:58 PM org.apache.axis2.deployment.DeploymentEngine 
>>     
> doDeploy
>   
>> INFO: Deploying module : soapmonitor
>>
>> Any idea what is wrong?
>>
>> Regards,
>> Gero
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: muse-user-unsubscribe@ws.apache.org
>> For additional commands, e-mail: muse-user-help@ws.apache.org
>>
>>     
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: muse-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: muse-user-help@ws.apache.org
>
>   

Re: Running the WSN-Consumer example

Posted by Daniel Jemiolo <da...@us.ibm.com>.
The Axis2 WAR has been updated to resolve the issue. I've tested by 
downloading the 2.0.0 release, running update-install, and then building a 
sample project; Axis2 loads the new module because the new class is part 
of the muse-response-action.mar file. The mirrors should pick up the new 
file within thirty minutes; at that time, run the update-install script 
again and it will refresh things for you. Then rebuild the sample projects 
by running 'ant'.

Dan


Gero Vermaas <gv...@xebia.com> wrote on 10/05/2006 11:51:38 AM:

> Hi,
> 
> I've sucessfully build an deployed wsn-consumer and wsn-producer 
> examples and deployed them to Tomcat (5.5.20) by copying the war files 
> to the webapps directory (not sure if the wsn-producer war was also 
> needed).
> 
> Then I tried to run the test client sample. I added the following to the 

> build.xml file of wsn-consumer and then invoked 'ant run'
> <target name="run">
>         <java className="org.apache.muse.test.wsn.WsnTestClient">
>                 <classpath>
>                         <fileset dir="build/WEB-INF/lib">
>                                 <include name="*.jar"/>
>                         </fileset>
>                 </classpath>
>         </java>
> </target>
> 
> The tomcat log file now reports the following error:
> Oct 5, 2006 5:49:58 PM org.apache.axis2.deployment.DeploymentEngine 
doDeploy
> INFO: Deploying module : addressing
> Oct 5, 2006 5:49:58 PM org.apache.axis2.deployment.DeploymentEngine 
doDeploy
> SEVERE: Invalid module : muse-response-action.mar caused 
> org.apache.muse.core.platform.axis2.ResponseActionHandler
> org.apache.axis2.AxisFault: 
> org.apache.muse.core.platform.axis2.ResponseActionHandler
>         at 
> org.apache.axis2.deployment.util.Utils.getHandlerClass(Utils.java:210)
>         at 
> org.apache.axis2.deployment.util.Utils.addFlowHandlers(Utils.java:60)
>         at 
> 
org.apache.axis2.deployment.DeploymentEngine.addNewModule(DeploymentEngine.java:317)
>         at 
> 
org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:599)
>         at 
> 
org.apache.axis2.deployment.RepositoryListener.init(RepositoryListener.java:166)
>         at 
> 
org.apache.axis2.deployment.RepositoryListener.<init>(RepositoryListener.java:54)
>         at 
> 
org.apache.axis2.deployment.DeploymentEngine.loadRepository(DeploymentEngine.java:100)
>         at 
> org.apache.axis2.deployment.WarBasedAxisConfigurator.
> getAxisConfiguration(WarBasedAxisConfigurator.java:196)
>         at 
> org.apache.axis2.context.ConfigurationContextFactory.
> createConfigurationContext(ConfigurationContextFactory.java:61)
>         at 
> 
org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:366)
>         at 
> org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:304)
>         at 
> 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
>         at 
> 
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:757)
>         at 
> 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:130)
>         at 
> 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>         at 
> 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>         at 
> 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>         at 
> 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>         at 
> 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>         at 
> 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>         at 
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.
> processConnection(Http11BaseProtocol.java:664)
>         at 
> 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>         at 
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.
> runIt(LeaderFollowerWorkerThread.java:80)
>         at 
> 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>         at java.lang.Thread.run(Thread.java:595)
> Oct 5, 2006 5:49:58 PM org.apache.axis2.deployment.DeploymentEngine 
doDeploy
> INFO: Deploying module : soapmonitor
> 
> Any idea what is wrong?
> 
> Regards,
> Gero
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: muse-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: muse-user-help@ws.apache.org
> 


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