Hi,

Hmm, i'm using latest Axis2 1.4 and there is already a Security phase in 
OutFaultFlow axis2.xml.

My Question, do i have to modify anything on axis2.xml if i use <module 
ref="rampart"> in the
service.xml of my service.

I dont want to add the module globally for all services used in my axis2 
instance. Or do i have to
add <module ref="rampart"> to the axis2.xml ?

thanx in advance

Stefan


Sanjay Vivek wrote:
> Hi Stefan,
> 
> You can find out more about how to enable this in axis2.xml at [1]. This
> was incidentally posted by Joana :). 
> 
> [1] -
> http://mail-archives.apache.org/mod_mbox/ws-rampart-dev/200802.mbox/%3cf
> [EMAIL PROTECTED] 
> 
> Regards
> Sanjay
> 
>> -----Original Message-----
>> From: Stefan Lischke [mailto:[EMAIL PROTECTED] On Behalf 
>> Of Stefan Lischke
>> Sent: 06 May 2008 13:23
>> To: rampart-dev@ws.apache.org
>> Subject: Re: where to put the rampart-*.jars
>>
>> Hi,
>>
>> I just enabled it in the service.xml. Do i have to enable it 
>> also in the axis2.xml?
>> Please tell me how or link me to a proper documentation
>>
>> thanx in advance
>>
>> Stefan
>>
>> Joana M. F. Trindade wrote:
>>> Hi Stefan,
>>>
>>> Yes, you should enable it using <module ref="rampart">. Are you 
>>> enabling it also in the axis2.xml file?
>>>
>>> Cheers,
>>> Joana
>>>
>>> On Tue, May 6, 2008 at 9:11 AM, Stefan Lischke 
>> <[EMAIL PROTECTED]> wrote:
>>>> thanks for your answer,
>>>>
>>>> so my libs are in the right place, and i also added "<module 
>>>> ref="rampart"/>" to my service.xml it seems to deploy in 
>>>> org.apache.axis2.transport.http.SimpleHTTPServer but not in tomcat
>>>>
>>>> ;-(
>>>>
>>>> i did not used any client stuff yet, just wanted to deploy 
>> without error.
>>>> is it possible that i have to use
>>>> <module ref="rampart-642231"/>
>>>>
>>>> instead of
>>>>
>>>> "<module ref="rampart"/>"
>>>>
>>>> beacuse there are
>>>> tomcat/webapps/axis2/WEB-INF/modules/rahas-642231.mar
>>>> tomcat/webapps/axis2/WEB-INF/modules/rampart-642231.mar
>>>>
>>>>
>>>> Stefan
>>>>
>>>>
>>>> Joana M. F. Trindade wrote:
>>>>> Hi Stefan,
>>>>>
>>>>> Yes, this is the right place to put the rampart .jars at the server
>>>> side.
>>>>> For the client application side, they should be put in the 
>> classpath 
>>>>> of
>>>> the
>>>>> application. Did you put the rampart module in a "modules" folder, 
>>>>> and informed this path to a ConfigurationContext object in the 
>>>>> client application?
>>>>>
>>>>> Cheers,
>>>>> Joana
>>>>>
>>>>> On Tue, May 6, 2008 at 8:54 AM, Stefan Lischke <[EMAIL PROTECTED]>
>>>> wrote:
>>>>>> Hi,
>>>>>>
>>>>>> I have a problem with deployment. When using 
>>>>>> org.apache.axis2.transport.http.SimpleHTTPServer i put 
>> the rampart 
>>>>>> jars in the classpath and everything works fine.
>>>>>>
>>>>>> But when using axis2 in a real tomcat, i got the Error:
>>>>>> org.apache.axis2.deployment.DeploymentException: The 
>> rampart module 
>>>>>> is
>>>> not
>>>>>> valid or has not been
>>>>>> deployed. at
>>>>>>
>>>>>> it seems that the jars are not found. They are present in
>>>>>>
>>>>>> tomcat/webapps/axis2/WEB-INF/lib/
>>>>>>
>>>>>> Is this the right position or should i put them in a lib directory
>>>> under
>>>>>> modules?
>>>>>>
>>>>>>
>>>>>> thanx in advance
>>>>>>
>>>>>> Stefan
>>>>>>
>>>>>
>>>
>>

Reply via email to