Hi Suresh, Seems like you are missing the required rampart-core-*.jar Build the distribution by running "mvn install" at "modules/distribution" directory and then lib directory in the "modules/distribution/target/rampart-dist-1.7.0-SNAPSHOT-bin.zip" file contains all the required jars that you need to include.
Thanks, Ruchith On Fri, Apr 8, 2011 at 11:05 PM, suresh attanayake <suresh.attanay...@gmail.com> wrote: > Dear Axis2 community ! > I get the following error when I start Axis2 1.70-SNAPSHOT server with > Rampart 1.7.0 mar and jars. So is there any incompatibility between them ? > We group of students of University of Moratuwa planing to implement WS- > Federation specification for Apache Rampart. If there is a incompatibility > between Axis2 trunk and Rampart trunk, what version of Rampart should we use > for our development ? > We appreciate any assistance.. > Thanks,, > Suresh. > [ERROR] The rampart-1.7.0-SNAPSHOT.mar module, which is not valid, caused > org/apache/ws/security/WSSecurityException > java.lang.NoClassDefFoundError: org/apache/ws/security/WSSecurityException > at java.lang.Class.getDeclaredConstructors0(Native Method) > at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389) > at java.lang.Class.getConstructor0(Class.java:2699) > at java.lang.Class.newInstance0(Class.java:326) > at java.lang.Class.newInstance(Class.java:308) > at org.apache.axis2.deployment.util.Utils$1.run(Utils.java:100) > at > org.apache.axis2.java.security.AccessController.doPrivileged(AccessController.java:132) > at org.apache.axis2.deployment.util.Utils.addFlowHandlers(Utils.java:96) > at > org.apache.axis2.deployment.DeploymentEngine.addNewModule(DeploymentEngine.java:549) > at org.apache.axis2.deployment.ModuleDeployer.deploy(ModuleDeployer.java:80) > at > org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136) > at > org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:813) > at > org.apache.axis2.deployment.RepositoryListener.init(RepositoryListener.java:264) > at > org.apache.axis2.deployment.RepositoryListener.init2(RepositoryListener.java:69) > at > org.apache.axis2.deployment.RepositoryListener.<init>(RepositoryListener.java:64) > at > org.apache.axis2.deployment.DeploymentEngine.loadRepository(DeploymentEngine.java:158) > at > org.apache.axis2.deployment.FileSystemConfigurator.getAxisConfiguration(FileSystemConfigurator.java:133) > at > org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:64) > at > org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:210) > at > org.apache.axis2.transport.SimpleAxis2Server.<init>(SimpleAxis2Server.java:47) > at > org.apache.axis2.transport.SimpleAxis2Server.main(SimpleAxis2Server.java:98) > Caused by: java.lang.ClassNotFoundException: > org.apache.ws.security.WSSecurityException > at java.net.URLClassLoader$1.run(URLClassLoader.java:202) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:190) > at java.lang.ClassLoader.loadClass(ClassLoader.java:307) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) > at java.lang.ClassLoader.loadClass(ClassLoader.java:248) > ... 21 more > [INFO] Deploying module: metadataExchange-1.7.0-SNAPSHOT - > file:/home/sub-zero/Softwares/axis2-1.7.0-SNAPSHOT/repository/modules/mex-1.7.0-SNAPSHOT.mar > [INFO] Deploying module: rahas-1.7.0-SNAPSHOT - > file:/home/sub-zero/Softwares/axis2-1.7.0-SNAPSHOT/repository/modules/rahas-1.7.0-SNAPSHOT.mar > > -- http://ruchith.org --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org For additional commands, e-mail: java-dev-h...@axis.apache.org