Can you check whether rampart related libraries (core, policy, trust) are
in your client class-path?


On Tue, Feb 11, 2014 at 2:29 PM, Chathurika De Silva
<[email protected]>wrote:

> Hi All
>
> I have implemented a secure proxy service and a client that talks to that
> service. In the client i have referenced rampart module as below
>
> ConfigurationContext ctx =
> ConfigurationContextFactory.createConfigurationContextFromFileSystem("/home/erandi/axis2-1.6.2/repository",
> null);
>
> When running the client i get the following error. Can someone help me
> with this error?
>
> ERROR] The rampart-1.6.2.mar module, which is not valid, caused
> org.apache.rampart.Rampart
> org.apache.axis2.deployment.DeploymentException: org.apache.rampart.Rampart
>     at
> org.apache.axis2.deployment.repository.util.ArchiveReader.readModuleArchive(ArchiveReader.java:527)
>     at
> org.apache.axis2.deployment.ModuleDeployer.deploy(ModuleDeployer.java:77)
>     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.orderprocess.OrderProcessorClient.main(OrderProcessorClient.java:17)
> Caused by: org.apache.axis2.deployment.DeploymentException:
> org.apache.rampart.Rampart
>     at
> org.apache.axis2.deployment.ModuleBuilder.populateModule(ModuleBuilder.java:233)
>     at
> org.apache.axis2.deployment.repository.util.ArchiveReader.readModuleArchive(ArchiveReader.java:514)
>     ... 11 more
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Kishanthan Thangarajah*
Senior Software Engineer,
Platform Technologies Team,
WSO2, Inc.
lean.enterprise.middleware

Mobile - +94773426635
Blog - *http://kishanthan.wordpress.com <http://kishanthan.wordpress.com>*
Twitter - *http://twitter.com/kishanthan <http://twitter.com/kishanthan>*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to