<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>rampart-dev@ws.apache.org Archives</title>
<link rel="self" href="http://mail-archives.apache.org/mod_mbox/ws-rampart-dev/?format=atom"/>
<link href="http://mail-archives.apache.org/mod_mbox/ws-rampart-dev/"/>
<id>http://mail-archives.apache.org/mod_mbox/ws-rampart-dev/</id>
<updated>2009-12-06T04:29:51Z</updated>
<entry>
<title>Programmatically altering security policies at runtime</title>
<author><name>&quot;Doughty, Michael&quot; &lt;Michael_Doughty@bmc.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-rampart-dev/200912.mbox/%3c5E8C8BE519C8C9458BA2382E368E56C713A42C1D4D@PHXCCRPRD01.adprod.bmc.com%3e"/>
<id>urn:uuid:%3c5E8C8BE519C8C9458BA2382E368E56C713A42C1D4D@PHXCCRPRD01-adprod-bmc-com%3e</id>
<updated>2009-12-02T22:02:03Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I have a use case in which I need to be able to programmatically set and alter the security
policies that are applied to my Web services at runtime, i.e. on the fly.  So far it seems
like this might be possible for clients, but I don't see how to do the same thing for services.
 Is there any way of doing this?  And if so, is there any documentation on the process that
might help me achieve it?


</pre>
</div>
</content>
</entry>
<entry>
<title>SAML consuming issue</title>
<author><name>Francesco Stampacchia &lt;stampacchiafrancesco@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-rampart-dev/200911.mbox/%3c883726f30911300933j19162d25t79d02c83bc040f3a@mail.gmail.com%3e"/>
<id>urn:uuid:%3c883726f30911300933j19162d25t79d02c83bc040f3a@mail-gmail-com%3e</id>
<updated>2009-11-30T17:33:56Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hello everyone!

I've successfully worked out the SAML issuing and consuming sample presented
here:
http://thilinamb.wordpress.com/2009/10/20/saml-2-0-token-profile-support-in-rampart-1-5/.

Now I'm trying to port it on WSAS 3.1.1. But I'm finding some troubles even
in obtaining the token from the sts used by the service. Probably I'm
getting lost in policies configuration, could someone show me the way?!

More in details I'd like to make the code in the link above work under WSAS
as it does under axis2-1.5, especially the codeline in wich I explicitly
call for token consuming:

        options.setProperty(RampartMessageData.KEY_CUSTOM_ISSUED_TOKEN,
tokenId);

Thank you in advance!

-- 
Francesco Stampacchia


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Axis2 Transports 1.0-RC1 for testing</title>
<author><name>Charith Wickramarachchi &lt;charith.dhanushka@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-rampart-dev/200911.mbox/%3cd0e987990911282045s10013bf9hc4a526a27247f28b@mail.gmail.com%3e"/>
<id>urn:uuid:%3cd0e987990911282045s10013bf9hc4a526a27247f28b@mail-gmail-com%3e</id>
<updated>2009-11-29T04:45:46Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Ruwan,

I tested the SMS Transport with Axis2 1.5.1.

There was a problem with the GSM implementation coused by the issue that i
have already  reported in WSCOMMONS-508.

To fix that issue please commit the patch i have provided in WSCOMMONS-508
for me then that issue will be resolved.

The SMPP protocol implementation works fine with the axis2 1.5.1.

thanks,
Charith




On Thu, Nov 26, 2009 at 2:06 PM, Ruwan Linton &lt;ruwan.linton@gmail.com&gt;wrote:

&gt; Folks,
&gt;
&gt; Still I am in the process of completing the site, but that wouldn't stop us
&gt; from publishing a binary RC for testing.
&gt;
&gt; Here are the artifacts to be released;
&gt;
&gt; http://people.apache.org/~ruwan/transports-1.0-RC1/artifacts/&lt;http://people.apache.org/%7Eruwan/transports-1.0-RC1/artifacts/&gt;
&gt;
&gt; and the maven2 repository is;
&gt;
&gt; http://people.apache.org/~ruwan/transports-1.0-RC1/m2_repo/&lt;http://people.apache.org/%7Eruwan/transports-1.0-RC1/m2_repo/&gt;
&gt;
&gt; Hope to have your early feedback on this. If everything goes well, we will
&gt; be able to call the release vote on next week. I need some help on UDP and
&gt; XMPP transport documentations, if there are any volunteers to contribute to
&gt; those, you are more than welcome!
&gt;
&gt; Thanks,
&gt; Ruwan
&gt;
&gt; --
&gt; Ruwan Linton
&gt; Technical Lead &amp; Product Manager; WSO2 ESB; http://wso2.org/esb
&gt; WSO2 Inc.; http://wso2.org
&gt; email: ruwan@wso2.com; cell: +94 77 341 3097
&gt; blog: http://ruwansblog.blogspot.com
&gt;



-- 
Charith Dhanushka Wickramarachchi
http://charithwiki.blogspot.com/


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Building a WS client with servlets</title>
<author><name>Thilina Mahesh Buddhika &lt;thilinamb@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-rampart-dev/200911.mbox/%3c930503ab0911272037s530b24b5wa5a8fd8efff579dd@mail.gmail.com%3e"/>
<id>urn:uuid:%3c930503ab0911272037s530b24b5wa5a8fd8efff579dd@mail-gmail-com%3e</id>
<updated>2009-11-28T04:37:49Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Julien,

There are some alternative approaches you can try.

1. Try placing the the policy.xml inside the root directory of your web-app
at the same level as WEB-INF directory.

2. Otherwise you can include the absolute path of the policy.xml inside the
web.xml as a context parameter.

&lt;context-param&gt;
    &lt;param-name&gt;policy&lt;/param-name&gt;
    &lt;param-value&gt;/path/to/the/policy&lt;/param-value&gt;
&lt;/context-param&gt;

Then inside your servlet you can load this parameter and read the path to
the policy file.

String path = (String) getServletContext().getAttribute("policy");


3. If you do not want to specify the policy file in your client code, use
Axis2 Dynamic Client. More information about using Axis2 Dynamic Client can
be found here [1].

Thanks.
/thilina

[1] -
http://blog.rampartfaq.com/2009/11/how-to-use-axis2-dynamic-client-to.html


Thilina Mahesh Buddhika
http://blog.thilinamb.com


On Fri, Nov 27, 2009 at 9:42 PM, Julien Sentier &lt;jsentier@rocketmail.com&gt;wrote:

&gt; Hi,
&gt;
&gt; I've developed a Web Service with UserName Token authentication (and
&gt; password digest).
&gt;
&gt; Then I've generated the stubs and I've build a simple client. When I launch
&gt; my .jar it works fine!
&gt;
&gt; However I must build a website as a WS client deployed on Tomcat. I've used
&gt; the same code both time:
&gt; String target = "http://192.168.0.6:8081/axis2/services/WSInterface";
&gt; WSInterfaceStub stub = new WSInterfaceStub(target);
&gt; ServiceClient client = stub._getServiceClient();
&gt; Options options = client.getOptions();
&gt;
&gt; options.setProperty(RampartMessageData.KEY_RAMPART_POLICY,loadPolicy("policy.xml"));
&gt; options.setUserName("alice");
&gt; options.setPassword("bob");
&gt; client.engageModule("rampart");
&gt;
&gt; Here is loadPolicy():
&gt;   private static Policy loadPolicy(String xmlPath) throws Exception {
&gt;       StAXOMBuilder builder = new StAXOMBuilder(xmlPath);
&gt;       return PolicyEngine.getPolicy(builder.getDocumentElement());
&gt;   }
&gt;
&gt; So this code works on my simple client (.jar) but not for the servlet. I
&gt; can build the .war file and then deploy it on Tomcat but when I go to
&gt; http://localhost:8080/mysite/Index I got the following error:
&gt; java.io.FileNotFoundException: policy.xml (No such file or directory)
&gt;
&gt; I tried to put policy.xml inside the .war at different location but without
&gt; success.
&gt;
&gt; I wondering if someone here have already succeeded on creating a secure WS
&gt; client with Tomcat.
&gt;
&gt; Alternative: do you know another way to specify policy without XML file? I
&gt; mean, without:
&gt; options.setProperty(RampartMessageData.KEY_RAMPART_POLICY,loadPolicy("policy.xml"));
&gt;
&gt; Regards,
&gt; Julien
&gt;
&gt;
&gt;
&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Building a WS client with servlets</title>
<author><name>Julien Sentier &lt;jsentier@rocketmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-rampart-dev/200911.mbox/%3c329115.55599.qm@web113007.mail.gq1.yahoo.com%3e"/>
<id>urn:uuid:%3c329115-55599-qm@web113007-mail-gq1-yahoo-com%3e</id>
<updated>2009-11-27T16:12:43Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi,

I've developed a Web Service with UserName Token authentication (and password digest).

Then I've generated the stubs and I've build a simple client. When I launch my .jar it works
fine!

However I must build a website as a WS client deployed on Tomcat. I've used the same code
both time:
String target = "http://192.168.0.6:8081/axis2/services/WSInterface";
WSInterfaceStub stub = new WSInterfaceStub(target);
ServiceClient client = stub._getServiceClient();
Options options = client.getOptions();
options.setProperty(RampartMessageData.KEY_RAMPART_POLICY,loadPolicy("policy.xml"));
options.setUserName("alice");
options.setPassword("bob");
client.engageModule("rampart");

Here is loadPolicy():
   private static Policy loadPolicy(String xmlPath) throws Exception {
       StAXOMBuilder builder = new StAXOMBuilder(xmlPath);
       return PolicyEngine.getPolicy(builder.getDocumentElement());
   }

So this code works on my simple client (.jar) but not for the servlet. I can build the .war
file and then deploy it on Tomcat but when I go to http://localhost:8080/mysite/Index I got
the following error:
java.io.FileNotFoundException: policy.xml (No such file or directory) 

I tried to put policy.xml inside the .war at different location but without success.

I wondering if someone here have already succeeded on creating a secure WS client with Tomcat.

Alternative: do you know another way to specify policy without XML file? I mean, without:
options.setProperty(RampartMessageData.KEY_RAMPART_POLICY,loadPolicy("policy.xml"));

Regards,
Julien


      



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Unable to engage module : rampart (only in Ubuntu 9.04 ?!)</title>
<author><name>Julien Sentier &lt;jsentier@rocketmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-rampart-dev/200911.mbox/%3c542400.80960.qm@web113002.mail.gq1.yahoo.com%3e"/>
<id>urn:uuid:%3c542400-80960-qm@web113002-mail-gq1-yahoo-com%3e</id>
<updated>2009-11-26T14:58:48Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi,

Thanks, that was exactly the problem.

In don't know why but on my mac it works whithout the repo directory and without the configuration
context lines!

Julien

--- On Thu, 11/26/09, Thilina Mahesh Buddhika &lt;thilinamb@gmail.com&gt; wrote:

&gt; From: Thilina Mahesh Buddhika &lt;thilinamb@gmail.com&gt;
&gt; Subject: Re: Unable to engage module : rampart (only in Ubuntu 9.04 ?!)
&gt; To: rampart-dev@ws.apache.org
&gt; Date: Thursday, November 26, 2009, 2:02 PM
&gt; Hi Julien,
&gt; 
&gt; You are getting this error in client side, right ?
&gt; 
&gt; Please make sure that you are pointing to a valid
&gt; repository location in
&gt; client side which has rampart.mar inside "modules"
&gt; sub-directory and passing
&gt; this repository location when building the configuration
&gt; context.
&gt; 
&gt; Thanks.
&gt; /thilina
&gt; 
&gt; Thilina Mahesh Buddhika
&gt; http://blog.thilinamb.com
&gt; 
&gt; 
&gt; On Thu, Nov 26, 2009 at 7:22 PM, Julien Sentier &lt;jsentier@rocketmail.com&gt;wrote:
&gt; 
&gt; &gt; Hi,
&gt; &gt;
&gt; &gt; I've developed a simple Web Service with Username
&gt; Token. It uses Tomcat 6,
&gt; &gt; Axis2, Rampart 1.4. As you see, I'm using the last
&gt; version of each software.
&gt; &gt;
&gt; &gt; It works fine on my MacBook Pro with Mac OS X 10.5.
&gt; But when I follow the
&gt; &gt; same steps with the same code on another machine with
&gt; Ubuntu 9.04, I
&gt; &gt; encounter the following error when launching the
&gt; client:
&gt; &gt; [java] org.apache.axis2.AxisFault: Unable to engage
&gt; module : rampart
&gt; &gt;     [java] 
&gt;    at
&gt; &gt;
&gt; org.apache.axis2.client.ServiceClient.engageModule(ServiceClient.java:358)
&gt; &gt; ....
&gt; &gt;
&gt; &gt; The secure server is deployed correctly. When I look
&gt; the "Available
&gt; &gt; Modules" in Axis2 admin, rahas and rampart are
&gt; available. And, yes, I have
&gt; &gt; copied lib/* files and *.mar files in the right
&gt; directories (like on my
&gt; &gt; Mac).
&gt; &gt;
&gt; &gt; Could you see what could be wrong ?
&gt; &gt;
&gt; &gt; Regards,
&gt; &gt; Julien
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; 


      



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Unable to engage module : rampart (only in Ubuntu 9.04 ?!)</title>
<author><name>Thilina Mahesh Buddhika &lt;thilinamb@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-rampart-dev/200911.mbox/%3c930503ab0911260602q707cd953pdbbb57015ca680a2@mail.gmail.com%3e"/>
<id>urn:uuid:%3c930503ab0911260602q707cd953pdbbb57015ca680a2@mail-gmail-com%3e</id>
<updated>2009-11-26T14:02:32Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Julien,

You are getting this error in client side, right ?

Please make sure that you are pointing to a valid repository location in
client side which has rampart.mar inside "modules" sub-directory and passing
this repository location when building the configuration context.

Thanks.
/thilina

Thilina Mahesh Buddhika
http://blog.thilinamb.com


On Thu, Nov 26, 2009 at 7:22 PM, Julien Sentier &lt;jsentier@rocketmail.com&gt;wrote:

&gt; Hi,
&gt;
&gt; I've developed a simple Web Service with Username Token. It uses Tomcat 6,
&gt; Axis2, Rampart 1.4. As you see, I'm using the last version of each software.
&gt;
&gt; It works fine on my MacBook Pro with Mac OS X 10.5. But when I follow the
&gt; same steps with the same code on another machine with Ubuntu 9.04, I
&gt; encounter the following error when launching the client:
&gt; [java] org.apache.axis2.AxisFault: Unable to engage module : rampart
&gt;     [java]     at
&gt; org.apache.axis2.client.ServiceClient.engageModule(ServiceClient.java:358)
&gt; ....
&gt;
&gt; The secure server is deployed correctly. When I look the "Available
&gt; Modules" in Axis2 admin, rahas and rampart are available. And, yes, I have
&gt; copied lib/* files and *.mar files in the right directories (like on my
&gt; Mac).
&gt;
&gt; Could you see what could be wrong ?
&gt;
&gt; Regards,
&gt; Julien
&gt;
&gt;
&gt;
&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Unable to engage module : rampart (only in Ubuntu 9.04 ?!)</title>
<author><name>Julien Sentier &lt;jsentier@rocketmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-rampart-dev/200911.mbox/%3c817779.83826.qm@web113005.mail.gq1.yahoo.com%3e"/>
<id>urn:uuid:%3c817779-83826-qm@web113005-mail-gq1-yahoo-com%3e</id>
<updated>2009-11-26T13:52:03Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi,

I've developed a simple Web Service with Username Token. It uses Tomcat 6, Axis2, Rampart
1.4. As you see, I'm using the last version of each software.

It works fine on my MacBook Pro with Mac OS X 10.5. But when I follow the same steps with
the same code on another machine with Ubuntu 9.04, I encounter the following error when launching
the client:
[java] org.apache.axis2.AxisFault: Unable to engage module : rampart
     [java] 	at org.apache.axis2.client.ServiceClient.engageModule(ServiceClient.java:358)
....

The secure server is deployed correctly. When I look the "Available Modules" in Axis2 admin,
rahas and rampart are available. And, yes, I have copied lib/* files and *.mar files in the
right directories (like on my Mac).

Could you see what could be wrong ?

Regards,
Julien


      



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Knowing who is the client in a WS</title>
<author><name>Julien Sentier &lt;jsentier@rocketmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-rampart-dev/200911.mbox/%3c155892.46444.qm@web113004.mail.gq1.yahoo.com%3e"/>
<id>urn:uuid:%3c155892-46444-qm@web113004-mail-gq1-yahoo-com%3e</id>
<updated>2009-11-26T13:38:17Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Thanks a lot, it works!

--- On Tue, 11/24/09, Prabath Siriwardena &lt;prabath@wso2.com&gt; wrote:

&gt; From: Prabath Siriwardena &lt;prabath@wso2.com&gt;
&gt; Subject: Re: Knowing who is the client in a WS
&gt; To: rampart-dev@ws.apache.org
&gt; Date: Tuesday, November 24, 2009, 9:36 AM
&gt; Please have a look at [1] and [2].
&gt; 
&gt; Thanks &amp; regards.
&gt; -Prabath
&gt; 
&gt; [1]: http://www.nandana.org/2008/09/accessing-username-used-for.html
&gt; [2]:http://www.keith-chapman.org/2008/09/axis2-rampart-access-username-used-for.html
&gt; 
&gt; Julien Sentier wrote:
&gt; &gt; Hi,
&gt; &gt;
&gt; &gt; I want to build a Web Service which return different
&gt; response according to a profile/person.
&gt; &gt;
&gt; &gt; Let's imagine a getDefinitionById(id) operation.
&gt; &gt; This operation should no be called by someone
&gt; anonymous.
&gt; &gt; If John calls it, it should response a definition from
&gt; Thesaurus1.
&gt; &gt; If Peter calls it, it should response the definitions
&gt; from Thesaurus1, Thesaurus2 and Thesaurus3.
&gt; &gt; Etc.
&gt; &gt;
&gt; &gt; To help me, I'm following this how-to: http://www.ibm.com/developerworks/java/library/j-jws7.html
&gt; &gt;
&gt; &gt; It explains how to add granularity to a WS. In the
&gt; example there is:
&gt; &gt; * The getBook operation can safely be exposed to
&gt; anyone (no security).
&gt; &gt; * The getBooksByType needs authorization (so requires
&gt; a UsernameToken).
&gt; &gt; * The addBook operation needs an audit trail to track
&gt; who added each book (implemented by signing of the request
&gt; messages).
&gt; &gt;
&gt; &gt; The last operation is the one that interests me. Is
&gt; that really possible to know "inside" an operation which
&gt; person called it, in order to return different responses?
&gt; &gt;
&gt; &gt; If it's not possible, could you help me find an
&gt; alternative?
&gt; &gt; Should I create a very similar operation by person?...
&gt; I mean getDefinitionByIdForJohn(id),
&gt; getDefinitionByIdForPeter(id), etc.
&gt; &gt;
&gt; &gt; Regards,
&gt; &gt; Julien
&gt; &gt;
&gt; &gt;
&gt; &gt;       
&gt; &gt;
&gt; &gt;   
&gt; 
&gt; 


      



</pre>
</div>
</content>
</entry>
<entry>
<title>Axis2 Transports 1.0-RC1 for testing</title>
<author><name>Ruwan Linton &lt;ruwan.linton@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-rampart-dev/200911.mbox/%3c672a01200911260036n6a02ec87qca09fcf151dc461a@mail.gmail.com%3e"/>
<id>urn:uuid:%3c672a01200911260036n6a02ec87qca09fcf151dc461a@mail-gmail-com%3e</id>
<updated>2009-11-26T08:36:52Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Folks,

Still I am in the process of completing the site, but that wouldn't stop us
from publishing a binary RC for testing.

Here are the artifacts to be released;

http://people.apache.org/~ruwan/transports-1.0-RC1/artifacts/

and the maven2 repository is;

http://people.apache.org/~ruwan/transports-1.0-RC1/m2_repo/

Hope to have your early feedback on this. If everything goes well, we will
be able to call the release vote on next week. I need some help on UDP and
XMPP transport documentations, if there are any volunteers to contribute to
those, you are more than welcome!

Thanks,
Ruwan

-- 
Ruwan Linton
Technical Lead &amp; Product Manager; WSO2 ESB; http://wso2.org/esb
WSO2 Inc.; http://wso2.org
email: ruwan@wso2.com; cell: +94 77 341 3097
blog: http://ruwansblog.blogspot.com


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Knowing who is the client in a WS</title>
<author><name>Prabath Siriwardena &lt;prabath@wso2.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-rampart-dev/200911.mbox/%3c4B0BA915.8080004@wso2.com%3e"/>
<id>urn:uuid:%3c4B0BA915-8080004@wso2-com%3e</id>
<updated>2009-11-24T09:36:21Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Please have a look at [1] and [2].

Thanks &amp; regards.
-Prabath

[1]: http://www.nandana.org/2008/09/accessing-username-used-for.html
[2]:http://www.keith-chapman.org/2008/09/axis2-rampart-access-username-used-for.html

Julien Sentier wrote:
&gt; Hi,
&gt;
&gt; I want to build a Web Service which return different response according to a profile/person.
&gt;
&gt; Let's imagine a getDefinitionById(id) operation.
&gt; This operation should no be called by someone anonymous.
&gt; If John calls it, it should response a definition from Thesaurus1.
&gt; If Peter calls it, it should response the definitions from Thesaurus1, Thesaurus2 and
Thesaurus3.
&gt; Etc.
&gt;
&gt; To help me, I'm following this how-to: http://www.ibm.com/developerworks/java/library/j-jws7.html
&gt;
&gt; It explains how to add granularity to a WS. In the example there is:
&gt; * The getBook operation can safely be exposed to anyone (no security).
&gt; * The getBooksByType needs authorization (so requires a UsernameToken).
&gt; * The addBook operation needs an audit trail to track who added each book (implemented
by signing of the request messages).
&gt;
&gt; The last operation is the one that interests me. Is that really possible to know "inside"
an operation which person called it, in order to return different responses?
&gt;
&gt; If it's not possible, could you help me find an alternative?
&gt; Should I create a very similar operation by person?... I mean getDefinitionByIdForJohn(id),
getDefinitionByIdForPeter(id), etc.
&gt;
&gt; Regards,
&gt; Julien
&gt;
&gt;
&gt;       
&gt;
&gt;   



</pre>
</div>
</content>
</entry>
<entry>
<title>Knowing who is the client in a WS</title>
<author><name>Julien Sentier &lt;jsentier@rocketmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-rampart-dev/200911.mbox/%3c15753.23183.qm@web113012.mail.gq1.yahoo.com%3e"/>
<id>urn:uuid:%3c15753-23183-qm@web113012-mail-gq1-yahoo-com%3e</id>
<updated>2009-11-24T09:25:10Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi,

I want to build a Web Service which return different response according to a profile/person.

Let's imagine a getDefinitionById(id) operation.
This operation should no be called by someone anonymous.
If John calls it, it should response a definition from Thesaurus1.
If Peter calls it, it should response the definitions from Thesaurus1, Thesaurus2 and Thesaurus3.
Etc.

To help me, I'm following this how-to: http://www.ibm.com/developerworks/java/library/j-jws7.html

It explains how to add granularity to a WS. In the example there is:
* The getBook operation can safely be exposed to anyone (no security).
* The getBooksByType needs authorization (so requires a UsernameToken).
* The addBook operation needs an audit trail to track who added each book (implemented by
signing of the request messages).

The last operation is the one that interests me. Is that really possible to know "inside"
an operation which person called it, in order to return different responses?

If it's not possible, could you help me find an alternative?
Should I create a very similar operation by person?... I mean getDefinitionByIdForJohn(id),
getDefinitionByIdForPeter(id), etc.

Regards,
Julien


      


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Developing a secure WS with Axis2: compiling a client</title>
<author><name>Julien Sentier &lt;jsentier@rocketmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-rampart-dev/200911.mbox/%3c17054.68293.qm@web113013.mail.gq1.yahoo.com%3e"/>
<id>urn:uuid:%3c17054-68293-qm@web113013-mail-gq1-yahoo-com%3e</id>
<updated>2009-11-23T23:33:59Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi,

As I said the error was explicit... I'm must me tired.

Anyway, big thanks for your help!

Regards,
Julien

--- On Mon, 11/23/09, Nandana Mihindukulasooriya &lt;nandana.cse@gmail.com&gt; wrote:

&gt; From: Nandana Mihindukulasooriya &lt;nandana.cse@gmail.com&gt;
&gt; Subject: Re: Developing a secure WS with Axis2: compiling a client
&gt; To: rampart-dev@ws.apache.org
&gt; Date: Monday, November 23, 2009, 10:53 PM
&gt; Hi Julien,
&gt;        Rampart class files are in
&gt; th jar files under lib directory of
&gt; official Rampart binary distribution. So in your case, do
&gt; you have all the
&gt; jars (eg. rampart-core-1.4.jar, rampart-policy-1.4.jar,
&gt; rampart-trust-1.4.jar, etc .. ) under ${axis-home}/lib.
&gt; Those libraries has
&gt; to be in your class path. Hope this [1] will help you to
&gt; find more info.
&gt; 
&gt; regards,
&gt; nandana
&gt; 
&gt; [1] - http://blog.facilelogin.com/2009/11/httprampartfaqcom.html
&gt; 
&gt; On Mon, Nov 23, 2009 at 11:38 PM, Julien Sentier &lt;jsentier@rocketmail.com&gt;wrote:
&gt; 
&gt; &gt; Hi,
&gt; &gt;
&gt; &gt; I'm trying to create a Web Service which could know
&gt; who is the person
&gt; &gt; connected.
&gt; &gt;
&gt; &gt; Currently I'm just following this how-to:
&gt; &gt; http://www.ibm.com/developerworks/java/library/j-jws4/
&gt; &gt;
&gt; &gt; I've setup Tomcat apache-tomcat-6.0.20/ with
&gt; axis2-1.5.1/. I've made my own
&gt; &gt; awis2.war with rahas-1.4.mar and rampart-1.4.mar in
&gt; the repository/modules/
&gt; &gt; folder.
&gt; &gt;
&gt; &gt; Now I'm compiling the examples provided in the how-to
&gt; but I have the
&gt; &gt; following error:
&gt; &gt;
&gt; ....jws04code/client/src/com/sosnoski/ws/library/adb/WebServiceClient.java:29:
&gt; &gt; package org.apache.rampart does not exist
&gt; &gt;
&gt; &gt; It's quite explicit ;)
&gt; &gt;
&gt; &gt; However by build.properties contains :
&gt; &gt; axis-home=/Users/jsentier/WS/zips/axis2-1.5.1
&gt; &gt; And my build.xml contains:
&gt; &gt;   &lt;path id="axis-classpath"&gt;
&gt; &gt;     &lt;fileset
&gt; dir="${axis-home}/lib" includes="**/*.jar"/&gt;
&gt; &gt;     &lt;fileset
&gt; dir="${axis-home}/repository/modules"
&gt; &gt; includes="rampart*.mar"/&gt;
&gt; &gt;   &lt;/path&gt;
&gt; &gt;
&gt; &gt;
&gt; /Users/jsentier/WS/zips/axis2-1.5.1/repository/modules/
&gt; exists and contains
&gt; &gt; the official rampart-1.4.mar. So, what's wrong? Inside
&gt; the rampart-1.4.mar
&gt; &gt; there is no *.class, is that normal?
&gt; &gt;
&gt; &gt; Regards,
&gt; &gt; Julien
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; 


      



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Developing a secure WS with Axis2: compiling a client</title>
<author><name>Nandana Mihindukulasooriya &lt;nandana.cse@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-rampart-dev/200911.mbox/%3c9e2fff830911231453n1392ab0pca385566801b7083@mail.gmail.com%3e"/>
<id>urn:uuid:%3c9e2fff830911231453n1392ab0pca385566801b7083@mail-gmail-com%3e</id>
<updated>2009-11-23T22:53:31Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Julien,
       Rampart class files are in th jar files under lib directory of
