axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ali Sadik Kumlali <as_kuml...@yahoo.com>
Subject Re: [Axis2] - 0.95 - Couldn't get security sample to work
Date Thu, 23 Mar 2006 11:42:01 GMT
Again quick answer! Thank you Ruchith. When I ran "maven clean jar", I got the following error.
I had the same error yesterday.

Thanks a lot,

Ali Sadik Kumlali

-----------------------------------
...
is2_java\modules\integration\test-resources\SOAP12Testing\SOAP12TestServiceC\bui
ld\classes
    [copy] Copying 1 file to D:\mydocuments\programming\java\mywork\axis2_java\m
odules\integration\test-resources\SOAP12Testing\SOAP12TestServiceC\build\classes
\META-INF
    [jar] Building jar: D:\mydocuments\programming\java\mywork\axis2_java\module
s\integration\target\Repository\services\SOAP12TestServiceC.jar
    [delete] Deleting directory D:\mydocuments\programming\java\mywork\axis2_jav
a\modules\integration\test-resources\SOAP12Testing\SOAP12TestServiceC\build

test:test:
    [junit] Running org.apache.axis2.async.AsyncServiceTest
    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 1,781 sec
    [junit] [ERROR] Test org.apache.axis2.async.AsyncServiceTest FAILED
    [junit] Running org.apache.axis2.engine.AxisServiceBuilderTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1,297 sec
    [junit] Running org.apache.axis2.engine.CallUnregisteredServiceTest
    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 2,078 sec
    [junit] [ERROR] Test org.apache.axis2.engine.CallUnregisteredServiceTest FAI
