axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suresh Attanayake (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (RAMPART-364) java.lang.NoClassDefFoundError at client sides when running rampart samples 04 and 06
Date Thu, 19 Apr 2012 09:04:56 GMT
java.lang.NoClassDefFoundError at client sides when running rampart samples 04 and 06
-------------------------------------------------------------------------------------

                 Key: RAMPART-364
                 URL: https://issues.apache.org/jira/browse/RAMPART-364
             Project: Rampart
          Issue Type: Bug
    Affects Versions: 1.6.2
         Environment: axis2-1.7.0-SNAPSHOT, Linux,
            Reporter: Suresh Attanayake


Log is given bellow for sample 04 client

client.04:
    [javac] /home/sga/svn-local/apache/rampart/trunk/modules/distribution/target/rampart-1.7.0-SNAPSHOT/samples/policy/build.xml:263:
warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false
for repeatable builds
     [copy] Copying 1 file to /home/sga/svn-local/apache/rampart/trunk/modules/distribution/target/rampart-1.7.0-SNAPSHOT/samples/policy/build/temp_client
     [copy] Copying 1 file to /home/sga/svn-local/apache/rampart/trunk/modules/distribution/target/rampart-1.7.0-SNAPSHOT/samples/policy/build/temp_client
     [java] [INFO] No services directory was found under /home/sga/svn-local/apache/rampart/trunk/modules/distribution/target/rampart-1.7.0-SNAPSHOT/samples/policy/build/client_repositories/sample04.
     [java] [INFO] Deploying module: rampart-1.7.0-SNAPSHOT - file:/home/sga/svn-local/apache/rampart/trunk/modules/distribution/target/rampart-1.7.0-SNAPSHOT/samples/policy/build/client_repositories/sample04/modules/rampart-1.7.0-SNAPSHOT.mar
     [java] [INFO] Deploying module: addressing-1.6.2-SNAPSHOT - file:/home/sga/svn-local/apache/rampart/trunk/modules/distribution/target/rampart-1.7.0-SNAPSHOT/samples/policy/build/client_repositories/sample04/modules/addressing-1.6.2-SNAPSHOT.mar
     [java] [INFO] Deploying module: rampart-1.6.2-SNAPSHOT - file:/home/sga/svn-local/apache/rampart/trunk/modules/distribution/target/rampart-1.7.0-SNAPSHOT/samples/policy/build/client_repositories/sample04/modules/rampart-1.6.2-SNAPSHOT.mar
     [java] [INFO] Deploying module: addressing-1.7.0-SNAPSHOT - file:/home/sga/svn-local/apache/rampart/trunk/modules/distribution/target/rampart-1.7.0-SNAPSHOT/samples/policy/build/client_repositories/sample04/modules/addressing-1.7.0-SNAPSHOT.mar
     [java] Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/axiom/om/OMXMLStreamReaderConfiguration
     [java] 	at org.apache.rahas.Token.<init>(Token.java:148)
     [java] 	at org.apache.rahas.EncryptedKeyToken.<init>(EncryptedKeyToken.java:52)
     [java] 	at org.apache.rampart.builder.SymmetricBindingBuilder.setupEncryptedKey(SymmetricBindingBuilder.java:716)
     [java] 	at org.apache.rampart.builder.SymmetricBindingBuilder.doSignBeforeEncrypt(SymmetricBindingBuilder.java:420)
     [java] 	at org.apache.rampart.builder.SymmetricBindingBuilder.build(SymmetricBindingBuilder.java:82)
     [java] 	at org.apache.rampart.MessageBuilder.build(MessageBuilder.java:144)
     [java] 	at org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:65)
     [java] 	at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:335)
     [java] 	at org.apache.axis2.engine.Phase.invoke(Phase.java:308)
     [java] 	at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:262)
     [java] 	at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:427)
     [java] 	at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:406)
     [java] 	at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
     [java] 	at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
     [java] 	at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:555)
     [java] 	at org.apache.rahas.client.STSClient.requestSecurityToken(STSClient.java:148)
     [java] 	at org.apache.rampart.util.RampartUtil.getToken(RampartUtil.java:773)
     [java] 	at org.apache.rampart.util.RampartUtil.getSecConvToken(RampartUtil.java:640)
     [java] 	at org.apache.rampart.builder.SymmetricBindingBuilder.initializeTokens(SymmetricBindingBuilder.java:876)
     [java] 	at org.apache.rampart.builder.SymmetricBindingBuilder.build(SymmetricBindingBuilder.java:75)
     [java] 	at org.apache.rampart.MessageBuilder.build(MessageBuilder.java:144)
     [java] 	at org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:65)
     [java] 	at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:335)
     [java] 	at org.apache.axis2.engine.Phase.invoke(Phase.java:308)
     [java] 	at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:262)
     [java] 	at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:427)
     [java] 	at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:406)
     [java] 	at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
     [java] 	at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
     [java] 	at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:555)
     [java] 	at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:531)
     [java] 	at org.apache.rampart.samples.policy.sample04.Client.main(Unknown Source)
     [java] Caused by: java.lang.ClassNotFoundException: org.apache.axiom.om.OMXMLStreamReaderConfiguration
     [java] 	at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
     [java] 	at java.security.AccessController.doPrivileged(Native Method)
     [java] 	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
     [java] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
     [java] 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
     [java] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
     [java] 	... 32 more
     [java] Java Result: 1

BUILD SUCCESSFUL


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


Mime
View raw message