official Rampart binary distribution. So in your case, do you have all the
jars (eg. rampart-core-1.4.jar, rampart-policy-1.4.jar,
rampart-trust-1.4.jar, etc .. ) under ${axis-home}/lib. Those libraries has
to be in your class path. Hope this [1] will help you to find more info.

regards,
nandana

[1] - http://blog.facilelogin.com/2009/11/httprampartfaqcom.html

On Mon, Nov 23, 2009 at 11:38 PM, Julien Sentier &lt;jsentier@rocketmail.com&gt;wrote:

&gt; Hi,
&gt;
&gt; I'm trying to create a Web Service which could know who is the person
&gt; connected.
&gt;
&gt; Currently I'm just following this how-to:
&gt; http://www.ibm.com/developerworks/java/library/j-jws4/
&gt;
&gt; I've setup Tomcat apache-tomcat-6.0.20/ with axis2-1.5.1/. I've made my own
&gt; awis2.war with rahas-1.4.mar and rampart-1.4.mar in the repository/modules/
&gt; folder.
&gt;
&gt; Now I'm compiling the examples provided in the how-to but I have the
&gt; following error:
&gt; ....jws04code/client/src/com/sosnoski/ws/library/adb/WebServiceClient.java:29:
&gt; package org.apache.rampart does not exist
&gt;
&gt; It's quite explicit ;)
&gt;
&gt; However by build.properties contains :
&gt; axis-home=/Users/jsentier/WS/zips/axis2-1.5.1
&gt; And my build.xml contains:
&gt;   &lt;path id="axis-classpath"&gt;
&gt;     &lt;fileset dir="${axis-home}/lib" includes="**/*.jar"/&gt;
&gt;     &lt;fileset dir="${axis-home}/repository/modules"
&gt; includes="rampart*.mar"/&gt;
&gt;   &lt;/path&gt;
&gt;
&gt; /Users/jsentier/WS/zips/axis2-1.5.1/repository/modules/ exists and contains
&gt; the official rampart-1.4.mar. So, what's wrong? Inside the rampart-1.4.mar
&gt; there is no *.class, is that normal?
&gt;
&gt; Regards,
&gt; Julien
&gt;
&gt;
&gt;
&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Developing a secure WS with Axis2: compiling a client</title>
<author><name>Julien Sentier &lt;jsentier@rocketmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-rampart-dev/200911.mbox/%3c254125.49075.qm@web113009.mail.gq1.yahoo.com%3e"/>
<id>urn:uuid:%3c254125-49075-qm@web113009-mail-gq1-yahoo-com%3e</id>
<updated>2009-11-23T22:38:53Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi,

I'm trying to create a Web Service which could know who is the person connected.

Currently I'm just following this how-to: http://www.ibm.com/developerworks/java/library/j-jws4/

I've setup Tomcat apache-tomcat-6.0.20/ with axis2-1.5.1/. I've made my own awis2.war with
rahas-1.4.mar and rampart-1.4.mar in the repository/modules/ folder.

Now I'm compiling the examples provided in the how-to but I have the following error:
....jws04code/client/src/com/sosnoski/ws/library/adb/WebServiceClient.java:29: package org.apache.rampart
does not exist

It's quite explicit ;)

However by build.properties contains :
axis-home=/Users/jsentier/WS/zips/axis2-1.5.1
And my build.xml contains:
  &lt;path id="axis-classpath"&gt;
    &lt;fileset dir="${axis-home}/lib" includes="**/*.jar"/&gt;
    &lt;fileset dir="${axis-home}/repository/modules" includes="rampart*.mar"/&gt;
  &lt;/path&gt;

/Users/jsentier/WS/zips/axis2-1.5.1/repository/modules/ exists and contains the official rampart-1.4.mar.
So, what's wrong? Inside the rampart-1.4.mar there is no *.class, is that normal?

Regards,
Julien


      



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Encrypting multiple elements defined through one XPath expression</title>
<author><name>Filip Majernik &lt;filip.majernik@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-rampart-dev/200911.mbox/%3c57b58c1c0911200406i32ff00c3m36e4447f2ab2c4b0@mail.gmail.com%3e"/>
<id>urn:uuid:%3c57b58c1c0911200406i32ff00c3m36e4447f2ab2c4b0@mail-gmail-com%3e</id>
<updated>2009-11-20T12:06:25Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi again,
so I checked the AsymmetricBuilder in trunk and the
RampartUtil.getContentEncryptedElements() method. The only difference is
in the RampartUtil.getContentEncryptedElements() where the WSEncryptionPart
has also the appropriate XPath expression set:

encryptedElem.setXpath(expression);

So I've downloaded the latest wss4j (1.5.8 version) and added the setXPath()
in rampart 1.4. However, it didn't work. But this time,
the EncryptedKey element had two &lt;xenc:DataReference&gt; elements(this was
correct as there were two &lt;xsd:insuree&gt; elements in the
message). The message was of course rejected, because the second reference
was not found. So I took the message, deleted the non-existing
&lt;xenc:DataReference&gt; and sent it with SoapUI to the service and found out,
that the first &lt;xsd:insuree&gt; was encrypted two times.
After the decryption of the element, there was &lt;EncryptedData&gt; with the Id
from the deleted &lt;DataReference&gt;.

So this seems to me like a wss4j bug.

Regards,
Filip

On Fri, Nov 20, 2009 at 11:20 AM, Prabath Siriwardena &lt;prabath@wso2.com&gt;wrote:

&gt; IIRC this seems to be an issue with Rampart 1.4 - and fixed in 1.5 to be
&gt; released and the trunk.
&gt;
&gt; Thanks &amp; regards.
&gt; -Prabath
&gt;
&gt;
&gt; Filip Majernik wrote:
&gt;
&gt;&gt; Hello,
&gt;&gt; I am using Rampart 1.4 in Apache ODE 1.3.2. Ode is sending a message with
&gt;&gt; sequence of &lt;xsd:insuree /&gt; elements each of them wrapped by another
&gt;&gt; element
&gt;&gt; (I generate this elements with a bash script for testing, so all elements
&gt;&gt; are the same, only the Id is different).
&gt;&gt; I have defined a ContentEncryptedElements assertion with one XPath
&gt;&gt; expression like this (using AsymmetricBinding):
&gt;&gt;
&gt;&gt; &lt;ContentEncryptedElements&gt;
&gt;&gt;     &lt;XPath xmlns:xsd="..."&gt;//xsd:insuree&lt;/XPath&gt;
&gt;&gt; &lt;/ContentEncryptedElements&gt;
&gt;&gt;
&gt;&gt; However, only the first element &lt;xsd:insuree/&gt; is always encrypted in the
&gt;&gt; message and the others are left in clear text. I've checked it in Rampart
&gt;&gt; source and the method
&gt;&gt; RampartUtil.getContentEncryptedElements(), which searches the elements in
&gt;&gt; the message, finds all &lt;xsd:insuree /&gt; elements in the message. The class
&gt;&gt; AsymsetricBindingBuilder is not doing anything with that elements, so I
&gt;&gt; suppose there is something with wss4j encryption?
&gt;&gt;
&gt;&gt; Can maybe someone help me with this issue?
&gt;&gt;
&gt;&gt; Thanks,
&gt;&gt; Filip
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Encrypting multiple elements defined through one XPath expression</title>
<author><name>Prabath Siriwardena &lt;prabath@wso2.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-rampart-dev/200911.mbox/%3c4B066D5E.3070006@wso2.com%3e"/>
<id>urn:uuid:%3c4B066D5E-3070006@wso2-com%3e</id>
<updated>2009-11-20T10:20:14Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
IIRC this seems to be an issue with Rampart 1.4 - and fixed in 1.5 to be 
released and the trunk.

Thanks &amp; regards.
-Prabath

Filip Majernik wrote:
&gt; Hello,
&gt; I am using Rampart 1.4 in Apache ODE 1.3.2. Ode is sending a message with
&gt; sequence of &lt;xsd:insuree /&gt; elements each of them wrapped by another element
&gt; (I generate this elements with a bash script for testing, so all elements
&gt; are the same, only the Id is different).
&gt; I have defined a ContentEncryptedElements assertion with one XPath
&gt; expression like this (using AsymmetricBinding):
&gt;
&gt; &lt;ContentEncryptedElements&gt;
&gt;      &lt;XPath xmlns:xsd="..."&gt;//xsd:insuree&lt;/XPath&gt;
&gt; &lt;/ContentEncryptedElements&gt;
&gt;
&gt; However, only the first element &lt;xsd:insuree/&gt; is always encrypted in the
&gt; message and the others are left in clear text. I've checked it in Rampart
&gt; source and the method
&gt; RampartUtil.getContentEncryptedElements(), which searches the elements in
&gt; the message, finds all &lt;xsd:insuree /&gt; elements in the message. The class
&gt; AsymsetricBindingBuilder is not doing anything with that elements, so I
&gt; suppose there is something with wss4j encryption?
&gt;
&gt; Can maybe someone help me with this issue?
&gt;
&gt; Thanks,
&gt; Filip
&gt;
&gt;   



</pre>
</div>
</content>
</entry>
<entry>
<title>Encrypting multiple elements defined through one XPath expression</title>
<author><name>Filip Majernik &lt;filip.majernik@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-rampart-dev/200911.mbox/%3c57b58c1c0911200153ua1db1d7h974b444a987668ff@mail.gmail.com%3e"/>
<id>urn:uuid:%3c57b58c1c0911200153ua1db1d7h974b444a987668ff@mail-gmail-com%3e</id>
<updated>2009-11-20T09:53:33Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hello,
I am using Rampart 1.4 in Apache ODE 1.3.2. Ode is sending a message with
sequence of &lt;xsd:insuree /&gt; elements each of them wrapped by another element
(I generate this elements with a bash script for testing, so all elements
are the same, only the Id is different).
I have defined a ContentEncryptedElements assertion with one XPath
expression like this (using AsymmetricBinding):

&lt;ContentEncryptedElements&gt;
     &lt;XPath xmlns:xsd="..."&gt;//xsd:insuree&lt;/XPath&gt;
&lt;/ContentEncryptedElements&gt;

However, only the first element &lt;xsd:insuree/&gt; is always encrypted in the
message and the others are left in clear text. I've checked it in Rampart
source and the method
RampartUtil.getContentEncryptedElements(), which searches the elements in
the message, finds all &lt;xsd:insuree /&gt; elements in the message. The class
AsymsetricBindingBuilder is not doing anything with that elements, so I
suppose there is something with wss4j encryption?

Can maybe someone help me with this issue?

Thanks,
Filip


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Rampart performance</title>
<author><name>Prabath Siriwardena &lt;prabath@wso2.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-rampart-dev/200911.mbox/%3c4B04B9CA.4020809@wso2.com%3e"/>
<id>urn:uuid:%3c4B04B9CA-4020809@wso2-com%3e</id>
<updated>2009-11-19T03:21:46Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Rajan Gupta wrote:
&gt; We were expecting some performance degradation but the performance
&gt; degradation that we are seeing is huge. And if I get you correctly, the
&gt; kind of performance degradation we saw is more or less expected with
&gt; Rampart version 1.4.
&gt;   
Rampart 1.5 to be released or the trunk will better in performance with 
respect to Rampart 1.4 - specially with fix Thilina did to cache keys.

If you are to rerun the test against it - please make sure you follow 
the steps in [1].

Thanks &amp; regards.
-Prabath

[1]:http://marc.info/?l=rampart-dev&amp;m=125622929630598&amp;w=2


&gt;
&gt; Thanks,
&gt; Rajan
&gt;
&gt; -----Original Message-----
&gt; From: Prabath Siriwardena [mailto:prabath@wso2.com] 
&gt; Sent: Wednesday, November 18, 2009 6:30 PM
&gt; To: rampart-dev@ws.apache.org
&gt; Subject: Re: Rampart performance
&gt;
&gt; Rajan Gupta wrote:
&gt;   
&gt;&gt; The server with WSSE gives one-fourth the TPS with 50% more CPU
&gt;&gt; utilization.
&gt;&gt;     
&gt; Adding WSSE has a performance hit against sending in clear text - as 
&gt; well as over SSL. The TPS value comparison you ended up with, seems to 
&gt; be correct [although in the table it seems to be presented other way
&gt; around]
&gt;
&gt; We have also done certain performance improvements[1] in Rampart trunk 
&gt; [and also will be available with Rampart 1.5] - so you may rerun your 
&gt; tests against the trunk as well.
&gt;
&gt; Thanks &amp; regards.
&gt; -Prabath
&gt;
&gt; [1]:http://marc.info/?l=rampart-dev&amp;m=125622929630598&amp;w=2
&gt;   
&gt;&gt;  
&gt;&gt;
&gt;&gt;  
&gt;&gt;
&gt;&gt; I am trying to find if there is anyone else who has done similar
&gt;&gt; performance benchmarking of Rampart. 
&gt;&gt;
&gt;&gt;  
&gt;&gt;
&gt;&gt; Thanks in advance,
&gt;&gt;
&gt;&gt; Rajan
&gt;&gt;
&gt;&gt;
&gt;&gt;   
&gt;&gt;     
&gt;
&gt;
&gt;   



</pre>
</div>
</content>
</entry>
<entry>
<title>RE: Rampart performance</title>
<author><name>&quot;Rajan Gupta&quot; &lt;Rajang@Yodlee.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-rampart-dev/200911.mbox/%3cEA9B96D1D27D054A99F1C04D9377FB030173A3B0@rws-mail-2.corp.yodlee.com%3e"/>
<id>urn:uuid:%3cEA9B96D1D27D054A99F1C04D9377FB030173A3B0@rws-mail-2-corp-yodlee-com%3e</id>
<updated>2009-11-19T02:45:25Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Thanks Prabhat for the reply. Yes, sorry about the typos. The numbers
were presented the other way around. They should have been:
                         TPS        CPU
With WSSE               7.1       75%
Without WSSE            32         50%

We were expecting some performance degradation but the performance
degradation that we are seeing is huge. And if I get you correctly, the
kind of performance degradation we saw is more or less expected with
Rampart version 1.4.


Thanks,
Rajan

-----Original Message-----
From: Prabath Siriwardena [mailto:prabath@wso2.com] 
Sent: Wednesday, November 18, 2009 6:30 PM
To: rampart-dev@ws.apache.org
Subject: Re: Rampart performance

Rajan Gupta wrote:
&gt; The server with WSSE gives one-fourth the TPS with 50% more CPU
&gt; utilization.
Adding WSSE has a performance hit against sending in clear text - as 
well as over SSL. The TPS value comparison you ended up with, seems to 
be correct [although in the table it seems to be presented other way
around]

We have also done certain performance improvements[1] in Rampart trunk 
[and also will be available with Rampart 1.5] - so you may rerun your 
tests against the trunk as well.

Thanks &amp; regards.
-Prabath

[1]:http://marc.info/?l=rampart-dev&amp;m=125622929630598&amp;w=2
&gt;  
&gt;
&gt;  
&gt;
&gt; I am trying to find if there is anyone else who has done similar
&gt; performance benchmarking of Rampart. 
&gt;
&gt;  
&gt;
&gt; Thanks in advance,
&gt;
&gt; Rajan
&gt;
&gt;
&gt;   



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Rampart performance</title>
<author><name>Prabath Siriwardena &lt;prabath@wso2.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-rampart-dev/200911.mbox/%3c4B04AD8B.4090101@wso2.com%3e"/>
<id>urn:uuid:%3c4B04AD8B-4090101@wso2-com%3e</id>
<updated>2009-11-19T02:29:31Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Rajan Gupta wrote:
&gt; The server with WSSE gives one-fourth the TPS with 50% more CPU
&gt; utilization.
Adding WSSE has a performance hit against sending in clear text - as 
well as over SSL. The TPS value comparison you ended up with, seems to 
be correct [although in the table it seems to be presented other way around]

We have also done certain performance improvements[1] in Rampart trunk 
[and also will be available with Rampart 1.5] - so you may rerun your 
tests against the trunk as well.

Thanks &amp; regards.
-Prabath

[1]:http://marc.info/?l=rampart-dev&amp;m=125622929630598&amp;w=2
&gt;  
&gt;
&gt;  
&gt;
&gt; I am trying to find if there is anyone else who has done similar
&gt; performance benchmarking of Rampart. 
&gt;
&gt;  
&gt;
&gt; Thanks in advance,
&gt;
&gt; Rajan
&gt;
&gt;
&gt;   



</pre>
</div>
</content>
</entry>
<entry>
<title>Rampart performance</title>
<author><name>&quot;Rajan Gupta&quot; &lt;Rajang@Yodlee.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-rampart-dev/200911.mbox/%3cEA9B96D1D27D054A99F1C04D9377FB030173A3A7@rws-mail-2.corp.yodlee.com%3e"/>
<id>urn:uuid:%3cEA9B96D1D27D054A99F1C04D9377FB030173A3A7@rws-mail-2-corp-yodlee-com%3e</id>
<updated>2009-11-19T02:12:46Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi,

   Is there any document about the performance benchmarks of Rampart
1.4?  I am using Rampart 1.4 with axis2 version 1.4.1 with full body
signing and encryption. The performance degrades a lot when we enabled
WSSE in our web services. Below is what we are seeing in our initial
benchmarking: 

 

 

                                      TPS      CPU Utilization

 

Without WSSE               7.1       75%

With WSSE                    32         50%

 

The server with WSSE gives one-fourth the TPS with 50% more CPU
utilization. 

 

I am trying to find if there is anyone else who has done similar
performance benchmarking of Rampart. 

 

Thanks in advance,

Rajan



</pre>
</div>
</content>
</entry>
<entry>
<title>applying security to inbound security header with actor attribute</title>
<author><name>George Stanchev &lt;gstanchev@serena.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-rampart-dev/200911.mbox/%3ca3bbede00911161832udd7247n3374afa62c2e3120@mail.gmail.com%3e"/>
<id>urn:uuid:%3ca3bbede00911161832udd7247n3374afa62c2e3120@mail-gmail-com%3e</id>
<updated>2009-11-17T02:32:43Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi,

I am trying to apply security on an inbound message using the actor/role
attribute. My use case calls for the ability to dynamically set which
security header to process. I know you can set an "actor" property to the
outbound message context and it will create a wsse header with corresponding
actor/role attribute but I was unable to find corresponding setting for the
inbound messages. Looking at org.apache.rampart.handler.WSDoAllReceiver.java
I see that the actor is extracted from the handler parameters or the module
paramters:

149  String actor = (String) getOption(WSHandlerConstants.ACTOR);

Is there any way (that I am missing) to force the receiver to look in the
message context for WSHandlerConstants.ACTOR if it fails to find it in the
handler and module configuration?

George


</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Updated: (RAMPART-270) NPE in RampartMessageData</title>
<author><name>&quot;Martin Clough (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-rampart-dev/200911.mbox/%3c1373584524.1257862047962.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c1373584524-1257862047962-JavaMail-jira@brutus%3e</id>
<updated>2009-11-10T14:07:27Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

     [ https://issues.apache.org/jira/browse/RAMPART-270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Martin Clough updated RAMPART-270:
----------------------------------

    Attachment: RAMPART-270.patch

A patch to RampartMessageData.java to fix NPE

&gt; NPE in RampartMessageData
&gt; -------------------------
&gt;
&gt;                 Key: RAMPART-270
&gt;                 URL: https://issues.apache.org/jira/browse/RAMPART-270
&gt;             Project: Rampart
&gt;          Issue Type: Bug
&gt;          Components: rampart-core
&gt;    Affects Versions: 1.4
&gt;            Reporter: Martin Clough
&gt;            Assignee: Ruchith Udayanga Fernando
&gt;         Attachments: RAMPART-270.patch
&gt;
&gt;
&gt; When using Rampart with Tuscany to secure web services, if the security processing fails
(e.g. wrong password entered), then I get a NPE from RampartMessageData:
&gt; java.lang.NullPointerException
&gt; 	org.apache.rampart.RampartMessageData.&lt;init&gt;(RampartMessageData.java:308)
&gt; 	org.apache.rampart.MessageBuilder.build(MessageBuilder.java:61)
&gt; 	org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:64)
&gt; 	org.apache.axis2.engine.Phase.invoke(Phase.java:317)
&gt; 	org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:264)
&gt; 	org.apache.axis2.engine.AxisEngine.sendFault(AxisEngine.java:520)
&gt; 	org.apache.axis2.transport.http.AxisServlet.handleFault(AxisServlet.java:416)
&gt; 	org.apache.axis2.transport.http.AxisServlet.processAxisFault(AxisServlet.java:379)
&gt; 	org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:167)
&gt; 	javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
&gt; 	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
&gt; 	org.apache.tuscany.sca.host.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:107)
&gt; 	org.apache.tuscany.sca.host.webapp.TuscanyServletFilter.doFilter(TuscanyServletFilter.java:93)
&gt; This is similar to RAMPART-165, but further down the code.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Created: (RAMPART-270) NPE in RampartMessageData</title>
<author><name>&quot;Martin Clough (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-rampart-dev/200911.mbox/%3c1000721833.1257861927857.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c1000721833-1257861927857-JavaMail-jira@brutus%3e</id>
<updated>2009-11-10T14:05:27Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
NPE in RampartMessageData
-------------------------

                 Key: RAMPART-270
                 URL: https://issues.apache.org/jira/browse/RAMPART-270
             Project: Rampart
          Issue Type: Bug
          Components: rampart-core
    Affects Versions: 1.4
            Reporter: Martin Clough
            Assignee: Ruchith Udayanga Fernando


When using Rampart with Tuscany to secure web services, if the security processing fails (e.g.
wrong password entered), then I get a NPE from RampartMessageData:

java.lang.NullPointerException
	org.apache.rampart.RampartMessageData.&lt;init&gt;(RampartMessageData.java:308)
	org.apache.rampart.MessageBuilder.build(MessageBuilder.java:61)
	org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:64)
	org.apache.axis2.engine.Phase.invoke(Phase.java:317)
	org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:264)
	org.apache.axis2.engine.AxisEngine.sendFault(AxisEngine.java:520)
	org.apache.axis2.transport.http.AxisServlet.handleFault(AxisServlet.java:416)
	org.apache.axis2.transport.http.AxisServlet.processAxisFault(AxisServlet.java:379)
	org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:167)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
	org.apache.tuscany.sca.host.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:107)
	org.apache.tuscany.sca.host.webapp.TuscanyServletFilter.doFilter(TuscanyServletFilter.java:93)

