Thanks for the reply. The samples are running fine. There was some error in the proxy configurations.

On 9 Jun 2008, at 18:00, Martin Gainty wrote:

please confirm these minimal configurations in /WEB-INF/conf/axis2.xml

<transportSender name="jms" class="org.apache.axis2.transport.jms.JMSSender"/>

<transportReceiver name="jms" class="org.apache.axis2.transport.jms.JMSListener">

Martin Gainty

______________________________________________
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission.


> From: [EMAIL PROTECTED]
> To: [email protected]
> Subject: Error Running Rampart Samples
> Date: Mon, 9 Jun 2008 11:45:49 +0100
>
> Hello
>
> I am using axis2-1.4 deployed in Tomcat 6. I have engaged Rampart 1.3
> for all services. My java version is 1.5 and my platform is MacOSX
> 10.5. I am trying to run the samples provided in rampart/samples/
> basic, when I run a service.01 the service works fine, but when I run
> the client i get the following error
>
> Buildfile: build.xml
>
> check.dependency:
>
> client.01:
> [copy] Copying 1 file to /Users/fatima/Library/Tomcat6/webapps/
> axis2/rampart-1.3/samples/basic/build/client_repositories/sample01/ conf
> [copy] Copying 1 file to /Users/fatima/Library/Tomcat6/webapps/
> axis2/rampart-1.3/samples/basic/build/client_repositories/sample01/
> modules
> [copy] Copying 1 file to /Users/fatima/Library/Tomcat6/webapps/
> axis2/rampart-1.3/samples/basic/build/client_repositories/sample01/
> modules
> [copy] Copying 1 file to /Users/fatima/Library/Tomcat6/webapps/
> axis2/rampart-1.3/samples/basic/build/temp_client
> [copy] Copying 1 file to /Users/fatima/Library/Tomcat6/webapps/
> axis2/rampart-1.3/samples/basic/build/temp_client
> [java] Exception in thread "main"
> org.apache.axis2.deployment.DeploymentException: javax/jms/ JMSException
> [java] at
> org
> .apache
> .axis2
> .deployment
> .AxisConfigBuilder.processTransportSenders(AxisConfigBuilder.java: 663)
> [java] at
> org
> .apache
> .axis2
> .deployment.AxisConfigBuilder.populateConfig(AxisConfigBuilder.java: 119)
> [java] at
> org
> .apache
> .axis2
> .deployment
> .DeploymentEngine.populateAxisConfiguration(DeploymentEngine.java: 641)
> [java] at
> org
> .apache
> .axis2
> .deployment
> .FileSystemConfigurator
> .getAxisConfiguration(FileSystemConfigurator.java:116)
> [java] at
> org
> .apache
> .axis2
> .context
> .ConfigurationContextFactory
> .createConfigurationContext(ConfigurationContextFactory.java:68)
> [java] at
> org
> .apache
> .axis2
> .context
> .ConfigurationContextFactory
> .createConfigurationContextFromFileSystem
> (ConfigurationContextFactory.java:184)
> [java] at
> org.apache.rampart.samples.sample01.Client.main(Unknown Source)
> [java] Caused by: java.lang.NoClassDefFoundError: javax/jms/
> JMSException
> [java] at java.lang.Class.getDeclaredConstructors0(Native Method)
> [java] at
> java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
> [java] at java.lang.Class.getConstructor0(Class.java:2671)
> [java] at java.lang.Class.newInstance0(Class.java:321)
> [java] at java.lang.Class.newInstance(Class.java:303)
> [java] at
> org
> .apache
> .axis2
> .deployment
> .AxisConfigBuilder.processTransportSenders(AxisConfigBuilder.java: 648)
> [java] ... 6 more
> [java] Java Result: 1
>
> BUILD SUCCESSFUL
> Total time: 0 seconds
>
> When I deploy axis2-1.3.war, the validation fails.
>
> The Tomcat Server log are as follows (Just in case)
>
> m0029:bin fatima$ sh catalina.sh run
> Using CATALINA_BASE: /Users/fatima/Library/Tomcat6
> Using CATALINA_HOME: /Users/fatima/Library/Tomcat6
> Using CATALINA_TMPDIR: /Users/fatima/Library/Tomcat6/temp
> Using JRE_HOME: /Library/Java/Home
> Jun 9, 2008 10:52:38 AM org.apache.catalina.core.AprLifecycleListener
> init
> INFO: The APR based 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
> Jun 9, 2008 10:52:38 AM org.apache.coyote.http11.Http11Protocol init
> INFO: Initializing Coyote HTTP/1.1 on http-8080
> Jun 9, 2008 10:52:38 AM org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 379 ms
> Jun 9, 2008 10:52:38 AM org.apache.catalina.core.StandardService start
> INFO: Starting service Catalina
> Jun 9, 2008 10:52:38 AM org.apache.catalina.core.StandardEngine start
> INFO: Starting Servlet Engine: Apache Tomcat/6.0.16
> Jun 9, 2008 10:52:38 AM org.apache.catalina.startup.HostConfig deployWAR
> INFO: Deploying web application archive axis2.war
> Jun 9, 2008 10:52:38 AM org.apache.catalina.loader.WebappClassLoader
> validateJarFile
> INFO: validateJarFile(/Users/fatima/Library/Tomcat6/webapps/axis2/ WEB-
> INF/lib/servlet-api-2.3.jar) - jar not loaded. See Servlet Spec 2.3,
> section 9.7.2. Offending class: javax/servlet/Servlet.class
> [INFO] Deploying module: addressing-1.4 - file:/Users/fatima/ Library/
> Tomcat6/webapps/axis2/WEB-INF/modules/addressing-1.4.mar
> [INFO] Deploying module: script-1.4 - file:/Users/fatima/Library/
> Tomcat6/webapps/axis2/WEB-INF/modules/axis2-scripting-1.4.mar
> [INFO] Deploying module: metadataExchange-1.4 - file:/Users/fatima/
> Library/Tomcat6/webapps/axis2/WEB-INF/modules/mex-1.4.mar
> [INFO] Deploying module: ping-1.4 - file:/Users/fatima/Library/ Tomcat6/
> webapps/axis2/WEB-INF/modules/ping-1.4.mar
> [INFO] Deploying module: rahas-1.3 - file:/Users/fatima/Library/
> Tomcat6/webapps/axis2/WEB-INF/modules/rahas-1.3.mar
> [INFO] Deploying module: rampart-1.3 - file:/Users/fatima/Library/
> Tomcat6/webapps/axis2/WEB-INF/modules/rampart-1.3.mar
> [INFO] Deploying module: soapmonitor-1.4 - file:/Users/fatima/ Library/
> Tomcat6/webapps/axis2/WEB-INF/modules/soapmonitor-1.4.mar
> [INFO] Deploying module: metadataExchange - file:/Users/fatima/ Library/
> Tomcat6/webapps/axis2/WEB-INF/lib/mex-1.4-impl.jar
> [INFO] Deploying Web service: version-1.4.aar - file:/Users/fatima/
> Library/Tomcat6/webapps/axis2/WEB-INF/services/version-1.4.aar
> Jun 9, 2008 10:52:40 AM org.apache.catalina.core.StandardContext
> addApplicationListener
> INFO: The listener "listeners.ContextListener" is already configured
> for this context. The duplicate definition has been ignored.
> Jun 9, 2008 10:52:40 AM org.apache.catalina.core.StandardContext
> addApplicationListener
> INFO: The listener "listeners.SessionListener" is already configured
> for this context. The duplicate definition has been ignored.
> Jun 9, 2008 10:52:40 AM org.apache.coyote.http11.Http11Protocol start
> INFO: Starting Coyote HTTP/1.1 on http-8080
> Jun 9, 2008 10:52:40 AM org.apache.jk.common.ChannelSocket init
> INFO: JK: ajp13 listening on /0.0.0.0:8009
> Jun 9, 2008 10:52:40 AM org.apache.jk.server.JkMain start
> INFO: Jk running ID=0 time=0/79 config=null
> Jun 9, 2008 10:52:40 AM org.apache.catalina.startup.Catalina start
> INFO: Server startup in 2429 ms
> [INFO] Deploying Web service: sample01.aar - file:/Users/fatima/
> Library/Tomcat6/webapps/axis2/WEB-INF/services/sample01.aar
>
>
> Any help would be appreciated.
>
> Thanks
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>

Enjoy 5 GB of free, password-protected online storage. Get Windows Live SkyDrive.

Reply via email to