Please run a "maven clean jar" before you do maven dist-std-bin

Sorry I should have mentioned that in the steps earlier. :-)

Thanks,
Ruchith

On 3/23/06, Ali Sadik Kumlali <[EMAIL PROTECTED]> wrote:
> Thank you very much Ruchith.
>
> I get following error for "maven dist-std-bin" (Using JDK 1.4.2_08)
>
> ...
> truetruetruetruetruetruetruetruetruetruetrue    [copy]
> Copying 2 files to D:\myd
> ocuments\programming\java\mywork\axis2_java\target\temp\cache\std
>
> dist-std-bin:
>     [echo] +----------------------------------------------
>     [echo] | Creating: Axis2 Standard Binary Distribution
>     [echo] +----------------------------------------------
>     [mkdir] Created dir:
> D:\mydocuments\programming\java\mywork\axis2_java\targe
> t\temp\std\bin\lib
>     [mkdir] Created dir:
> D:\mydocuments\programming\java\mywork\axis2_java\targe
> t\temp\std\bin\bin
>     [mkdir] Created dir:
> D:\mydocuments\programming\java\mywork\axis2_java\targe
> t\temp\std\bin\modules
>     [mkdir] Created dir:
> D:\mydocuments\programming\java\mywork\axis2_java\targe
> t\temp\std\bin\samples
>     [copy] Copying 8 files to
> D:\mydocuments\programming\java\mywork\axis2_java\
> target\temp\std\bin\bin
>     [copy] Copying 43 files to
> D:\mydocuments\programming\java\mywork\axis2_java
> \target\temp\std\bin\lib
>     [echo] Deleting Unwanted testing jars
>     [delete] Deleting 3 files from
> D:\mydocuments\programming\java\mywork\axis2_
> java\target\temp\std\bin\lib
>
> BUILD FAILED
> File......
> D:\mydocuments\programming\java\mywork\axis2_java\maven.xml
> Element... jar
> Line...... 607
> Column.... -1
> D:\mydocuments\programming\java\mywork\axis2_java\modules\core\target\classes
> no
> t found.
> Total time   : 1 minutes 23 seconds
> Finished at  : 23 Mart 2006 Persembe 12:03:47 EET
>
>
> Ruchith Fernando <[EMAIL PROTECTED]> wrote:
>
>  Some tips when you are trying to run the security sample with the SVN head:
>
> - build the following distribution artifacts using the maven build
>  - dist-std-bin
>  - war
> - deploy the war
> - follow the instructions in the README.txt file available in the
> samples/security directory in the dist-std-bin.zip
>
> Also if you are using JDK 1.5 please make sure you include xalan.jar
> in the client's classpath and the axis2/WEB-INF/lib in tomcat (if u
> are using tomcat) and add the JCE provider as well according to the
> ax is2 faq [1]
>
>
> Thanks,
> Ruchith
>
> [1] http://ws.apache.org/axis2/faq.html
>
> On 3/23/06, Ruchith Fernando wrote:
> > Hi,
> >
> > The security sample was updated yesterday to rectify this issue ...
> > are you trying with the latest SVN?
> >
> > Thanks,
> > Ruchith
> >
> > On 3/23/06, Ali Sadik Kumlali wrote:
> > > Hi all,
> > >
> > > Since I'm told that security sample problems shown in 0.94 would be
> fixed in
> > > 0.95, I checked out the latest source from SVN and ran the Maven.
> > >
> > > Although I had many problems such as SVN checkout failure, Maven build,
> > > etc., I could finally manage to have jar and mar files.
> > >
> > > I ran security sample and got the following error:
> > >
> > > ----------------
> > > securitySample:
> > > [java] org.apache.axis2.AxisFault: WSHandler: Signature: error during
> > > messa
> > > ge procesingorg.apache.ws.security.WSSecurityException:
> > > General security error (
> > > WSEncryptBody/WSSignEnvelope: Element to encrypt/sign not found:
> > > http://www.w3.o
> > > rg/2005/08/addressing, To); nested exception is:
> > > [java] org.apache.ws.security.WSSecurityException:
> > > WSHandler: Signature
> > > : error during message
> > > procesingorg.apache.ws.security.WSSecurityException:
> Gene
> > > ral security error (WSEncryptBody/WSSignEnvelope : Element to
> encrypt/sign
> > > not fo
> > > und: http://www.w3.org/2005/08/addressing, To)
> > > [java] at
> > >
> org.apache.axis2.security.WSDoAllSender.invoke(WSDoAllSender.
> > > java:253)
> > >
> > > ...
> > > --------------
> > >
> > > It seemed that security module started before addressing and thus there
> were
> > > no addressing related tags in soap header. I, then, commented
> > > ref="security"/> out and ran the sample again. This time it directly
> > > established a connection to the server without a console log that says
> > > "[java] - Deploying module : addressing". Consequently, I thought there
> was
> > > a problem related to the loading or executing of addressing module. Or I
> did
> > > something wrong :(
> > >
> > > Does anybody have the same problem?
> > >
> > > Thanks a lot,
> > >
> > > Ali Sadik Kumlali
> > >
> > >
> > > ________________________________
> > > Blab-away for as little as 1�/min. Make PC-to-Phone Calls using Yahoo!
> > > Messenger with Voice.
> > >
> > >
> >
>
>
>
>  ________________________________
> Blab-away for as little as 1¢/min. Make PC-to-Phone Calls using Yahoo!
> Messenger with Voice.
>
>

Reply via email to