This is similar to RAMPART-165, but further down the code.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



</pre>
</div>
</content>
</entry>
<entry>
<title>Retrieving Nonce and Created from UsernameToken</title>
<author><name>&quot;Doughty, Michael&quot; &lt;Michael_Doughty@bmc.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-rampart-dev/200911.mbox/%3c5E8C8BE519C8C9458BA2382E368E56C713830B63BE@PHXCCRPRD01.adprod.bmc.com%3e"/>
<id>urn:uuid:%3c5E8C8BE519C8C9458BA2382E368E56C713830B63BE@PHXCCRPRD01-adprod-bmc-com%3e</id>
<updated>2009-11-09T20:08:59Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
It's my impression that when using the new per-service method of establishing security policies,
it is not currently possible to set up a requirement for a UsernameToken in PasswordText encoding
that requires Nonce and Created values.  However, is there a way to do that myself through
my own adapter?  Is it possible to retrieve the Nonce and Created values from a UsernameToken
from within an adapter that is executed on each incoming request?  If so, how?


</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Updated: (RAMPART-269) PolicyBasedResultsValidator doesn't check for derivedKeys for symmetric binding</title>
<author><name>&quot;Christian Connert (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-rampart-dev/200911.mbox/%3c2025587016.1257755792621.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c2025587016-1257755792621-JavaMail-jira@brutus%3e</id>
<updated>2009-11-09T08:36:32Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

     [ https://issues.apache.org/jira/browse/RAMPART-269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Christian Connert updated RAMPART-269:
--------------------------------------

    Environment: 
tomcat6
axis2 1.4


  was:
  	
Â« Hide
tomcat6
axis2 1.4



&gt; PolicyBasedResultsValidator doesn't check for derivedKeys for symmetric binding
&gt; -------------------------------------------------------------------------------
&gt;
&gt;                 Key: RAMPART-269
&gt;                 URL: https://issues.apache.org/jira/browse/RAMPART-269
&gt;             Project: Rampart
&gt;          Issue Type: Bug
&gt;          Components: rampart-core
&gt;    Affects Versions: 1.4
&gt;         Environment: tomcat6
&gt; axis2 1.4
&gt;            Reporter: Christian Connert
&gt;            Assignee: Ruchith Udayanga Fernando
&gt;            Priority: Critical
&gt;
&gt; If one has a symmetric binding with derivedKeys the one can receive a message with a
asymmetric binding and the PolicyBasedResultsValidator won't complain.
&gt; It doesn't check the symmetric binding for derivedKeys.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Created: (RAMPART-269) PolicyBasedResultsValidator doesn't check for derivedKeys for symmetric binding</title>
<author><name>&quot;Christian Connert (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-rampart-dev/200911.mbox/%3c1665493859.1257755792525.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c1665493859-1257755792525-JavaMail-jira@brutus%3e</id>
<updated>2009-11-09T08:36:32Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
PolicyBasedResultsValidator doesn't check for derivedKeys for symmetric binding
-------------------------------------------------------------------------------

                 Key: RAMPART-269
                 URL: https://issues.apache.org/jira/browse/RAMPART-269
             Project: Rampart
          Issue Type: Bug
          Components: rampart-core
    Affects Versions: 1.4
         Environment:   	
Â« Hide
tomcat6
axis2 1.4

            Reporter: Christian Connert
            Assignee: Ruchith Udayanga Fernando
            Priority: Critical


If one has a symmetric binding with derivedKeys the one can receive a message with a asymmetric
binding and the PolicyBasedResultsValidator won't complain.
It doesn't check the symmetric binding for derivedKeys.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Timeouts building Rampart 1.5?</title>
<author><name>Nandana Mihindukulasooriya &lt;nandana.cse@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-rampart-dev/200911.mbox/%3c9e2fff830911070903g5a663f96p928dbb48bd1f7449@mail.gmail.com%3e"/>
<id>urn:uuid:%3c9e2fff830911070903g5a663f96p928dbb48bd1f7449@mail-gmail-com%3e</id>
<updated>2009-11-07T17:03:31Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Dennis,
           Rampart "org.apache.rampart:rampart-integration" module has
a dependency to "org.apache.axis2:axis2-transport-tcp" module from commons
transport and we are waiting for transports 1.0 release [1] which will
happen soon.

thanks,
Nandana

[1] - http://markmail.org/message/k5dvkwctv6hxxhzm

On Sat, Nov 7, 2009 at 3:59 AM, Dennis Sosnoski &lt;dms@sosnoski.com&gt; wrote:

&gt; Now that Axis2 1.5.1 is out, is Rampart 1.5 back on track for release?
&gt;
&gt; Thanks,
&gt;
&gt;  - Dennis
&gt;
&gt;
&gt;
&gt; Glen Daniels wrote:
&gt;
&gt;&gt; Thanks Nandana.
&gt;&gt;
&gt;&gt; OK, I got Rampart 1.5 building successfully with Axis2 1.5, but I still
&gt;&gt; see
&gt;&gt; the lockups happening when I try 1.5.1.  So I'll take a look at this to
&gt;&gt; see
&gt;&gt; what's happening and delay the 1.5.1 release until it's resolved.
&gt;&gt;
&gt;&gt; --Glen
&gt;&gt;
&gt;&gt; Nandana Mihindukulasooriya wrote:
&gt;&gt;
&gt;&gt;
&gt;&gt;&gt; Hi Glen,     It seems that it is a SAML2 token test that is failing.
&gt;&gt;&gt; After
&gt;&gt;&gt; introduction of SAML2 tests you have to endorse some jars to run these
&gt;&gt;&gt; tests. It is mentioned in the README file.
&gt;&gt;&gt;
&gt;&gt;&gt; "Test cases written for SAML 2.0 support requires endorsing the JDK's
&gt;&gt;&gt; default JAXP implementation with Xerces(
&gt;&gt;&gt; http://xerces.apache.org/mirrors.cgi#binary) and Xalan(
&gt;&gt;&gt; http://xml.apache.org/xalan-j/downloads.html#latest-release). So before
&gt;&gt;&gt; building Rampart from the source distribution, you need to copy
&gt;&gt;&gt; resolver-x.x.x.jar, serializer-x.x.x.jar, xercesImpl-x.x.x.jar and
&gt;&gt;&gt; xml-apis-x.x.x.jar from the Xerces binary distribution and
&gt;&gt;&gt; xalan-x.x.x.jar
&gt;&gt;&gt; from the xalan binary distribution to the endorsed directory. If you are
&gt;&gt;&gt; using Sun JDK, endorsed directory is located at
&gt;&gt;&gt; $JAVA_HOME/jre/lib/endorsed."
&gt;&gt;&gt;
&gt;&gt;&gt; Most proelly this should be the reason for above failure. (BTW, do you
&gt;&gt;&gt; know
&gt;&gt;&gt; a better way to handle this situation when we require some jars to be
&gt;&gt;&gt; endorsed to run tests). I wish I could help to figure out the timeout
&gt;&gt;&gt; issue
&gt;&gt;&gt; but unfortunately I am working for an assignment deadline :(.
&gt;&gt;&gt;
&gt;&gt;&gt; regards,
&gt;&gt;&gt; Nandana
&gt;&gt;&gt;
&gt;&gt;&gt; On Thu, Oct 8, 2009 at 11:10 PM, Glen Daniels &lt;glen@thoughtcraft.com&gt;
&gt;&gt;&gt; wrote:
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Hi Nandana:
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Ok, I continued to have problems, so I ended up blowing away my m2
&gt;&gt;&gt;&gt; repository, then building the transports trunk, then building Rampart
&gt;&gt;&gt;&gt; again.
&gt;&gt;&gt;&gt;  Now I'm seeing failures.  Example:
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; -------------------------------------------------------------------------------
&gt;&gt;&gt;&gt; Test set: org.apache.rahas.RahasSAML2TokenCertForHoKTest
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; -------------------------------------------------------------------------------
&gt;&gt;&gt;&gt; Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 5.36 sec
&gt;&gt;&gt;&gt; &lt;&lt;&lt; FAI
&gt;&gt;&gt;&gt; LURE!
&gt;&gt;&gt;&gt; testRequest(org.apache.rahas.RahasSAML2TokenCertForHoKTest)  Time
&gt;&gt;&gt;&gt; elapsed:
&gt;&gt;&gt;&gt; 5.36
&gt;&gt;&gt;&gt; sec  &lt;&lt;&lt; FAILURE!
&gt;&gt;&gt;&gt; junit.framework.AssertionFailedError: unknown
&gt;&gt;&gt;&gt;       at junit.framework.Assert.fail(Assert.java:47)
&gt;&gt;&gt;&gt;       at org.apache.rahas.TestClient.testRequest(TestClient.java:117)
&gt;&gt;&gt;&gt;       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
&gt;&gt;&gt;&gt;       at
&gt;&gt;&gt;&gt; sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
&gt;&gt;&gt;&gt; java:39)
&gt;&gt;&gt;&gt;       at
&gt;&gt;&gt;&gt; sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
&gt;&gt;&gt;&gt; sorImpl.java:25)
&gt;&gt;&gt;&gt;       at java.lang.reflect.Method.invoke(Method.java:585)
&gt;&gt;&gt;&gt;       at junit.framework.TestCase.runTest(TestCase.java:164)
&gt;&gt;&gt;&gt;       at junit.framework.TestCase.runBare(TestCase.java:130)
&gt;&gt;&gt;&gt;       at junit.framework.TestResult$1.protect(TestResult.java:106)
&gt;&gt;&gt;&gt;       at junit.framework.TestResult.runProtected(TestResult.java:124)
&gt;&gt;&gt;&gt;       at junit.framework.TestResult.run(TestResult.java:109)
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; There are four of them, and again this is with a clean build and clean
&gt;&gt;&gt;&gt; repository.
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Could this be a Windows / Linux thing?  I'm running Win XP, Java
&gt;&gt;&gt;&gt; 1.5_0_15.
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; --Glen
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Nandana Mihindukulasooriya wrote:
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; Hi Glen,
&gt;&gt;&gt;&gt;&gt;         I tried with 1.5 and build works fine, but with 1.5.1 it seems
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; to
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; hang sometimes. Will check little more and update.
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; regards,
&gt;&gt;&gt;&gt;&gt; Nandana
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; On Thu, Oct 8, 2009 at 6:57 PM, Glen Daniels &lt;glen@thoughtcraft.com&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; wrote:
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; Hi folks:
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; Before voting on the 1.5 release, I checked out the branch and did
a
&gt;&gt;&gt;&gt;&gt;&gt; mvn
&gt;&gt;&gt;&gt;&gt;&gt; clean install... it hung hard at "Testing WS-Sec: custom scenario
3"
&gt;&gt;&gt;&gt;&gt;&gt; the
&gt;&gt;&gt;&gt;&gt;&gt; first time, and at "custom scenario 4" the second time.
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; Is anyone else seeing the build hanging?  I'd like to confirm this
&gt;&gt;&gt;&gt;&gt;&gt; isn't
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; a
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; problem with either Axis2 1.5 or Axis2 1.5.1 if at all possible.
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; Thanks,
&gt;&gt;&gt;&gt;&gt;&gt; --Glen
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;
&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Timeouts building Rampart 1.5?</title>
<author><name>Dennis Sosnoski &lt;dms@sosnoski.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-rampart-dev/200911.mbox/%3c4AF5613E.9030208@sosnoski.com%3e"/>
<id>urn:uuid:%3c4AF5613E-9030208@sosnoski-com%3e</id>
<updated>2009-11-07T11:59:58Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Now that Axis2 1.5.1 is out, is Rampart 1.5 back on track for release?

Thanks,

  - Dennis


Glen Daniels wrote:
&gt; Thanks Nandana.
&gt;
&gt; OK, I got Rampart 1.5 building successfully with Axis2 1.5, but I still see
&gt; the lockups happening when I try 1.5.1.  So I'll take a look at this to see
&gt; what's happening and delay the 1.5.1 release until it's resolved.
&gt;
&gt; --Glen
&gt;
&gt; Nandana Mihindukulasooriya wrote:
&gt;   
&gt;&gt; Hi Glen,     It seems that it is a SAML2 token test that is failing. After
&gt;&gt; introduction of SAML2 tests you have to endorse some jars to run these
&gt;&gt; tests. It is mentioned in the README file.
&gt;&gt;
&gt;&gt; "Test cases written for SAML 2.0 support requires endorsing the JDK's
&gt;&gt; default JAXP implementation with Xerces(
&gt;&gt; http://xerces.apache.org/mirrors.cgi#binary) and Xalan(
&gt;&gt; http://xml.apache.org/xalan-j/downloads.html#latest-release). So before
&gt;&gt; building Rampart from the source distribution, you need to copy
&gt;&gt; resolver-x.x.x.jar, serializer-x.x.x.jar, xercesImpl-x.x.x.jar and
&gt;&gt; xml-apis-x.x.x.jar from the Xerces binary distribution and xalan-x.x.x.jar
&gt;&gt; from the xalan binary distribution to the endorsed directory. If you are
&gt;&gt; using Sun JDK, endorsed directory is located at
&gt;&gt; $JAVA_HOME/jre/lib/endorsed."
&gt;&gt;
&gt;&gt; Most proelly this should be the reason for above failure. (BTW, do you know
&gt;&gt; a better way to handle this situation when we require some jars to be
&gt;&gt; endorsed to run tests). I wish I could help to figure out the timeout issue
&gt;&gt; but unfortunately I am working for an assignment deadline :(.
&gt;&gt;
&gt;&gt; regards,
&gt;&gt; Nandana
&gt;&gt;
&gt;&gt; On Thu, Oct 8, 2009 at 11:10 PM, Glen Daniels &lt;glen@thoughtcraft.com&gt; wrote:
&gt;&gt;
&gt;&gt;     
&gt;&gt;&gt; Hi Nandana:
&gt;&gt;&gt;
&gt;&gt;&gt; Ok, I continued to have problems, so I ended up blowing away my m2
&gt;&gt;&gt; repository, then building the transports trunk, then building Rampart
&gt;&gt;&gt; again.
&gt;&gt;&gt;  Now I'm seeing failures.  Example:
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; -------------------------------------------------------------------------------
&gt;&gt;&gt; Test set: org.apache.rahas.RahasSAML2TokenCertForHoKTest
&gt;&gt;&gt;
&gt;&gt;&gt; -------------------------------------------------------------------------------
&gt;&gt;&gt; Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 5.36 sec
&gt;&gt;&gt; &lt;&lt;&lt; FAI
&gt;&gt;&gt; LURE!
&gt;&gt;&gt; testRequest(org.apache.rahas.RahasSAML2TokenCertForHoKTest)  Time elapsed:
&gt;&gt;&gt; 5.36
&gt;&gt;&gt; sec  &lt;&lt;&lt; FAILURE!
&gt;&gt;&gt; junit.framework.AssertionFailedError: unknown
&gt;&gt;&gt;        at junit.framework.Assert.fail(Assert.java:47)
&gt;&gt;&gt;        at org.apache.rahas.TestClient.testRequest(TestClient.java:117)
&gt;&gt;&gt;        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
&gt;&gt;&gt;        at
&gt;&gt;&gt; sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
&gt;&gt;&gt; java:39)
&gt;&gt;&gt;        at
&gt;&gt;&gt; sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
&gt;&gt;&gt; sorImpl.java:25)
&gt;&gt;&gt;        at java.lang.reflect.Method.invoke(Method.java:585)
&gt;&gt;&gt;        at junit.framework.TestCase.runTest(TestCase.java:164)
&gt;&gt;&gt;        at junit.framework.TestCase.runBare(TestCase.java:130)
&gt;&gt;&gt;        at junit.framework.TestResult$1.protect(TestResult.java:106)
&gt;&gt;&gt;        at junit.framework.TestResult.runProtected(TestResult.java:124)
&gt;&gt;&gt;        at junit.framework.TestResult.run(TestResult.java:109)
&gt;&gt;&gt;
&gt;&gt;&gt; There are four of them, and again this is with a clean build and clean
&gt;&gt;&gt; repository.
&gt;&gt;&gt;
&gt;&gt;&gt; Could this be a Windows / Linux thing?  I'm running Win XP, Java 1.5_0_15.
&gt;&gt;&gt;
&gt;&gt;&gt; --Glen
&gt;&gt;&gt;
&gt;&gt;&gt; Nandana Mihindukulasooriya wrote:
&gt;&gt;&gt;       
&gt;&gt;&gt;&gt; Hi Glen,
&gt;&gt;&gt;&gt;          I tried with 1.5 and build works fine, but with 1.5.1 it seems
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt; to
&gt;&gt;&gt;       
&gt;&gt;&gt;&gt; hang sometimes. Will check little more and update.
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; regards,
&gt;&gt;&gt;&gt; Nandana
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; On Thu, Oct 8, 2009 at 6:57 PM, Glen Daniels &lt;glen@thoughtcraft.com&gt;
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt; wrote:
&gt;&gt;&gt;       
&gt;&gt;&gt;&gt;&gt; Hi folks:
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; Before voting on the 1.5 release, I checked out the branch and did a
mvn
&gt;&gt;&gt;&gt;&gt; clean install... it hung hard at "Testing WS-Sec: custom scenario 3"
the
&gt;&gt;&gt;&gt;&gt; first time, and at "custom scenario 4" the second time.
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; Is anyone else seeing the build hanging?  I'd like to confirm this isn't
&gt;&gt;&gt;&gt;&gt;           
&gt;&gt;&gt; a
&gt;&gt;&gt;       
&gt;&gt;&gt;&gt;&gt; problem with either Axis2 1.5 or Axis2 1.5.1 if at all possible.
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; Thanks,
&gt;&gt;&gt;&gt;&gt; --Glen
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;           
&gt;
&gt;   


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Pro</title>
<author><name>Jaime Hablutzel Egoavil &lt;hablutzel1@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-rampart-dev/200911.mbox/%3c533935030911061354k69db4a9em9a919cb1fc7bba39@mail.gmail.com%3e"/>
<id>urn:uuid:%3c533935030911061354k69db4a9em9a919cb1fc7bba39@mail-gmail-com%3e</id>
<updated>2009-11-06T21:54:47Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Like this:

  &lt;plugin&gt;
                &lt;groupId&gt;org.apache.axis2&lt;/groupId&gt;
                &lt;artifactId&gt;axis2-mar-maven-plugin&lt;/artifactId&gt;
                &lt;version&gt;1.4&lt;/version&gt;
                &lt;executions&gt;
                    &lt;execution&gt;
                        &lt;id&gt;make-assembly&lt;/id&gt;
                        &lt;phase&gt;package&lt;/phase&gt;
                        &lt;goals&gt;
                            &lt;goal&gt;mar&lt;/goal&gt;
                        &lt;/goals&gt;
                    &lt;/execution&gt;
                &lt;/executions&gt;
                &lt;extensions&gt;true&lt;/extensions&gt;
                &lt;!--
                &lt;configuration&gt;
                    &lt;includeDependencies&gt;false&lt;/includeDependencies&gt;
                    &lt;moduleXmlFile&gt;module.xml&lt;/moduleXmlFile&gt;
                &lt;/configuration&gt;
                --&gt;
            &lt;/plugin&gt;


Thank you

On Fri, Nov 6, 2009 at 2:27 PM, Andreas Veithen
&lt;andreas.veithen@gmail.com&gt;wrote:

&gt; Jaime,
&gt;
&gt; Can you try with adding &lt;extensions&gt;true&lt;/extensions&gt; to the
&gt; declaration of the axis2-mar-maven-plugin?
&gt;
&gt; Andreas
&gt;
&gt; On Fri, Nov 6, 2009 at 18:17, Jaime Hablutzel Egoavil
&gt; &lt;hablutzel1@gmail.com&gt; wrote:
&gt; &gt; Hi, i´m trying to build a jar with dependencies included for a swing
&gt; &gt; application with an axis2 client and rampart 1.4 for Username Token
&gt; &gt; authentication, and, I´m getting the following error when trying. I think
&gt; it
&gt; &gt; is related to the jar-with-dependencies maven descriptor.
&gt; &gt;
&gt; &gt;&gt; mvn install
&gt; &gt;
&gt; &gt;
&gt; &gt; [INFO] Failed to create assembly: Error adding file-set for
&gt; &gt; 'org.apache.axis2:ad
&gt; &gt; dressing:mar:1.4' to archive: Error adding archived file-set.
&gt; &gt; PlexusIoResourceCo
&gt; &gt; llection not found for:
&gt; &gt; C:\m2\repo\org\apache\axis2\addressing\1.4\addressing-1.
&gt; &gt; 4.mar
&gt; &gt;
&gt; &gt; No such archiver: 'mar'.
&gt; &gt;
&gt; &gt; By the way, my pom is:
&gt; &gt;
&gt; &gt;
&gt; &gt; &lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="
&gt; &gt; http://www.w3.org/2001/XMLSchema-instance"
&gt; &gt;  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
&gt; &gt; http://maven.apache.org/maven-v4_0_0.xsd"&gt;
&gt; &gt;    &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
&gt; &gt;    &lt;groupId&gt;pe.gob.hndac&lt;/groupId&gt;
&gt; &gt;    &lt;artifactId&gt;epicrisis&lt;/artifactId&gt;
&gt; &gt;    &lt;packaging&gt;jar&lt;/packaging&gt;
&gt; &gt;    &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
&gt; &gt;    &lt;name&gt;ModuloEpicrisis&lt;/name&gt;
&gt; &gt;    &lt;build&gt;
&gt; &gt;        &lt;plugins&gt;
&gt; &gt;            &lt;plugin&gt;
&gt; &gt;                &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
&gt; &gt;                &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
&gt; &gt;                &lt;version&gt;2.0.2&lt;/version&gt;
&gt; &gt;                &lt;configuration&gt;
&gt; &gt;                    &lt;source&gt;1.6&lt;/source&gt;
&gt; &gt;                    &lt;target&gt;1.6&lt;/target&gt;
&gt; &gt;                    &lt;encoding&gt;UTF-8&lt;/encoding&gt;
&gt; &gt;                &lt;/configuration&gt;
&gt; &gt;            &lt;/plugin&gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;            &lt;plugin&gt;
&gt; &gt;                &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
&gt; &gt;                &lt;artifactId&gt;maven-source-plugin&lt;/artifactId&gt;
&gt; &gt;                &lt;executions&gt;
&gt; &gt;                    &lt;execution&gt;
&gt; &gt;                        &lt;phase&gt;package&lt;/phase&gt;
&gt; &gt;                        &lt;goals&gt;
&gt; &gt;                            &lt;goal&gt;jar&lt;/goal&gt;
&gt; &gt;                        &lt;/goals&gt;
&gt; &gt;                    &lt;/execution&gt;
&gt; &gt;                &lt;/executions&gt;
&gt; &gt;            &lt;/plugin&gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;            &lt;plugin&gt;
&gt; &gt;                &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
&gt; &gt;                &lt;artifactId&gt;maven-jar-plugin&lt;/artifactId&gt;
&gt; &gt;                &lt;configuration&gt;
&gt; &gt;                    &lt;archive&gt;
&gt; &gt;                        &lt;manifest&gt;
&gt; &gt;                            &lt;addClasspath&gt;true&lt;/addClasspath&gt;
&gt; &gt;
&gt; &gt; &lt;mainClass&gt;Epicrisis.FrameInicioSesion&lt;/mainClass&gt;
&gt; &gt;                        &lt;/manifest&gt;
&gt; &gt;                    &lt;/archive&gt;
&gt; &gt;                &lt;/configuration&gt;
&gt; &gt;            &lt;/plugin&gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;            &lt;plugin&gt;
&gt; &gt;                &lt;artifactId&gt;maven-assembly-plugin&lt;/artifactId&gt;
&gt; &gt;                &lt;configuration&gt;
&gt; &gt;                    &lt;descriptorRefs&gt;
&gt; &gt;
&gt;  &lt;descriptorRef&gt;jar-with-dependencies&lt;/descriptorRef&gt;
&gt; &gt;                    &lt;/descriptorRefs&gt;
&gt; &gt;                    &lt;archive&gt;
&gt; &gt;                        &lt;manifest&gt;
&gt; &gt;
&gt; &gt; &lt;mainClass&gt;Epicrisis.FrameInicioSesion&lt;/mainClass&gt;
&gt; &gt;                        &lt;/manifest&gt;
&gt; &gt;                    &lt;/archive&gt;
&gt; &gt;                &lt;/configuration&gt;
&gt; &gt;                &lt;executions&gt;
&gt; &gt;                    &lt;execution&gt;
&gt; &gt;                        &lt;id&gt;make-assembly&lt;/id&gt;
&gt; &gt;                        &lt;phase&gt;package&lt;/phase&gt;
&gt; &gt;                        &lt;goals&gt;
&gt; &gt;                            &lt;goal&gt;attached&lt;/goal&gt;
&gt; &gt;                        &lt;/goals&gt;
&gt; &gt;                    &lt;/execution&gt;
&gt; &gt;                &lt;/executions&gt;
&gt; &gt;            &lt;/plugin&gt;
&gt; &gt;
&gt; &gt;            &lt;plugin&gt;
&gt; &gt;                &lt;groupId&gt;org.apache.axis2&lt;/groupId&gt;
&gt; &gt;                &lt;artifactId&gt;axis2-mar-maven-plugin&lt;/artifactId&gt;
&gt; &gt;                &lt;version&gt;1.4&lt;/version&gt;
&gt; &gt;            &lt;/plugin&gt;
&gt; &gt;
&gt; &gt;        &lt;/plugins&gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;    &lt;/build&gt;
&gt; &gt;
&gt; &gt;    &lt;repositories&gt;
&gt; &gt;        &lt;repository&gt;
&gt; &gt;            &lt;id&gt;netbeans&lt;/id&gt;
&gt; &gt;            &lt;name&gt;Netbeans&lt;/name&gt;
&gt; &gt;            &lt;url&gt;http://bits.nbextras.org/maven2&lt;/url&gt;
&gt; &gt;        &lt;/repository&gt;
&gt; &gt;        &lt;repository&gt;
&gt; &gt;            &lt;id&gt;52north&lt;/id&gt;
&gt; &gt; &lt;!--            &lt;name&gt;Netbeans&lt;/name&gt; --&gt;
&gt; &gt;            &lt;url&gt;http://incubator.52north.org/maven/maven-repo/releases
&gt; &gt; &lt;/url&gt;
&gt; &gt;        &lt;/repository&gt;
&gt; &gt;        &lt;repository&gt;
&gt; &gt;            &lt;id&gt;eviware&lt;/id&gt;
&gt; &gt;            &lt;url&gt;http://www.eviware.com/repository/maven2&lt;/url&gt;
&gt; &gt;        &lt;/repository&gt;
&gt; &gt;        &lt;repository&gt;
&gt; &gt;            &lt;id&gt;jboss&lt;/id&gt;
&gt; &gt;            &lt;url&gt;http://repository.jboss.org/maven2&lt;/url&gt;
&gt; &gt;        &lt;/repository&gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;    &lt;/repositories&gt;
&gt; &gt;
&gt; &gt;    &lt;dependencies&gt;
&gt; &gt;
&gt; &gt;        &lt;dependency&gt;
&gt; &gt;            &lt;groupId&gt;junit&lt;/groupId&gt;
&gt; &gt;            &lt;artifactId&gt;junit&lt;/artifactId&gt;
&gt; &gt;            &lt;version&gt;4.7&lt;/version&gt;
&gt; &gt;            &lt;scope&gt;test&lt;/scope&gt;
&gt; &gt;        &lt;/dependency&gt;
&gt; &gt;
&gt; &gt;        &lt;dependency&gt;
&gt; &gt;            &lt;groupId&gt;org.easymock&lt;/groupId&gt;
&gt; &gt;            &lt;artifactId&gt;easymock&lt;/artifactId&gt;
&gt; &gt;            &lt;version&gt;2.5.2&lt;/version&gt;
&gt; &gt;            &lt;scope&gt;test&lt;/scope&gt;
&gt; &gt;        &lt;/dependency&gt;
&gt; &gt;
&gt; &gt;        &lt;dependency&gt;
&gt; &gt;            &lt;groupId&gt;org.netbeans&lt;/groupId&gt;
&gt; &gt;            &lt;artifactId&gt;jemmy&lt;/artifactId&gt;
&gt; &gt;            &lt;version&gt;2.2.7.5&lt;/version&gt;
&gt; &gt;            &lt;scope&gt;test&lt;/scope&gt;
&gt; &gt;        &lt;/dependency&gt;
&gt; &gt;
&gt; &gt;        &lt;dependency&gt;
&gt; &gt;            &lt;groupId&gt;org.swinglabs&lt;/groupId&gt;
&gt; &gt;            &lt;artifactId&gt;swing-worker&lt;/artifactId&gt;
&gt; &gt;            &lt;version&gt;1.1&lt;/version&gt;
&gt; &gt;        &lt;/dependency&gt;
&gt; &gt;        &lt;dependency&gt;
&gt; &gt;            &lt;groupId&gt;org.swinglabs&lt;/groupId&gt;
&gt; &gt;            &lt;artifactId&gt;swing-layout&lt;/artifactId&gt;
&gt; &gt;            &lt;version&gt;1.0.3&lt;/version&gt;
&gt; &gt;        &lt;/dependency&gt;
&gt; &gt;        &lt;dependency&gt;
&gt; &gt;            &lt;groupId&gt;jfree&lt;/groupId&gt;
&gt; &gt;            &lt;artifactId&gt;jcommon&lt;/artifactId&gt;
&gt; &gt;            &lt;version&gt;1.0.15&lt;/version&gt;
&gt; &gt;        &lt;/dependency&gt;
&gt; &gt;        &lt;dependency&gt;
&gt; &gt;            &lt;groupId&gt;jfree&lt;/groupId&gt;
&gt; &gt;            &lt;artifactId&gt;jfreechart&lt;/artifactId&gt;
&gt; &gt;            &lt;version&gt;1.0.13&lt;/version&gt;
&gt; &gt;        &lt;/dependency&gt;
&gt; &gt;        &lt;dependency&gt;
&gt; &gt;            &lt;groupId&gt;mysql&lt;/groupId&gt;
&gt; &gt;            &lt;artifactId&gt;mysql-connector-java&lt;/artifactId&gt;
&gt; &gt;            &lt;version&gt;5.1.10&lt;/version&gt;
&gt; &gt;        &lt;/dependency&gt;
&gt; &gt;        &lt;dependency&gt;
&gt; &gt;            &lt;groupId&gt;log4j&lt;/groupId&gt;
&gt; &gt;            &lt;artifactId&gt;log4j&lt;/artifactId&gt;
&gt; &gt;            &lt;version&gt;1.2.15&lt;/version&gt;
&gt; &gt;        &lt;/dependency&gt;
&gt; &gt;        &lt;dependency&gt;
&gt; &gt;            &lt;groupId&gt;com.toedter&lt;/groupId&gt;
&gt; &gt;            &lt;artifactId&gt;jcalendar&lt;/artifactId&gt;
&gt; &gt;            &lt;version&gt;1.3.2&lt;/version&gt;
&gt; &gt;        &lt;/dependency&gt;
&gt; &gt;        &lt;dependency&gt;
&gt; &gt;            &lt;groupId&gt;com.jgoodies&lt;/groupId&gt;
&gt; &gt;            &lt;artifactId&gt;looks&lt;/artifactId&gt;
&gt; &gt;            &lt;version&gt;2.2.2&lt;/version&gt;
&gt; &gt;        &lt;/dependency&gt;
&gt; &gt;        &lt;dependency&gt;
&gt; &gt;            &lt;groupId&gt;org.apache.rampart&lt;/groupId&gt;
&gt; &gt;            &lt;artifactId&gt;rampart-core&lt;/artifactId&gt;
&gt; &gt;            &lt;version&gt;1.4&lt;/version&gt;
&gt; &gt;        &lt;!--    &lt;exclusions&gt;
&gt; &gt;                &lt;exclusion&gt;
&gt; &gt;                    &lt;artifactId&gt;addressing&lt;/artifactId&gt;
&gt; &gt;                    &lt;groupId&gt;org.apache.axis2&lt;/groupId&gt;
&gt; &gt;                &lt;/exclusion&gt;
&gt; &gt;            &lt;/exclusions&gt;--&gt;
&gt; &gt;        &lt;/dependency&gt;
&gt; &gt;        &lt;dependency&gt;
&gt; &gt;            &lt;groupId&gt;org.apache.axis2&lt;/groupId&gt;
&gt; &gt;            &lt;artifactId&gt;axis2-kernel&lt;/artifactId&gt;
&gt; &gt;            &lt;version&gt;1.4.1&lt;/version&gt;
&gt; &gt;        &lt;/dependency&gt;
&gt; &gt;        &lt;dependency&gt;
&gt; &gt;            &lt;groupId&gt;jasperreports&lt;/groupId&gt;
&gt; &gt;            &lt;artifactId&gt;jasperreports&lt;/artifactId&gt;
&gt; &gt;            &lt;version&gt;3.5.3&lt;/version&gt;
&gt; &gt;        &lt;/dependency&gt;
&gt; &gt;        &lt;dependency&gt;
&gt; &gt;            &lt;groupId&gt;commons-digester&lt;/groupId&gt;
&gt; &gt;            &lt;artifactId&gt;commons-digester&lt;/artifactId&gt;
&gt; &gt;            &lt;version&gt;2.0&lt;/version&gt;
&gt; &gt;        &lt;/dependency&gt;
&gt; &gt;        &lt;dependency&gt;
&gt; &gt;            &lt;groupId&gt;jexcelapi&lt;/groupId&gt;
&gt; &gt;            &lt;artifactId&gt;jxl&lt;/artifactId&gt;
&gt; &gt;            &lt;version&gt;2.4.2&lt;/version&gt;
&gt; &gt;        &lt;/dependency&gt;
&gt; &gt;        &lt;dependency&gt;
&gt; &gt;            &lt;groupId&gt;org.tango-project&lt;/groupId&gt;
&gt; &gt;            &lt;artifactId&gt;tango-icon-theme&lt;/artifactId&gt;
&gt; &gt;            &lt;version&gt;0.8.0&lt;/version&gt;
&gt; &gt;        &lt;/dependency&gt;
&gt; &gt;
&gt; &gt;        &lt;dependency&gt;
&gt; &gt;            &lt;groupId&gt;org.springframework&lt;/groupId&gt;
&gt; &gt;            &lt;artifactId&gt;spring&lt;/artifactId&gt;
&gt; &gt;            &lt;version&gt;2.5.6.SEC01&lt;/version&gt;
&gt; &gt;        &lt;/dependency&gt;
&gt; &gt;
&gt; &gt;        &lt;dependency&gt;
&gt; &gt;            &lt;groupId&gt;org.netbeans.external&lt;/groupId&gt;
&gt; &gt;            &lt;artifactId&gt;AbsoluteLayout&lt;/artifactId&gt;
&gt; &gt;            &lt;version&gt;RELEASE67&lt;/version&gt;
&gt; &gt;        &lt;/dependency&gt;
&gt; &gt;    &lt;/dependencies&gt;
&gt; &gt;
&gt; &gt;    &lt;properties&gt;
&gt; &gt;        &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
&gt; &gt;    &lt;/properties&gt;
&gt; &gt; &lt;/project&gt;
&gt; &gt;
&gt; &gt; Thank you.
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt; --
&gt; &gt; Jaime Hablutzel
&gt; &gt;
&gt; &gt; (tildes omitidas intencionalmente) 9 8964 0369
&gt; &gt;
&gt;



-- 
Jaime Hablutzel

(tildes omitidas intencionalmente) 9 8964 0369


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Pro</title>
<author><name>Andreas Veithen &lt;andreas.veithen@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-rampart-dev/200911.mbox/%3cb67458760911061127o61bac759tb8c2f4f7e707f3b1@mail.gmail.com%3e"/>
<id>urn:uuid:%3cb67458760911061127o61bac759tb8c2f4f7e707f3b1@mail-gmail-com%3e</id>
<updated>2009-11-06T19:27:30Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Jaime,

Can you try with adding &lt;extensions&gt;true&lt;/extensions&gt; to the
declaration of the axis2-mar-maven-plugin?

Andreas

On Fri, Nov 6, 2009 at 18:17, Jaime Hablutzel Egoavil
&lt;hablutzel1@gmail.com&gt; wrote:
&gt; Hi, i´m trying to build a jar with dependencies included for a swing
&gt; application with an axis2 client and rampart 1.4 for Username Token
&gt; authentication, and, I´m getting the following error when trying. I think it
&gt; is related to the jar-with-dependencies maven descriptor.
&gt;
&gt;&gt; mvn install
&gt;
&gt;
&gt; [INFO] Failed to create assembly: Error adding file-set for
&gt; 'org.apache.axis2:ad
&gt; dressing:mar:1.4' to archive: Error adding archived file-set.
&gt; PlexusIoResourceCo
&gt; llection not found for:
&gt; C:\m2\repo\org\apache\axis2\addressing\1.4\addressing-1.
&gt; 4.mar
&gt;
&gt; No such archiver: 'mar'.
&gt;
&gt; By the way, my pom is:
&gt;
&gt;
&gt; &lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="
&gt; http://www.w3.org/2001/XMLSchema-instance"
&gt;  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
&gt; http://maven.apache.org/maven-v4_0_0.xsd"&gt;
&gt;    &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
&gt;    &lt;groupId&gt;pe.gob.hndac&lt;/groupId&gt;
&gt;    &lt;artifactId&gt;epicrisis&lt;/artifactId&gt;
&gt;    &lt;packaging&gt;jar&lt;/packaging&gt;
&gt;    &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
&gt;    &lt;name&gt;ModuloEpicrisis&lt;/name&gt;
&gt;    &lt;build&gt;
&gt;        &lt;plugins&gt;
&gt;            &lt;plugin&gt;
&gt;                &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
&gt;                &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
&gt;                &lt;version&gt;2.0.2&lt;/version&gt;
&gt;                &lt;configuration&gt;
&gt;                    &lt;source&gt;1.6&lt;/source&gt;
&gt;                    &lt;target&gt;1.6&lt;/target&gt;
&gt;                    &lt;encoding&gt;UTF-8&lt;/encoding&gt;
&gt;                &lt;/configuration&gt;
&gt;            &lt;/plugin&gt;
&gt;
&gt;
&gt;            &lt;plugin&gt;
&gt;                &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
&gt;                &lt;artifactId&gt;maven-source-plugin&lt;/artifactId&gt;
&gt;                &lt;executions&gt;
&gt;                    &lt;execution&gt;
&gt;                        &lt;phase&gt;package&lt;/phase&gt;
&gt;                        &lt;goals&gt;
&gt;                            &lt;goal&gt;jar&lt;/goal&gt;
&gt;                        &lt;/goals&gt;
&gt;                    &lt;/execution&gt;
&gt;                &lt;/executions&gt;
&gt;            &lt;/plugin&gt;
&gt;
&gt;
&gt;            &lt;plugin&gt;
&gt;                &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
&gt;                &lt;artifactId&gt;maven-jar-plugin&lt;/artifactId&gt;
&gt;                &lt;configuration&gt;
&gt;                    &lt;archive&gt;
&gt;                        &lt;manifest&gt;
&gt;                            &lt;addClasspath&gt;true&lt;/addClasspath&gt;
&gt;
&gt; &lt;mainClass&gt;Epicrisis.FrameInicioSesion&lt;/mainClass&gt;
&gt;                        &lt;/manifest&gt;
&gt;                    &lt;/archive&gt;
&gt;                &lt;/configuration&gt;
&gt;            &lt;/plugin&gt;
&gt;
&gt;
&gt;
&gt;            &lt;plugin&gt;
&gt;                &lt;artifactId&gt;maven-assembly-plugin&lt;/artifactId&gt;
&gt;                &lt;configuration&gt;
&gt;                    &lt;descriptorRefs&gt;
&gt;                        &lt;descriptorRef&gt;jar-with-dependencies&lt;/descriptorRef&gt;
&gt;                    &lt;/descriptorRefs&gt;
&gt;                    &lt;archive&gt;
&gt;                        &lt;manifest&gt;
&gt;
&gt; &lt;mainClass&gt;Epicrisis.FrameInicioSesion&lt;/mainClass&gt;
&gt;                        &lt;/manifest&gt;
&gt;                    &lt;/archive&gt;
&gt;                &lt;/configuration&gt;
&gt;                &lt;executions&gt;
&gt;                    &lt;execution&gt;
&gt;                        &lt;id&gt;make-assembly&lt;/id&gt;
&gt;                        &lt;phase&gt;package&lt;/phase&gt;
&gt;                        &lt;goals&gt;
&gt;                            &lt;goal&gt;attached&lt;/goal&gt;
&gt;                        &lt;/goals&gt;
&gt;                    &lt;/execution&gt;
&gt;                &lt;/executions&gt;
&gt;            &lt;/plugin&gt;
&gt;
&gt;            &lt;plugin&gt;
&gt;                &lt;groupId&gt;org.apache.axis2&lt;/groupId&gt;
&gt;                &lt;artifactId&gt;axis2-mar-maven-plugin&lt;/artifactId&gt;
&gt;                &lt;version&gt;1.4&lt;/version&gt;
&gt;            &lt;/plugin&gt;
&gt;
&gt;        &lt;/plugins&gt;
&gt;
&gt;
&gt;    &lt;/build&gt;
&gt;
&gt;    &lt;repositories&gt;
&gt;        &lt;repository&gt;
&gt;            &lt;id&gt;netbeans&lt;/id&gt;
&gt;            &lt;name&gt;Netbeans&lt;/name&gt;
&gt;            &lt;url&gt;http://bits.nbextras.org/maven2&lt;/url&gt;
&gt;        &lt;/repository&gt;
&gt;        &lt;repository&gt;
&gt;            &lt;id&gt;52north&lt;/id&gt;
&gt; &lt;!--            &lt;name&gt;Netbeans&lt;/name&gt; --&gt;
&gt;            &lt;url&gt;http://incubator.52north.org/maven/maven-repo/releases
&gt; &lt;/url&gt;
&gt;        &lt;/repository&gt;
&gt;        &lt;repository&gt;
&gt;            &lt;id&gt;eviware&lt;/id&gt;
&gt;            &lt;url&gt;http://www.eviware.com/repository/maven2&lt;/url&gt;
&gt;        &lt;/repository&gt;
&gt;        &lt;repository&gt;
&gt;            &lt;id&gt;jboss&lt;/id&gt;
&gt;            &lt;url&gt;http://repository.jboss.org/maven2&lt;/url&gt;
&gt;        &lt;/repository&gt;
&gt;
&gt;
&gt;    &lt;/repositories&gt;
&gt;
&gt;    &lt;dependencies&gt;
&gt;
&gt;        &lt;dependency&gt;
&gt;            &lt;groupId&gt;junit&lt;/groupId&gt;
&gt;            &lt;artifactId&gt;junit&lt;/artifactId&gt;
&gt;            &lt;version&gt;4.7&lt;/version&gt;
&gt;            &lt;scope&gt;test&lt;/scope&gt;
&gt;        &lt;/dependency&gt;
&gt;
&gt;        &lt;dependency&gt;
&gt;            &lt;groupId&gt;org.easymock&lt;/groupId&gt;
&gt;            &lt;artifactId&gt;easymock&lt;/artifactId&gt;
&gt;            &lt;version&gt;2.5.2&lt;/version&gt;
&gt;            &lt;scope&gt;test&lt;/scope&gt;
&gt;        &lt;/dependency&gt;
&gt;
&gt;        &lt;dependency&gt;
&gt;            &lt;groupId&gt;org.netbeans&lt;/groupId&gt;
&gt;            &lt;artifactId&gt;jemmy&lt;/artifactId&gt;
&gt;            &lt;version&gt;2.2.7.5&lt;/version&gt;
&gt;            &lt;scope&gt;test&lt;/scope&gt;
&gt;        &lt;/dependency&gt;
&gt;
&gt;        &lt;dependency&gt;
&gt;            &lt;groupId&gt;org.swinglabs&lt;/groupId&gt;
&gt;            &lt;artifactId&gt;swing-worker&lt;/artifactId&gt;
&gt;            &lt;version&gt;1.1&lt;/version&gt;
&gt;        &lt;/dependency&gt;
&gt;        &lt;dependency&gt;
&gt;            &lt;groupId&gt;org.swinglabs&lt;/groupId&gt;
&gt;            &lt;artifactId&gt;swing-layout&lt;/artifactId&gt;
&gt;            &lt;version&gt;1.0.3&lt;/version&gt;
&gt;        &lt;/dependency&gt;
&gt;        &lt;dependency&gt;
&gt;            &lt;groupId&gt;jfree&lt;/groupId&gt;
&gt;            &lt;artifactId&gt;jcommon&lt;/artifactId&gt;
&gt;            &lt;version&gt;1.0.15&lt;/version&gt;
&gt;        &lt;/dependency&gt;
&gt;        &lt;dependency&gt;
&gt;            &lt;groupId&gt;jfree&lt;/groupId&gt;
&gt;            &lt;artifactId&gt;jfreechart&lt;/artifactId&gt;
&gt;            &lt;version&gt;1.0.13&lt;/version&gt;
&gt;        &lt;/dependency&gt;
&gt;        &lt;dependency&gt;
&gt;            &lt;groupId&gt;mysql&lt;/groupId&gt;
&gt;            &lt;artifactId&gt;mysql-connector-java&lt;/artifactId&gt;
&gt;            &lt;version&gt;5.1.10&lt;/version&gt;
&gt;        &lt;/dependency&gt;
&gt;        &lt;dependency&gt;
&gt;            &lt;groupId&gt;log4j&lt;/groupId&gt;
&gt;            &lt;artifactId&gt;log4j&lt;/artifactId&gt;
&gt;            &lt;version&gt;1.2.15&lt;/version&gt;
&gt;        &lt;/dependency&gt;
&gt;        &lt;dependency&gt;
&gt;            &lt;groupId&gt;com.toedter&lt;/groupId&gt;
&gt;            &lt;artifactId&gt;jcalendar&lt;/artifactId&gt;
&gt;            &lt;version&gt;1.3.2&lt;/version&gt;
&gt;        &lt;/dependency&gt;
&gt;        &lt;dependency&gt;
&gt;            &lt;groupId&gt;com.jgoodies&lt;/groupId&gt;
&gt;            &lt;artifactId&gt;looks&lt;/artifactId&gt;
&gt;            &lt;version&gt;2.2.2&lt;/version&gt;
&gt;        &lt;/dependency&gt;
&gt;        &lt;dependency&gt;
&gt;            &lt;groupId&gt;org.apache.rampart&lt;/groupId&gt;
&gt;            &lt;artifactId&gt;rampart-core&lt;/artifactId&gt;
&gt;            &lt;version&gt;1.4&lt;/version&gt;
&gt;        &lt;!--    &lt;exclusions&gt;
&gt;                &lt;exclusion&gt;
&gt;                    &lt;artifactId&gt;addressing&lt;/artifactId&gt;
&gt;                    &lt;groupId&gt;org.apache.axis2&lt;/groupId&gt;
&gt;                &lt;/exclusion&gt;
&gt;            &lt;/exclusions&gt;--&gt;
&gt;        &lt;/dependency&gt;
&gt;        &lt;dependency&gt;
&gt;            &lt;groupId&gt;org.apache.axis2&lt;/groupId&gt;
&gt;            &lt;artifactId&gt;axis2-kernel&lt;/artifactId&gt;
&gt;            &lt;version&gt;1.4.1&lt;/version&gt;
&gt;        &lt;/dependency&gt;
&gt;        &lt;dependency&gt;
&gt;            &lt;groupId&gt;jasperreports&lt;/groupId&gt;
&gt;            &lt;artifactId&gt;jasperreports&lt;/artifactId&gt;
&gt;            &lt;version&gt;3.5.3&lt;/version&gt;
&gt;        &lt;/dependency&gt;
&gt;        &lt;dependency&gt;
&gt;            &lt;groupId&gt;commons-digester&lt;/groupId&gt;
&gt;            &lt;artifactId&gt;commons-digester&lt;/artifactId&gt;
&gt;            &lt;version&gt;2.0&lt;/version&gt;
&gt;        &lt;/dependency&gt;
&gt;        &lt;dependency&gt;
&gt;            &lt;groupId&gt;jexcelapi&lt;/groupId&gt;
&gt;            &lt;artifactId&gt;jxl&lt;/artifactId&gt;
&gt;            &lt;version&gt;2.4.2&lt;/version&gt;
&gt;        &lt;/dependency&gt;
&gt;        &lt;dependency&gt;
&gt;            &lt;groupId&gt;org.tango-project&lt;/groupId&gt;
&gt;            &lt;artifactId&gt;tango-icon-theme&lt;/artifactId&gt;
&gt;            &lt;version&gt;0.8.0&lt;/version&gt;
&gt;        &lt;/dependency&gt;
&gt;
&gt;        &lt;dependency&gt;
&gt;            &lt;groupId&gt;org.springframework&lt;/groupId&gt;
&gt;            &lt;artifactId&gt;spring&lt;/artifactId&gt;
&gt;            &lt;version&gt;2.5.6.SEC01&lt;/version&gt;
&gt;        &lt;/dependency&gt;
&gt;
&gt;        &lt;dependency&gt;
&gt;            &lt;groupId&gt;org.netbeans.external&lt;/groupId&gt;
&gt;            &lt;artifactId&gt;AbsoluteLayout&lt;/artifactId&gt;
&gt;            &lt;version&gt;RELEASE67&lt;/version&gt;
&gt;        &lt;/dependency&gt;
&gt;    &lt;/dependencies&gt;
&gt;
&gt;    &lt;properties&gt;
&gt;        &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
&gt;    &lt;/properties&gt;
&gt; &lt;/project&gt;
&gt;
&gt; Thank you.
&gt;
&gt;
&gt;
&gt; --
&gt; Jaime Hablutzel
&gt;
&gt; (tildes omitidas intencionalmente) 9 8964 0369
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Pro</title>
<author><name>Andreas Veithen &lt;andreas.veithen@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-rampart-dev/200911.mbox/%3cb67458760911061126o4f12e61er5acb9959327a2a0b@mail.gmail.com%3e"/>
<id>urn:uuid:%3cb67458760911061126o4f12e61er5acb9959327a2a0b@mail-gmail-com%3e</id>
<updated>2009-11-06T19:26:12Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Martin,

May I kindly remind you that this is an English speaking mailing list?

Thanks,

Andreas

On Fri, Nov 6, 2009 at 18:57, Martin Gainty &lt;mgainty@hotmail.com&gt; wrote:
&gt;
&gt; necesita cambia a .m2 depósito por ejemplo
&gt; necesita cmabia a carpeta del depósito por ejemplo
&gt;
&gt; ${user.home}/.m2/repository/org/apache/axis2/addressing
&gt;
&gt; 01/01/2002  12:12    &lt;DIR&gt;          .
&gt; 01/01/2002  12:12    &lt;DIR&gt;          ..
&gt; 01/01/2002  12:12    &lt;DIR&gt;          1.3
&gt; 01/01/2002  12:12    &lt;DIR&gt;          1.4-SNAPSHOT
&gt; 01/01/2002  08:00    &lt;DIR&gt;          1.5
&gt; 28/09/2009  15:12               300 maven-metadata-local.xml
&gt; 01/01/2002  12:12    &lt;DIR&gt;          SNAPSHOT
&gt;               1 File(s)            300 bytes
&gt;
&gt; entonces  cambia a 1.4* carpeta y mira en el contenido
&gt;
&gt; 01/01/2002  12:12    &lt;DIR&gt;          .
&gt; 01/01/2002  12:12    &lt;DIR&gt;          ..
&gt; 22/04/2000  17:02            34.149 addressing-1.4-20080421.161536-24.mar
&gt; 22/04/2000  17:02                40 addressing-1.4-20080421.161536-24.mar.sha1
&gt; 22/04/2008  15:38             3.454 addressing-1.4-20080421.161536-24.pom
&gt; 22/04/2008  15:38                40 addressing-1.4-20080421.161536-24.pom.sha1
&gt; 22/04/2008  15:38                40 addressing-1.4-20080421.161536-24.pom.tmp.sh
&gt; a1.tmp
&gt; 22/04/2000  17:02            34.149 addressing-1.4-SNAPSHOT.mar
&gt; 22/04/2008  15:38             3.454 addressing-1.4-SNAPSHOT.pom
&gt; 22/04/2000  17:00               359 maven-metadata-apache.snapshots.xml
&gt; 22/04/2008  15:38                40 maven-metadata-apache.snapshots.xml.sha1
&gt; 22/04/2008  15:38                40 maven-metadata-apache.snapshots.xml.tmp.sha1
&gt; .tmp
&gt; 22/04/2000  17:00               170 maven-metadata-wso2-m2.xml
&gt;
&gt; entonces exhiba los detalles del archivo pom.xml
&gt;
&gt; &lt;?xml version="1.0" encoding="UTF-8"?&gt;
&gt; &lt;!--
&gt;  ~ Licensed to the Apache Software Foundation (ASF) under one
&gt;  ~ or more contributor license agreements. See the NOTICE file
&gt;  ~ distributed with this work for additional information
&gt;  ~ regarding copyright ownership. The ASF licenses this file
&gt;  ~ to you under the Apache License, Version 2.0 (the
&gt;  ~ "License"); you may not use this file except in compliance
&gt;  ~ with the License. You may obtain a copy of the License at
&gt;  ~
&gt;  ~ http://www.apache.org/licenses/LICENSE-2.0
&gt;  ~
&gt;  ~ Unless required by applicable law or agreed to in writing,
&gt;  ~ software distributed under the License is distributed on an
&gt;  ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
&gt;  ~ KIND, either express or implied. See the License for the
&gt;  ~ specific language governing permissions and limitations
&gt;  ~ under the License.
&gt;  --&gt;
&gt;
&gt; &lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
&gt;         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"&gt;
&gt;    &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
&gt;    &lt;parent&gt;
&gt;        &lt;groupId&gt;org.apache.axis2&lt;/groupId&gt;
&gt;        &lt;artifactId&gt;axis2-parent&lt;/artifactId&gt;
&gt;        &lt;version&gt;1.4-SNAPSHOT&lt;/version&gt;
&gt;        &lt;relativePath&gt;../parent/pom.xml&lt;/relativePath&gt;
&gt;    &lt;/parent&gt;
&gt;    &lt;artifactId&gt;addressing&lt;/artifactId&gt;
&gt;    &lt;packaging&gt;mar&lt;/packaging&gt;
&gt;    &lt;name&gt;Apache Axis2 - Addressing&lt;/name&gt;
&gt;    &lt;description&gt;WS-Addressing implementation&lt;/description&gt;
&gt;    &lt;dependencies&gt;
&gt;        &lt;dependency&gt;
&gt;            &lt;groupId&gt;org.apache.axis2&lt;/groupId&gt;
&gt;            &lt;artifactId&gt;axis2-kernel&lt;/artifactId&gt;
&gt;            &lt;version&gt;${version}&lt;/version&gt;
&gt;        &lt;/dependency&gt;
&gt;    &lt;/dependencies&gt;
&gt;    &lt;build&gt;
&gt;        &lt;sourceDirectory&gt;src&lt;/sourceDirectory&gt;
&gt;        &lt;testSourceDirectory&gt;test&lt;/testSourceDirectory&gt;
&gt;        &lt;resources&gt;
&gt;            &lt;resource&gt;
&gt;                &lt;directory&gt;conf&lt;/directory&gt;
&gt;                &lt;excludes&gt;
&gt;                    &lt;exclude&gt;**/*.properties&lt;/exclude&gt;
&gt;                &lt;/excludes&gt;
&gt;                &lt;filtering&gt;false&lt;/filtering&gt;
&gt;            &lt;/resource&gt;
&gt;            &lt;resource&gt;
&gt;                &lt;directory&gt;src&lt;/directory&gt;
&gt;                &lt;excludes&gt;
&gt;                    &lt;exclude&gt;**/*.java&lt;/exclude&gt;
&gt;                &lt;/excludes&gt;
&gt;            &lt;/resource&gt;
&gt;        &lt;/resources&gt;
&gt;        &lt;testResources&gt;
&gt;            &lt;testResource&gt;
&gt;                &lt;targetPath&gt;../test-resources&lt;/targetPath&gt;
&gt;                &lt;directory&gt;test-resources&lt;/directory&gt;
&gt;                &lt;includes&gt;
&gt;                    &lt;include&gt;**/**&lt;/include&gt;
&gt;                &lt;/includes&gt;
&gt;            &lt;/testResource&gt;
&gt;        &lt;/testResources&gt;
&gt;        &lt;plugins&gt;
&gt;            &lt;plugin&gt;
&gt;                &lt;artifactId&gt;maven-surefire-plugin&lt;/artifactId&gt;
&gt;                &lt;inherited&gt;true&lt;/inherited&gt;
&gt;                &lt;configuration&gt;
&gt;                    &lt;skip&gt;false&lt;/skip&gt;
&gt;                    &lt;excludes&gt;
&gt;                        &lt;exclude&gt;**/*Util.java&lt;/exclude&gt;
&gt;                    &lt;/excludes&gt;
&gt;                &lt;/configuration&gt;
&gt;            &lt;/plugin&gt;
&gt;            &lt;plugin&gt;
&gt;                &lt;groupId&gt;org.apache.axis2&lt;/groupId&gt;
&gt;                &lt;artifactId&gt;axis2-mar-maven-plugin&lt;/artifactId&gt;
&gt;                &lt;version&gt;${version}&lt;/version&gt;
&gt;                &lt;extensions&gt;true&lt;/extensions&gt;
&gt;                &lt;configuration&gt;
&gt;                    &lt;includeDependencies&gt;false&lt;/includeDependencies&gt;
&gt;                &lt;/configuration&gt;
&gt;            &lt;/plugin&gt;
&gt;        &lt;/plugins&gt;
&gt;    &lt;/build&gt;
&gt; &lt;/project&gt;
&gt;
&gt; Saludos Cordiales desde EEUU
&gt; Martin Gainty
&gt; Qué estamos haciendo de hecho es de recuperación y de progreso y de mantenimiento de
la recuperación de nuestra democracia. - A Fujimori
&gt; ______________________________________________
&gt; No altere/modifique o interrumpa esta transmisión-Gracias
&gt;
&gt;
&gt;
&gt;
&gt;&gt; From: hablutzel1@gmail.com
&gt;&gt; Date: Fri, 6 Nov 2009 12:17:16 -0500
&gt;&gt; Subject: Pro
&gt;&gt; To: rampart-dev@ws.apache.org
&gt;&gt;
&gt;&gt; Hi, i´m trying to build a jar with dependencies included for a swing
&gt;&gt; application with an axis2 client and rampart 1.4 for Username Token
&gt;&gt; authentication, and, I´m getting the following error when trying. I think it
&gt;&gt; is related to the jar-with-dependencies maven descriptor.
&gt;&gt;
&gt;&gt; &gt; mvn install
&gt;&gt;
&gt;&gt;
&gt;&gt; [INFO] Failed to create assembly: Error adding file-set for
&gt;&gt; 'org.apache.axis2:ad
&gt;&gt; dressing:mar:1.4' to archive: Error adding archived file-set.
&gt;&gt; PlexusIoResourceCo
&gt;&gt; llection not found for:
&gt;&gt; C:\m2\repo\org\apache\axis2\addressing\1.4\addressing-1.
&gt;&gt; 4.mar
&gt;&gt;
&gt;&gt; No such archiver: 'mar'.
&gt;&gt;
&gt;&gt; By the way, my pom is:
&gt;&gt;
&gt;&gt;
&gt;&gt; &lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="
&gt;&gt; http://www.w3.org/2001/XMLSchema-instance"
&gt;&gt;   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
&gt;&gt; http://maven.apache.org/maven-v4_0_0.xsd"&gt;
&gt;&gt;     &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
&gt;&gt;     &lt;groupId&gt;pe.gob.hndac&lt;/groupId&gt;
&gt;&gt;     &lt;artifactId&gt;epicrisis&lt;/artifactId&gt;
&gt;&gt;     &lt;packaging&gt;jar&lt;/packaging&gt;
&gt;&gt;     &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
&gt;&gt;     &lt;name&gt;ModuloEpicrisis&lt;/name&gt;
&gt;&gt;     &lt;build&gt;
&gt;&gt;         &lt;plugins&gt;
&gt;&gt;             &lt;plugin&gt;
&gt;&gt;                 &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
&gt;&gt;                 &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
&gt;&gt;                 &lt;version&gt;2.0.2&lt;/version&gt;
&gt;&gt;                 &lt;configuration&gt;
&gt;&gt;                     &lt;source&gt;1.6&lt;/source&gt;
&gt;&gt;                     &lt;target&gt;1.6&lt;/target&gt;
&gt;&gt;                     &lt;encoding&gt;UTF-8&lt;/encoding&gt;
&gt;&gt;                 &lt;/configuration&gt;
&gt;&gt;             &lt;/plugin&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt;             &lt;plugin&gt;
&gt;&gt;                 &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
&gt;&gt;                 &lt;artifactId&gt;maven-source-plugin&lt;/artifactId&gt;
&gt;&gt;                 &lt;executions&gt;
&gt;&gt;                     &lt;execution&gt;
&gt;&gt;                         &lt;phase&gt;package&lt;/phase&gt;
&gt;&gt;                         &lt;goals&gt;
&gt;&gt;                             &lt;goal&gt;jar&lt;/goal&gt;
&gt;&gt;                         &lt;/goals&gt;
&gt;&gt;                     &lt;/execution&gt;
&gt;&gt;                 &lt;/executions&gt;
&gt;&gt;             &lt;/plugin&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt;             &lt;plugin&gt;
&gt;&gt;                 &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
&gt;&gt;                 &lt;artifactId&gt;maven-jar-plugin&lt;/artifactId&gt;
&gt;&gt;                 &lt;configuration&gt;
&gt;&gt;                     &lt;archive&gt;
&gt;&gt;                         &lt;manifest&gt;
&gt;&gt;                             &lt;addClasspath&gt;true&lt;/addClasspath&gt;
&gt;&gt;
&gt;&gt; &lt;mainClass&gt;Epicrisis.FrameInicioSesion&lt;/mainClass&gt;
&gt;&gt;                         &lt;/manifest&gt;
&gt;&gt;                     &lt;/archive&gt;
&gt;&gt;                 &lt;/configuration&gt;
&gt;&gt;             &lt;/plugin&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt;             &lt;plugin&gt;
&gt;&gt;                 &lt;artifactId&gt;maven-assembly-plugin&lt;/artifactId&gt;
&gt;&gt;                 &lt;configuration&gt;
&gt;&gt;                     &lt;descriptorRefs&gt;
&gt;&gt;                         &lt;descriptorRef&gt;jar-with-dependencies&lt;/descriptorRef&gt;
&gt;&gt;                     &lt;/descriptorRefs&gt;
&gt;&gt;                     &lt;archive&gt;
&gt;&gt;                         &lt;manifest&gt;
&gt;&gt;
&gt;&gt; &lt;mainClass&gt;Epicrisis.FrameInicioSesion&lt;/mainClass&gt;
&gt;&gt;                         &lt;/manifest&gt;
&gt;&gt;                     &lt;/archive&gt;
&gt;&gt;                 &lt;/configuration&gt;
&gt;&gt;                 &lt;executions&gt;
&gt;&gt;                     &lt;execution&gt;
&gt;&gt;                         &lt;id&gt;make-assembly&lt;/id&gt;
&gt;&gt;                         &lt;phase&gt;package&lt;/phase&gt;
&gt;&gt;                         &lt;goals&gt;
&gt;&gt;                             &lt;goal&gt;attached&lt;/goal&gt;
&gt;&gt;                         &lt;/goals&gt;
&gt;&gt;                     &lt;/execution&gt;
&gt;&gt;                 &lt;/executions&gt;
&gt;&gt;             &lt;/plugin&gt;
&gt;&gt;
&gt;&gt;             &lt;plugin&gt;
&gt;&gt;                 &lt;groupId&gt;org.apache.axis2&lt;/groupId&gt;
&gt;&gt;                 &lt;artifactId&gt;axis2-mar-maven-plugin&lt;/artifactId&gt;
&gt;&gt;                 &lt;version&gt;1.4&lt;/version&gt;
&gt;&gt;             &lt;/plugin&gt;
&gt;&gt;
&gt;&gt;         &lt;/plugins&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt;     &lt;/build&gt;
&gt;&gt;
&gt;&gt;     &lt;repositories&gt;
&gt;&gt;         &lt;repository&gt;
&gt;&gt;             &lt;id&gt;netbeans&lt;/id&gt;
&gt;&gt;             &lt;name&gt;Netbeans&lt;/name&gt;
&gt;&gt;             &lt;url&gt;http://bits.nbextras.org/maven2&lt;/url&gt;
&gt;&gt;         &lt;/repository&gt;
&gt;&gt;         &lt;repository&gt;
&gt;&gt;             &lt;id&gt;52north&lt;/id&gt;
&gt;&gt; &lt;!--            &lt;name&gt;Netbeans&lt;/name&gt; --&gt;
&gt;&gt;             &lt;url&gt;http://incubator.52north.org/maven/maven-repo/releases
&gt;&gt; &lt;/url&gt;
&gt;&gt;         &lt;/repository&gt;
&gt;&gt;         &lt;repository&gt;
&gt;&gt;             &lt;id&gt;eviware&lt;/id&gt;
&gt;&gt;             &lt;url&gt;http://www.eviware.com/repository/maven2&lt;/url&gt;
&gt;&gt;         &lt;/repository&gt;
&gt;&gt;         &lt;repository&gt;
&gt;&gt;             &lt;id&gt;jboss&lt;/id&gt;
&gt;&gt;             &lt;url&gt;http://repository.jboss.org/maven2&lt;/url&gt;
&gt;&gt;         &lt;/repository&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt;     &lt;/repositories&gt;
&gt;&gt;
&gt;&gt;     &lt;dependencies&gt;
&gt;&gt;
&gt;&gt;         &lt;dependency&gt;
&gt;&gt;             &lt;groupId&gt;junit&lt;/groupId&gt;
&gt;&gt;             &lt;artifactId&gt;junit&lt;/artifactId&gt;
&gt;&gt;             &lt;version&gt;4.7&lt;/version&gt;
&gt;&gt;             &lt;scope&gt;test&lt;/scope&gt;
&gt;&gt;         &lt;/dependency&gt;
&gt;&gt;
&gt;&gt;         &lt;dependency&gt;
&gt;&gt;             &lt;groupId&gt;org.easymock&lt;/groupId&gt;
&gt;&gt;             &lt;artifactId&gt;easymock&lt;/artifactId&gt;
&gt;&gt;             &lt;version&gt;2.5.2&lt;/version&gt;
&gt;&gt;             &lt;scope&gt;test&lt;/scope&gt;
&gt;&gt;         &lt;/dependency&gt;
&gt;&gt;
&gt;&gt;         &lt;dependency&gt;
&gt;&gt;             &lt;groupId&gt;org.netbeans&lt;/groupId&gt;
&gt;&gt;             &lt;artifactId&gt;jemmy&lt;/artifactId&gt;
&gt;&gt;             &lt;version&gt;2.2.7.5&lt;/version&gt;
&gt;&gt;             &lt;scope&gt;test&lt;/scope&gt;
&gt;&gt;         &lt;/dependency&gt;
&gt;&gt;
&gt;&gt;         &lt;dependency&gt;
&gt;&gt;             &lt;groupId&gt;org.swinglabs&lt;/groupId&gt;
&gt;&gt;             &lt;artifactId&gt;swing-worker&lt;/artifactId&gt;
&gt;&gt;             &lt;version&gt;1.1&lt;/version&gt;
&gt;&gt;         &lt;/dependency&gt;
&gt;&gt;         &lt;dependency&gt;
&gt;&gt;             &lt;groupId&gt;org.swinglabs&lt;/groupId&gt;
&gt;&gt;             &lt;artifactId&gt;swing-layout&lt;/artifactId&gt;
&gt;&gt;             &lt;version&gt;1.0.3&lt;/version&gt;
&gt;&gt;         &lt;/dependency&gt;
&gt;&gt;         &lt;dependency&gt;
&gt;&gt;             &lt;groupId&gt;jfree&lt;/groupId&gt;
&gt;&gt;             &lt;artifactId&gt;jcommon&lt;/artifactId&gt;
&gt;&gt;             &lt;version&gt;1.0.15&lt;/version&gt;
&gt;&gt;         &lt;/dependency&gt;
&gt;&gt;         &lt;dependency&gt;
&gt;&gt;             &lt;groupId&gt;jfree&lt;/groupId&gt;
&gt;&gt;             &lt;artifactId&gt;jfreechart&lt;/artifactId&gt;
&gt;&gt;             &lt;version&gt;1.0.13&lt;/version&gt;
&gt;&gt;         &lt;/dependency&gt;
&gt;&gt;         &lt;dependency&gt;
&gt;&gt;             &lt;groupId&gt;mysql&lt;/groupId&gt;
&gt;&gt;             &lt;artifactId&gt;mysql-connector-java&lt;/artifactId&gt;
&gt;&gt;             &lt;version&gt;5.1.10&lt;/version&gt;
&gt;&gt;         &lt;/dependency&gt;
&gt;&gt;         &lt;dependency&gt;
&gt;&gt;             &lt;groupId&gt;log4j&lt;/groupId&gt;
&gt;&gt;             &lt;artifactId&gt;log4j&lt;/artifactId&gt;
&gt;&gt;             &lt;version&gt;1.2.15&lt;/version&gt;
&gt;&gt;         &lt;/dependency&gt;
&gt;&gt;         &lt;dependency&gt;
&gt;&gt;             &lt;groupId&gt;com.toedter&lt;/groupId&gt;
&gt;&gt;             &lt;artifactId&gt;jcalendar&lt;/artifactId&gt;
&gt;&gt;             &lt;version&gt;1.3.2&lt;/version&gt;
&gt;&gt;         &lt;/dependency&gt;
&gt;&gt;         &lt;dependency&gt;
&gt;&gt;             &lt;groupId&gt;com.jgoodies&lt;/groupId&gt;
&gt;&gt;             &lt;artifactId&gt;looks&lt;/artifactId&gt;
&gt;&gt;             &lt;version&gt;2.2.2&lt;/version&gt;
&gt;&gt;         &lt;/dependency&gt;
&gt;&gt;         &lt;dependency&gt;
&gt;&gt;             &lt;groupId&gt;org.apache.rampart&lt;/groupId&gt;
&gt;&gt;             &lt;artifactId&gt;rampart-core&lt;/artifactId&gt;
&gt;&gt;             &lt;version&gt;1.4&lt;/version&gt;
&gt;&gt;         &lt;!--    &lt;exclusions&gt;
&gt;&gt;                 &lt;exclusion&gt;
&gt;&gt;                     &lt;artifactId&gt;addressing&lt;/artifactId&gt;
&gt;&gt;                     &lt;groupId&gt;org.apache.axis2&lt;/groupId&gt;
&gt;&gt;                 &lt;/exclusion&gt;
&gt;&gt;             &lt;/exclusions&gt;--&gt;
&gt;&gt;         &lt;/dependency&gt;
&gt;&gt;         &lt;dependency&gt;
&gt;&gt;             &lt;groupId&gt;org.apache.axis2&lt;/groupId&gt;
&gt;&gt;             &lt;artifactId&gt;axis2-kernel&lt;/artifactId&gt;
&gt;&gt;             &lt;version&gt;1.4.1&lt;/version&gt;
&gt;&gt;         &lt;/dependency&gt;
&gt;&gt;         &lt;dependency&gt;
&gt;&gt;             &lt;groupId&gt;jasperreports&lt;/groupId&gt;
&gt;&gt;             &lt;artifactId&gt;jasperreports&lt;/artifactId&gt;
&gt;&gt;             &lt;version&gt;3.5.3&lt;/version&gt;
&gt;&gt;         &lt;/dependency&gt;
&gt;&gt;         &lt;dependency&gt;
&gt;&gt;             &lt;groupId&gt;commons-digester&lt;/groupId&gt;
&gt;&gt;             &lt;artifactId&gt;commons-digester&lt;/artifactId&gt;
&gt;&gt;             &lt;version&gt;2.0&lt;/version&gt;
&gt;&gt;         &lt;/dependency&gt;
&gt;&gt;         &lt;dependency&gt;
&gt;&gt;             &lt;groupId&gt;jexcelapi&lt;/groupId&gt;
&gt;&gt;             &lt;artifactId&gt;jxl&lt;/artifactId&gt;
&gt;&gt;             &lt;version&gt;2.4.2&lt;/version&gt;
&gt;&gt;         &lt;/dependency&gt;
&gt;&gt;         &lt;dependency&gt;
&gt;&gt;             &lt;groupId&gt;org.tango-project&lt;/groupId&gt;
&gt;&gt;             &lt;artifactId&gt;tango-icon-theme&lt;/artifactId&gt;
&gt;&gt;             &lt;version&gt;0.8.0&lt;/version&gt;
&gt;&gt;         &lt;/dependency&gt;
&gt;&gt;
&gt;&gt;         &lt;dependency&gt;
&gt;&gt;             &lt;groupId&gt;org.springframework&lt;/groupId&gt;
&gt;&gt;             &lt;artifactId&gt;spring&lt;/artifactId&gt;
&gt;&gt;             &lt;version&gt;2.5.6.SEC01&lt;/version&gt;
&gt;&gt;         &lt;/dependency&gt;
&gt;&gt;
&gt;&gt;         &lt;dependency&gt;
&gt;&gt;             &lt;groupId&gt;org.netbeans.external&lt;/groupId&gt;
&gt;&gt;             &lt;artifactId&gt;AbsoluteLayout&lt;/artifactId&gt;
&gt;&gt;             &lt;version&gt;RELEASE67&lt;/version&gt;
&gt;&gt;         &lt;/dependency&gt;
&gt;&gt;     &lt;/dependencies&gt;
&gt;&gt;
&gt;&gt;     &lt;properties&gt;
&gt;&gt;         &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
&gt;&gt;     &lt;/properties&gt;
&gt;&gt; &lt;/project&gt;
&gt;&gt;
&gt;&gt; Thank you.
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt; --
&gt;&gt; Jaime Hablutzel
&gt;&gt;
&gt;&gt; (tildes omitidas intencionalmente) 9 8964 0369
&gt;
&gt; _________________________________________________________________
&gt; Hotmail: Trusted email with Microsoft's powerful SPAM protection.
&gt; http://clk.atdmt.com/GBL/go/177141664/direct/01/
&gt; http://clk.atdmt.com/GBL/go/177141664/direct/01/
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Pro</title>
<author><name>Jaime Hablutzel Egoavil &lt;hablutzel1@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-rampart-dev/200911.mbox/%3c533935030911061104x29f1e524qf763aa160707f03@mail.gmail.com%3e"/>
<id>urn:uuid:%3c533935030911061104x29f1e524qf763aa160707f03@mail-gmail-com%3e</id>
<updated>2009-11-06T19:04:42Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
hola, me gustaria saber por que debo cambiar el repositorio al repositorio
por defecto:

${user.home}/.m2/repository/
&gt;
&gt; org/apache/axis2/addressing


Pero, como decia, mi problema realmente tiene que ver con el empaquetado,
pues recibo aquel error cuando hago:

mvn install

Y al parecer, el plugin, maven-assembly no sabe por defecto como reaccionar
ante dependencias .mar.

Gracias.




On Fri, Nov 6, 2009 at 12:57 PM, Martin Gainty &lt;mgainty@hotmail.com&gt; wrote:

&gt;
&gt; necesita cambia a .m2 depósito por ejemplo
&gt; necesita cmabia a carpeta del depósito por ejemplo
&gt;
&gt; ${user.home}/.m2/repository/org/apache/axis2/addressing
&gt;
&gt; 01/01/2002  12:12    &lt;DIR&gt;          .
&gt; 01/01/2002  12:12    &lt;DIR&gt;          ..
&gt; 01/01/2002  12:12    &lt;DIR&gt;          1.3
&gt; 01/01/2002  12:12    &lt;DIR&gt;          1.4-SNAPSHOT
&gt; 01/01/2002  08:00    &lt;DIR&gt;          1.5
&gt; 28/09/2009  15:12               300 maven-metadata-local.xml
&gt; 01/01/2002  12:12    &lt;DIR&gt;          SNAPSHOT
&gt;               1 File(s)            300 bytes
&gt;
&gt; entonces  cambia a 1.4* carpeta y mira en el contenido
&gt;
&gt; 01/01/2002  12:12    &lt;DIR&gt;          .
&gt; 01/01/2002  12:12    &lt;DIR&gt;          ..
&gt; 22/04/2000  17:02            34.149 addressing-1.4-20080421.161536-24.mar
&gt; 22/04/2000  17:02                40
&gt; addressing-1.4-20080421.161536-24.mar.sha1
&gt; 22/04/2008  15:38             3.454 addressing-1.4-20080421.161536-24.pom
&gt; 22/04/2008  15:38                40
&gt; addressing-1.4-20080421.161536-24.pom.sha1
&gt; 22/04/2008  15:38                40
&gt; addressing-1.4-20080421.161536-24.pom.tmp.sh
&gt; a1.tmp
&gt; 22/04/2000  17:02            34.149 addressing-1.4-SNAPSHOT.mar
&gt; 22/04/2008  15:38             3.454 addressing-1.4-SNAPSHOT.pom
&gt; 22/04/2000  17:00               359 maven-metadata-apache.snapshots.xml
&gt; 22/04/2008  15:38                40
&gt; maven-metadata-apache.snapshots.xml.sha1
&gt; 22/04/2008  15:38                40
&gt; maven-metadata-apache.snapshots.xml.tmp.sha1
&gt; .tmp
&gt; 22/04/2000  17:00               170 maven-metadata-wso2-m2.xml
&gt;
&gt; entonces exhiba los detalles del archivo pom.xml
&gt;
&gt; &lt;?xml version="1.0" encoding="UTF-8"?&gt;
&gt; &lt;!--
&gt;  ~ Licensed to the Apache Software Foundation (ASF) under one
&gt;  ~ or more contributor license agreements. See the NOTICE file
&gt;  ~ distributed with this work for additional information
&gt;  ~ regarding copyright ownership. The ASF licenses this file
&gt;  ~ to you under the Apache License, Version 2.0 (the
&gt;  ~ "License"); you may not use this file except in compliance
&gt;  ~ with the License. You may obtain a copy of the License at
&gt;  ~
&gt;  ~ http://www.apache.org/licenses/LICENSE-2.0
&gt;  ~
&gt;  ~ Unless required by applicable law or agreed to in writing,
&gt;  ~ software distributed under the License is distributed on an
&gt;  ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
&gt;  ~ KIND, either express or implied. See the License for the
&gt;  ~ specific language governing permissions and limitations
&gt;  ~ under the License.
&gt;  --&gt;
&gt;
&gt; &lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="
&gt; http://www.w3.org/2001/XMLSchema-instance"
&gt;         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
&gt; http://maven.apache.org/maven-v4_0_0.xsd"&gt;
&gt;    &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
&gt;     &lt;parent&gt;
&gt;         &lt;groupId&gt;org.apache.axis2&lt;/groupId&gt;
&gt;         &lt;artifactId&gt;axis2-parent&lt;/artifactId&gt;
&gt;        &lt;version&gt;1.4-SNAPSHOT&lt;/version&gt;
&gt;        &lt;relativePath&gt;../parent/pom.xml&lt;/relativePath&gt;
&gt;    &lt;/parent&gt;
&gt;    &lt;artifactId&gt;addressing&lt;/artifactId&gt;
&gt;    &lt;packaging&gt;mar&lt;/packaging&gt;
&gt;    &lt;name&gt;Apache Axis2 - Addressing&lt;/name&gt;
&gt;    &lt;description&gt;WS-Addressing implementation&lt;/description&gt;
&gt;    &lt;dependencies&gt;
&gt;         &lt;dependency&gt;
&gt;            &lt;groupId&gt;org.apache.axis2&lt;/groupId&gt;
&gt;            &lt;artifactId&gt;axis2-kernel&lt;/artifactId&gt;
&gt;             &lt;version&gt;${version}&lt;/version&gt;
&gt;        &lt;/dependency&gt;
&gt;    &lt;/dependencies&gt;
&gt;    &lt;build&gt;
&gt;        &lt;sourceDirectory&gt;src&lt;/sourceDirectory&gt;
&gt;        &lt;testSourceDirectory&gt;test&lt;/testSourceDirectory&gt;
&gt;        &lt;resources&gt;
&gt;            &lt;resource&gt;
&gt;                &lt;directory&gt;conf&lt;/directory&gt;
&gt;                &lt;excludes&gt;
&gt;                    &lt;exclude&gt;**/*.properties&lt;/exclude&gt;
&gt;                &lt;/excludes&gt;
&gt;                &lt;filtering&gt;false&lt;/filtering&gt;
&gt;            &lt;/resource&gt;
&gt;            &lt;resource&gt;
&gt;                &lt;directory&gt;src&lt;/directory&gt;
&gt;                &lt;excludes&gt;
&gt;                    &lt;exclude&gt;**/*.java&lt;/exclude&gt;
&gt;                &lt;/excludes&gt;
&gt;            &lt;/resource&gt;
&gt;        &lt;/resources&gt;
&gt;        &lt;testResources&gt;
&gt;            &lt;testResource&gt;
&gt;                &lt;targetPath&gt;../test-resources&lt;/targetPath&gt;
&gt;                &lt;directory&gt;test-resources&lt;/directory&gt;
&gt;                &lt;includes&gt;
&gt;                    &lt;include&gt;**/**&lt;/include&gt;
&gt;                &lt;/includes&gt;
&gt;            &lt;/testResource&gt;
&gt;        &lt;/testResources&gt;
&gt;        &lt;plugins&gt;
&gt;            &lt;plugin&gt;
&gt;                &lt;artifactId&gt;maven-surefire-plugin&lt;/artifactId&gt;
&gt;                &lt;inherited&gt;true&lt;/inherited&gt;
&gt;                &lt;configuration&gt;
&gt;                    &lt;skip&gt;false&lt;/skip&gt;
&gt;                    &lt;excludes&gt;
&gt;                        &lt;exclude&gt;**/*Util.java&lt;/exclude&gt;
&gt;                    &lt;/excludes&gt;
&gt;                &lt;/configuration&gt;
&gt;            &lt;/plugin&gt;
&gt;            &lt;plugin&gt;
&gt;                 &lt;groupId&gt;org.apache.axis2&lt;/groupId&gt;
&gt;                &lt;artifactId&gt;axis2-mar-maven-plugin&lt;/artifactId&gt;
&gt;                 &lt;version&gt;${version}&lt;/version&gt;
&gt;                &lt;extensions&gt;true&lt;/extensions&gt;
&gt;                &lt;configuration&gt;
&gt;                    &lt;includeDependencies&gt;false&lt;/includeDependencies&gt;
&gt;                &lt;/configuration&gt;
&gt;            &lt;/plugin&gt;
&gt;        &lt;/plugins&gt;
&gt;    &lt;/build&gt;
&gt; &lt;/project&gt;
&gt;
&gt; Saludos Cordiales desde EEUU
&gt; Martin Gainty
&gt; Qué estamos haciendo de hecho es de recuperación y de progreso y de
&gt; mantenimiento de la recuperación de nuestra democracia. - A Fujimori
&gt; ______________________________________________
&gt; No altere/modifique o interrumpa esta transmisión-Gracias
&gt;
&gt;
&gt;
&gt;
&gt; &gt; From: hablutzel1@gmail.com
&gt; &gt; Date: Fri, 6 Nov 2009 12:17:16 -0500
&gt; &gt; Subject: Pro
&gt; &gt; To: rampart-dev@ws.apache.org
&gt; &gt;
&gt; &gt; Hi, i´m trying to build a jar with dependencies included for a swing
&gt; &gt; application with an axis2 client and rampart 1.4 for Username Token
&gt; &gt; authentication, and, I´m getting the following error when trying. I think
&gt; it
&gt; &gt; is related to the jar-with-dependencies maven descriptor.
&gt; &gt;
&gt; &gt; &gt; mvn install
&gt; &gt;
&gt; &gt;
&gt; &gt; [INFO] Failed to create assembly: Error adding file-set for
&gt; &gt; 'org.apache.axis2:ad
&gt; &gt; dressing:mar:1.4' to archive: Error adding archived file-set.
&gt; &gt; PlexusIoResourceCo
&gt; &gt; llection not found for:
&gt; &gt; C:\m2\repo\org\apache\axis2\addressing\1.4\addressing-1.
&gt; &gt; 4.mar
&gt; &gt;
&gt; &gt; No such archiver: 'mar'.
&gt; &gt;
&gt; &gt; By the way, my pom is:
&gt; &gt;
&gt; &gt;
&gt; &gt; &lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="
&gt; &gt; http://www.w3.org/2001/XMLSchema-instance"
&gt; &gt;   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
&gt; &gt; http://maven.apache.org/maven-v4_0_0.xsd"&gt;
&gt; &gt;     &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
&gt; &gt;     &lt;groupId&gt;pe.gob.hndac&lt;/groupId&gt;
&gt; &gt;     &lt;artifactId&gt;epicrisis&lt;/artifactId&gt;
&gt; &gt;     &lt;packaging&gt;jar&lt;/packaging&gt;
&gt; &gt;     &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
&gt; &gt;     &lt;name&gt;ModuloEpicrisis&lt;/name&gt;
&gt; &gt;     &lt;build&gt;
&gt; &gt;         &lt;plugins&gt;
&gt; &gt;             &lt;plugin&gt;
&gt; &gt;                 &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
&gt; &gt;                 &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
&gt; &gt;                 &lt;version&gt;2.0.2&lt;/version&gt;
&gt; &gt;                 &lt;configuration&gt;
&gt; &gt;                     &lt;source&gt;1.6&lt;/source&gt;
&gt; &gt;                     &lt;target&gt;1.6&lt;/target&gt;
&gt; &gt;                     &lt;encoding&gt;UTF-8&lt;/encoding&gt;
&gt; &gt;                 &lt;/configuration&gt;
&gt; &gt;             &lt;/plugin&gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;             &lt;plugin&gt;
&gt; &gt;                 &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
&gt; &gt;                 &lt;artifactId&gt;maven-source-plugin&lt;/artifactId&gt;
&gt; &gt;                 &lt;executions&gt;
&gt; &gt;                     &lt;execution&gt;
&gt; &gt;                         &lt;phase&gt;package&lt;/phase&gt;
&gt; &gt;                         &lt;goals&gt;
&gt; &gt;                             &lt;goal&gt;jar&lt;/goal&gt;
&gt; &gt;                         &lt;/goals&gt;
&gt; &gt;                     &lt;/execution&gt;
&gt; &gt;                 &lt;/executions&gt;
&gt; &gt;             &lt;/plugin&gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;             &lt;plugin&gt;
&gt; &gt;                 &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
&gt; &gt;                 &lt;artifactId&gt;maven-jar-plugin&lt;/artifactId&gt;
&gt; &gt;                 &lt;configuration&gt;
&gt; &gt;                     &lt;archive&gt;
&gt; &gt;                         &lt;manifest&gt;
&gt; &gt;                             &lt;addClasspath&gt;true&lt;/addClasspath&gt;
&gt; &gt;
&gt; &gt; &lt;mainClass&gt;Epicrisis.FrameInicioSesion&lt;/mainClass&gt;
&gt; &gt;                         &lt;/manifest&gt;
&gt; &gt;                     &lt;/archive&gt;
&gt; &gt;                 &lt;/configuration&gt;
&gt; &gt;             &lt;/plugin&gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;             &lt;plugin&gt;
&gt; &gt;                 &lt;artifactId&gt;maven-assembly-plugin&lt;/artifactId&gt;
&gt; &gt;                 &lt;configuration&gt;
&gt; &gt;                     &lt;descriptorRefs&gt;
&gt; &gt;
&gt; &lt;descriptorRef&gt;jar-with-dependencies&lt;/descriptorRef&gt;
&gt; &gt;                     &lt;/descriptorRefs&gt;
&gt; &gt;                     &lt;archive&gt;
&gt; &gt;                         &lt;manifest&gt;
&gt; &gt;
&gt; &gt; &lt;mainClass&gt;Epicrisis.FrameInicioSesion&lt;/mainClass&gt;
&gt; &gt;                         &lt;/manifest&gt;
&gt; &gt;                     &lt;/archive&gt;
&gt; &gt;                 &lt;/configuration&gt;
&gt; &gt;                 &lt;executions&gt;
&gt; &gt;                     &lt;execution&gt;
&gt; &gt;                         &lt;id&gt;make-assembly&lt;/id&gt;
&gt; &gt;                         &lt;phase&gt;package&lt;/phase&gt;
&gt; &gt;                         &lt;goals&gt;
&gt; &gt;                             &lt;goal&gt;attached&lt;/goal&gt;
&gt; &gt;                         &lt;/goals&gt;
&gt; &gt;                     &lt;/execution&gt;
&gt; &gt;                 &lt;/executions&gt;
&gt; &gt;             &lt;/plugin&gt;
&gt; &gt;
&gt; &gt;             &lt;plugin&gt;
&gt; &gt;                 &lt;groupId&gt;org.apache.axis2&lt;/groupId&gt;
&gt; &gt;                 &lt;artifactId&gt;axis2-mar-maven-plugin&lt;/artifactId&gt;
&gt; &gt;                 &lt;version&gt;1.4&lt;/version&gt;
&gt; &gt;             &lt;/plugin&gt;
&gt; &gt;
&gt; &gt;         &lt;/plugins&gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;     &lt;/build&gt;
&gt; &gt;
&gt; &gt;     &lt;repositories&gt;
&gt; &gt;         &lt;repository&gt;
&gt; &gt;             &lt;id&gt;netbeans&lt;/id&gt;
&gt; &gt;             &lt;name&gt;Netbeans&lt;/name&gt;
&gt; &gt;             &lt;url&gt;http://bits.nbextras.org/maven2&lt;/url&gt;
&gt; &gt;         &lt;/repository&gt;
&gt; &gt;         &lt;repository&gt;
&gt; &gt;             &lt;id&gt;52north&lt;/id&gt;
&gt; &gt; &lt;!--            &lt;name&gt;Netbeans&lt;/name&gt; --&gt;
&gt; &gt;             &lt;url&gt;http://incubator.52north.org/maven/maven-repo/releases
&gt; &gt; &lt;/url&gt;
&gt; &gt;         &lt;/repository&gt;
&gt; &gt;         &lt;repository&gt;
&gt; &gt;             &lt;id&gt;eviware&lt;/id&gt;
&gt; &gt;             &lt;url&gt;http://www.eviware.com/repository/maven2&lt;/url&gt;
&gt; &gt;         &lt;/repository&gt;
&gt; &gt;         &lt;repository&gt;
&gt; &gt;             &lt;id&gt;jboss&lt;/id&gt;
&gt; &gt;             &lt;url&gt;http://repository.jboss.org/maven2&lt;/url&gt;
&gt; &gt;         &lt;/repository&gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;     &lt;/repositories&gt;
&gt; &gt;
&gt; &gt;     &lt;dependencies&gt;
&gt; &gt;
&gt; &gt;         &lt;dependency&gt;
&gt; &gt;             &lt;groupId&gt;junit&lt;/groupId&gt;
&gt; &gt;             &lt;artifactId&gt;junit&lt;/artifactId&gt;
&gt; &gt;             &lt;version&gt;4.7&lt;/version&gt;
&gt; &gt;             &lt;scope&gt;test&lt;/scope&gt;
&gt; &gt;         &lt;/dependency&gt;
&gt; &gt;
&gt; &gt;         &lt;dependency&gt;
&gt; &gt;             &lt;groupId&gt;org.easymock&lt;/groupId&gt;
&gt; &gt;             &lt;artifactId&gt;easymock&lt;/artifactId&gt;
&gt; &gt;             &lt;version&gt;2.5.2&lt;/version&gt;
&gt; &gt;             &lt;scope&gt;test&lt;/scope&gt;
&gt; &gt;         &lt;/dependency&gt;
&gt; &gt;
&gt; &gt;         &lt;dependency&gt;
&gt; &gt;             &lt;groupId&gt;org.netbeans&lt;/groupId&gt;
&gt; &gt;             &lt;artifactId&gt;jemmy&lt;/artifactId&gt;
&gt; &gt;             &lt;version&gt;2.2.7.5&lt;/version&gt;
&gt; &gt;             &lt;scope&gt;test&lt;/scope&gt;
&gt; &gt;         &lt;/dependency&gt;
&gt; &gt;
&gt; &gt;         &lt;dependency&gt;
&gt; &gt;             &lt;groupId&gt;org.swinglabs&lt;/groupId&gt;
&gt; &gt;             &lt;artifactId&gt;swing-worker&lt;/artifactId&gt;
&gt; &gt;             &lt;version&gt;1.1&lt;/version&gt;
&gt; &gt;         &lt;/dependency&gt;
&gt; &gt;         &lt;dependency&gt;
&gt; &gt;             &lt;groupId&gt;org.swinglabs&lt;/groupId&gt;
&gt; &gt;             &lt;artifactId&gt;swing-layout&lt;/artifactId&gt;
&gt; &gt;             &lt;version&gt;1.0.3&lt;/version&gt;
&gt; &gt;         &lt;/dependency&gt;
&gt; &gt;         &lt;dependency&gt;
&gt; &gt;             &lt;groupId&gt;jfree&lt;/groupId&gt;
&gt; &gt;             &lt;artifactId&gt;jcommon&lt;/artifactId&gt;
&gt; &gt;             &lt;version&gt;1.0.15&lt;/version&gt;
&gt; &gt;         &lt;/dependency&gt;
&gt; &gt;         &lt;dependency&gt;
&gt; &gt;             &lt;groupId&gt;jfree&lt;/groupId&gt;
&gt; &gt;             &lt;artifactId&gt;jfreechart&lt;/artifactId&gt;
&gt; &gt;             &lt;version&gt;1.0.13&lt;/version&gt;
&gt; &gt;         &lt;/dependency&gt;
&gt; &gt;         &lt;dependency&gt;
&gt; &gt;             &lt;groupId&gt;mysql&lt;/groupId&gt;
&gt; &gt;             &lt;artifactId&gt;mysql-connector-java&lt;/artifactId&gt;
&gt; &gt;             &lt;version&gt;5.1.10&lt;/version&gt;
&gt; &gt;         &lt;/dependency&gt;
&gt; &gt;         &lt;dependency&gt;
&gt; &gt;             &lt;groupId&gt;log4j&lt;/groupId&gt;
&gt; &gt;             &lt;artifactId&gt;log4j&lt;/artifactId&gt;
&gt; &gt;             &lt;version&gt;1.2.15&lt;/version&gt;
&gt; &gt;         &lt;/dependency&gt;
&gt; &gt;         &lt;dependency&gt;
&gt; &gt;             &lt;groupId&gt;com.toedter&lt;/groupId&gt;
&gt; &gt;             &lt;artifactId&gt;jcalendar&lt;/artifactId&gt;
&gt; &gt;             &lt;version&gt;1.3.2&lt;/version&gt;
&gt; &gt;         &lt;/dependency&gt;
&gt; &gt;         &lt;dependency&gt;
&gt; &gt;             &lt;groupId&gt;com.jgoodies&lt;/groupId&gt;
&gt; &gt;             &lt;artifactId&gt;looks&lt;/artifactId&gt;
&gt; &gt;             &lt;version&gt;2.2.2&lt;/version&gt;
&gt; &gt;         &lt;/dependency&gt;
&gt; &gt;         &lt;dependency&gt;
&gt; &gt;             &lt;groupId&gt;org.apache.rampart&lt;/groupId&gt;
&gt; &gt;             &lt;artifactId&gt;rampart-core&lt;/artifactId&gt;
&gt; &gt;             &lt;version&gt;1.4&lt;/version&gt;
&gt; &gt;         &lt;!--    &lt;exclusions&gt;
&gt; &gt;                 &lt;exclusion&gt;
&gt; &gt;                     &lt;artifactId&gt;addressing&lt;/artifactId&gt;
&gt; &gt;                     &lt;groupId&gt;org.apache.axis2&lt;/groupId&gt;
&gt; &gt;                 &lt;/exclusion&gt;
&gt; &gt;             &lt;/exclusions&gt;--&gt;
&gt; &gt;         &lt;/dependency&gt;
&gt; &gt;         &lt;dependency&gt;
&gt; &gt;             &lt;groupId&gt;org.apache.axis2&lt;/groupId&gt;
&gt; &gt;             &lt;artifactId&gt;axis2-kernel&lt;/artifactId&gt;
&gt; &gt;             &lt;version&gt;1.4.1&lt;/version&gt;
&gt; &gt;         &lt;/dependency&gt;
&gt; &gt;         &lt;dependency&gt;
&gt; &gt;             &lt;groupId&gt;jasperreports&lt;/groupId&gt;
&gt; &gt;             &lt;artifactId&gt;jasperreports&lt;/artifactId&gt;
&gt; &gt;             &lt;version&gt;3.5.3&lt;/version&gt;
&gt; &gt;         &lt;/dependency&gt;
&gt; &gt;         &lt;dependency&gt;
&gt; &gt;             &lt;groupId&gt;commons-digester&lt;/groupId&gt;
&gt; &gt;             &lt;artifactId&gt;commons-digester&lt;/artifactId&gt;
&gt; &gt;             &lt;version&gt;2.0&lt;/version&gt;
&gt; &gt;         &lt;/dependency&gt;
&gt; &gt;         &lt;dependency&gt;
&gt; &gt;             &lt;groupId&gt;jexcelapi&lt;/groupId&gt;
&gt; &gt;             &lt;artifactId&gt;jxl&lt;/artifactId&gt;
&gt; &gt;             &lt;version&gt;2.4.2&lt;/version&gt;
&gt; &gt;         &lt;/dependency&gt;
&gt; &gt;         &lt;dependency&gt;
&gt; &gt;             &lt;groupId&gt;org.tango-project&lt;/groupId&gt;
&gt; &gt;             &lt;artifactId&gt;tango-icon-theme&lt;/artifactId&gt;
&gt; &gt;             &lt;version&gt;0.8.0&lt;/version&gt;
&gt; &gt;         &lt;/dependency&gt;
&gt; &gt;
&gt; &gt;         &lt;dependency&gt;
&gt; &gt;             &lt;groupId&gt;org.springframework&lt;/groupId&gt;
&gt; &gt;             &lt;artifactId&gt;spring&lt;/artifactId&gt;
&gt; &gt;             &lt;version&gt;2.5.6.SEC01&lt;/version&gt;
&gt; &gt;         &lt;/dependency&gt;
&gt; &gt;
&gt; &gt;         &lt;dependency&gt;
&gt; &gt;             &lt;groupId&gt;org.netbeans.external&lt;/groupId&gt;
&gt; &gt;             &lt;artifactId&gt;AbsoluteLayout&lt;/artifactId&gt;
&gt; &gt;             &lt;version&gt;RELEASE67&lt;/version&gt;
&gt; &gt;         &lt;/dependency&gt;
&gt; &gt;     &lt;/dependencies&gt;
&gt; &gt;
&gt; &gt;     &lt;properties&gt;
&gt; &gt;
&gt; &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
&gt; &gt;     &lt;/properties&gt;
&gt; &gt; &lt;/project&gt;
&gt; &gt;
&gt; &gt; Thank you.
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt; --
&gt; &gt; Jaime Hablutzel
&gt; &gt;
&gt; &gt; (tildes omitidas intencionalmente) 9 8964 0369
&gt;
&gt; _________________________________________________________________
&gt; Hotmail: Trusted email with Microsoft's powerful SPAM protection.
&gt; http://clk.atdmt.com/GBL/go/177141664/direct/01/
&gt; http://clk.atdmt.com/GBL/go/177141664/direct/01/
&gt;



-- 
Jaime Hablutzel

(tildes omitidas intencionalmente) 9 8964 0369


</pre>
</div>
</content>
</entry>
<entry>
<title>RE: Pro</title>
<author><name>Martin Gainty &lt;mgainty@hotmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-rampart-dev/200911.mbox/%3cBLU142-W26127A5D29999D0A9BE0B1AEAF0@phx.gbl%3e"/>
<id>urn:uuid:%3cBLU142-W26127A5D29999D0A9BE0B1AEAF0@phx-gbl%3e</id>
<updated>2009-11-06T17:57:48Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

necesita cambia a .m2 depósito por ejemplo
necesita cmabia a carpeta del depósito por ejemplo
 
${user.home}/.m2/repository/org/apache/axis2/addressing

01/01/2002  12:12    &lt;DIR&gt;          .
01/01/2002  12:12    &lt;DIR&gt;          ..
01/01/2002  12:12    &lt;DIR&gt;          1.3
01/01/2002  12:12    &lt;DIR&gt;          1.4-SNAPSHOT
01/01/2002  08:00    &lt;DIR&gt;          1.5
28/09/2009  15:12               300 maven-metadata-local.xml
01/01/2002  12:12    &lt;DIR&gt;          SNAPSHOT
               1 File(s)            300 bytes

entonces  cambia a 1.4* carpeta y mira en el contenido

01/01/2002  12:12    &lt;DIR&gt;          .
01/01/2002  12:12    &lt;DIR&gt;          ..
22/04/2000  17:02            34.149 addressing-1.4-20080421.161536-24.mar
22/04/2000  17:02                40 addressing-1.4-20080421.161536-24.mar.sha1
22/04/2008  15:38             3.454 addressing-1.4-20080421.161536-24.pom
22/04/2008  15:38                40 addressing-1.4-20080421.161536-24.pom.sha1
22/04/2008  15:38                40 addressing-1.4-20080421.161536-24.pom.tmp.sh
a1.tmp
22/04/2000  17:02            34.149 addressing-1.4-SNAPSHOT.mar
22/04/2008  15:38             3.454 addressing-1.4-SNAPSHOT.pom
22/04/2000  17:00               359 maven-metadata-apache.snapshots.xml
22/04/2008  15:38                40 maven-metadata-apache.snapshots.xml.sha1
22/04/2008  15:38                40 maven-metadata-apache.snapshots.xml.tmp.sha1
.tmp
22/04/2000  17:00               170 maven-metadata-wso2-m2.xml

entonces exhiba los detalles del archivo pom.xml

&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;!--
  ~ Licensed to the Apache Software Foundation (ASF) under one
  ~ or more contributor license agreements. See the NOTICE file
  ~ distributed with this work for additional information
  ~ regarding copyright ownership. The ASF licenses this file
  ~ to you under the Apache License, Version 2.0 (the
  ~ "License"); you may not use this file except in compliance
  ~ with the License. You may obtain a copy of the License at
  ~
  ~ http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing,
  ~ software distributed under the License is distributed on an
  ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  ~ KIND, either express or implied. See the License for the
  ~ specific language governing permissions and limitations
  ~ under the License.
  --&gt;

&lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"&gt;
    &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
    &lt;parent&gt;
        &lt;groupId&gt;org.apache.axis2&lt;/groupId&gt;
        &lt;artifactId&gt;axis2-parent&lt;/artifactId&gt;
        &lt;version&gt;1.4-SNAPSHOT&lt;/version&gt;
        &lt;relativePath&gt;../parent/pom.xml&lt;/relativePath&gt;
    &lt;/parent&gt;
    &lt;artifactId&gt;addressing&lt;/artifactId&gt;
    &lt;packaging&gt;mar&lt;/packaging&gt;
    &lt;name&gt;Apache Axis2 - Addressing&lt;/name&gt;
    &lt;description&gt;WS-Addressing implementation&lt;/description&gt;
    &lt;dependencies&gt;
        &lt;dependency&gt;
            &lt;groupId&gt;org.apache.axis2&lt;/groupId&gt;
            &lt;artifactId&gt;axis2-kernel&lt;/artifactId&gt;
            &lt;version&gt;${version}&lt;/version&gt;
        &lt;/dependency&gt;
    &lt;/dependencies&gt;
    &lt;build&gt;
        &lt;sourceDirectory&gt;src&lt;/sourceDirectory&gt;
        &lt;testSourceDirectory&gt;test&lt;/testSourceDirectory&gt;
        &lt;resources&gt;
            &lt;resource&gt;
                &lt;directory&gt;conf&lt;/directory&gt;
                &lt;excludes&gt;
                    &lt;exclude&gt;**/*.properties&lt;/exclude&gt;
                &lt;/excludes&gt;
                &lt;filtering&gt;false&lt;/filtering&gt;
            &lt;/resource&gt;
            &lt;resource&gt;
                &lt;directory&gt;src&lt;/directory&gt;
                &lt;excludes&gt;
                    &lt;exclude&gt;**/*.java&lt;/exclude&gt;
                &lt;/excludes&gt;
            &lt;/resource&gt;
        &lt;/resources&gt;
        &lt;testResources&gt;
            &lt;testResource&gt;
                &lt;targetPath&gt;../test-resources&lt;/targetPath&gt;
                &lt;directory&gt;test-resources&lt;/directory&gt;
                &lt;includes&gt;
                    &lt;include&gt;**/**&lt;/include&gt;
                &lt;/includes&gt;
            &lt;/testResource&gt;
        &lt;/testResources&gt;
        &lt;plugins&gt;
            &lt;plugin&gt;
                &lt;artifactId&gt;maven-surefire-plugin&lt;/artifactId&gt;
                &lt;inherited&gt;true&lt;/inherited&gt;
                &lt;configuration&gt;
                    &lt;skip&gt;false&lt;/skip&gt;
                    &lt;excludes&gt;
                        &lt;exclude&gt;**/*Util.java&lt;/exclude&gt;
                    &lt;/excludes&gt;
                &lt;/configuration&gt;
            &lt;/plugin&gt;
            &lt;plugin&gt;
                &lt;groupId&gt;org.apache.axis2&lt;/groupId&gt;
                &lt;artifactId&gt;axis2-mar-maven-plugin&lt;/artifactId&gt;
                &lt;version&gt;${version}&lt;/version&gt;
                &lt;extensions&gt;true&lt;/extensions&gt;
                &lt;configuration&gt;
                    &lt;includeDependencies&gt;false&lt;/includeDependencies&gt;
                &lt;/configuration&gt;
            &lt;/plugin&gt;
        &lt;/plugins&gt;
    &lt;/build&gt;
&lt;/project&gt;

Saludos Cordiales desde EEUU
Martin Gainty 
Qué estamos haciendo de hecho es de recuperación y de progreso y de mantenimiento de la recuperación
de nuestra democracia. - A Fujimori
______________________________________________ 
No altere/modifique o interrumpa esta transmisión-Gracias




&gt; From: hablutzel1@gmail.com
&gt; Date: Fri, 6 Nov 2009 12:17:16 -0500
&gt; Subject: Pro
&gt; To: rampart-dev@ws.apache.org
&gt; 
&gt; Hi, i´m trying to build a jar with dependencies included for a swing
&gt; application with an axis2 client and rampart 1.4 for Username Token
&gt; authentication, and, I´m getting the following error when trying. I think it
&gt; is related to the jar-with-dependencies maven descriptor.
&gt; 
&gt; &gt; mvn install
&gt; 
&gt; 
&gt; [INFO] Failed to create assembly: Error adding file-set for
&gt; 'org.apache.axis2:ad
&gt; dressing:mar:1.4' to archive: Error adding archived file-set.
&gt; PlexusIoResourceCo
&gt; llection not found for:
&gt; C:\m2\repo\org\apache\axis2\addressing\1.4\addressing-1.
&gt; 4.mar
&gt; 
&gt; No such archiver: 'mar'.
&gt; 
&gt; By the way, my pom is:
&gt; 
&gt; 
&gt; &lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="
&gt; http://www.w3.org/2001/XMLSchema-instance"
&gt;   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
&gt; http://maven.apache.org/maven-v4_0_0.xsd"&gt;
&gt;     &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
&gt;     &lt;groupId&gt;pe.gob.hndac&lt;/groupId&gt;
&gt;     &lt;artifactId&gt;epicrisis&lt;/artifactId&gt;
&gt;     &lt;packaging&gt;jar&lt;/packaging&gt;
&gt;     &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
&gt;     &lt;name&gt;ModuloEpicrisis&lt;/name&gt;
&gt;     &lt;build&gt;
&gt;         &lt;plugins&gt;
&gt;             &lt;plugin&gt;
&gt;                 &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
&gt;                 &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
&gt;                 &lt;version&gt;2.0.2&lt;/version&gt;
&gt;                 &lt;configuration&gt;
&gt;                     &lt;source&gt;1.6&lt;/source&gt;
&gt;                     &lt;target&gt;1.6&lt;/target&gt;
&gt;                     &lt;encoding&gt;UTF-8&lt;/encoding&gt;
&gt;                 &lt;/configuration&gt;
&gt;             &lt;/plugin&gt;
&gt; 
&gt; 
&gt;             &lt;plugin&gt;
&gt;                 &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
&gt;                 &lt;artifactId&gt;maven-source-plugin&lt;/artifactId&gt;
&gt;                 &lt;executions&gt;
&gt;                     &lt;execution&gt;
&gt;                         &lt;phase&gt;package&lt;/phase&gt;
&gt;                         &lt;goals&gt;
&gt;                             &lt;goal&gt;jar&lt;/goal&gt;
&gt;                         &lt;/goals&gt;
&gt;                     &lt;/execution&gt;
&gt;                 &lt;/executions&gt;
&gt;             &lt;/plugin&gt;
&gt; 
&gt; 
&gt;             &lt;plugin&gt;
&gt;                 &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
&gt;                 &lt;artifactId&gt;maven-jar-plugin&lt;/artifactId&gt;
&gt;                 &lt;configuration&gt;
&gt;                     &lt;archive&gt;
&gt;                         &lt;manifest&gt;
&gt;                             &lt;addClasspath&gt;true&lt;/addClasspath&gt;
&gt; 
&gt; &lt;mainClass&gt;Epicrisis.FrameInicioSesion&lt;/mainClass&gt;
&gt;                         &lt;/manifest&gt;
&gt;                     &lt;/archive&gt;
&gt;                 &lt;/configuration&gt;
&gt;             &lt;/plugin&gt;
&gt; 
&gt; 
&gt; 
&gt;             &lt;plugin&gt;
&gt;                 &lt;artifactId&gt;maven-assembly-plugin&lt;/artifactId&gt;
&gt;                 &lt;configuration&gt;
&gt;                     &lt;descriptorRefs&gt;
&gt;                         &lt;descriptorRef&gt;jar-with-dependencies&lt;/descriptorRef&gt;
&gt;                     &lt;/descriptorRefs&gt;
&gt;                     &lt;archive&gt;
&gt;                         &lt;manifest&gt;
&gt; 
&gt; &lt;mainClass&gt;Epicrisis.FrameInicioSesion&lt;/mainClass&gt;
&gt;                         &lt;/manifest&gt;
&gt;                     &lt;/archive&gt;
&gt;                 &lt;/configuration&gt;
&gt;                 &lt;executions&gt;
&gt;                     &lt;execution&gt;
&gt;                         &lt;id&gt;make-assembly&lt;/id&gt;
&gt;                         &lt;phase&gt;package&lt;/phase&gt;
&gt;                         &lt;goals&gt;
&gt;                             &lt;goal&gt;attached&lt;/goal&gt;
&gt;                         &lt;/goals&gt;
&gt;                     &lt;/execution&gt;
&gt;                 &lt;/executions&gt;
&gt;             &lt;/plugin&gt;
&gt; 
&gt;             &lt;plugin&gt;
&gt;                 &lt;groupId&gt;org.apache.axis2&lt;/groupId&gt;
&gt;                 &lt;artifactId&gt;axis2-mar-maven-plugin&lt;/artifactId&gt;
&gt;                 &lt;version&gt;1.4&lt;/version&gt;
&gt;             &lt;/plugin&gt;
&gt; 
&gt;         &lt;/plugins&gt;
&gt; 
&gt; 
&gt;     &lt;/build&gt;
&gt; 
&gt;     &lt;repositories&gt;
&gt;         &lt;repository&gt;
&gt;             &lt;id&gt;netbeans&lt;/id&gt;
&gt;             &lt;name&gt;Netbeans&lt;/name&gt;
&gt;             &lt;url&gt;http://bits.nbextras.org/maven2&lt;/url&gt;
&gt;         &lt;/repository&gt;
&gt;         &lt;repository&gt;
&gt;             &lt;id&gt;52north&lt;/id&gt;
&gt; &lt;!--            &lt;name&gt;Netbeans&lt;/name&gt; --&gt;
&gt;             &lt;url&gt;http://incubator.52north.org/maven/maven-repo/releases
&gt; &lt;/url&gt;
&gt;         &lt;/repository&gt;
&gt;         &lt;repository&gt;
&gt;             &lt;id&gt;eviware&lt;/id&gt;
&gt;             &lt;url&gt;http://www.eviware.com/repository/maven2&lt;/url&gt;
&gt;         &lt;/repository&gt;
&gt;         &lt;repository&gt;
&gt;             &lt;id&gt;jboss&lt;/id&gt;
&gt;             &lt;url&gt;http://repository.jboss.org/maven2&lt;/url&gt;
&gt;         &lt;/repository&gt;
&gt; 
&gt; 
&gt;     &lt;/repositories&gt;
&gt; 
&gt;     &lt;dependencies&gt;
&gt; 
&gt;         &lt;dependency&gt;
&gt;             &lt;groupId&gt;junit&lt;/groupId&gt;
&gt;             &lt;artifactId&gt;junit&lt;/artifactId&gt;
&gt;             &lt;version&gt;4.7&lt;/version&gt;
&gt;             &lt;scope&gt;test&lt;/scope&gt;
&gt;         &lt;/dependency&gt;
&gt; 
&gt;         &lt;dependency&gt;
&gt;             &lt;groupId&gt;org.easymock&lt;/groupId&gt;
&gt;             &lt;artifactId&gt;easymock&lt;/artifactId&gt;
&gt;             &lt;version&gt;2.5.2&lt;/version&gt;
&gt;             &lt;scope&gt;test&lt;/scope&gt;
&gt;         &lt;/dependency&gt;
&gt; 
&gt;         &lt;dependency&gt;
&gt;             &lt;groupId&gt;org.netbeans&lt;/groupId&gt;
&gt;             &lt;artifactId&gt;jemmy&lt;/artifactId&gt;
&gt;             &lt;version&gt;2.2.7.5&lt;/version&gt;
&gt;             &lt;scope&gt;test&lt;/scope&gt;
&gt;         &lt;/dependency&gt;
&gt; 
&gt;         &lt;dependency&gt;
&gt;             &lt;groupId&gt;org.swinglabs&lt;/groupId&gt;
&gt;             &lt;artifactId&gt;swing-worker&lt;/artifactId&gt;
&gt;             &lt;version&gt;1.1&lt;/version&gt;
&gt;         &lt;/dependency&gt;
&gt;         &lt;dependency&gt;
&gt;             &lt;groupId&gt;org.swinglabs&lt;/groupId&gt;
&gt;             &lt;artifactId&gt;swing-layout&lt;/artifactId&gt;
&gt;             &lt;version&gt;1.0.3&lt;/version&gt;
&gt;         &lt;/dependency&gt;
&gt;         &lt;dependency&gt;
&gt;             &lt;groupId&gt;jfree&lt;/groupId&gt;
&gt;             &lt;artifactId&gt;jcommon&lt;/artifactId&gt;
&gt;             &lt;version&gt;1.0.15&lt;/version&gt;
&gt;         &lt;/dependency&gt;
&gt;         &lt;dependency&gt;
&gt;             &lt;groupId&gt;jfree&lt;/groupId&gt;
&gt;             &lt;artifactId&gt;jfreechart&lt;/artifactId&gt;
&gt;             &lt;version&gt;1.0.13&lt;/version&gt;
&gt;         &lt;/dependency&gt;
&gt;         &lt;dependency&gt;
&gt;             &lt;groupId&gt;mysql&lt;/groupId&gt;
&gt;             &lt;artifactId&gt;mysql-connector-java&lt;/artifactId&gt;
&gt;             &lt;version&gt;5.1.10&lt;/version&gt;
&gt;         &lt;/dependency&gt;
&gt;         &lt;dependency&gt;
&gt;             &lt;groupId&gt;log4j&lt;/groupId&gt;
&gt;             &lt;artifactId&gt;log4j&lt;/artifactId&gt;
&gt;             &lt;version&gt;1.2.15&lt;/version&gt;
&gt;         &lt;/dependency&gt;
&gt;         &lt;dependency&gt;
&gt;             &lt;groupId&gt;com.toedter&lt;/groupId&gt;
&gt;             &lt;artifactId&gt;jcalendar&lt;/artifactId&gt;
&gt;             &lt;version&gt;1.3.2&lt;/version&gt;
&gt;         &lt;/dependency&gt;
&gt;         &lt;dependency&gt;
&gt;             &lt;groupId&gt;com.jgoodies&lt;/groupId&gt;
&gt;             &lt;artifactId&gt;looks&lt;/artifactId&gt;
&gt;             &lt;version&gt;2.2.2&lt;/version&gt;
&gt;         &lt;/dependency&gt;
&gt;         &lt;dependency&gt;
&gt;             &lt;groupId&gt;org.apache.rampart&lt;/groupId&gt;
&gt;             &lt;artifactId&gt;rampart-core&lt;/artifactId&gt;
&gt;             &lt;version&gt;1.4&lt;/version&gt;
&gt;         &lt;!--    &lt;exclusions&gt;
&gt;                 &lt;exclusion&gt;
&gt;                     &lt;artifactId&gt;addressing&lt;/artifactId&gt;
&gt;                     &lt;groupId&gt;org.apache.axis2&lt;/groupId&gt;
&gt;                 &lt;/exclusion&gt;
&gt;             &lt;/exclusions&gt;--&gt;
&gt;         &lt;/dependency&gt;
&gt;         &lt;dependency&gt;
&gt;             &lt;groupId&gt;org.apache.axis2&lt;/groupId&gt;
&gt;             &lt;artifactId&gt;axis2-kernel&lt;/artifactId&gt;
&gt;             &lt;version&gt;1.4.1&lt;/version&gt;
&gt;         &lt;/dependency&gt;
&gt;         &lt;dependency&gt;
&gt;             &lt;groupId&gt;jasperreports&lt;/groupId&gt;
&gt;             &lt;artifactId&gt;jasperreports&lt;/artifactId&gt;
&gt;             &lt;version&gt;3.5.3&lt;/version&gt;
&gt;         &lt;/dependency&gt;
&gt;         &lt;dependency&gt;
&gt;             &lt;groupId&gt;commons-digester&lt;/groupId&gt;
&gt;             &lt;artifactId&gt;commons-digester&lt;/artifactId&gt;
&gt;             &lt;version&gt;2.0&lt;/version&gt;
&gt;         &lt;/dependency&gt;
&gt;         &lt;dependency&gt;
&gt;             &lt;groupId&gt;jexcelapi&lt;/groupId&gt;
&gt;             &lt;artifactId&gt;jxl&lt;/artifactId&gt;
&gt;             &lt;version&gt;2.4.2&lt;/version&gt;
&gt;         &lt;/dependency&gt;
&gt;         &lt;dependency&gt;
&gt;             &lt;groupId&gt;org.tango-project&lt;/groupId&gt;
&gt;             &lt;artifactId&gt;tango-icon-theme&lt;/artifactId&gt;
&gt;             &lt;version&gt;0.8.0&lt;/version&gt;
&gt;         &lt;/dependency&gt;
&gt; 
&gt;         &lt;dependency&gt;
&gt;             &lt;groupId&gt;org.springframework&lt;/groupId&gt;
&gt;             &lt;artifactId&gt;spring&lt;/artifactId&gt;
&gt;             &lt;version&gt;2.5.6.SEC01&lt;/version&gt;
&gt;         &lt;/dependency&gt;
&gt; 
&gt;         &lt;dependency&gt;
&gt;             &lt;groupId&gt;org.netbeans.external&lt;/groupId&gt;
&gt;             &lt;artifactId&gt;AbsoluteLayout&lt;/artifactId&gt;
&gt;             &lt;version&gt;RELEASE67&lt;/version&gt;
&gt;         &lt;/dependency&gt;
&gt;     &lt;/dependencies&gt;
&gt; 
&gt;     &lt;properties&gt;
&gt;         &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
&gt;     &lt;/properties&gt;
&gt; &lt;/project&gt;
&gt; 
&gt; Thank you.
&gt; 
&gt; 
&gt; 
&gt; -- 
&gt; Jaime Hablutzel
&gt; 
&gt; (tildes omitidas intencionalmente) 9 8964 0369
 		 	   		  
_________________________________________________________________
Hotmail: Trusted email with Microsoft's powerful SPAM protection.
http://clk.atdmt.com/GBL/go/177141664/direct/01/
http://clk.atdmt.com/GBL/go/177141664/direct/01/


</pre>
</div>
</content>
</entry>
<entry>
<title>Pro</title>
<author><name>Jaime Hablutzel Egoavil &lt;hablutzel1@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-rampart-dev/200911.mbox/%3c533935030911060917r7b22e9a0h7717f2287020db88@mail.gmail.com%3e"/>
<id>urn:uuid:%3c533935030911060917r7b22e9a0h7717f2287020db88@mail-gmail-com%3e</id>
<updated>2009-11-06T17:17:16Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi, i´m trying to build a jar with dependencies included for a swing
application with an axis2 client and rampart 1.4 for Username Token
authentication, and, I´m getting the following error when trying. I think it
is related to the jar-with-dependencies maven descriptor.

&gt; mvn install


[INFO] Failed to create assembly: Error adding file-set for
'org.apache.axis2:ad
dressing:mar:1.4' to archive: Error adding archived file-set.
PlexusIoResourceCo
llection not found for:
C:\m2\repo\org\apache\axis2\addressing\1.4\addressing-1.
4.mar

No such archiver: 'mar'.

By the way, my pom is:


&lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd"&gt;
    &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
    &lt;groupId&gt;pe.gob.hndac&lt;/groupId&gt;
    &lt;artifactId&gt;epicrisis&lt;/artifactId&gt;
    &lt;packaging&gt;jar&lt;/packaging&gt;
    &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
    &lt;name&gt;ModuloEpicrisis&lt;/name&gt;
    &lt;build&gt;
        &lt;plugins&gt;
            &lt;plugin&gt;
                &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
                &lt;version&gt;2.0.2&lt;/version&gt;
                &lt;configuration&gt;
                    &lt;source&gt;1.6&lt;/source&gt;
                    &lt;target&gt;1.6&lt;/target&gt;
                    &lt;encoding&gt;UTF-8&lt;/encoding&gt;
                &lt;/configuration&gt;
            &lt;/plugin&gt;


            &lt;plugin&gt;
                &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                &lt;artifactId&gt;maven-source-plugin&lt;/artifactId&gt;
                &lt;executions&gt;
                    &lt;execution&gt;
                        &lt;phase&gt;package&lt;/phase&gt;
                        &lt;goals&gt;
                            &lt;goal&gt;jar&lt;/goal&gt;
                        &lt;/goals&gt;
                    &lt;/execution&gt;
                &lt;/executions&gt;
            &lt;/plugin&gt;


            &lt;plugin&gt;
                &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                &lt;artifactId&gt;maven-jar-plugin&lt;/artifactId&gt;
                &lt;configuration&gt;
                    &lt;archive&gt;
                        &lt;manifest&gt;
                            &lt;addClasspath&gt;true&lt;/addClasspath&gt;

&lt;mainClass&gt;Epicrisis.FrameInicioSesion&lt;/mainClass&gt;
                        &lt;/manifest&gt;
                    &lt;/archive&gt;
                &lt;/configuration&gt;
            &lt;/plugin&gt;



            &lt;plugin&gt;
                &lt;artifactId&gt;maven-assembly-plugin&lt;/artifactId&gt;
                &lt;configuration&gt;
                    &lt;descriptorRefs&gt;
                        &lt;descriptorRef&gt;jar-with-dependencies&lt;/descriptorRef&gt;
                    &lt;/descriptorRefs&gt;
                    &lt;archive&gt;
                        &lt;manifest&gt;

&lt;mainClass&gt;Epicrisis.FrameInicioSesion&lt;/mainClass&gt;
                        &lt;/manifest&gt;
                    &lt;/archive&gt;
                &lt;/configuration&gt;
                &lt;executions&gt;
                    &lt;execution&gt;
                        &lt;id&gt;make-assembly&lt;/id&gt;
                        &lt;phase&gt;package&lt;/phase&gt;
                        &lt;goals&gt;
                            &lt;goal&gt;attached&lt;/goal&gt;
                        &lt;/goals&gt;
                    &lt;/execution&gt;
                &lt;/executions&gt;
            &lt;/plugin&gt;

            &lt;plugin&gt;
                &lt;groupId&gt;org.apache.axis2&lt;/groupId&gt;
                &lt;artifactId&gt;axis2-mar-maven-plugin&lt;/artifactId&gt;
                &lt;version&gt;1.4&lt;/version&gt;
            &lt;/plugin&gt;

        &lt;/plugins&gt;


    &lt;/build&gt;

    &lt;repositories&gt;
        &lt;repository&gt;
            &lt;id&gt;netbeans&lt;/id&gt;
            &lt;name&gt;Netbeans&lt;/name&gt;
            &lt;url&gt;http://bits.nbextras.org/maven2&lt;/url&gt;
        &lt;/repository&gt;
        &lt;repository&gt;
            &lt;id&gt;52north&lt;/id&gt;
&lt;!--            &lt;name&gt;Netbeans&lt;/name&gt; --&gt;
            &lt;url&gt;http://incubator.52north.org/maven/maven-repo/releases
&lt;/url&gt;
        &lt;/repository&gt;
        &lt;repository&gt;
            &lt;id&gt;eviware&lt;/id&gt;
            &lt;url&gt;http://www.eviware.com/repository/maven2&lt;/url&gt;
        &lt;/repository&gt;
        &lt;repository&gt;
            &lt;id&gt;jboss&lt;/id&gt;
            &lt;url&gt;http://repository.jboss.org/maven2&lt;/url&gt;
        &lt;/repository&gt;


    &lt;/repositories&gt;

    &lt;dependencies&gt;

        &lt;dependency&gt;
            &lt;groupId&gt;junit&lt;/groupId&gt;
            &lt;artifactId&gt;junit&lt;/artifactId&gt;
            &lt;version&gt;4.7&lt;/version&gt;
            &lt;scope&gt;test&lt;/scope&gt;
        &lt;/dependency&gt;

        &lt;dependency&gt;
            &lt;groupId&gt;org.easymock&lt;/groupId&gt;
            &lt;artifactId&gt;easymock&lt;/artifactId&gt;
            &lt;version&gt;2.5.2&lt;/version&gt;
            &lt;scope&gt;test&lt;/scope&gt;
        &lt;/dependency&gt;

        &lt;dependency&gt;
            &lt;groupId&gt;org.netbeans&lt;/groupId&gt;
            &lt;artifactId&gt;jemmy&lt;/artifactId&gt;
            &lt;version&gt;2.2.7.5&lt;/version&gt;
            &lt;scope&gt;test&lt;/scope&gt;
        &lt;/dependency&gt;

        &lt;dependency&gt;
            &lt;groupId&gt;org.swinglabs&lt;/groupId&gt;
            &lt;artifactId&gt;swing-worker&lt;/artifactId&gt;
            &lt;version&gt;1.1&lt;/version&gt;
        &lt;/dependency&gt;
        &lt;dependency&gt;
            &lt;groupId&gt;org.swinglabs&lt;/groupId&gt;
            &lt;artifactId&gt;swing-layout&lt;/artifactId&gt;
            &lt;version&gt;1.0.3&lt;/version&gt;
        &lt;/dependency&gt;
        &lt;dependency&gt;
            &lt;groupId&gt;jfree&lt;/groupId&gt;
            &lt;artifactId&gt;jcommon&lt;/artifactId&gt;
            &lt;version&gt;1.0.15&lt;/version&gt;
        &lt;/dependency&gt;
        &lt;dependency&gt;
            &lt;groupId&gt;jfree&lt;/groupId&gt;
            &lt;artifactId&gt;jfreechart&lt;/artifactId&gt;
            &lt;version&gt;1.0.13&lt;/version&gt;
        &lt;/dependency&gt;
        &lt;dependency&gt;
            &lt;groupId&gt;mysql&lt;/groupId&gt;
            &lt;artifactId&gt;mysql-connector-java&lt;/artifactId&gt;
            &lt;version&gt;5.1.10&lt;/version&gt;
        &lt;/dependency&gt;
        &lt;dependency&gt;
            &lt;groupId&gt;log4j&lt;/groupId&gt;
            &lt;artifactId&gt;log4j&lt;/artifactId&gt;
            &lt;version&gt;1.2.15&lt;/version&gt;
        &lt;/dependency&gt;
        &lt;dependency&gt;
            &lt;groupId&gt;com.toedter&lt;/groupId&gt;
            &lt;artifactId&gt;jcalendar&lt;/artifactId&gt;
            &lt;version&gt;1.3.2&lt;/version&gt;
        &lt;/dependency&gt;
        &lt;dependency&gt;
            &lt;groupId&gt;com.jgoodies&lt;/groupId&gt;
            &lt;artifactId&gt;looks&lt;/artifactId&gt;
            &lt;version&gt;2.2.2&lt;/version&gt;
        &lt;/dependency&gt;
        &lt;dependency&gt;
            &lt;groupId&gt;org.apache.rampart&lt;/groupId&gt;
            &lt;artifactId&gt;rampart-core&lt;/artifactId&gt;
            &lt;version&gt;1.4&lt;/version&gt;
        &lt;!--    &lt;exclusions&gt;
                &lt;exclusion&gt;
                    &lt;artifactId&gt;addressing&lt;/artifactId&gt;
                    &lt;groupId&gt;org.apache.axis2&lt;/groupId&gt;
                &lt;/exclusion&gt;
            &lt;/exclusions&gt;--&gt;
        &lt;/dependency&gt;
        &lt;dependency&gt;
            &lt;groupId&gt;org.apache.axis2&lt;/groupId&gt;
            &lt;artifactId&gt;axis2-kernel&lt;/artifactId&gt;
            &lt;version&gt;1.4.1&lt;/version&gt;
        &lt;/dependency&gt;
        &lt;dependency&gt;
            &lt;groupId&gt;jasperreports&lt;/groupId&gt;
            &lt;artifactId&gt;jasperreports&lt;/artifactId&gt;
            &lt;version&gt;3.5.3&lt;/version&gt;
        &lt;/dependency&gt;
        &lt;dependency&gt;
            &lt;groupId&gt;commons-digester&lt;/groupId&gt;
            &lt;artifactId&gt;commons-digester&lt;/artifactId&gt;
            &lt;version&gt;2.0&lt;/version&gt;
        &lt;/dependency&gt;
        &lt;dependency&gt;
            &lt;groupId&gt;jexcelapi&lt;/groupId&gt;
            &lt;artifactId&gt;jxl&lt;/artifactId&gt;
            &lt;version&gt;2.4.2&lt;/version&gt;
        &lt;/dependency&gt;
        &lt;dependency&gt;
            &lt;groupId&gt;org.tango-project&lt;/groupId&gt;
            &lt;artifactId&gt;tango-icon-theme&lt;/artifactId&gt;
            &lt;version&gt;0.8.0&lt;/version&gt;
        &lt;/dependency&gt;

        &lt;dependency&gt;
            &lt;groupId&gt;org.springframework&lt;/groupId&gt;
            &lt;artifactId&gt;spring&lt;/artifactId&gt;
            &lt;version&gt;2.5.6.SEC01&lt;/version&gt;
        &lt;/dependency&gt;

        &lt;dependency&gt;
            &lt;groupId&gt;org.netbeans.external&lt;/groupId&gt;
            &lt;artifactId&gt;AbsoluteLayout&lt;/artifactId&gt;
            &lt;version&gt;RELEASE67&lt;/version&gt;
        &lt;/dependency&gt;
    &lt;/dependencies&gt;

    &lt;properties&gt;
        &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
    &lt;/properties&gt;
&lt;/project&gt;

Thank you.



-- 
Jaime Hablutzel

(tildes omitidas intencionalmente) 9 8964 0369


</pre>
</div>
</content>
</entry>
<entry>
<title>svn commit: r833286 - /webservices/rampart/site/java/download/1.4/download.html</title>
<author><name>nandana@apache.org</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-rampart-dev/200911.mbox/%3c20091106025512.EB56D23888D1@eris.apache.org%3e"/>
<id>urn:uuid:%3c20091106025512-EB56D23888D1@eris-apache-org%3e</id>
<updated>2009-11-06T02:55:12Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Author: nandana
Date: Fri Nov  6 02:55:12 2009
New Revision: 833286

URL: http://svn.apache.org/viewvc?rev=833286&amp;view=rev
Log:
fixing the download link temporarily until the next release which will happen soon

Modified:
    webservices/rampart/site/java/download/1.4/download.html

Modified: webservices/rampart/site/java/download/1.4/download.html
URL: http://svn.apache.org/viewvc/webservices/rampart/site/java/download/1.4/download.html?rev=833286&amp;r1=833285&amp;r2=833286&amp;view=diff
==============================================================================
--- webservices/rampart/site/java/download/1.4/download.html (original)
+++ webservices/rampart/site/java/download/1.4/download.html Fri Nov  6 02:55:12 2009
@@ -192,7 +192,7 @@
 Distribution&lt;/strong&gt;&lt;/td&gt;
 &lt;td&gt;This is the complete version of Apache Rampart and will contain samples
 as well.&lt;/td&gt;
-&lt;td&gt;&lt;a href="[preferred]/ws/rampart/1_4/rampart-dist-1.4-bin.zip"&gt;zip&lt;/a&gt;
+&lt;td&gt;&lt;a href="http://www.apache.org/dist/ws/rampart/1_4/rampart-dist-1.4-bin.zip"&gt;zip&lt;/a&gt;
 &lt;a href="http://www.apache.org/dist/ws/rampart/1_4/rampart-dist-1.4-bin.zip.md5"&gt;MD5&lt;/a&gt;
 &lt;a href="http://www.apache.org/dist/ws/rampart/1_4/rampart-dist-1.4-bin.zip.asc"&gt;PGP&lt;/a&gt;&lt;/td&gt;
 &lt;/tr&gt;
@@ -200,41 +200,21 @@
 &lt;td&gt;&lt;a name="src"&gt;&lt;/a&gt; &lt;strong&gt;Source
 Distribution&lt;/strong&gt;&lt;/td&gt;
 &lt;td&gt;This will contain the sources of Apache Rampart distribution.&lt;/td&gt;
-&lt;td&gt;&lt;a href="[preferred]/ws/rampart/1_4/rampart-dist-1.4-src.zip"&gt;zip&lt;/a&gt;
+&lt;td&gt;&lt;a href="http://www.apache.org/dist/ws/rampart/1_4/rampart-dist-1.4-src.zip"&gt;zip&lt;/a&gt;
 &lt;a href="http://www.apache.org/dist/ws/rampart/1_4/rampart-dist-1.4-src.zip.md5"&gt;MD5&lt;/a&gt;
 &lt;a href="http://www.apache.org/dist/ws/rampart/1_4/rampart-dist-1.4-src.zip.asc"&gt;PGP&lt;/a&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr class="b"&gt;
 &lt;td&gt;&lt;strong&gt;Documents Distribution&lt;/strong&gt;&lt;/td&gt;
 &lt;td&gt;This will contain all the documentation in one package.&lt;/td&gt;
-&lt;td&gt;&lt;a href="[preferred]/ws/rampart/1_4/rampart-docs-1.4.zip"&gt;zip&lt;/a&gt;
+&lt;td&gt;&lt;a href="http://www.apache.org/dist/ws/rampart/1_4/rampart-docs-1.4.zip"&gt;zip&lt;/a&gt;
 &lt;a href="http://www.apache.org/dist/ws/rampart/1_4/rampart-docs-1.4.zip.md5"&gt;MD5&lt;/a&gt;
 &lt;a href="http://www.apache.org/dist/ws/rampart/1_4/rampart-docs-1.4.zip.asc"&gt;PGP&lt;/a&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
 &lt;/table&gt;
 &lt;/div&gt;&lt;div align="left"&gt;&lt;br /&gt;
-&lt;p&gt;[if-any logo] &lt;a href="[link]"&gt;&lt;img src="[logo]" /&gt;&lt;/a&gt;
-[end] The currently selected mirror is
-&lt;b&gt;[preferred]&lt;/b&gt;
-. If you encounter a problem with this mirror,
-please select another mirror. If all mirrors are failing, there are
-&lt;i&gt;backup&lt;/i&gt;
- mirrors (at the end of the mirrors list) that should
-be available.&lt;/p&gt;
-&lt;form action="[location]" method="get" id="SelectMirror" name="SelectMirror"&gt;
-Other mirrors: &lt;select name="Preferred"&gt;
-[if-any http]
-	[for http]&lt;option value="[http]"&gt;[http]&lt;/option&gt;[end]
-[end]
-[if-any ftp]
-	[for ftp]&lt;option value="[ftp]"&gt;[ftp]&lt;/option&gt;[end]
-[end]
-[if-any backup]
-	[for backup]&lt;option value="[backup]"&gt;[backup] (backup)&lt;/option&gt;[end]
-[end]
-&lt;/select&gt;&lt;input type="submit" value="Change"&gt;&lt;/form&gt;&lt;p&gt;You may also
consult the &lt;a class="externalLink" href="http://www.apache.org/mirrors/"&gt;complete list
of mirrors&lt;/a&gt;
-.&lt;/p&gt;
+
 &lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; when downloading from a mirror please
 check the &lt;a class="externalLink" href="http://www.apache.org/dev/release-signing#md5"&gt;md5sum&lt;/a&gt;
  and
@@ -273,4 +253,4 @@
       &lt;/div&gt;
     &lt;/div&gt;
   &lt;/body&gt;
-&lt;/html&gt;
+&lt;/html&gt;
\ No newline at end of file




</pre>
</div>
</content>
</entry>
<entry>
<title>TokenStorage issue</title>
<author><name>Francesco Stampacchia &lt;stampacchiafrancesco@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-rampart-dev/200911.mbox/%3c883726f30911040351l7ade02fbm6e248bb17f6348f@mail.gmail.com%3e"/>
<id>urn:uuid:%3c883726f30911040351l7ade02fbm6e248bb17f6348f@mail-gmail-com%3e</id>
<updated>2009-11-04T11:51:36Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hello everyone,

Still on identity management I'm finding another issue on the token storage.

In details when I add my responseToken to the store using:

      TokenStorage store = TrustUtil.getTokenStore(ctx);
      store.add(responseToken);

And I dump in order the tokens list and the valid tokens list, my token
figures only in the tokens list and not in the valid one.
How can I make my token appear in that list?

I think that as a result of this issue I'm not able to verify my token
through the send receive towards my trusted EPR, using:

      options.setProperty(RampartMessageData.KEY_CUSTOM_ISSUED_TOKEN,
responseToken.getId());

Thus obtaining the following exception:

[2009-11-04 12:22:14,966] ERROR â€“ Referenced security token could not be
retrieved (Reference â€œ#urn:uuid:C8926E6973FAD8DB361257333746854â€³)
org.apache.axis2.AxisFault: Referenced security token could not be retrieved
(Reference â€œ#urn:uuid:C8926E6973FAD8DB361257333746854â€³)
at
org.apache.rampart.handler.RampartReceiver.setFaultCodeAndThrowAxisFault(RampartReceiver.java:172)
at
org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:95)
at org.apache.axis2.engine.Phase.invoke(Phase.java:318)
at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:256)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:165)
at
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:167)
at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:142)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:67)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.wso2.carbon.bridge.BridgeServlet.service(BridgeServlet.java:135)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
at java.lang.Thread.run(Thread.java:637)
Caused by: org.apache.ws.security.WSSecurityException: Referenced security
token could not be retrieved (Reference
â€œ#urn:uuid:C8926E6973FAD8DB361257333746854â€³)
at
org.apache.ws.security.message.token.SecurityTokenReference.getTokenElement(SecurityTokenReference.java:217)
at
org.apache.ws.security.processor.SignatureProcessor.verifyXMLSignature(SignatureProcessor.java:244)
at
org.apache.ws.security.processor.SignatureProcessor.handleToken(SignatureProcessor.java:99)
at
org.apache.ws.security.WSSecurityEngine.processSecurityHeader(WSSecurityEngine.java:329)
at
org.apache.ws.security.WSSecurityEngine.processSecurityHeader(WSSecurityEngine.java:246)
at org.apache.rampart.RampartEngine.process(RampartEngine.java:144)
at
org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:92)
â€¦ 27 more
SecurityManagerException: Unable to obtain the security token from local
STS!
at SecurityManagerServer.getToken(SecurityManagerServer.java:985)
at SecurityManagerServer.getEncodedReqRep(SecurityManagerServer.java:359)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.axis2.receivers.RawXMLINOutMessageReceiver.invokeBusinessLogic(RawXMLINOutMessageReceiver.java:97)
at
org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.invokeBusinessLogic(AbstractInOutSyncMessageReceiver.java:42)
at
org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:114)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:178)
at
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:167)
at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:142)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:67)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.wso2.carbon.bridge.BridgeServlet.service(BridgeServlet.java:135)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
at java.lang.Thread.run(Thread.java:637)
Caused by: org.apache.axis2.AxisFault: Referenced security token could not
be retrieved (Reference â€œ#urn:uuid:C8926E6973FAD8DB361257333746854â€³)
at
org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:518)
at
org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:371)
at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:417)
at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:549)
at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:525)
at SecurityManagerServer.getToken(SecurityManagerServer.java:980)
â€¦ 33 more

