axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davanum Srinivas <d...@yahoo.com>
Subject RE: Axis Test Rearchitecture, I'm failing miserably to run 'singular' test
Date Wed, 28 Apr 2004 22:19:49 GMT
delete xmlsec.jar and re-rerun as per tom's instruction.

--- Måns_Tånneryd <mans@tanneryd.com> wrote:
> > -----Original Message-----
> > From: Tom Jordahl [mailto:tomj@macromedia.com]
> > Sent: den 28 april 2004 23:08
> > To: 'axis-dev@ws.apache.org'
> > Cc: 'Måns Tånneryd'
> > Subject: RE: Axis Test Rearchitecture, I'm failing miserably to run
> > 'singular' test
> >
> >
> >
> > Just cd to the directory and run ant:
> >
> > % cd test/wsdl/echo
> > % ant clean compile run
> >
> > The test suite is set up to do exactly what you are trying to do (which is
> > why is runs all tests so slowly...)
> >
> >
> > --
> > Tom Jordahl
> > Macromedia Server Development
> 
> Tried it, still screaming at me for a missing file that is not missing,
> really! Feels like a search path is getting smashed somewhere. I'm pretty
> sure I'm doing something stupid but, for the life of me, I cannot figure out
> what it is.
> 
> So, what did I do?
> 
> 1. checked out a fresh copy of ws-axis from cvs.apache.org.
> 2. ant clean functional-tests (seemed to run just fine except for an error
> message claiming the build failed at the end when all the tests had run and
> claiming their success)
> 
> 3. cd test/wsdl/echo
> 4. ant clean compile run
> 
> 
> Below is a printout from my futile efforts at point 4 above.
> 
> ----------------------------------------------------------------------------
> --------
> 
> E:\workspace\svnwork\ws-axis\java\test\wsdl\echo>ant clean compile run
> Buildfile: build.xml
> 
> clean:
>      [echo] Removing
> E:\workspace\svnwork\ws-axis\java\build/classes/test/wsdl/echo and
> E:\workspace\svnwork\ws-axis\jav
> a\build/work/test/wsdl/echo
>    [delete] Deleting directory
> E:\workspace\svnwork\ws-axis\java\build\classes\test\wsdl\echo
>    [delete] Deleting directory
> E:\workspace\svnwork\ws-axis\java\build\work\test\wsdl\echo
> 
> axis-clover-setenv:
> 
> axis-clover-setup:
> 
> setenv:
> 
> copy:
> 
> compile:
>      [echo] Compiling test.wsdl.echo
> [wsdl2java] WSDL2Java
> E:\workspace\svnwork\ws-axis\java/test/wsdl/echo/echo.wsdl
>      [copy] Copying 2 files to
> E:\workspace\svnwork\ws-axis\java\build\work\test\wsdl\echo
>     [javac] Compiling 7 source files to
> E:\workspace\svnwork\ws-axis\java\build\classes
> 
> run:
> 
> axis-clover-setenv:
> 
> axis-clover-setup:
> 
> setenv:
> 
> execute-Component:
> 
> start-signature-signing-and-verification:
> 
> start-functional-test-http-server:
>      [echo] Starting test http server.
>      [java] - SimpleAxisServer starting up on port 8080.
>      [java] Processing file
> E:\workspace\svnwork\ws-axis\java/samples/security/serversecuritydeploy.wsdd
>      [java] Beginning Client signing...
>      [java] java.io.FileNotFoundException: samples\security\keystore.jks
> (The system cannot find the path specified)
>      [java]     at java.io.FileInputStream.open(Native Method)
>      [java]     at java.io.FileInputStream.<init>(FileInputStream.java:106)
>      [java]     at java.io.FileInputStream.<init>(FileInputStream.java:66)
>      [java]     at
> samples.security.SignedSOAPEnvelope.init(SignedSOAPEnvelope.java:88)
>      [java]     at
> samples.security.SignedSOAPEnvelope.<init>(SignedSOAPEnvelope.java:65)
>      [java]     at
> samples.security.ClientSigningHandler.invoke(ClientSigningHandler.java:50)
>      [java]     at
> org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:
> 32)
>      [java]     at
> org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
>      [java]     at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
>      [java]     at
> org.apache.axis.client.AxisClient.invoke(AxisClient.java:131)
>      [java]     at org.apache.axis.client.Call.invokeEngine(Call.java:2710)
>      [java]     at org.apache.axis.client.Call.invoke(Call.java:2693)
>      [java]     at org.apache.axis.client.Call.invoke(Call.java:1742)
>      [java]     at
> org.apache.axis.client.AdminClient.process(AdminClient.java:318)
>      [java]     at
> org.apache.axis.client.AdminClient.process(AdminClient.java:297)
>      [java]     at
> org.apache.axis.client.AdminClient.process(AdminClient.java:304)
>      [java]     at
> org.apache.axis.client.AdminClient.process(AdminClient.java:255)
>      [java]     at
> org.apache.axis.client.AdminClient.main(AdminClient.java:340)
>      [java] Exception: AxisFault
>      [java]  faultCode:
> {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
>      [java]  faultSubcode:
>      [java]  faultString: java.lang.RuntimeException:
> java.io.FileNotFoundException: samples\security\keystore.jks (The
> system cannot find the path specified)
>      [java]  faultActor:
>      [java]  faultNode:
>      [java]  faultDetail:
>      [java]
> {http://xml.apache.org/axis/}stackTrace:java.lang.RuntimeException:
> java.io.FileNotFoundException: sampl
> es\security\keystore.jks (The system cannot find the path specified)
>      [java]     at
> samples.security.SignedSOAPEnvelope.init(SignedSOAPEnvelope.java:129)
>      [java]     at
> samples.security.SignedSOAPEnvelope.&lt;init&gt;(SignedSOAPEnvelope.java:65)
>      [java]     at
> samples.security.ClientSigningHandler.invoke(ClientSigningHandler.java:50)
>      [java]     at
> org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:
> 32)
>      [java]     at
> org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
>      [java]     at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
>      [java]     at
> org.apache.axis.client.AxisClient.invoke(AxisClient.java:131)
>      [java]     at org.apache.axis.client.Call.invokeEngine(Call.java:2710)
>      [java]     at org.apache.axis.client.Call.invoke(Call.java:2693)
>      [java]     at org.apache.axis.client.Call.invoke(Call.java:1742)
>      [java]     at
> org.apache.axis.client.AdminClient.process(AdminClient.java:318)
>      [java]     at
> org.apache.axis.client.AdminClient.process(AdminClient.java:297)
>      [java]     at
> org.apache.axis.client.AdminClient.process(AdminClient.java:304)
>      [java]     at
> org.apache.axis.client.AdminClient.process(AdminClient.java:255)
>      [java]     at
> org.apache.axis.client.AdminClient.main(AdminClient.java:340)
> 
> 
> ----------------------------------------------------------------------------
> --------
> 
> 
> >
> > -----Original Message-----
> > From: Måns Tånneryd [mailto:mans@tanneryd.com]
> > Sent: Wednesday, April 28, 2004 3:09 PM
> > To: axis-dev@ws.apache.org
> > Subject: Axis Test Rearchitecture, I'm failing miserably to run 'singular'
> > test
> >
> > Hello everybody!
> >
> > How do I run a single test, for example the echo test in test/wsdl/echo?
> > I've tried to follow the instructions in Axis Test Rearchitecture
> > as well as
> > trying out other more or less illuminated variants. None of them works for
> > me.
> >
> > ant -buildfile buildTest.xml echo -> Target `echo' does not exist in this
> > project.
> > ant -buildfile test/wsdl/echo/build.xml run ->
> > java.io.FileNotFoundException: samples\security\keystore.jks (The system
> > cannot find the path specified)
> >
> > What am I doing wrong?
> >
> > /Måns Tånneryd
> >
> 
> 


=====
Davanum Srinivas - http://webservices.apache.org/~dims/

Mime
View raw message