LED
    [junit] Running org.apache.axis2.engine.CharactersetEncodingTest
    [junit] Tests run: 11, Failures: 0, Errors: 11, Time elapsed: 1,891 sec
    [junit] [ERROR] Test org.apache.axis2.engine.CharactersetEncodingTest FAILED

    [junit] Running org.apache.axis2.engine.CommonsHTTPEchoRawXMLTest
    [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 1,609 sec
    [junit] [ERROR] Test org.apache.axis2.engine.CommonsHTTPEchoRawXMLTest FAILE
D
    [junit] Running org.apache.axis2.engine.EchoRawRuntimeProxyTest
    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 1,828 sec
    [junit] [ERROR] Test org.apache.axis2.engine.EchoRawRuntimeProxyTest FAILED
    [junit] Running org.apache.axis2.engine.EchoRawXMLChunkedTest
    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 1,704 sec
    [junit] [ERROR] Test org.apache.axis2.engine.EchoRawXMLChunkedTest FAILED
    [junit] Running org.apache.axis2.engine.EchoRawXMLLoadTest
    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 1,922 sec
    [junit] [ERROR] Test org.apache.axis2.engine.EchoRawXMLLoadTest FAILED
    [junit] Running org.apache.axis2.engine.EchoRawXMLMultipleTest
    [junit] Tests run: 4, Failures: 0, Errors: 4, Time elapsed: 1,719 sec
    [junit] [ERROR] Test org.apache.axis2.engine.EchoRawXMLMultipleTest FAILED
    [junit] Running org.apache.axis2.engine.EchoRawXMLOnTwoChannelsSyncTest
    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 1,844 sec
    [junit] [ERROR] Test org.apache.axis2.engine.EchoRawXMLOnTwoChannelsSyncTest
 FAILED
    [junit] Running org.apache.axis2.engine.EchoRawXMLOnTwoChannelsTest
    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 1,563 sec
    [junit] [ERROR] Test org.apache.axis2.engine.EchoRawXMLOnTwoChannelsTest FAI
LED
    [junit] Running org.apache.axis2.engine.EchoRawXMLTest
    [junit] Tests run: 4, Failures: 0, Errors: 4, Time elapsed: 1,718 sec
    [junit] [ERROR] Test org.apache.axis2.engine.EchoRawXMLTest FAILED
    [junit] Running org.apache.axis2.engine.FaultHandlingTest
    [junit] Tests run: 3, Failures: 0, Errors: 3, Time elapsed: 1,937 sec
    [junit] [ERROR] Test org.apache.axis2.engine.FaultHandlingTest FAILED
    [junit] Running org.apache.axis2.engine.HandlerFailureTest
    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 1,703 sec
    [junit] [ERROR] Test org.apache.axis2.engine.HandlerFailureTest FAILED
    [junit] Running org.apache.axis2.engine.MessageContextInjectionTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2,094 sec
    [junit] Running org.apache.axis2.engine.MessageWithServerTest
    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 1,563 sec
    [junit] [ERROR] Test org.apache.axis2.engine.MessageWithServerTest FAILED
    [junit] Running org.apache.axis2.engine.OneWayRawXMLTest
    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 1,829 sec
    [junit] [ERROR] Test org.apache.axis2.engine.OneWayRawXMLTest FAILED
    [junit] Running org.apache.axis2.engine.SOAPversionTest
    [junit] Tests run: 3, Failures: 0, Errors: 3, Time elapsed: 1,938 sec
    [junit] [ERROR] Test org.apache.axis2.engine.SOAPversionTest FAILED
    [junit] Running org.apache.axis2.engine.ServiceCreateTest
    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 2,359 sec
    [junit] [ERROR] Test org.apache.axis2.engine.ServiceCreateTest FAILED
    [junit] Running org.apache.axis2.engine.ServiceDispatchingTest
    [junit] Tests run: 3, Failures: 0, Errors: 3, Time elapsed: 1,953 sec
    [junit] [ERROR] Test org.apache.axis2.engine.ServiceDispatchingTest FAILED
    [junit] Running org.apache.axis2.engine.ServiceGroupContextTest
    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 1,547 sec
    [junit] [ERROR] Test org.apache.axis2.engine.ServiceGroupContextTest FAILED
    [junit] Running org.apache.axis2.engine.ThreadingTest
    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 1,562 sec
    [junit] [ERROR] Test org.apache.axis2.engine.ThreadingTest FAILED
    [junit] Running org.apache.axis2.engine.WSDLClientTest
    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 1,938 sec
    [junit] [ERROR] Test org.apache.axis2.engine.WSDLClientTest FAILED
    [junit] Running org.apache.axis2.groovy.GroovyServiceTest
    [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 2,766 sec
    [junit] [ERROR] Test org.apache.axis2.groovy.GroovyServiceTest FAILED
    [junit] Running org.apache.axis2.integration.EchoTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0,625 sec
    [junit] Running org.apache.axis2.mtom.EchoRawMTOMCommonsChunkingTest
    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 1,765 sec
    [junit] [ERROR] Test org.apache.axis2.mtom.EchoRawMTOMCommonsChunkingTest FA
ILED
    [junit] Running org.apache.axis2.mtom.EchoRawMTOMFaultReportTest
    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 1,422 sec
    [junit] [ERROR] Test org.apache.axis2.mtom.EchoRawMTOMFaultReportTest FAILED

    [junit] Running org.apache.axis2.mtom.EchoRawMTOMFileCacheLoadTest
    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 1,5 sec
    [junit] [ERROR] Test org.apache.axis2.mtom.EchoRawMTOMFileCacheLoadTest FAIL
ED
    [junit] Running org.apache.axis2.mtom.EchoRawMTOMFileCacheTest
    [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 1,454 sec
    [junit] [ERROR] Test org.apache.axis2.mtom.EchoRawMTOMFileCacheTest FAILED
    [junit] Running org.apache.axis2.mtom.EchoRawMTOMLoadTest
    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 1,734 sec
    [junit] [ERROR] Test org.apache.axis2.mtom.EchoRawMTOMLoadTest FAILED
    [junit] Running org.apache.axis2.mtom.EchoRawMTOMTest
    [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 1,828 sec
    [junit] [ERROR] Test org.apache.axis2.mtom.EchoRawMTOMTest FAILED
    [junit] Running org.apache.axis2.mtom.EchoRawMTOMToBase64Test
    [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 1,593 sec
    [junit] [ERROR] Test org.apache.axis2.mtom.EchoRawMTOMToBase64Test FAILED
    [junit] Running org.apache.axis2.om.OMAttributeTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1,734 sec
    [junit] Running org.apache.axis2.processingModel.SoapProcessingModelTest
    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 1,891 sec
    [junit] [ERROR] Test org.apache.axis2.processingModel.SoapProcessingModelTes
t FAILED
    [junit] Running org.apache.axis2.rpc.MultirefTest
    [junit] Tests run: 9, Failures: 0, Errors: 9, Time elapsed: 1,953 sec
    [junit] [ERROR] Test org.apache.axis2.rpc.MultirefTest FAILED
    [junit] Running org.apache.axis2.rpc.RPCCallTest
    [junit] Tests run: 21, Failures: 0, Errors: 21, Time elapsed: 2,5 sec
    [junit] [ERROR] Test org.apache.axis2.rpc.RPCCallTest FAILED
    [junit] Running org.apache.axis2.security.AddressingMTOMSecurityTest
    [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 3,672 sec
    [junit] [ERROR] Test org.apache.axis2.security.AddressingMTOMSecurityTest FA
ILED
    [junit] Running org.apache.axis2.security.MTOMOptimizedSecurityTest
    [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 3,594 sec
    [junit] [ERROR] Test org.apache.axis2.security.MTOMOptimizedSecurityTest FAI
LED
    [junit] Running org.apache.axis2.security.Scenario1Test
    [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 3,579 sec
    [junit] [ERROR] Test org.apache.axis2.security.Scenario1Test FAILED
    [junit] Running org.apache.axis2.security.Scenario2Test
    [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 4,11 sec
    [junit] [ERROR] Test org.apache.axis2.security.Scenario2Test FAILED
    [junit] Running org.apache.axis2.security.Scenario2aTest
    [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 3,626 sec
    [junit] [ERROR] Test org.apache.axis2.security.Scenario2aTest FAILED
    [junit] Running org.apache.axis2.security.Scenario3Test
    [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 3,61 sec
    [junit] [ERROR] Test org.apache.axis2.security.Scenario3Test FAILED
    [junit] Running org.apache.axis2.security.Scenario4Test
    [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 4,094 sec
    [junit] [ERROR] Test org.apache.axis2.security.Scenario4Test FAILED
    [junit] Running org.apache.axis2.security.Scenario5Test
    [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 3,687 sec
    [junit] [ERROR] Test org.apache.axis2.security.Scenario5Test FAILED
    [junit] Running org.apache.axis2.security.Scenario6Test
    [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 3,563 sec
    [junit] [ERROR] Test org.apache.axis2.security.Scenario6Test FAILED
    [junit] Running org.apache.axis2.security.Scenario7Test
    [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 3,563 sec
    [junit] [ERROR] Test org.apache.axis2.security.Scenario7Test FAILED
    [junit] Running org.apache.axis2.swa.EchoRawSwATest
    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 1,406 sec
    [junit] [ERROR] Test org.apache.axis2.swa.EchoRawSwATest FAILED
    [junit] Running org.apache.axis2.tcp.TCPEchoRawXMLTest
    [junit] Tests run: 4, Failures: 0, Errors: 4, Time elapsed: 9,531 sec
    [junit] [ERROR] Test org.apache.axis2.tcp.TCPEchoRawXMLTest FAILED
    [junit] Running org.apache.axis2.tcp.TCPTwoChannelEchoRawXMLTest
    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 3,844 sec
    [junit] [ERROR] Test org.apache.axis2.tcp.TCPTwoChannelEchoRawXMLTest FAILED

    [junit] Running samples.wsdl.perf.PerfPortTypeTest
    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 2,14 sec
    [junit] [ERROR] Test samples.wsdl.perf.PerfPortTypeTest FAILED

BUILD FAILED
File...... C:\Documents and Settings\akumlali\.maven\cache\maven-multiproject-pl
ugin-1.4.1\plugin.jelly
Element... maven:reactor
Line...... 218
Column.... -1
Unable to obtain goal [multiproject:install-callback] -- C:\Documents and Settin
gs\akumlali\.maven\cache\maven-test-plugin-1.7\plugin.jelly:183:-1: <fail> There
 were test failures.
Total time   : 16 minutes 22 seconds
Finished at  : 23 Mart 2006 Persembe 13:34:02 EET




Ruchith Fernando <ruchith.fernando@gmail.com> wrote: 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  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  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.
>
>


		
---------------------------------
Blab-away for as little as 1¢/min. Make  PC-to-Phone Calls using Yahoo! Messenger with Voice.
Mime
View raw message