Thanks in advance for your help!

-- 
Francesco Stampacchia


</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Commented: (RAMPART-261) Ability to Toggle &quot;mustUnderstand&quot; flag in security header.</title>
<author><name>&quot;vishnu (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-rampart-dev/200911.mbox/%3c877537546.1257195299922.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c877537546-1257195299922-JavaMail-jira@brutus%3e</id>
<updated>2009-11-02T20:54:59Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

    [ https://issues.apache.org/jira/browse/RAMPART-261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12772683#action_12772683
] 

vishnu commented on RAMPART-261:
--------------------------------

I am also running into same problem. It would be great if this feature could be implemented
in up coming versions. 

&gt; Ability to Toggle "mustUnderstand" flag in security header.
&gt; -----------------------------------------------------------
&gt;
&gt;                 Key: RAMPART-261
&gt;                 URL: https://issues.apache.org/jira/browse/RAMPART-261
&gt;             Project: Rampart
&gt;          Issue Type: New Feature
&gt;          Components: rampart-core
&gt;    Affects Versions: 1.4
&gt;            Reporter: Earl D. Baugh Jr.
&gt;            Assignee: Ruchith Udayanga Fernando
&gt;            Priority: Minor
&gt;
&gt; In dealing with a major telcom, I discovered that it's not possible to turn off the mustUnderstand
security header attribute.
&gt; This causes issues in that ALL of their web services run thru a "proxy" which understands
security, but their back end services do NOT.
&gt; Because of this, all messages that are sent to them must either not have the mustUnderstand
attribute, or have it set to "0" or "false", or they simply fail with security violations.
  I've checked to see if actor/next would solve the problem, but the only way to get calls
to work is to allow for this to be disabled.
&gt; I've inquired to them about changing this behavior, and they have no plans nor intentions
(from what I've been able to ascertain) of changing their architecture and moving to something
that either strips off the security headers or can properly handle this setting.   Additionally
their responses do not have a SOAP header.  That, thankfully I can currently handle with the
axis2 ability to set KEY_RAMPART_OUT_POLICY.   They apparently have numerous clients who can
handle this, but I was not able to get any info as to what technology they're using.  (the
previous version here at my employer had a "very" customized / hacked set of axis1 code that
added and monkeyed with various attributes).  
&gt; Since  RAMPART does not get the options from Axis2  to handle the setting of  ServiceClient
options setProperty( WSDL2Constants.ATTRIBUTE_MUST_UNDERSTAND, "0" ), and can't be configured
with the existing flow to sign but not set this value, I've been stuck.
&gt; (signing causes a hard coded "true" to be set for this attribute)
&gt; I would like to suggest / recommend adding some form of option to allow for signing,
but not require the mustUnderstand attribute to be set.
&gt; I have made a change to my local code and have a solution that works.  
&gt; In RampartMessageData.java, after line 358 :   if(this.sender &amp;&amp; this.policyData
!= null) {
&gt; a check that would call : secHeader.setMustUnderstand(false)  
&gt; when the option is set would solve this problem, and allow per call control of this behavior.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Created: (RAMPART-268) Client sending a Security Header in Request expects security header in response and errors out</title>
<author><name>&quot;vishnu (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-rampart-dev/200910.mbox/%3c1372232885.1256932559467.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c1372232885-1256932559467-JavaMail-jira@brutus%3e</id>
<updated>2009-10-30T19:55:59Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Client sending a Security Header in Request expects security header in response and errors
out
----------------------------------------------------------------------------------------------

                 Key: RAMPART-268
                 URL: https://issues.apache.org/jira/browse/RAMPART-268
             Project: Rampart
          Issue Type: Question
    Affects Versions: 1.4
         Environment: Windows, Intel Core, Axis2 1.4.1 and Rampart 1.4 
            Reporter: vishnu
            Assignee: Ruchith Udayanga Fernando
             Fix For: 1.4


I am trying to run sample -03 in Policy . My client sends a request to third party Service
with Body and Timestamp signed and when monitored in TcpMon it shows request and response
but when triggered directly from Client throws an exception 

Any help on this is highly appreciated.

Please find attached the stacktrace

 [java] Exception in thread "main" org.apache.axis2.AxisFault: Missing wsse:Security header
in request
 [java]     at org.apache.rampart.handler.RampartReceiver.setFaultCodeAndThrowAxisFault(RampartReceiver.java:166)
 [java]     at org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:99)
 [java]     at org.apache.axis2.engine.Phase.invoke(Phase.java:318)
 [java]     at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:251)
 [java]     at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:160)
 [java]     at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:364)
 [java]     at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:417)
 [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:539)
 [java]     at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:520)
 [java]     at org.apache.rampart.samples.policy.sample03.Client.main(Unknown Source)
 [java] Caused by: org.apache.rampart.RampartException: Missing wsse:Security header in request
 [java]     at org.apache.rampart.RampartEngine.process(RampartEngine.java:117)
 [java]     at org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:92)
 [java]     ... 10 more



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



</pre>
</div>
</content>
</entry>
</feed>
