You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Martin Gainty (JIRA)" <ji...@apache.org> on 2013/11/22 03:10:36 UTC
[jira] [Commented] (AXIS2-5618) Unable to engage rampart at client
side when using it as a classpath resource
[ https://issues.apache.org/jira/browse/AXIS2-5618?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13829580#comment-13829580 ]
Martin Gainty commented on AXIS2-5618:
--------------------------------------
'standard location for axis2 modules' is /WEB-INF/modules'
$CATALINA_HOME/webapps/axis2/WEB-INF/modules
11/23/2011 07:07 PM 285,705 rampart-1.4.mar
04/12/2010 03:58 PM 150,044 rampart-policy.mar
01/08/2010 04:54 PM 147,638 rampart-SNAPSHOT.mar
04/12/2010 02:49 PM 100,239 rampart-trust-SNAPSHOT.mar
engagement of rampart module programatically as Brian suggested:
client = new ServiceClient(cfgCntxt, null);
//stuff
client.engageModule("rampart");
Let us know both situations work for your OSX environment:
I dont have OSX here ..brian can you test?
thanks,
Martin-
> Unable to engage rampart at client side when using it as a classpath resource
> -----------------------------------------------------------------------------
>
> Key: AXIS2-5618
> URL: https://issues.apache.org/jira/browse/AXIS2-5618
> Project: Axis2
> Issue Type: Bug
> Components: client-api
> Affects Versions: 1.5.2
> Environment: Mac OS, Java 1.6, Liferay portal
> Reporter: Robert Hall
>
> I have a bug in which I cannot access rampart from the classpath. I'm using Axis2 for client webservices in a deployment environment, I can't access a repository/modules folder with the rampart.mar file as I can when running a test client from the command line. I've tried placing the rampart file directly on the classpath and in a modules folder on the classpath.
> I try and engage rampart with contextWSStub._getServiceClient()..engageModule(new QName("rampart"));
> but to no avail, at run time I get org.apache.axis2.AxisFault: Unable to engage module : rampart
--
This message was sent by Atlassian JIRA
(v6.1#6144)
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org