You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "Sean Doyle (Gmail)" <sd...@gmail.com> on 2006/03/16 16:35:30 UTC

Re: [axis2] failure when trying to build axis2

bruno wanadoo wrote:

> Hi Chinthaka & everybody else
>
> I followed instructions in the FAQ ( with jdk1.5 I modify the security 
> file to add BC as provider)
> But when I launch maven , a lot of targets are built but at the end I 
> got this
>
I'm getting the same
    Unable to obtain goal [multiproject:install-callback] -- 
C:\Documents and 
Settings\bruno\.maven\cache\maven-test-plugin-1.6.2\plugin.jelly:181:54:
I've also put in the same attribute for BC. And svn is current as of a 
few minutes ago.

Here's what works and doesn't work - I'm a bit confused by the site's 
documentation since it has two different calls to maven specified for 
building the project. One fails with the plugin.jelly message, the other 
works but doesn't make the war file.

I'm running this in WindowsXP. My version of Maven is 1.0.2. My version 
of Java is java version "1.5.0_06".


According to http://ws.apache.org/axis2/svn.html - you just type 
'maven'. This fails -

> test:test:
>     [junit] Running org.apache.axis2.om.impl.dom.DocumentImplTest
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.39 sec
>     [junit] Running org.apache.axis2.om.impl.dom.DOMImplementationTest
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.28 sec
>     [junit] Running org.apache.axis2.om.impl.dom.ElementImplTest
>     [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0.381 sec
>     [junit] Running org.apache.axis2.om.impl.dom.MessagesTest
>     [junit] Tests run: 4, Failures: 0, Errors: 4, Time elapsed: 0.471 sec
>     *[junit] [ERROR] TEST org.apache.axis2.om.impl.dom.MessagesTest 
> FAILED*
>     [junit] Running org.apache.axis2.om.impl.dom.OMDOMFactoryTest
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.281 sec
>     [junit] Running org.apache.axis2.om.impl.dom.TextImplTest
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.28 sec
>
> BUILD FAILED
> File...... C:\Documents and 
> Settings\sean\.maven\cache\maven-multiproject-plugin-1.3.1\plugin.jelly
> Element... maven:reactor
> Line...... 217
> Column.... 9
> Unable to obtain goal [multiproject:install-callback] -- C:\Documents 
> and Settings\sean\.maven\cache\maven-test-plugin-1
> .6.2\plugin.jelly:181:54: <fail> There were test failures.
> Total time: 4 minutes 9 seconds
> Finished at: Thu Mar 16 10:22:34 EST 2006


According to http://ws.apache.org/axis2/siteHowTo.html - you type 'maven 
multiproject'. This worked yesterday - but it didn't make the war file. 
And - although it worked there are several errors of the sort:

> Error retrieving artifact from 
> [http://www.ibiblio.org/maven/axis2/jars/axis2-codegen-0.95-SNAPSHOT.jar]: 
> java.net.Conne
> ctException: Connection timed out: connect
> 192K downloaded



Somewhere on the apache site there was a suggestion to use 'maven.war' - 
this failed with (I believe) the same plugin.jelly error.

Also - I've been running 'maven clean' between runs if that makes any 
difference.

I did invoke

%MAVEN_HOME%\bin\install_repo.bat c:\.maven\repository
when I installed Maven a few days ago.

What should I try next if I want to build the war file?


Thanks..

Sean

>
>
> /+----------------------------------------
> | Executing multiproject:install-callback Apache Axis 2.0 - DOM over OM
> | Memory: 8M/12M
> +----------------------------------------
> Tentative de tÚlÚchargement de axiom-1.0-SNAPSHOT.jar.
> Tentative de tÚlÚchargement de axis2-common-0.95-SNAPSHOT.jar.
> Tentative de tÚlÚchargement de axis2-core-0.95-SNAPSHOT.jar.
>
> jar:jar:
>
> jar:install:
>
>
> build:end:
>
> build:start:
>
> multiproject:install-callback:
>     [echo] Running jar:install for Apache Axis 2.0 - DOM over OM
> java:prepare-filesystem:
>
> java:compile:
>     [echo] Compiling to D:\work\axis2-dev\modules\doom/target/classes
>
> java:jar-resources:
>
> test:prepare-filesystem:
>
> test:test-resources:
>
> test:compile:
>
> test:test:
>     [junit] Running org.apache.axis2.om.impl.dom.DocumentImplTest
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0,5 sec
>     [junit] Running org.apache.axis2.om.impl.dom.DOMImplementationTest
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0,39 sec
>     [junit] Running org.apache.axis2.om.impl.dom.ElementImplTest
>     [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0,406 sec
>     [junit] Running org.apache.axis2.om.impl.dom.MessagesTest
>     [junit] Tests run: 4, Failures: 0, Errors: 4, Time elapsed: 0,672 sec
>     [junit] [ERROR] TEST org.apache.axis2.om.impl.dom.MessagesTest FAILED
>     [junit] Running org.apache.axis2.om.impl.dom.OMDOMFactoryTest
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0,296 sec
>     [junit] Running org.apache.axis2.om.impl.dom.TextImplTest
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0,297 sec
>
> BUILD FAILED
> File...... C:\Documents and 
> Settings\bruno\.maven\cache\maven-multiproject-plugin-1.3.1\plugin.jelly
> Element... maven:reactor
> Line...... 217
> Column.... 9
> Unable to obtain goal [multiproject:install-callback] -- C:\Documents 
> and 
> Settings\bruno\.maven\cache\maven-test-plugin-1.6.2\plugin.jelly:181:54: 
> <fail> There were test failures.
> Total time: 2 minutes 11 seconds
> Finished at: Thu Mar 16 13:54:14 CET 2006
> /
>
> If someone has the answer , it will be nice
>
>  
>
> Thanks in advance
>
>
> -----Message d'origine-----
> De : Eran Chinthaka [mailto:chinthaka@opensource.lk]
> Envoyé : jeudi 16 mars 2006 10:24
> À : axis-user@ws.apache.org
> Objet : Re: failure when trying to build axis2
>
> Hi Bruno,
>
> If you can exactly point out your problem, I may be able to help you.
>
> About the jars, yes there can be a slight problem, if maven can not 
> establish a connection to the repository properly.
>
> But since you have mentioned that your build is successful, I don't 
> think you still have problems with your jars.
>
> Are you having problems with tests ? If you are using jdk5, please 
> make sure you follow the tips given in the FAQ.
>
> -- Chinthaka
>
> bruno wanadoo wrote:
> > Hi to all
> > I had the same problem myself with wersion 0.94
> >
> > After download latest sources from svn everything works fine and at
> > last the build is successful But I still have problem with sme of the
> > tests
> >
> >  
>
> ---------------------------------------------------------------------------------------
> Wanadoo vous informe que cet  e-mail a ete controle par l'anti-virus mail.
> Aucun virus connu a ce jour par nos services n'a ete detecte.
>
>


-- 
Sean Doyle, CTO
MedCommons, Inc.
sdoyle@medcommons.net


Re: [axis2] failure when trying to build axis2

Posted by Ruchith Fernando <ru...@gmail.com>.
Oops  :-)

Thanks Sean !!!

- Ruchith

On 3/20/06, Loreno Oliveira <lo...@gmail.com> wrote:
> Thanks for the thanks,
> but the merits, and the suggestions, are of Sean :-)
>
> []'s
>
> Loreno
>
>
> On 3/20/06, Ruchith Fernando < ruchith.fernando@gmail.com> wrote:
> > Hi Loreno,
> >
> > Updated the FAQ to include your suggestions.
> > Thanks for pointing out the problem.
> >
> > - Ruchith
> >
> > On 3/20/06, Sean Doyle (Gmail) <sd...@gmail.com> wrote:
> > > Loreno Oliveira wrote:
> > >
> > > > In really, I did two changes before get my axis copy buiding:
> > > >
> > > > 1) turn off Norton Worm Protection
> > > > 2) applied the recomendation for users of JDK 1.5
> > > > ( http://ws.apache.org/axis2/faq.html
> > > > <http://ws.apache.org/axis2/faq.html>)
> > >
> > > Well - I was going to reply - of *course* I did this - but then I
> > > thought of something else to try & now the problem is solved - how do I
> > > make sure that this gets to the right person maintaining the FAQ?
> > >
> > > The FAQ is slightly wrong. It says to change this java.security file:
> > >     Add the following entry to
> JDK_HOME/jre/lib/security/java.security file
> > > But - that's not the correct file on my machine.
> > >
> > >     * I don't have a JDK_HOME defined - but I do have a JAVA_HOME
> > >       defined as C:\Program Files\Java\jdk1.5.0_01\
> > >     * So - I assumed that the file I should change would be C:\Program
> > >
> Files\Java\jdk1.5.0_01\jre\lib\security\java.security. But
> it's not.
> > >     * When I installed my JDK it was configured to update itself
> > >       periodically. When I run 'java -version' I get java version
> "1.5.0_06"
> > >     * So - I have a JDK of 1.5.0_01 and a JRE of 1.5.0_06 because the
> > >       JRE has been upgraded several times since my install of the JDK.
> > >     * When I update the java.security file in C:\Program
> > >       Files\Java\jre1.5.0_06\lib\security then the
> errors I had
> > >       disappear - I can now build the war file!
> > >
> > > Perhaps the FAQ should say something like this:
> > > "You have to add Bouncy Castle as a JCE provider. Add the following
> > > entry to java.security file of the appropriate JRE on your machine. For
> > > Windows XP the correct version is found by entered 'java -version'. The
> > > correct file is JRE (typically c:\Program
> > > Files\Java\jre<version>\lib\security\java.security.
> > >
> > > Failure to modify the correct java.security file on your machine will
> > > result in the build failing certain tests"
> > >
> > > It might save time of people like me if the type of test that failed
> > > could be described here - they look like RPC-like but I don't know the
> > > root of the failure.
> > >
> > > Thanks!
> > >
> > >
> > >
> > > >
> > > > What is your java version?
> > > >
> > > > Loreno
> > > >
> > > > On 3/17/06, *Sean Doyle (Gmail)* <sdoyle.backup@gmail.com
> > > > <mailto:sdoyle.backup@gmail.com >> wrote:
> > > >
> > > >     Loreno Oliveira wrote:
> > > >
> > > >     > I got also problems with some tests, just like Sean and Bruno.
> > > >     > My problem was fixed when I turned off the Norton Worm
> Protection...
> > > >
> > > >     No such luck here - I've turned off my Trend Micro, ran svn
> > > >     update, and
> > > >     still see errors.
> > > >
> > > >     After
> > > >
> > > >     >    [junit] [ERROR] TEST
> org.apache.axis2.rpc.RPCCallTest FAILED
> > > >     >    [junit] Running
> > > >
> org.apache.axis2.security.AddressingMTOMSecurityTest
> > > >
> > > >
> > > >     you see
> > > >
> > > >     > BUILD FAILED
> > > >     > File...... C:\Documents and
> > > >     > Settings\sean\.maven\cache\maven-
> > > >     multiproject-plugin-1.3.1\plugin.jelly
> > > >     > Element... maven:reactor
> > > >     > Line...... 217
> > > >     > Column.... 9
> > > >     > Unable to obtain goal [multiproject:install-callback] --
> > > >     C:\Documents
> > > >     > and
> Settings\sean\.maven\cache\maven-test-plugin-1
> > > >     > .6.2\plugin.jelly:181:54: <fail> There were test failures.
> > > >     > Total time: 20 minutes 39 seconds
> > > >     > Finished at: Fri Mar 17 15:25:25 EST 2006
> > > >
> > > >     This was in response to a 'maven release'.
> > > >
> > > >
> > > >     >
> > > >     > Now I'm building and testing axis2 fine...
> > > >     >
> > > >     > Loreno
> > > >     >
> > > >     > On 3/16/06, *Eran Chinthaka* < chinthaka@opensource.lk
> > > >     <ma...@opensource.lk>
> > > >     > <mailto: chinthaka@opensource.lk
> > > >     <ma...@opensource.lk>>> wrote:
> > > >     >
> > > >     >     Hi Sean and Bruno,
> > > >     >
> > > >     >     We experience a build failure in Axis2 main branch now.
> > > >     Please give us
> > > >     >     time till tomoro for us to fix it.
> > > >     >
> > > >     >     Thanks,
> > > >     >     Chinthaka
> > > >     >
> > > >     >     Sean Doyle (Gmail) wrote:
> > > >     >     > bruno wanadoo wrote:
> > > >     >     >
> > > >     >     >> Hi Chinthaka & everybody else
> > > >     >     >>
> > > >     >     >> I followed instructions in the FAQ ( with jdk1.5 I modify
> the
> > > >     >     >> security file to add BC as provider)
> > > >     >     >> But when I launch maven , a lot of targets are built but
> > > >     at the
> > > >     >     end I
> > > >     >     >> got this
> > > >     >     >>
> > > >     >     > I'm getting the same
> > > >     >     >    Unable to obtain goal [multiproject:install-callback]
> --
> > > >     >     > C:\Documents and
> > > >     >     >
> > > >     >
> > > >
> Settings\bruno\.maven\cache\maven-test-plugin-1.6.2\plugin.jelly:181:54:
> > > >     >
> > > >     >     > I've also put in the same attribute for BC. And svn is
> current
> > > >     >     as of a
> > > >     >     > few minutes ago.
> > > >     >     >
> > > >     >     > Here's what works and doesn't work - I'm a bit confused by
> the
> > > >     >     site's
> > > >     >     > documentation since it has two different calls to maven
> > > >     >     specified for
> > > >     >     > building the project. One fails with the plugin.jelly
> > > >     message, the
> > > >     >     > other works but doesn't make the war file.
> > > >     >     >
> > > >     >     > I'm running this in WindowsXP. My version of Maven is
> > > >     1.0.2. My
> > > >     >     > version of Java is java version " 1.5.0_06".
> > > >     >     >
> > > >     >     >
> > > >     >     > According to
> http://ws.apache.org/axis2/svn.html - you
> > > >     just type
> > > >     >     > 'maven'. This fails -
> > > >     >     >
> > > >     >     >> test:test:
> > > >     >     >>     [junit] Running
> > > >     org.apache.axis2.om.impl.dom.DocumentImplTest
> > > >     >     >>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time
> > > >     elapsed:
> > > >     >     0.39 sec
> > > >     >     >>     [junit] Running
> > > >     >
> org.apache.axis2.om.impl.dom.DOMImplementationTest
> > > >     >     >>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time
> > > >     elapsed:
> > > >     >     0.28 sec
> > > >     >     >>     [junit] Running
> > > >     org.apache.axis2.om.impl.dom.ElementImplTest
> > > >     >     >>     [junit] Tests run: 6, Failures: 0, Errors: 0, Time
> > > >     elapsed:
> > > >     >     0.381
> > > >     >     >> sec
> > > >     >     >>     [junit] Running
> org.apache.axis2.om.impl.dom.MessagesTest
> > > >     >     >>     [junit] Tests run: 4, Failures: 0, Errors: 4, Time
> > > >     elapsed:
> > > >     >     0.471
> > > >     >     >> sec
> > > >     >     >>     *[junit] [ERROR] TEST
> > > >     org.apache.axis2.om.impl.dom.MessagesTest
> > > >     >     >> FAILED*
> > > >     >     >>     [junit] Running
> > > >     org.apache.axis2.om.impl.dom.OMDOMFactoryTest
> > > >     >     >>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time
> > > >     elapsed:
> > > >     >     0.281
> > > >     >     >> sec
> > > >     >     >>     [junit] Running
> org.apache.axis2.om.impl.dom.TextImplTest
> > > >     >     >>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time
> > > >     elapsed:
> > > >     >     0.28 sec
> > > >     >     >>
> > > >     >     >> BUILD FAILED
> > > >     >     >> File...... C:\Documents and
> > > >     >     >>
> > > >     >
> > > >
> Settings\sean\.maven\cache\maven-multiproject-plugin-1.3.1\plugin.jelly
> > > >     >
> > > >     >     >> Element... maven:reactor
> > > >     >     >> Line...... 217
> > > >     >     >> Column.... 9
> > > >     >     >> Unable to obtain goal [multiproject:install-callback] --
> > > >     >     C:\Documents
> > > >     >     >> and
> Settings\sean\.maven\cache\maven-test-plugin-1
> > > >     >     >> .6.2\plugin.jelly:181:54: <fail> There were test
> failures.
> > > >     >     >> Total time: 4 minutes 9 seconds
> > > >     >     >> Finished at: Thu Mar 16 10:22:34 EST 2006
> > > >     >     >
> > > >     >     >
> > > >     >     > According to
> http://ws.apache.org/axis2/siteHowTo.html -
> > > >     you type
> > > >     >     > 'maven multiproject'. This worked yesterday - but it
> > > >     didn't make the
> > > >     >     > war file. And - although it worked there are several
> errors of
> > > >     >     the sort:
> > > >     >     >
> > > >     >     >> Error retrieving artifact from
> > > >     >     >>
> > > >     >     [
> > > >
> http://www.ibiblio.org/maven/axis2/jars/axis2-codegen-0.95-SNAPSHOT.jar]:
> > > >     >     >> java.net.Conne
> > > >     >     >> ctException: Connection timed out: connect
> > > >     >     >> 192K downloaded
> > > >     >     >
> > > >     >     >
> > > >     >     >
> > > >     >     > Somewhere on the apache site there was a suggestion to use
> > > >     >     'maven.war'
> > > >     >     > - this failed with (I believe) the same plugin.jelly
> error.
> > > >     >     >
> > > >     >     > Also - I've been running 'maven clean' between runs if
> that
> > > >     >     makes any
> > > >     >     > difference.
> > > >     >     >
> > > >     >     > I did invoke
> > > >     >     >
> > > >     >     > %MAVEN_HOME%\bin\install_repo.bat
> c:\.maven\repository
> > > >     >     > when I installed Maven a few days ago.
> > > >     >     >
> > > >     >     > What should I try next if I want to build the war file?
> > > >     >     >
> > > >     >     >
> > > >     >     > Thanks..
> > > >     >     >
> > > >     >     > Sean
> > > >     >     >
> > > >     >     >>
> > > >     >     >>
> > > >     >     >>
> /+----------------------------------------
> > > >     >     >> | Executing multiproject:install-callback Apache Axis 2.0
> > > >     - DOM
> > > >     >     over OM
> > > >     >     >> | Memory: 8M/12M
> > > >     >     >>
> +----------------------------------------
> > > >     >     >> Tentative de tÚlÚchargement de axiom-1.0-SNAPSHOT.jar .
> > > >     >     >> Tentative de tÚlÚchargement de
> > > >     axis2-common-0.95-SNAPSHOT.jar.
> > > >     >     >> Tentative de tÚlÚchargement de
> axis2-core-0.95-SNAPSHOT.jar.
> > > >     >     >>
> > > >     >     >> jar:jar:
> > > >     >     >>
> > > >     >     >> jar:install:
> > > >     >     >>
> > > >     >     >>
> > > >     >     >> build:end:
> > > >     >     >>
> > > >     >     >> build:start:
> > > >     >     >>
> > > >     >     >> multiproject:install-callback:
> > > >     >     >>     [echo] Running jar:install for Apache Axis 2.0 - DOM
> > > >     over OM
> > > >     >     >> java:prepare-filesystem:
> > > >     >     >>
> > > >     >     >> java:compile:
> > > >     >     >>     [echo] Compiling to
> > > >     >
> D:\work\axis2-dev\modules\doom/target/classes
> > > >     >     >>
> > > >     >     >> java:jar-resources:
> > > >     >     >>
> > > >     >     >> test:prepare-filesystem:
> > > >     >     >>
> > > >     >     >> test:test-resources:
> > > >     >     >>
> > > >     >     >> test:compile:
> > > >     >     >>
> > > >     >     >> test:test:
> > > >     >     >>     [junit] Running
> > > >     org.apache.axis2.om.impl.dom.DocumentImplTest
> > > >     >     >>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time
> > > >     elapsed:
> > > >     >     0,5 sec
> > > >     >     >>     [junit] Running
> > > >     >
> org.apache.axis2.om.impl.dom.DOMImplementationTest
> > > >     >     >>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time
> > > >     elapsed:
> > > >     >     0,39 sec
> > > >     >     >>     [junit] Running
> > > >     org.apache.axis2.om.impl.dom.ElementImplTest
> > > >     >     >>     [junit] Tests run: 6, Failures: 0, Errors: 0, Time
> > > >     elapsed:
> > > >     >     0,406
> > > >     >     >> sec
> > > >     >     >>     [junit] Running
> org.apache.axis2.om.impl.dom.MessagesTest
> > > >     >     >>     [junit] Tests run: 4, Failures: 0, Errors: 4, Time
> > > >     elapsed:
> > > >     >     0,672
> > > >     >     >> sec
> > > >     >     >>     [junit] [ERROR] TEST
> > > >     org.apache.axis2.om.impl.dom.MessagesTest
> > > >     >     >> FAILED
> > > >     >     >>     [junit] Running
> > > >     org.apache.axis2.om.impl.dom.OMDOMFactoryTest
> > > >     >     >>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time
> > > >     elapsed:
> > > >     >     0,296
> > > >     >     >> sec
> > > >     >     >>     [junit] Running
> org.apache.axis2.om.impl.dom.TextImplTest
> > > >     >     >>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time
> > > >     elapsed:
> > > >     >     0,297
> > > >     >     >> sec
> > > >     >     >>
> > > >     >     >> BUILD FAILED
> > > >     >     >> File...... C:\Documents and
> > > >     >     >>
> > > >     >
> > > >
> Settings\bruno\.maven\cache\maven-multiproject-plugin-1.3.1\plugin.jelly
> > > >     >     >> Element... maven:reactor
> > > >     >     >> Line...... 217
> > > >     >     >> Column.... 9
> > > >     >     >> Unable to obtain goal [multiproject:install-callback] --
> > > >     >     C:\Documents
> > > >     >     >> and
> > > >     >     >>
> > > >     >
> > > >
> Settings\bruno\.maven\cache\maven-test-plugin-1.6.2\plugin.jelly:181:54:
> > > >     >     >> <fail> There were test failures.
> > > >     >     >> Total time: 2 minutes 11 seconds
> > > >     >     >> Finished at: Thu Mar 16 13:54:14 CET 2006
> > > >     >     >> /
> > > >     >     >>
> > > >     >     >> If someone has the answer , it will be nice
> > > >     >     >>
> > > >     >     >>
> > > >     >     >>
> > > >     >     >> Thanks in advance
> > > >     >     >>
> > > >     >     >>
> > > >     >     >> -----Message d'origine-----
> > > >     >     >> De : Eran Chinthaka [mailto: chinthaka@opensource.lk
> > > >     <mailto: chinthaka@opensource.lk>
> > > >     >     <mailto: chinthaka@opensource.lk
> > > >     <mailto: chinthaka@opensource.lk>>]
> > > >     >     >> Envoyé : jeudi 16 mars 2006 10:24
> > > >     >     >> Ŕ : axis-user@ws.apache.org
> > > >     <mailto: axis-user@ws.apache.org> <mailto: axis-user@ws.apache.org
> > > >     <mailto: axis-user@ws.apache.org>>
> > > >     >     >> Objet : Re: failure when trying to build axis2
> > > >     >     >>
> > > >     >     >> Hi Bruno,
> > > >     >     >>
> > > >     >     >> If you can exactly point out your problem, I may be able
> to
> > > >     >     help you.
> > > >     >     >>
> > > >     >     >> About the jars, yes there can be a slight problem, if
> > > >     maven can not
> > > >     >     >> establish a connection to the repository properly.
> > > >     >     >>
> > > >     >     >> But since you have mentioned that your build is
> > > >     successful, I don't
> > > >     >     >> think you still have problems with your jars.
> > > >     >     >>
> > > >     >     >> Are you having problems with tests ? If you are using
> > > >     jdk5, please
> > > >     >     >> make sure you follow the tips given in the FAQ.
> > > >     >     >>
> > > >     >     >> -- Chinthaka
> > > >     >     >>
> > > >     >     >> bruno wanadoo wrote:
> > > >     >     >> > Hi to all
> > > >     >     >> > I had the same problem myself with wersion 0.94
> > > >     >     >> >
> > > >     >     >> > After download latest sources from svn everything works
> > > >     fine
> > > >     >     and at
> > > >     >     >> > last the build is successful But I still have problem
> with
> > > >     >     sme of the
> > > >     >     >> > tests
> > > >     >     >> >
> > > >     >     >> >
> > > >     >     >>
> > > >     >
> > > >
> ---------------------------------------------------------------------------------------
> > > >
> > > >     >     >>
> > > >     >     >> Wanadoo vous informe que cet  e-mail a ete controle par
> > > >     >     l'anti-virus
> > > >     >     >> mail.
> > > >     >     >> Aucun virus connu a ce jour par nos services n'a ete
> > > >     detecte.
> > > >     >     >>
> > > >     >     >>
> > > >     >     >
> > > >     >     >
> > > >     >
> > > >     >
> > > >
> > > >
> > > >     --
> > > >     Sean Doyle, CTO
> > > >     MedCommons, Inc.
> > > >     sdoyle@medcommons.net <ma...@medcommons.net>
> > > >
> > > >
> > >
> > >
> > > --
> > > Sean Doyle, CTO
> > > MedCommons, Inc.
> > > sdoyle@medcommons.net
> > >
> > >
> >
>
>

Re: [axis2] failure when trying to build axis2

Posted by Loreno Oliveira <lo...@gmail.com>.
Thanks for the thanks,
but the merits, and the suggestions, are of Sean :-)

[]'s

Loreno

On 3/20/06, Ruchith Fernando <ru...@gmail.com> wrote:
>
> Hi Loreno,
>
> Updated the FAQ to include your suggestions.
> Thanks for pointing out the problem.
>
> - Ruchith
>
> On 3/20/06, Sean Doyle (Gmail) <sd...@gmail.com> wrote:
> > Loreno Oliveira wrote:
> >
> > > In really, I did two changes before get my axis copy buiding:
> > >
> > > 1) turn off Norton Worm Protection
> > > 2) applied the recomendation for users of JDK 1.5
> > > (http://ws.apache.org/axis2/faq.html
> > > <http://ws.apache.org/axis2/faq.html>)
> >
> > Well - I was going to reply - of *course* I did this - but then I
> > thought of something else to try & now the problem is solved - how do I
> > make sure that this gets to the right person maintaining the FAQ?
> >
> > The FAQ is slightly wrong. It says to change this java.security file:
> >     Add the following entry to JDK_HOME/jre/lib/security/java.security
> file
> > But - that's not the correct file on my machine.
> >
> >     * I don't have a JDK_HOME defined - but I do have a JAVA_HOME
> >       defined as C:\Program Files\Java\jdk1.5.0_01\
> >     * So - I assumed that the file I should change would be C:\Program
> >       Files\Java\jdk1.5.0_01\jre\lib\security\java.security. But it's
> not.
> >     * When I installed my JDK it was configured to update itself
> >       periodically. When I run 'java -version' I get java version "
> 1.5.0_06"
> >     * So - I have a JDK of 1.5.0_01 and a JRE of 1.5.0_06 because the
> >       JRE has been upgraded several times since my install of the JDK.
> >     * When I update the java.security file in C:\Program
> >       Files\Java\jre1.5.0_06\lib\security then the errors I had
> >       disappear - I can now build the war file!
> >
> > Perhaps the FAQ should say something like this:
> > "You have to add Bouncy Castle as a JCE provider. Add the following
> > entry to java.security file of the appropriate JRE on your machine. For
> > Windows XP the correct version is found by entered 'java -version'. The
> > correct file is JRE (typically c:\Program
> > Files\Java\jre<version>\lib\security\java.security.
> >
> > Failure to modify the correct java.security file on your machine will
> > result in the build failing certain tests"
> >
> > It might save time of people like me if the type of test that failed
> > could be described here - they look like RPC-like but I don't know the
> > root of the failure.
> >
> > Thanks!
> >
> >
> >
> > >
> > > What is your java version?
> > >
> > > Loreno
> > >
> > > On 3/17/06, *Sean Doyle (Gmail)* <sdoyle.backup@gmail.com
> > > <ma...@gmail.com>> wrote:
> > >
> > >     Loreno Oliveira wrote:
> > >
> > >     > I got also problems with some tests, just like Sean and Bruno.
> > >     > My problem was fixed when I turned off the Norton Worm
> Protection...
> > >
> > >     No such luck here - I've turned off my Trend Micro, ran svn
> > >     update, and
> > >     still see errors.
> > >
> > >     After
> > >
> > >     >    [junit] [ERROR] TEST org.apache.axis2.rpc.RPCCallTest FAILED
> > >     >    [junit] Running
> > >     org.apache.axis2.security.AddressingMTOMSecurityTest
> > >
> > >
> > >     you see
> > >
> > >     > BUILD FAILED
> > >     > File...... C:\Documents and
> > >     > Settings\sean\.maven\cache\maven-
> > >     multiproject-plugin-1.3.1\plugin.jelly
> > >     > Element... maven:reactor
> > >     > Line...... 217
> > >     > Column.... 9
> > >     > Unable to obtain goal [multiproject:install-callback] --
> > >     C:\Documents
> > >     > and Settings\sean\.maven\cache\maven-test-plugin-1
> > >     > .6.2\plugin.jelly:181:54: <fail> There were test failures.
> > >     > Total time: 20 minutes 39 seconds
> > >     > Finished at: Fri Mar 17 15:25:25 EST 2006
> > >
> > >     This was in response to a 'maven release'.
> > >
> > >
> > >     >
> > >     > Now I'm building and testing axis2 fine...
> > >     >
> > >     > Loreno
> > >     >
> > >     > On 3/16/06, *Eran Chinthaka* <chinthaka@opensource.lk
> > >     <ma...@opensource.lk>
> > >     > <mailto: chinthaka@opensource.lk
> > >     <ma...@opensource.lk>>> wrote:
> > >     >
> > >     >     Hi Sean and Bruno,
> > >     >
> > >     >     We experience a build failure in Axis2 main branch now.
> > >     Please give us
> > >     >     time till tomoro for us to fix it.
> > >     >
> > >     >     Thanks,
> > >     >     Chinthaka
> > >     >
> > >     >     Sean Doyle (Gmail) wrote:
> > >     >     > bruno wanadoo wrote:
> > >     >     >
> > >     >     >> Hi Chinthaka & everybody else
> > >     >     >>
> > >     >     >> I followed instructions in the FAQ ( with jdk1.5 I modify
> the
> > >     >     >> security file to add BC as provider)
> > >     >     >> But when I launch maven , a lot of targets are built but
> > >     at the
> > >     >     end I
> > >     >     >> got this
> > >     >     >>
> > >     >     > I'm getting the same
> > >     >     >    Unable to obtain goal [multiproject:install-callback]
> --
> > >     >     > C:\Documents and
> > >     >     >
> > >     >
> > >     Settings\bruno\.maven\cache\maven-
> test-plugin-1.6.2\plugin.jelly:181:54:
> > >     >
> > >     >     > I've also put in the same attribute for BC. And svn is
> current
> > >     >     as of a
> > >     >     > few minutes ago.
> > >     >     >
> > >     >     > Here's what works and doesn't work - I'm a bit confused by
> the
> > >     >     site's
> > >     >     > documentation since it has two different calls to maven
> > >     >     specified for
> > >     >     > building the project. One fails with the plugin.jelly
> > >     message, the
> > >     >     > other works but doesn't make the war file.
> > >     >     >
> > >     >     > I'm running this in WindowsXP. My version of Maven is
> > >     1.0.2. My
> > >     >     > version of Java is java version " 1.5.0_06".
> > >     >     >
> > >     >     >
> > >     >     > According to http://ws.apache.org/axis2/svn.html - you
> > >     just type
> > >     >     > 'maven'. This fails -
> > >     >     >
> > >     >     >> test:test:
> > >     >     >>     [junit] Running
> > >     org.apache.axis2.om.impl.dom.DocumentImplTest
> > >     >     >>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time
> > >     elapsed:
> > >     >     0.39 sec
> > >     >     >>     [junit] Running
> > >     >     org.apache.axis2.om.impl.dom.DOMImplementationTest
> > >     >     >>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time
> > >     elapsed:
> > >     >     0.28 sec
> > >     >     >>     [junit] Running
> > >     org.apache.axis2.om.impl.dom.ElementImplTest
> > >     >     >>     [junit] Tests run: 6, Failures: 0, Errors: 0, Time
> > >     elapsed:
> > >     >     0.381
> > >     >     >> sec
> > >     >     >>     [junit] Running
> org.apache.axis2.om.impl.dom.MessagesTest
> > >     >     >>     [junit] Tests run: 4, Failures: 0, Errors: 4, Time
> > >     elapsed:
> > >     >     0.471
> > >     >     >> sec
> > >     >     >>     *[junit] [ERROR] TEST
> > >     org.apache.axis2.om.impl.dom.MessagesTest
> > >     >     >> FAILED*
> > >     >     >>     [junit] Running
> > >     org.apache.axis2.om.impl.dom.OMDOMFactoryTest
> > >     >     >>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time
> > >     elapsed:
> > >     >     0.281
> > >     >     >> sec
> > >     >     >>     [junit] Running
> org.apache.axis2.om.impl.dom.TextImplTest
> > >     >     >>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time
> > >     elapsed:
> > >     >     0.28 sec
> > >     >     >>
> > >     >     >> BUILD FAILED
> > >     >     >> File...... C:\Documents and
> > >     >     >>
> > >     >
> > >     Settings\sean\.maven\cache\maven-
> multiproject-plugin-1.3.1\plugin.jelly
> > >     >
> > >     >     >> Element... maven:reactor
> > >     >     >> Line...... 217
> > >     >     >> Column.... 9
> > >     >     >> Unable to obtain goal [multiproject:install-callback] --
> > >     >     C:\Documents
> > >     >     >> and Settings\sean\.maven\cache\maven-test-plugin-1
> > >     >     >> .6.2\plugin.jelly:181:54: <fail> There were test
> failures.
> > >     >     >> Total time: 4 minutes 9 seconds
> > >     >     >> Finished at: Thu Mar 16 10:22:34 EST 2006
> > >     >     >
> > >     >     >
> > >     >     > According to http://ws.apache.org/axis2/siteHowTo.html -
> > >     you type
> > >     >     > 'maven multiproject'. This worked yesterday - but it
> > >     didn't make the
> > >     >     > war file. And - although it worked there are several
> errors of
> > >     >     the sort:
> > >     >     >
> > >     >     >> Error retrieving artifact from
> > >     >     >>
> > >     >     [
> > >
> http://www.ibiblio.org/maven/axis2/jars/axis2-codegen-0.95-SNAPSHOT.jar]:
> > >     >     >> java.net.Conne
> > >     >     >> ctException: Connection timed out: connect
> > >     >     >> 192K downloaded
> > >     >     >
> > >     >     >
> > >     >     >
> > >     >     > Somewhere on the apache site there was a suggestion to use
> > >     >     'maven.war'
> > >     >     > - this failed with (I believe) the same plugin.jellyerror.
> > >     >     >
> > >     >     > Also - I've been running 'maven clean' between runs if
> that
> > >     >     makes any
> > >     >     > difference.
> > >     >     >
> > >     >     > I did invoke
> > >     >     >
> > >     >     > %MAVEN_HOME%\bin\install_repo.bat c:\.maven\repository
> > >     >     > when I installed Maven a few days ago.
> > >     >     >
> > >     >     > What should I try next if I want to build the war file?
> > >     >     >
> > >     >     >
> > >     >     > Thanks..
> > >     >     >
> > >     >     > Sean
> > >     >     >
> > >     >     >>
> > >     >     >>
> > >     >     >> /+----------------------------------------
> > >     >     >> | Executing multiproject:install-callback Apache Axis 2.0
> > >     - DOM
> > >     >     over OM
> > >     >     >> | Memory: 8M/12M
> > >     >     >> +----------------------------------------
> > >     >     >> Tentative de tÚlÚchargement de axiom-1.0-SNAPSHOT.jar .
> > >     >     >> Tentative de tÚlÚchargement de
> > >     axis2-common-0.95-SNAPSHOT.jar.
> > >     >     >> Tentative de tÚlÚchargement de
> axis2-core-0.95-SNAPSHOT.jar.
> > >     >     >>
> > >     >     >> jar:jar:
> > >     >     >>
> > >     >     >> jar:install:
> > >     >     >>
> > >     >     >>
> > >     >     >> build:end:
> > >     >     >>
> > >     >     >> build:start:
> > >     >     >>
> > >     >     >> multiproject:install-callback:
> > >     >     >>     [echo] Running jar:install for Apache Axis 2.0 - DOM
> > >     over OM
> > >     >     >> java:prepare-filesystem:
> > >     >     >>
> > >     >     >> java:compile:
> > >     >     >>     [echo] Compiling to
> > >     >     D:\work\axis2-dev\modules\doom/target/classes
> > >     >     >>
> > >     >     >> java:jar-resources:
> > >     >     >>
> > >     >     >> test:prepare-filesystem:
> > >     >     >>
> > >     >     >> test:test-resources:
> > >     >     >>
> > >     >     >> test:compile:
> > >     >     >>
> > >     >     >> test:test:
> > >     >     >>     [junit] Running
> > >     org.apache.axis2.om.impl.dom.DocumentImplTest
> > >     >     >>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time
> > >     elapsed:
> > >     >     0,5 sec
> > >     >     >>     [junit] Running
> > >     >     org.apache.axis2.om.impl.dom.DOMImplementationTest
> > >     >     >>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time
> > >     elapsed:
> > >     >     0,39 sec
> > >     >     >>     [junit] Running
> > >     org.apache.axis2.om.impl.dom.ElementImplTest
> > >     >     >>     [junit] Tests run: 6, Failures: 0, Errors: 0, Time
> > >     elapsed:
> > >     >     0,406
> > >     >     >> sec
> > >     >     >>     [junit] Running
> org.apache.axis2.om.impl.dom.MessagesTest
> > >     >     >>     [junit] Tests run: 4, Failures: 0, Errors: 4, Time
> > >     elapsed:
> > >     >     0,672
> > >     >     >> sec
> > >     >     >>     [junit] [ERROR] TEST
> > >     org.apache.axis2.om.impl.dom.MessagesTest
> > >     >     >> FAILED
> > >     >     >>     [junit] Running
> > >     org.apache.axis2.om.impl.dom.OMDOMFactoryTest
> > >     >     >>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time
> > >     elapsed:
> > >     >     0,296
> > >     >     >> sec
> > >     >     >>     [junit] Running
> org.apache.axis2.om.impl.dom.TextImplTest
> > >     >     >>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time
> > >     elapsed:
> > >     >     0,297
> > >     >     >> sec
> > >     >     >>
> > >     >     >> BUILD FAILED
> > >     >     >> File...... C:\Documents and
> > >     >     >>
> > >     >
> > >     Settings\bruno\.maven\cache\maven-
> multiproject-plugin-1.3.1\plugin.jelly
> > >     >     >> Element... maven:reactor
> > >     >     >> Line...... 217
> > >     >     >> Column.... 9
> > >     >     >> Unable to obtain goal [multiproject:install-callback] --
> > >     >     C:\Documents
> > >     >     >> and
> > >     >     >>
> > >     >
> > >     Settings\bruno\.maven\cache\maven-
> test-plugin-1.6.2\plugin.jelly:181:54:
> > >     >     >> <fail> There were test failures.
> > >     >     >> Total time: 2 minutes 11 seconds
> > >     >     >> Finished at: Thu Mar 16 13:54:14 CET 2006
> > >     >     >> /
> > >     >     >>
> > >     >     >> If someone has the answer , it will be nice
> > >     >     >>
> > >     >     >>
> > >     >     >>
> > >     >     >> Thanks in advance
> > >     >     >>
> > >     >     >>
> > >     >     >> -----Message d'origine-----
> > >     >     >> De : Eran Chinthaka [mailto: chinthaka@opensource.lk
> > >     <ma...@opensource.lk>
> > >     >     <mailto: chinthaka@opensource.lk
> > >     <ma...@opensource.lk>>]
> > >     >     >> Envoyé : jeudi 16 mars 2006 10:24
> > >     >     >> Ŕ : axis-user@ws.apache.org
> > >     <ma...@ws.apache.org> <mailto: axis-user@ws.apache.org
> > >     <ma...@ws.apache.org>>
> > >     >     >> Objet : Re: failure when trying to build axis2
> > >     >     >>
> > >     >     >> Hi Bruno,
> > >     >     >>
> > >     >     >> If you can exactly point out your problem, I may be able
> to
> > >     >     help you.
> > >     >     >>
> > >     >     >> About the jars, yes there can be a slight problem, if
> > >     maven can not
> > >     >     >> establish a connection to the repository properly.
> > >     >     >>
> > >     >     >> But since you have mentioned that your build is
> > >     successful, I don't
> > >     >     >> think you still have problems with your jars.
> > >     >     >>
> > >     >     >> Are you having problems with tests ? If you are using
> > >     jdk5, please
> > >     >     >> make sure you follow the tips given in the FAQ.
> > >     >     >>
> > >     >     >> -- Chinthaka
> > >     >     >>
> > >     >     >> bruno wanadoo wrote:
> > >     >     >> > Hi to all
> > >     >     >> > I had the same problem myself with wersion 0.94
> > >     >     >> >
> > >     >     >> > After download latest sources from svn everything works
> > >     fine
> > >     >     and at
> > >     >     >> > last the build is successful But I still have problem
> with
> > >     >     sme of the
> > >     >     >> > tests
> > >     >     >> >
> > >     >     >> >
> > >     >     >>
> > >     >
> > >
> ---------------------------------------------------------------------------------------
> > >
> > >     >     >>
> > >     >     >> Wanadoo vous informe que cet  e-mail a ete controle par
> > >     >     l'anti-virus
> > >     >     >> mail.
> > >     >     >> Aucun virus connu a ce jour par nos services n'a ete
> > >     detecte.
> > >     >     >>
> > >     >     >>
> > >     >     >
> > >     >     >
> > >     >
> > >     >
> > >
> > >
> > >     --
> > >     Sean Doyle, CTO
> > >     MedCommons, Inc.
> > >     sdoyle@medcommons.net <ma...@medcommons.net>
> > >
> > >
> >
> >
> > --
> > Sean Doyle, CTO
> > MedCommons, Inc.
> > sdoyle@medcommons.net
> >
> >
>

Re: [axis2] failure when trying to build axis2

Posted by Ruchith Fernando <ru...@gmail.com>.
Hi Loreno,

Updated the FAQ to include your suggestions.
Thanks for pointing out the problem.

- Ruchith

On 3/20/06, Sean Doyle (Gmail) <sd...@gmail.com> wrote:
> Loreno Oliveira wrote:
>
> > In really, I did two changes before get my axis copy buiding:
> >
> > 1) turn off Norton Worm Protection
> > 2) applied the recomendation for users of JDK 1.5
> > (http://ws.apache.org/axis2/faq.html
> > <http://ws.apache.org/axis2/faq.html>)
>
> Well - I was going to reply - of *course* I did this - but then I
> thought of something else to try & now the problem is solved - how do I
> make sure that this gets to the right person maintaining the FAQ?
>
> The FAQ is slightly wrong. It says to change this java.security file:
>     Add the following entry to JDK_HOME/jre/lib/security/java.security file
> But - that's not the correct file on my machine.
>
>     * I don't have a JDK_HOME defined - but I do have a JAVA_HOME
>       defined as C:\Program Files\Java\jdk1.5.0_01\
>     * So - I assumed that the file I should change would be C:\Program
>       Files\Java\jdk1.5.0_01\jre\lib\security\java.security. But it's not.
>     * When I installed my JDK it was configured to update itself
>       periodically. When I run 'java -version' I get java version "1.5.0_06"
>     * So - I have a JDK of 1.5.0_01 and a JRE of 1.5.0_06 because the
>       JRE has been upgraded several times since my install of the JDK.
>     * When I update the java.security file in C:\Program
>       Files\Java\jre1.5.0_06\lib\security then the errors I had
>       disappear - I can now build the war file!
>
> Perhaps the FAQ should say something like this:
> "You have to add Bouncy Castle as a JCE provider. Add the following
> entry to java.security file of the appropriate JRE on your machine. For
> Windows XP the correct version is found by entered 'java -version'. The
> correct file is JRE (typically c:\Program
> Files\Java\jre<version>\lib\security\java.security.
>
> Failure to modify the correct java.security file on your machine will
> result in the build failing certain tests"
>
> It might save time of people like me if the type of test that failed
> could be described here - they look like RPC-like but I don't know the
> root of the failure.
>
> Thanks!
>
>
>
> >
> > What is your java version?
> >
> > Loreno
> >
> > On 3/17/06, *Sean Doyle (Gmail)* <sdoyle.backup@gmail.com
> > <ma...@gmail.com>> wrote:
> >
> >     Loreno Oliveira wrote:
> >
> >     > I got also problems with some tests, just like Sean and Bruno.
> >     > My problem was fixed when I turned off the Norton Worm Protection...
> >
> >     No such luck here - I've turned off my Trend Micro, ran svn
> >     update, and
> >     still see errors.
> >
> >     After
> >
> >     >    [junit] [ERROR] TEST org.apache.axis2.rpc.RPCCallTest FAILED
> >     >    [junit] Running
> >     org.apache.axis2.security.AddressingMTOMSecurityTest
> >
> >
> >     you see
> >
> >     > BUILD FAILED
> >     > File...... C:\Documents and
> >     > Settings\sean\.maven\cache\maven-
> >     multiproject-plugin-1.3.1\plugin.jelly
> >     > Element... maven:reactor
> >     > Line...... 217
> >     > Column.... 9
> >     > Unable to obtain goal [multiproject:install-callback] --
> >     C:\Documents
> >     > and Settings\sean\.maven\cache\maven-test-plugin-1
> >     > .6.2\plugin.jelly:181:54: <fail> There were test failures.
> >     > Total time: 20 minutes 39 seconds
> >     > Finished at: Fri Mar 17 15:25:25 EST 2006
> >
> >     This was in response to a 'maven release'.
> >
> >
> >     >
> >     > Now I'm building and testing axis2 fine...
> >     >
> >     > Loreno
> >     >
> >     > On 3/16/06, *Eran Chinthaka* <chinthaka@opensource.lk
> >     <ma...@opensource.lk>
> >     > <mailto: chinthaka@opensource.lk
> >     <ma...@opensource.lk>>> wrote:
> >     >
> >     >     Hi Sean and Bruno,
> >     >
> >     >     We experience a build failure in Axis2 main branch now.
> >     Please give us
> >     >     time till tomoro for us to fix it.
> >     >
> >     >     Thanks,
> >     >     Chinthaka
> >     >
> >     >     Sean Doyle (Gmail) wrote:
> >     >     > bruno wanadoo wrote:
> >     >     >
> >     >     >> Hi Chinthaka & everybody else
> >     >     >>
> >     >     >> I followed instructions in the FAQ ( with jdk1.5 I modify the
> >     >     >> security file to add BC as provider)
> >     >     >> But when I launch maven , a lot of targets are built but
> >     at the
> >     >     end I
> >     >     >> got this
> >     >     >>
> >     >     > I'm getting the same
> >     >     >    Unable to obtain goal [multiproject:install-callback] --
> >     >     > C:\Documents and
> >     >     >
> >     >
> >     Settings\bruno\.maven\cache\maven-test-plugin-1.6.2\plugin.jelly:181:54:
> >     >
> >     >     > I've also put in the same attribute for BC. And svn is current
> >     >     as of a
> >     >     > few minutes ago.
> >     >     >
> >     >     > Here's what works and doesn't work - I'm a bit confused by the
> >     >     site's
> >     >     > documentation since it has two different calls to maven
> >     >     specified for
> >     >     > building the project. One fails with the plugin.jelly
> >     message, the
> >     >     > other works but doesn't make the war file.
> >     >     >
> >     >     > I'm running this in WindowsXP. My version of Maven is
> >     1.0.2. My
> >     >     > version of Java is java version " 1.5.0_06".
> >     >     >
> >     >     >
> >     >     > According to http://ws.apache.org/axis2/svn.html - you
> >     just type
> >     >     > 'maven'. This fails -
> >     >     >
> >     >     >> test:test:
> >     >     >>     [junit] Running
> >     org.apache.axis2.om.impl.dom.DocumentImplTest
> >     >     >>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time
> >     elapsed:
> >     >     0.39 sec
> >     >     >>     [junit] Running
> >     >     org.apache.axis2.om.impl.dom.DOMImplementationTest
> >     >     >>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time
> >     elapsed:
> >     >     0.28 sec
> >     >     >>     [junit] Running
> >     org.apache.axis2.om.impl.dom.ElementImplTest
> >     >     >>     [junit] Tests run: 6, Failures: 0, Errors: 0, Time
> >     elapsed:
> >     >     0.381
> >     >     >> sec
> >     >     >>     [junit] Running org.apache.axis2.om.impl.dom.MessagesTest
> >     >     >>     [junit] Tests run: 4, Failures: 0, Errors: 4, Time
> >     elapsed:
> >     >     0.471
> >     >     >> sec
> >     >     >>     *[junit] [ERROR] TEST
> >     org.apache.axis2.om.impl.dom.MessagesTest
> >     >     >> FAILED*
> >     >     >>     [junit] Running
> >     org.apache.axis2.om.impl.dom.OMDOMFactoryTest
> >     >     >>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time
> >     elapsed:
> >     >     0.281
> >     >     >> sec
> >     >     >>     [junit] Running org.apache.axis2.om.impl.dom.TextImplTest
> >     >     >>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time
> >     elapsed:
> >     >     0.28 sec
> >     >     >>
> >     >     >> BUILD FAILED
> >     >     >> File...... C:\Documents and
> >     >     >>
> >     >
> >     Settings\sean\.maven\cache\maven-multiproject-plugin-1.3.1\plugin.jelly
> >     >
> >     >     >> Element... maven:reactor
> >     >     >> Line...... 217
> >     >     >> Column.... 9
> >     >     >> Unable to obtain goal [multiproject:install-callback] --
> >     >     C:\Documents
> >     >     >> and Settings\sean\.maven\cache\maven-test-plugin-1
> >     >     >> .6.2\plugin.jelly:181:54: <fail> There were test failures.
> >     >     >> Total time: 4 minutes 9 seconds
> >     >     >> Finished at: Thu Mar 16 10:22:34 EST 2006
> >     >     >
> >     >     >
> >     >     > According to http://ws.apache.org/axis2/siteHowTo.html -
> >     you type
> >     >     > 'maven multiproject'. This worked yesterday - but it
> >     didn't make the
> >     >     > war file. And - although it worked there are several errors of
> >     >     the sort:
> >     >     >
> >     >     >> Error retrieving artifact from
> >     >     >>
> >     >     [
> >     http://www.ibiblio.org/maven/axis2/jars/axis2-codegen-0.95-SNAPSHOT.jar]:
> >     >     >> java.net.Conne
> >     >     >> ctException: Connection timed out: connect
> >     >     >> 192K downloaded
> >     >     >
> >     >     >
> >     >     >
> >     >     > Somewhere on the apache site there was a suggestion to use
> >     >     'maven.war'
> >     >     > - this failed with (I believe) the same plugin.jelly error.
> >     >     >
> >     >     > Also - I've been running 'maven clean' between runs if that
> >     >     makes any
> >     >     > difference.
> >     >     >
> >     >     > I did invoke
> >     >     >
> >     >     > %MAVEN_HOME%\bin\install_repo.bat c:\.maven\repository
> >     >     > when I installed Maven a few days ago.
> >     >     >
> >     >     > What should I try next if I want to build the war file?
> >     >     >
> >     >     >
> >     >     > Thanks..
> >     >     >
> >     >     > Sean
> >     >     >
> >     >     >>
> >     >     >>
> >     >     >> /+----------------------------------------
> >     >     >> | Executing multiproject:install-callback Apache Axis 2.0
> >     - DOM
> >     >     over OM
> >     >     >> | Memory: 8M/12M
> >     >     >> +----------------------------------------
> >     >     >> Tentative de tÚlÚchargement de axiom-1.0-SNAPSHOT.jar .
> >     >     >> Tentative de tÚlÚchargement de
> >     axis2-common-0.95-SNAPSHOT.jar.
> >     >     >> Tentative de tÚlÚchargement de axis2-core-0.95-SNAPSHOT.jar.
> >     >     >>
> >     >     >> jar:jar:
> >     >     >>
> >     >     >> jar:install:
> >     >     >>
> >     >     >>
> >     >     >> build:end:
> >     >     >>
> >     >     >> build:start:
> >     >     >>
> >     >     >> multiproject:install-callback:
> >     >     >>     [echo] Running jar:install for Apache Axis 2.0 - DOM
> >     over OM
> >     >     >> java:prepare-filesystem:
> >     >     >>
> >     >     >> java:compile:
> >     >     >>     [echo] Compiling to
> >     >     D:\work\axis2-dev\modules\doom/target/classes
> >     >     >>
> >     >     >> java:jar-resources:
> >     >     >>
> >     >     >> test:prepare-filesystem:
> >     >     >>
> >     >     >> test:test-resources:
> >     >     >>
> >     >     >> test:compile:
> >     >     >>
> >     >     >> test:test:
> >     >     >>     [junit] Running
> >     org.apache.axis2.om.impl.dom.DocumentImplTest
> >     >     >>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time
> >     elapsed:
> >     >     0,5 sec
> >     >     >>     [junit] Running
> >     >     org.apache.axis2.om.impl.dom.DOMImplementationTest
> >     >     >>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time
> >     elapsed:
> >     >     0,39 sec
> >     >     >>     [junit] Running
> >     org.apache.axis2.om.impl.dom.ElementImplTest
> >     >     >>     [junit] Tests run: 6, Failures: 0, Errors: 0, Time
> >     elapsed:
> >     >     0,406
> >     >     >> sec
> >     >     >>     [junit] Running org.apache.axis2.om.impl.dom.MessagesTest
> >     >     >>     [junit] Tests run: 4, Failures: 0, Errors: 4, Time
> >     elapsed:
> >     >     0,672
> >     >     >> sec
> >     >     >>     [junit] [ERROR] TEST
> >     org.apache.axis2.om.impl.dom.MessagesTest
> >     >     >> FAILED
> >     >     >>     [junit] Running
> >     org.apache.axis2.om.impl.dom.OMDOMFactoryTest
> >     >     >>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time
> >     elapsed:
> >     >     0,296
> >     >     >> sec
> >     >     >>     [junit] Running org.apache.axis2.om.impl.dom.TextImplTest
> >     >     >>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time
> >     elapsed:
> >     >     0,297
> >     >     >> sec
> >     >     >>
> >     >     >> BUILD FAILED
> >     >     >> File...... C:\Documents and
> >     >     >>
> >     >
> >     Settings\bruno\.maven\cache\maven-multiproject-plugin-1.3.1\plugin.jelly
> >     >     >> Element... maven:reactor
> >     >     >> Line...... 217
> >     >     >> Column.... 9
> >     >     >> Unable to obtain goal [multiproject:install-callback] --
> >     >     C:\Documents
> >     >     >> and
> >     >     >>
> >     >
> >     Settings\bruno\.maven\cache\maven-test-plugin-1.6.2\plugin.jelly:181:54:
> >     >     >> <fail> There were test failures.
> >     >     >> Total time: 2 minutes 11 seconds
> >     >     >> Finished at: Thu Mar 16 13:54:14 CET 2006
> >     >     >> /
> >     >     >>
> >     >     >> If someone has the answer , it will be nice
> >     >     >>
> >     >     >>
> >     >     >>
> >     >     >> Thanks in advance
> >     >     >>
> >     >     >>
> >     >     >> -----Message d'origine-----
> >     >     >> De : Eran Chinthaka [mailto: chinthaka@opensource.lk
> >     <ma...@opensource.lk>
> >     >     <mailto: chinthaka@opensource.lk
> >     <ma...@opensource.lk>>]
> >     >     >> Envoyé : jeudi 16 mars 2006 10:24
> >     >     >> Ŕ : axis-user@ws.apache.org
> >     <ma...@ws.apache.org> <mailto: axis-user@ws.apache.org
> >     <ma...@ws.apache.org>>
> >     >     >> Objet : Re: failure when trying to build axis2
> >     >     >>
> >     >     >> Hi Bruno,
> >     >     >>
> >     >     >> If you can exactly point out your problem, I may be able to
> >     >     help you.
> >     >     >>
> >     >     >> About the jars, yes there can be a slight problem, if
> >     maven can not
> >     >     >> establish a connection to the repository properly.
> >     >     >>
> >     >     >> But since you have mentioned that your build is
> >     successful, I don't
> >     >     >> think you still have problems with your jars.
> >     >     >>
> >     >     >> Are you having problems with tests ? If you are using
> >     jdk5, please
> >     >     >> make sure you follow the tips given in the FAQ.
> >     >     >>
> >     >     >> -- Chinthaka
> >     >     >>
> >     >     >> bruno wanadoo wrote:
> >     >     >> > Hi to all
> >     >     >> > I had the same problem myself with wersion 0.94
> >     >     >> >
> >     >     >> > After download latest sources from svn everything works
> >     fine
> >     >     and at
> >     >     >> > last the build is successful But I still have problem with
> >     >     sme of the
> >     >     >> > tests
> >     >     >> >
> >     >     >> >
> >     >     >>
> >     >
> >     ---------------------------------------------------------------------------------------
> >
> >     >     >>
> >     >     >> Wanadoo vous informe que cet  e-mail a ete controle par
> >     >     l'anti-virus
> >     >     >> mail.
> >     >     >> Aucun virus connu a ce jour par nos services n'a ete
> >     detecte.
> >     >     >>
> >     >     >>
> >     >     >
> >     >     >
> >     >
> >     >
> >
> >
> >     --
> >     Sean Doyle, CTO
> >     MedCommons, Inc.
> >     sdoyle@medcommons.net <ma...@medcommons.net>
> >
> >
>
>
> --
> Sean Doyle, CTO
> MedCommons, Inc.
> sdoyle@medcommons.net
>
>

Re: [axis2] failure when trying to build axis2

Posted by "Sean Doyle (Gmail)" <sd...@gmail.com>.
Loreno Oliveira wrote:

> In really, I did two changes before get my axis copy buiding:
>
> 1) turn off Norton Worm Protection
> 2) applied the recomendation for users of JDK 1.5 
> (http://ws.apache.org/axis2/faq.html 
> <http://ws.apache.org/axis2/faq.html>)

Well - I was going to reply - of *course* I did this - but then I 
thought of something else to try & now the problem is solved - how do I 
make sure that this gets to the right person maintaining the FAQ?

The FAQ is slightly wrong. It says to change this java.security file:
    Add the following entry to JDK_HOME/jre/lib/security/java.security file
But - that's not the correct file on my machine.

    * I don't have a JDK_HOME defined - but I do have a JAVA_HOME
      defined as C:\Program Files\Java\jdk1.5.0_01\
    * So - I assumed that the file I should change would be C:\Program
      Files\Java\jdk1.5.0_01\jre\lib\security\java.security. But it's not.
    * When I installed my JDK it was configured to update itself
      periodically. When I run 'java -version' I get java version "1.5.0_06"
    * So - I have a JDK of 1.5.0_01 and a JRE of 1.5.0_06 because the
      JRE has been upgraded several times since my install of the JDK.
    * When I update the java.security file in C:\Program
      Files\Java\jre1.5.0_06\lib\security then the errors I had
      disappear - I can now build the war file!

Perhaps the FAQ should say something like this:
"You have to add Bouncy Castle as a JCE provider. Add the following 
entry to java.security file of the appropriate JRE on your machine. For 
Windows XP the correct version is found by entered 'java -version'. The 
correct file is JRE (typically c:\Program 
Files\Java\jre<version>\lib\security\java.security.

Failure to modify the correct java.security file on your machine will 
result in the build failing certain tests"

It might save time of people like me if the type of test that failed 
could be described here - they look like RPC-like but I don't know the 
root of the failure.

Thanks!



>
> What is your java version?
>
> Loreno
>
> On 3/17/06, *Sean Doyle (Gmail)* <sdoyle.backup@gmail.com 
> <ma...@gmail.com>> wrote:
>
>     Loreno Oliveira wrote:
>
>     > I got also problems with some tests, just like Sean and Bruno.
>     > My problem was fixed when I turned off the Norton Worm Protection...
>
>     No such luck here - I've turned off my Trend Micro, ran svn
>     update, and
>     still see errors.
>
>     After
>
>     >    [junit] [ERROR] TEST org.apache.axis2.rpc.RPCCallTest FAILED
>     >    [junit] Running
>     org.apache.axis2.security.AddressingMTOMSecurityTest
>
>
>     you see
>
>     > BUILD FAILED
>     > File...... C:\Documents and
>     > Settings\sean\.maven\cache\maven-
>     multiproject-plugin-1.3.1\plugin.jelly
>     > Element... maven:reactor
>     > Line...... 217
>     > Column.... 9
>     > Unable to obtain goal [multiproject:install-callback] --
>     C:\Documents
>     > and Settings\sean\.maven\cache\maven-test-plugin-1
>     > .6.2\plugin.jelly:181:54: <fail> There were test failures.
>     > Total time: 20 minutes 39 seconds
>     > Finished at: Fri Mar 17 15:25:25 EST 2006
>
>     This was in response to a 'maven release'.
>
>
>     >
>     > Now I'm building and testing axis2 fine...
>     >
>     > Loreno
>     >
>     > On 3/16/06, *Eran Chinthaka* <chinthaka@opensource.lk
>     <ma...@opensource.lk>
>     > <mailto: chinthaka@opensource.lk
>     <ma...@opensource.lk>>> wrote:
>     >
>     >     Hi Sean and Bruno,
>     >
>     >     We experience a build failure in Axis2 main branch now.
>     Please give us
>     >     time till tomoro for us to fix it.
>     >
>     >     Thanks,
>     >     Chinthaka
>     >
>     >     Sean Doyle (Gmail) wrote:
>     >     > bruno wanadoo wrote:
>     >     >
>     >     >> Hi Chinthaka & everybody else
>     >     >>
>     >     >> I followed instructions in the FAQ ( with jdk1.5 I modify the
>     >     >> security file to add BC as provider)
>     >     >> But when I launch maven , a lot of targets are built but
>     at the
>     >     end I
>     >     >> got this
>     >     >>
>     >     > I'm getting the same
>     >     >    Unable to obtain goal [multiproject:install-callback] --
>     >     > C:\Documents and
>     >     >
>     >    
>     Settings\bruno\.maven\cache\maven-test-plugin-1.6.2\plugin.jelly:181:54:
>     >
>     >     > I've also put in the same attribute for BC. And svn is current
>     >     as of a
>     >     > few minutes ago.
>     >     >
>     >     > Here's what works and doesn't work - I'm a bit confused by the
>     >     site's
>     >     > documentation since it has two different calls to maven
>     >     specified for
>     >     > building the project. One fails with the plugin.jelly
>     message, the
>     >     > other works but doesn't make the war file.
>     >     >
>     >     > I'm running this in WindowsXP. My version of Maven is
>     1.0.2. My
>     >     > version of Java is java version " 1.5.0_06".
>     >     >
>     >     >
>     >     > According to http://ws.apache.org/axis2/svn.html - you
>     just type
>     >     > 'maven'. This fails -
>     >     >
>     >     >> test:test:
>     >     >>     [junit] Running
>     org.apache.axis2.om.impl.dom.DocumentImplTest
>     >     >>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time
>     elapsed:
>     >     0.39 sec
>     >     >>     [junit] Running
>     >     org.apache.axis2.om.impl.dom.DOMImplementationTest
>     >     >>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time
>     elapsed:
>     >     0.28 sec
>     >     >>     [junit] Running
>     org.apache.axis2.om.impl.dom.ElementImplTest
>     >     >>     [junit] Tests run: 6, Failures: 0, Errors: 0, Time
>     elapsed:
>     >     0.381
>     >     >> sec
>     >     >>     [junit] Running org.apache.axis2.om.impl.dom.MessagesTest
>     >     >>     [junit] Tests run: 4, Failures: 0, Errors: 4, Time
>     elapsed:
>     >     0.471
>     >     >> sec
>     >     >>     *[junit] [ERROR] TEST
>     org.apache.axis2.om.impl.dom.MessagesTest
>     >     >> FAILED*
>     >     >>     [junit] Running
>     org.apache.axis2.om.impl.dom.OMDOMFactoryTest
>     >     >>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time
>     elapsed:
>     >     0.281
>     >     >> sec
>     >     >>     [junit] Running org.apache.axis2.om.impl.dom.TextImplTest
>     >     >>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time
>     elapsed:
>     >     0.28 sec
>     >     >>
>     >     >> BUILD FAILED
>     >     >> File...... C:\Documents and
>     >     >>
>     >    
>     Settings\sean\.maven\cache\maven-multiproject-plugin-1.3.1\plugin.jelly
>     >
>     >     >> Element... maven:reactor
>     >     >> Line...... 217
>     >     >> Column.... 9
>     >     >> Unable to obtain goal [multiproject:install-callback] --
>     >     C:\Documents
>     >     >> and Settings\sean\.maven\cache\maven-test-plugin-1
>     >     >> .6.2\plugin.jelly:181:54: <fail> There were test failures.
>     >     >> Total time: 4 minutes 9 seconds
>     >     >> Finished at: Thu Mar 16 10:22:34 EST 2006
>     >     >
>     >     >
>     >     > According to http://ws.apache.org/axis2/siteHowTo.html -
>     you type
>     >     > 'maven multiproject'. This worked yesterday - but it
>     didn't make the
>     >     > war file. And - although it worked there are several errors of
>     >     the sort:
>     >     >
>     >     >> Error retrieving artifact from
>     >     >>
>     >     [
>     http://www.ibiblio.org/maven/axis2/jars/axis2-codegen-0.95-SNAPSHOT.jar]:
>     >     >> java.net.Conne
>     >     >> ctException: Connection timed out: connect
>     >     >> 192K downloaded
>     >     >
>     >     >
>     >     >
>     >     > Somewhere on the apache site there was a suggestion to use
>     >     'maven.war'
>     >     > - this failed with (I believe) the same plugin.jelly error.
>     >     >
>     >     > Also - I've been running 'maven clean' between runs if that
>     >     makes any
>     >     > difference.
>     >     >
>     >     > I did invoke
>     >     >
>     >     > %MAVEN_HOME%\bin\install_repo.bat c:\.maven\repository
>     >     > when I installed Maven a few days ago.
>     >     >
>     >     > What should I try next if I want to build the war file?
>     >     >
>     >     >
>     >     > Thanks..
>     >     >
>     >     > Sean
>     >     >
>     >     >>
>     >     >>
>     >     >> /+----------------------------------------
>     >     >> | Executing multiproject:install-callback Apache Axis 2.0
>     - DOM
>     >     over OM
>     >     >> | Memory: 8M/12M
>     >     >> +----------------------------------------
>     >     >> Tentative de tÚlÚchargement de axiom-1.0-SNAPSHOT.jar .
>     >     >> Tentative de tÚlÚchargement de
>     axis2-common-0.95-SNAPSHOT.jar.
>     >     >> Tentative de tÚlÚchargement de axis2-core-0.95-SNAPSHOT.jar.
>     >     >>
>     >     >> jar:jar:
>     >     >>
>     >     >> jar:install:
>     >     >>
>     >     >>
>     >     >> build:end:
>     >     >>
>     >     >> build:start:
>     >     >>
>     >     >> multiproject:install-callback:
>     >     >>     [echo] Running jar:install for Apache Axis 2.0 - DOM
>     over OM
>     >     >> java:prepare-filesystem:
>     >     >>
>     >     >> java:compile:
>     >     >>     [echo] Compiling to
>     >     D:\work\axis2-dev\modules\doom/target/classes
>     >     >>
>     >     >> java:jar-resources:
>     >     >>
>     >     >> test:prepare-filesystem:
>     >     >>
>     >     >> test:test-resources:
>     >     >>
>     >     >> test:compile:
>     >     >>
>     >     >> test:test:
>     >     >>     [junit] Running
>     org.apache.axis2.om.impl.dom.DocumentImplTest
>     >     >>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time
>     elapsed:
>     >     0,5 sec
>     >     >>     [junit] Running
>     >     org.apache.axis2.om.impl.dom.DOMImplementationTest
>     >     >>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time
>     elapsed:
>     >     0,39 sec
>     >     >>     [junit] Running
>     org.apache.axis2.om.impl.dom.ElementImplTest
>     >     >>     [junit] Tests run: 6, Failures: 0, Errors: 0, Time
>     elapsed:
>     >     0,406
>     >     >> sec
>     >     >>     [junit] Running org.apache.axis2.om.impl.dom.MessagesTest
>     >     >>     [junit] Tests run: 4, Failures: 0, Errors: 4, Time
>     elapsed:
>     >     0,672
>     >     >> sec
>     >     >>     [junit] [ERROR] TEST
>     org.apache.axis2.om.impl.dom.MessagesTest
>     >     >> FAILED
>     >     >>     [junit] Running
>     org.apache.axis2.om.impl.dom.OMDOMFactoryTest
>     >     >>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time
>     elapsed:
>     >     0,296
>     >     >> sec
>     >     >>     [junit] Running org.apache.axis2.om.impl.dom.TextImplTest
>     >     >>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time
>     elapsed:
>     >     0,297
>     >     >> sec
>     >     >>
>     >     >> BUILD FAILED
>     >     >> File...... C:\Documents and
>     >     >>
>     >    
>     Settings\bruno\.maven\cache\maven-multiproject-plugin-1.3.1\plugin.jelly
>     >     >> Element... maven:reactor
>     >     >> Line...... 217
>     >     >> Column.... 9
>     >     >> Unable to obtain goal [multiproject:install-callback] --
>     >     C:\Documents
>     >     >> and
>     >     >>
>     >    
>     Settings\bruno\.maven\cache\maven-test-plugin-1.6.2\plugin.jelly:181:54:
>     >     >> <fail> There were test failures.
>     >     >> Total time: 2 minutes 11 seconds
>     >     >> Finished at: Thu Mar 16 13:54:14 CET 2006
>     >     >> /
>     >     >>
>     >     >> If someone has the answer , it will be nice
>     >     >>
>     >     >>
>     >     >>
>     >     >> Thanks in advance
>     >     >>
>     >     >>
>     >     >> -----Message d'origine-----
>     >     >> De : Eran Chinthaka [mailto: chinthaka@opensource.lk
>     <ma...@opensource.lk>
>     >     <mailto: chinthaka@opensource.lk
>     <ma...@opensource.lk>>]
>     >     >> Envoyé : jeudi 16 mars 2006 10:24
>     >     >> À : axis-user@ws.apache.org
>     <ma...@ws.apache.org> <mailto: axis-user@ws.apache.org
>     <ma...@ws.apache.org>>
>     >     >> Objet : Re: failure when trying to build axis2
>     >     >>
>     >     >> Hi Bruno,
>     >     >>
>     >     >> If you can exactly point out your problem, I may be able to
>     >     help you.
>     >     >>
>     >     >> About the jars, yes there can be a slight problem, if
>     maven can not
>     >     >> establish a connection to the repository properly.
>     >     >>
>     >     >> But since you have mentioned that your build is
>     successful, I don't
>     >     >> think you still have problems with your jars.
>     >     >>
>     >     >> Are you having problems with tests ? If you are using
>     jdk5, please
>     >     >> make sure you follow the tips given in the FAQ.
>     >     >>
>     >     >> -- Chinthaka
>     >     >>
>     >     >> bruno wanadoo wrote:
>     >     >> > Hi to all
>     >     >> > I had the same problem myself with wersion 0.94
>     >     >> >
>     >     >> > After download latest sources from svn everything works
>     fine
>     >     and at
>     >     >> > last the build is successful But I still have problem with
>     >     sme of the
>     >     >> > tests
>     >     >> >
>     >     >> >
>     >     >>
>     >    
>     ---------------------------------------------------------------------------------------
>
>     >     >>
>     >     >> Wanadoo vous informe que cet  e-mail a ete controle par
>     >     l'anti-virus
>     >     >> mail.
>     >     >> Aucun virus connu a ce jour par nos services n'a ete
>     detecte.
>     >     >>
>     >     >>
>     >     >
>     >     >
>     >
>     >
>
>
>     --
>     Sean Doyle, CTO
>     MedCommons, Inc.
>     sdoyle@medcommons.net <ma...@medcommons.net>
>
>


-- 
Sean Doyle, CTO
MedCommons, Inc.
sdoyle@medcommons.net


Re: [axis2] failure when trying to build axis2

Posted by Loreno Oliveira <lo...@gmail.com>.
In really, I did two changes before get my axis copy buiding:

1) turn off Norton Worm Protection
2) applied the recomendation for users of JDK 1.5 (
http://ws.apache.org/axis2/faq.html)

What is your java version?

Loreno

On 3/17/06, Sean Doyle (Gmail) <sd...@gmail.com> wrote:
>
> Loreno Oliveira wrote:
>
> > I got also problems with some tests, just like Sean and Bruno.
> > My problem was fixed when I turned off the Norton Worm Protection...
>
> No such luck here - I've turned off my Trend Micro, ran svn update, and
> still see errors.
>
> After
>
> >    [junit] [ERROR] TEST org.apache.axis2.rpc.RPCCallTest FAILED
> >    [junit] Running org.apache.axis2.security.AddressingMTOMSecurityTest
>
>
> you see
>
> > BUILD FAILED
> > File...... C:\Documents and
> > Settings\sean\.maven\cache\maven-multiproject-plugin-1.3.1\plugin.jelly
> > Element... maven:reactor
> > Line...... 217
> > Column.... 9
> > Unable to obtain goal [multiproject:install-callback] -- C:\Documents
> > and Settings\sean\.maven\cache\maven-test-plugin-1
> > .6.2\plugin.jelly:181:54: <fail> There were test failures.
> > Total time: 20 minutes 39 seconds
> > Finished at: Fri Mar 17 15:25:25 EST 2006
>
> This was in response to a 'maven release'.
>
>
> >
> > Now I'm building and testing axis2 fine...
> >
> > Loreno
> >
> > On 3/16/06, *Eran Chinthaka* <chinthaka@opensource.lk
> > <ma...@opensource.lk>> wrote:
> >
> >     Hi Sean and Bruno,
> >
> >     We experience a build failure in Axis2 main branch now. Please give
> us
> >     time till tomoro for us to fix it.
> >
> >     Thanks,
> >     Chinthaka
> >
> >     Sean Doyle (Gmail) wrote:
> >     > bruno wanadoo wrote:
> >     >
> >     >> Hi Chinthaka & everybody else
> >     >>
> >     >> I followed instructions in the FAQ ( with jdk1.5 I modify the
> >     >> security file to add BC as provider)
> >     >> But when I launch maven , a lot of targets are built but at the
> >     end I
> >     >> got this
> >     >>
> >     > I'm getting the same
> >     >    Unable to obtain goal [multiproject:install-callback] --
> >     > C:\Documents and
> >     >
> >     Settings\bruno\.maven\cache\maven-
> test-plugin-1.6.2\plugin.jelly:181:54:
> >
> >     > I've also put in the same attribute for BC. And svn is current
> >     as of a
> >     > few minutes ago.
> >     >
> >     > Here's what works and doesn't work - I'm a bit confused by the
> >     site's
> >     > documentation since it has two different calls to maven
> >     specified for
> >     > building the project. One fails with the plugin.jelly message, the
> >     > other works but doesn't make the war file.
> >     >
> >     > I'm running this in WindowsXP. My version of Maven is 1.0.2. My
> >     > version of Java is java version " 1.5.0_06".
> >     >
> >     >
> >     > According to http://ws.apache.org/axis2/svn.html - you just type
> >     > 'maven'. This fails -
> >     >
> >     >> test:test:
> >     >>     [junit] Running org.apache.axis2.om.impl.dom.DocumentImplTest
> >     >>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed:
> >     0.39 sec
> >     >>     [junit] Running
> >     org.apache.axis2.om.impl.dom.DOMImplementationTest
> >     >>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
> >     0.28 sec
> >     >>     [junit] Running org.apache.axis2.om.impl.dom.ElementImplTest
> >     >>     [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed:
> >     0.381
> >     >> sec
> >     >>     [junit] Running org.apache.axis2.om.impl.dom.MessagesTest
> >     >>     [junit] Tests run: 4, Failures: 0, Errors: 4, Time elapsed:
> >     0.471
> >     >> sec
> >     >>     *[junit] [ERROR] TEST
> org.apache.axis2.om.impl.dom.MessagesTest
> >     >> FAILED*
> >     >>     [junit] Running org.apache.axis2.om.impl.dom.OMDOMFactoryTest
> >     >>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
> >     0.281
> >     >> sec
> >     >>     [junit] Running org.apache.axis2.om.impl.dom.TextImplTest
> >     >>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed:
> >     0.28 sec
> >     >>
> >     >> BUILD FAILED
> >     >> File...... C:\Documents and
> >     >>
> >     Settings\sean\.maven\cache\maven-
> multiproject-plugin-1.3.1\plugin.jelly
> >
> >     >> Element... maven:reactor
> >     >> Line...... 217
> >     >> Column.... 9
> >     >> Unable to obtain goal [multiproject:install-callback] --
> >     C:\Documents
> >     >> and Settings\sean\.maven\cache\maven-test-plugin-1
> >     >> .6.2\plugin.jelly:181:54: <fail> There were test failures.
> >     >> Total time: 4 minutes 9 seconds
> >     >> Finished at: Thu Mar 16 10:22:34 EST 2006
> >     >
> >     >
> >     > According to http://ws.apache.org/axis2/siteHowTo.html - you type
> >     > 'maven multiproject'. This worked yesterday - but it didn't make
> the
> >     > war file. And - although it worked there are several errors of
> >     the sort:
> >     >
> >     >> Error retrieving artifact from
> >     >>
> >     [
> http://www.ibiblio.org/maven/axis2/jars/axis2-codegen-0.95-SNAPSHOT.jar]:
> >     >> java.net.Conne
> >     >> ctException: Connection timed out: connect
> >     >> 192K downloaded
> >     >
> >     >
> >     >
> >     > Somewhere on the apache site there was a suggestion to use
> >     'maven.war'
> >     > - this failed with (I believe) the same plugin.jelly error.
> >     >
> >     > Also - I've been running 'maven clean' between runs if that
> >     makes any
> >     > difference.
> >     >
> >     > I did invoke
> >     >
> >     > %MAVEN_HOME%\bin\install_repo.bat c:\.maven\repository
> >     > when I installed Maven a few days ago.
> >     >
> >     > What should I try next if I want to build the war file?
> >     >
> >     >
> >     > Thanks..
> >     >
> >     > Sean
> >     >
> >     >>
> >     >>
> >     >> /+----------------------------------------
> >     >> | Executing multiproject:install-callback Apache Axis 2.0 - DOM
> >     over OM
> >     >> | Memory: 8M/12M
> >     >> +----------------------------------------
> >     >> Tentative de tÚlÚchargement de axiom-1.0-SNAPSHOT.jar .
> >     >> Tentative de tÚlÚchargement de axis2-common-0.95-SNAPSHOT.jar.
> >     >> Tentative de tÚlÚchargement de axis2-core-0.95-SNAPSHOT.jar.
> >     >>
> >     >> jar:jar:
> >     >>
> >     >> jar:install:
> >     >>
> >     >>
> >     >> build:end:
> >     >>
> >     >> build:start:
> >     >>
> >     >> multiproject:install-callback:
> >     >>     [echo] Running jar:install for Apache Axis 2.0 - DOM over OM
> >     >> java:prepare-filesystem:
> >     >>
> >     >> java:compile:
> >     >>     [echo] Compiling to
> >     D:\work\axis2-dev\modules\doom/target/classes
> >     >>
> >     >> java:jar-resources:
> >     >>
> >     >> test:prepare-filesystem:
> >     >>
> >     >> test:test-resources:
> >     >>
> >     >> test:compile:
> >     >>
> >     >> test:test:
> >     >>     [junit] Running org.apache.axis2.om.impl.dom.DocumentImplTest
> >     >>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed:
> >     0,5 sec
> >     >>     [junit] Running
> >     org.apache.axis2.om.impl.dom.DOMImplementationTest
> >     >>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
> >     0,39 sec
> >     >>     [junit] Running org.apache.axis2.om.impl.dom.ElementImplTest
> >     >>     [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed:
> >     0,406
> >     >> sec
> >     >>     [junit] Running org.apache.axis2.om.impl.dom.MessagesTest
> >     >>     [junit] Tests run: 4, Failures: 0, Errors: 4, Time elapsed:
> >     0,672
> >     >> sec
> >     >>     [junit] [ERROR] TEST
> org.apache.axis2.om.impl.dom.MessagesTest
> >     >> FAILED
> >     >>     [junit] Running org.apache.axis2.om.impl.dom.OMDOMFactoryTest
> >     >>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
> >     0,296
> >     >> sec
> >     >>     [junit] Running org.apache.axis2.om.impl.dom.TextImplTest
> >     >>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed:
> >     0,297
> >     >> sec
> >     >>
> >     >> BUILD FAILED
> >     >> File...... C:\Documents and
> >     >>
> >     Settings\bruno\.maven\cache\maven-
> multiproject-plugin-1.3.1\plugin.jelly
> >     >> Element... maven:reactor
> >     >> Line...... 217
> >     >> Column.... 9
> >     >> Unable to obtain goal [multiproject:install-callback] --
> >     C:\Documents
> >     >> and
> >     >>
> >     Settings\bruno\.maven\cache\maven-
> test-plugin-1.6.2\plugin.jelly:181:54:
> >     >> <fail> There were test failures.
> >     >> Total time: 2 minutes 11 seconds
> >     >> Finished at: Thu Mar 16 13:54:14 CET 2006
> >     >> /
> >     >>
> >     >> If someone has the answer , it will be nice
> >     >>
> >     >>
> >     >>
> >     >> Thanks in advance
> >     >>
> >     >>
> >     >> -----Message d'origine-----
> >     >> De : Eran Chinthaka [mailto: chinthaka@opensource.lk
> >     <ma...@opensource.lk>]
> >     >> Envoyé : jeudi 16 mars 2006 10:24
> >     >> À : axis-user@ws.apache.org <ma...@ws.apache.org>
> >     >> Objet : Re: failure when trying to build axis2
> >     >>
> >     >> Hi Bruno,
> >     >>
> >     >> If you can exactly point out your problem, I may be able to
> >     help you.
> >     >>
> >     >> About the jars, yes there can be a slight problem, if maven can
> not
> >     >> establish a connection to the repository properly.
> >     >>
> >     >> But since you have mentioned that your build is successful, I
> don't
> >     >> think you still have problems with your jars.
> >     >>
> >     >> Are you having problems with tests ? If you are using jdk5,
> please
> >     >> make sure you follow the tips given in the FAQ.
> >     >>
> >     >> -- Chinthaka
> >     >>
> >     >> bruno wanadoo wrote:
> >     >> > Hi to all
> >     >> > I had the same problem myself with wersion 0.94
> >     >> >
> >     >> > After download latest sources from svn everything works fine
> >     and at
> >     >> > last the build is successful But I still have problem with
> >     sme of the
> >     >> > tests
> >     >> >
> >     >> >
> >     >>
> >
> ---------------------------------------------------------------------------------------
> >     >>
> >     >> Wanadoo vous informe que cet  e-mail a ete controle par
> >     l'anti-virus
> >     >> mail.
> >     >> Aucun virus connu a ce jour par nos services n'a ete detecte.
> >     >>
> >     >>
> >     >
> >     >
> >
> >
>
>
> --
> Sean Doyle, CTO
> MedCommons, Inc.
> sdoyle@medcommons.net
>
>

Re: [axis2] failure when trying to build axis2

Posted by Dennis Sosnoski <dm...@sosnoski.com>.
I tried this on JDK 1.4.2. I wasn't able to make the endorsed directory 
work with 1.4 - when I created a lib/endorsed directory under JAVA_HOME 
and added xalan-2.6.0.jar and xercesImpl-2.7.1.jar maven failed 
immediately with NoClassDefFoundError: org/xml/sax/ext/Attributes2.

But just running with no MAVEN_OPTS worked! So I guess 
-Dversion_affix=dev is no longer required (or supported). Thanks again, 
dims,

  - Dennis

Davanum Srinivas wrote:

>I set up a brand new ubuntu box on friday. Got Axis2 building with
>JDK1.4,JDK1.5,IBMJDK1.5, JROCKIT 1.5.
>
>Jogging my memory...here are some tips:
>- Don't set anything in MAVEN_OPTS (just try it out)
>- Make sure u add the bc provider as mentioned in the FAQ
>- In JDK1.4, drop latest xalan and xerces in endorsed directory
>
>-- dims
>
>On 3/19/06, Dennis Sosnoski <dm...@sosnoski.com> wrote:
>  
>
>>I don't normally use -o, but tried building Axiom and dropping it in the
>>Maven repository, then did "maven clean" and "maven -o". I still get
>>failures in "Apache Axis 2.0 - Integration", though. The same failures
>>occur when I try building with Java 5. Anyone have any idea why "Apache
>>Axis 2.0 - Integration" tests would fail consistently?
>>
>>  - Dennis
>>
>>Ajith Ranabahu wrote:
>>
>>    
>>
>>>Hi all,
>>>There was an Axiom change that broke the build for a while and now it
>>>is fixed. I guess the Axiom jar should be upated by now. But if you
>>>are in the habit of running the build with -o (offline) which makes
>>>things faster, then you may still be having the older jar in your
>>>maven  repository which could be the problem.
>>>The safest thing you can do is to build Axiom by yourself and put the
>>>jar inside the repo.
>>>
>>>HTH
>>>
>>>Ajith
>>>
>>>On 3/19/06, Dennis Sosnoski <dm...@sosnoski.com> wrote:
>>>
>>>
>>>      
>>>
>>>>I've also been getting repeated and consistent test failures over the
>>>>last week, despite updating to the latest SVN code every day. The first
>>>>error is with org.apache.axis2.engine.CallUnregisteredServiceTest, and
>>>>pretty much everything from that point on has errors. I'm running on
>>>>Linux, using JDK 1.4.2 from Sun. I do a "maven clean" first, then
>>>>"maven", and have MAVEN_OPTS=-Dversion_affix=dev
>>>>
>>>> - Dennis
>>>>
>>>>Sean Doyle (Gmail) wrote:
>>>>
>>>>
>>>>
>>>>        
>>>>
>>>>>Loreno Oliveira wrote:
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>I got also problems with some tests, just like Sean and Bruno.
>>>>>>My problem was fixed when I turned off the Norton Worm Protection...
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>No such luck here - I've turned off my Trend Micro, ran svn update,
>>>>>and still see errors.
>>>>>
>>>>>After
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>  [junit] [ERROR] TEST org.apache.axis2.rpc.RPCCallTest FAILED
>>>>>>  [junit] Running org.apache.axis2.security.AddressingMTOMSecurityTest
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>you see
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>BUILD FAILED
>>>>>>File...... C:\Documents and
>>>>>>Settings\sean\.maven\cache\maven-multiproject-plugin-1.3.1\plugin.jelly
>>>>>>Element... maven:reactor
>>>>>>Line...... 217
>>>>>>Column.... 9
>>>>>>Unable to obtain goal [multiproject:install-callback] -- C:\Documents
>>>>>>and Settings\sean\.maven\cache\maven-test-plugin-1
>>>>>>.6.2\plugin.jelly:181:54: <fail> There were test failures.
>>>>>>Total time: 20 minutes 39 seconds
>>>>>>Finished at: Fri Mar 17 15:25:25 EST 2006
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>This was in response to a 'maven release'.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>Now I'm building and testing axis2 fine...
>>>>>>
>>>>>>Loreno
>>>>>>
>>>>>>On 3/16/06, *Eran Chinthaka* <chinthaka@opensource.lk
>>>>>><ma...@opensource.lk>> wrote:
>>>>>>
>>>>>>   Hi Sean and Bruno,
>>>>>>
>>>>>>   We experience a build failure in Axis2 main branch now. Please
>>>>>>give us
>>>>>>   time till tomoro for us to fix it.
>>>>>>
>>>>>>   Thanks,
>>>>>>   Chinthaka
>>>>>>
>>>>>>   Sean Doyle (Gmail) wrote:
>>>>>>   > bruno wanadoo wrote:
>>>>>>   >
>>>>>>   >> Hi Chinthaka & everybody else
>>>>>>   >>
>>>>>>   >> I followed instructions in the FAQ ( with jdk1.5 I modify the
>>>>>>   >> security file to add BC as provider)
>>>>>>   >> But when I launch maven , a lot of targets are built but at the
>>>>>>   end I
>>>>>>   >> got this
>>>>>>   >>
>>>>>>   > I'm getting the same
>>>>>>   >    Unable to obtain goal [multiproject:install-callback] --
>>>>>>   > C:\Documents and
>>>>>>   >
>>>>>>
>>>>>>Settings\bruno\.maven\cache\maven-test-plugin-1.6.2\plugin.jelly:181:54:
>>>>>>
>>>>>>   > I've also put in the same attribute for BC. And svn is current
>>>>>>   as of a
>>>>>>   > few minutes ago.
>>>>>>   >
>>>>>>   > Here's what works and doesn't work - I'm a bit confused by the
>>>>>>   site's
>>>>>>   > documentation since it has two different calls to maven
>>>>>>   specified for
>>>>>>   > building the project. One fails with the plugin.jelly message, the
>>>>>>   > other works but doesn't make the war file.
>>>>>>   >
>>>>>>   > I'm running this in WindowsXP. My version of Maven is 1.0.2. My
>>>>>>   > version of Java is java version " 1.5.0_06".
>>>>>>   >
>>>>>>   >
>>>>>>   > According to http://ws.apache.org/axis2/svn.html - you just type
>>>>>>   > 'maven'. This fails -
>>>>>>   >
>>>>>>   >> test:test:
>>>>>>   >>     [junit] Running org.apache.axis2.om.impl.dom.DocumentImplTest
>>>>>>   >>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed:
>>>>>>   0.39 sec
>>>>>>   >>     [junit] Running
>>>>>>   org.apache.axis2.om.impl.dom.DOMImplementationTest
>>>>>>   >>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
>>>>>>   0.28 sec
>>>>>>   >>     [junit] Running org.apache.axis2.om.impl.dom.ElementImplTest
>>>>>>   >>     [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed:
>>>>>>   0.381
>>>>>>   >> sec
>>>>>>   >>     [junit] Running org.apache.axis2.om.impl.dom.MessagesTest
>>>>>>   >>     [junit] Tests run: 4, Failures: 0, Errors: 4, Time elapsed:
>>>>>>   0.471
>>>>>>   >> sec
>>>>>>   >>     *[junit] [ERROR] TEST
>>>>>>org.apache.axis2.om.impl.dom.MessagesTest
>>>>>>   >> FAILED*
>>>>>>   >>     [junit] Running org.apache.axis2.om.impl.dom.OMDOMFactoryTest
>>>>>>   >>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
>>>>>>   0.281
>>>>>>   >> sec
>>>>>>   >>     [junit] Running org.apache.axis2.om.impl.dom.TextImplTest
>>>>>>   >>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed:
>>>>>>   0.28 sec
>>>>>>   >>
>>>>>>   >> BUILD FAILED
>>>>>>   >> File...... C:\Documents and
>>>>>>   >>
>>>>>>
>>>>>>Settings\sean\.maven\cache\maven-multiproject-plugin-1.3.1\plugin.jelly
>>>>>>
>>>>>>   >> Element... maven:reactor
>>>>>>   >> Line...... 217
>>>>>>   >> Column.... 9
>>>>>>   >> Unable to obtain goal [multiproject:install-callback] --
>>>>>>   C:\Documents
>>>>>>   >> and Settings\sean\.maven\cache\maven-test-plugin-1
>>>>>>   >> .6.2\plugin.jelly:181:54: <fail> There were test failures.
>>>>>>   >> Total time: 4 minutes 9 seconds
>>>>>>   >> Finished at: Thu Mar 16 10:22:34 EST 2006
>>>>>>   >
>>>>>>   >
>>>>>>   > According to http://ws.apache.org/axis2/siteHowTo.html - you type
>>>>>>   > 'maven multiproject'. This worked yesterday - but it didn't
>>>>>>make the
>>>>>>   > war file. And - although it worked there are several errors of
>>>>>>   the sort:
>>>>>>   >
>>>>>>   >> Error retrieving artifact from
>>>>>>   >>
>>>>>>
>>>>>>[http://www.ibiblio.org/maven/axis2/jars/axis2-codegen-0.95-SNAPSHOT.jar]:
>>>>>>
>>>>>>   >> java.net.Conne
>>>>>>   >> ctException: Connection timed out: connect
>>>>>>   >> 192K downloaded
>>>>>>   >
>>>>>>   >
>>>>>>   >
>>>>>>   > Somewhere on the apache site there was a suggestion to use
>>>>>>   'maven.war'
>>>>>>   > - this failed with (I believe) the same plugin.jelly error.
>>>>>>   >
>>>>>>   > Also - I've been running 'maven clean' between runs if that
>>>>>>   makes any
>>>>>>   > difference.
>>>>>>   >
>>>>>>   > I did invoke
>>>>>>   >
>>>>>>   > %MAVEN_HOME%\bin\install_repo.bat c:\.maven\repository
>>>>>>   > when I installed Maven a few days ago.
>>>>>>   >
>>>>>>   > What should I try next if I want to build the war file?
>>>>>>   >
>>>>>>   >
>>>>>>   > Thanks..
>>>>>>   >
>>>>>>   > Sean
>>>>>>   >
>>>>>>   >>
>>>>>>   >>
>>>>>>   >> /+----------------------------------------
>>>>>>   >> | Executing multiproject:install-callback Apache Axis 2.0 - DOM
>>>>>>   over OM
>>>>>>   >> | Memory: 8M/12M
>>>>>>   >> +----------------------------------------
>>>>>>   >> Tentative de tÚlÚchargement de axiom-1.0-SNAPSHOT.jar .
>>>>>>   >> Tentative de tÚlÚchargement de axis2-common-0.95-SNAPSHOT.jar.
>>>>>>   >> Tentative de tÚlÚchargement de axis2-core-0.95-SNAPSHOT.jar.
>>>>>>   >>
>>>>>>   >> jar:jar:
>>>>>>   >>
>>>>>>   >> jar:install:
>>>>>>   >>
>>>>>>   >>
>>>>>>   >> build:end:
>>>>>>   >>
>>>>>>   >> build:start:
>>>>>>   >>
>>>>>>   >> multiproject:install-callback:
>>>>>>   >>     [echo] Running jar:install for Apache Axis 2.0 - DOM over OM
>>>>>>   >> java:prepare-filesystem:
>>>>>>   >>
>>>>>>   >> java:compile:
>>>>>>   >>     [echo] Compiling to
>>>>>>   D:\work\axis2-dev\modules\doom/target/classes
>>>>>>   >>
>>>>>>   >> java:jar-resources:
>>>>>>   >>
>>>>>>   >> test:prepare-filesystem:
>>>>>>   >>
>>>>>>   >> test:test-resources:
>>>>>>   >>
>>>>>>   >> test:compile:
>>>>>>   >>
>>>>>>   >> test:test:
>>>>>>   >>     [junit] Running org.apache.axis2.om.impl.dom.DocumentImplTest
>>>>>>   >>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed:
>>>>>>   0,5 sec
>>>>>>   >>     [junit] Running
>>>>>>   org.apache.axis2.om.impl.dom.DOMImplementationTest
>>>>>>   >>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
>>>>>>   0,39 sec
>>>>>>   >>     [junit] Running org.apache.axis2.om.impl.dom.ElementImplTest
>>>>>>   >>     [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed:
>>>>>>   0,406
>>>>>>   >> sec
>>>>>>   >>     [junit] Running org.apache.axis2.om.impl.dom.MessagesTest
>>>>>>   >>     [junit] Tests run: 4, Failures: 0, Errors: 4, Time elapsed:
>>>>>>   0,672
>>>>>>   >> sec
>>>>>>   >>     [junit] [ERROR] TEST
>>>>>>org.apache.axis2.om.impl.dom.MessagesTest
>>>>>>   >> FAILED
>>>>>>   >>     [junit] Running org.apache.axis2.om.impl.dom.OMDOMFactoryTest
>>>>>>   >>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
>>>>>>   0,296
>>>>>>   >> sec
>>>>>>   >>     [junit] Running org.apache.axis2.om.impl.dom.TextImplTest
>>>>>>   >>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed:
>>>>>>   0,297
>>>>>>   >> sec
>>>>>>   >>
>>>>>>   >> BUILD FAILED
>>>>>>   >> File...... C:\Documents and
>>>>>>   >>
>>>>>>
>>>>>>Settings\bruno\.maven\cache\maven-multiproject-plugin-1.3.1\plugin.jelly
>>>>>>   >> Element... maven:reactor
>>>>>>   >> Line...... 217
>>>>>>   >> Column.... 9
>>>>>>   >> Unable to obtain goal [multiproject:install-callback] --
>>>>>>   C:\Documents
>>>>>>   >> and
>>>>>>   >>
>>>>>>
>>>>>>Settings\bruno\.maven\cache\maven-test-plugin-1.6.2\plugin.jelly:181:54:
>>>>>>   >> <fail> There were test failures.
>>>>>>   >> Total time: 2 minutes 11 seconds
>>>>>>   >> Finished at: Thu Mar 16 13:54:14 CET 2006
>>>>>>   >> /
>>>>>>   >>
>>>>>>   >> If someone has the answer , it will be nice
>>>>>>   >>
>>>>>>   >>
>>>>>>   >>
>>>>>>   >> Thanks in advance
>>>>>>   >>
>>>>>>   >>
>>>>>>   >> -----Message d'origine-----
>>>>>>   >> De : Eran Chinthaka [mailto: chinthaka@opensource.lk
>>>>>>   <ma...@opensource.lk>]
>>>>>>   >> Envoyé : jeudi 16 mars 2006 10:24
>>>>>>   >> À : axis-user@ws.apache.org <ma...@ws.apache.org>
>>>>>>   >> Objet : Re: failure when trying to build axis2
>>>>>>   >>
>>>>>>   >> Hi Bruno,
>>>>>>   >>
>>>>>>   >> If you can exactly point out your problem, I may be able to
>>>>>>   help you.
>>>>>>   >>
>>>>>>   >> About the jars, yes there can be a slight problem, if maven
>>>>>>can not
>>>>>>   >> establish a connection to the repository properly.
>>>>>>   >>
>>>>>>   >> But since you have mentioned that your build is successful, I
>>>>>>don't
>>>>>>   >> think you still have problems with your jars.
>>>>>>   >>
>>>>>>   >> Are you having problems with tests ? If you are using jdk5,
>>>>>>please
>>>>>>   >> make sure you follow the tips given in the FAQ.
>>>>>>   >>
>>>>>>   >> -- Chinthaka
>>>>>>   >>
>>>>>>   >> bruno wanadoo wrote:
>>>>>>   >> > Hi to all
>>>>>>   >> > I had the same problem myself with wersion 0.94
>>>>>>   >> >
>>>>>>   >> > After download latest sources from svn everything works fine
>>>>>>   and at
>>>>>>   >> > last the build is successful But I still have problem with
>>>>>>   sme of the
>>>>>>   >> > tests
>>>>>>   >> >
>>>>>>   >> >
>>>>>>   >>
>>>>>>
>>>>>>---------------------------------------------------------------------------------------
>>>>>>
>>>>>>   >>
>>>>>>   >> Wanadoo vous informe que cet  e-mail a ete controle par
>>>>>>   l'anti-virus
>>>>>>   >> mail.
>>>>>>   >> Aucun virus connu a ce jour par nos services n'a ete detecte.
>>>>>>   >>
>>>>>>   >>
>>>>>>   >
>>>>>>   >
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>          
>>>>>
>>>--
>>>Ajith Ranabahu
>>>
>>>
>>>
>>>      
>>>
>
>
>--
>Davanum Srinivas : http://wso2.com/blogs/
>
>  
>

Re: [axis2] failure when trying to build axis2

Posted by Davanum Srinivas <da...@gmail.com>.
I set up a brand new ubuntu box on friday. Got Axis2 building with
JDK1.4,JDK1.5,IBMJDK1.5, JROCKIT 1.5.

Jogging my memory...here are some tips:
- Don't set anything in MAVEN_OPTS (just try it out)
- Make sure u add the bc provider as mentioned in the FAQ
- In JDK1.4, drop latest xalan and xerces in endorsed directory

-- dims

On 3/19/06, Dennis Sosnoski <dm...@sosnoski.com> wrote:
> I don't normally use -o, but tried building Axiom and dropping it in the
> Maven repository, then did "maven clean" and "maven -o". I still get
> failures in "Apache Axis 2.0 - Integration", though. The same failures
> occur when I try building with Java 5. Anyone have any idea why "Apache
> Axis 2.0 - Integration" tests would fail consistently?
>
>   - Dennis
>
> Ajith Ranabahu wrote:
>
> >Hi all,
> >There was an Axiom change that broke the build for a while and now it
> >is fixed. I guess the Axiom jar should be upated by now. But if you
> >are in the habit of running the build with -o (offline) which makes
> >things faster, then you may still be having the older jar in your
> >maven  repository which could be the problem.
> >The safest thing you can do is to build Axiom by yourself and put the
> >jar inside the repo.
> >
> >HTH
> >
> >Ajith
> >
> >On 3/19/06, Dennis Sosnoski <dm...@sosnoski.com> wrote:
> >
> >
> >>I've also been getting repeated and consistent test failures over the
> >>last week, despite updating to the latest SVN code every day. The first
> >>error is with org.apache.axis2.engine.CallUnregisteredServiceTest, and
> >>pretty much everything from that point on has errors. I'm running on
> >>Linux, using JDK 1.4.2 from Sun. I do a "maven clean" first, then
> >>"maven", and have MAVEN_OPTS=-Dversion_affix=dev
> >>
> >>  - Dennis
> >>
> >>Sean Doyle (Gmail) wrote:
> >>
> >>
> >>
> >>>Loreno Oliveira wrote:
> >>>
> >>>
> >>>
> >>>>I got also problems with some tests, just like Sean and Bruno.
> >>>>My problem was fixed when I turned off the Norton Worm Protection...
> >>>>
> >>>>
> >>>No such luck here - I've turned off my Trend Micro, ran svn update,
> >>>and still see errors.
> >>>
> >>>After
> >>>
> >>>
> >>>
> >>>>   [junit] [ERROR] TEST org.apache.axis2.rpc.RPCCallTest FAILED
> >>>>   [junit] Running org.apache.axis2.security.AddressingMTOMSecurityTest
> >>>>
> >>>>
> >>>you see
> >>>
> >>>
> >>>
> >>>>BUILD FAILED
> >>>>File...... C:\Documents and
> >>>>Settings\sean\.maven\cache\maven-multiproject-plugin-1.3.1\plugin.jelly
> >>>>Element... maven:reactor
> >>>>Line...... 217
> >>>>Column.... 9
> >>>>Unable to obtain goal [multiproject:install-callback] -- C:\Documents
> >>>>and Settings\sean\.maven\cache\maven-test-plugin-1
> >>>>.6.2\plugin.jelly:181:54: <fail> There were test failures.
> >>>>Total time: 20 minutes 39 seconds
> >>>>Finished at: Fri Mar 17 15:25:25 EST 2006
> >>>>
> >>>>
> >>>This was in response to a 'maven release'.
> >>>
> >>>
> >>>
> >>>
> >>>>Now I'm building and testing axis2 fine...
> >>>>
> >>>>Loreno
> >>>>
> >>>>On 3/16/06, *Eran Chinthaka* <chinthaka@opensource.lk
> >>>><ma...@opensource.lk>> wrote:
> >>>>
> >>>>    Hi Sean and Bruno,
> >>>>
> >>>>    We experience a build failure in Axis2 main branch now. Please
> >>>>give us
> >>>>    time till tomoro for us to fix it.
> >>>>
> >>>>    Thanks,
> >>>>    Chinthaka
> >>>>
> >>>>    Sean Doyle (Gmail) wrote:
> >>>>    > bruno wanadoo wrote:
> >>>>    >
> >>>>    >> Hi Chinthaka & everybody else
> >>>>    >>
> >>>>    >> I followed instructions in the FAQ ( with jdk1.5 I modify the
> >>>>    >> security file to add BC as provider)
> >>>>    >> But when I launch maven , a lot of targets are built but at the
> >>>>    end I
> >>>>    >> got this
> >>>>    >>
> >>>>    > I'm getting the same
> >>>>    >    Unable to obtain goal [multiproject:install-callback] --
> >>>>    > C:\Documents and
> >>>>    >
> >>>>
> >>>>Settings\bruno\.maven\cache\maven-test-plugin-1.6.2\plugin.jelly:181:54:
> >>>>
> >>>>    > I've also put in the same attribute for BC. And svn is current
> >>>>    as of a
> >>>>    > few minutes ago.
> >>>>    >
> >>>>    > Here's what works and doesn't work - I'm a bit confused by the
> >>>>    site's
> >>>>    > documentation since it has two different calls to maven
> >>>>    specified for
> >>>>    > building the project. One fails with the plugin.jelly message, the
> >>>>    > other works but doesn't make the war file.
> >>>>    >
> >>>>    > I'm running this in WindowsXP. My version of Maven is 1.0.2. My
> >>>>    > version of Java is java version " 1.5.0_06".
> >>>>    >
> >>>>    >
> >>>>    > According to http://ws.apache.org/axis2/svn.html - you just type
> >>>>    > 'maven'. This fails -
> >>>>    >
> >>>>    >> test:test:
> >>>>    >>     [junit] Running org.apache.axis2.om.impl.dom.DocumentImplTest
> >>>>    >>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed:
> >>>>    0.39 sec
> >>>>    >>     [junit] Running
> >>>>    org.apache.axis2.om.impl.dom.DOMImplementationTest
> >>>>    >>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
> >>>>    0.28 sec
> >>>>    >>     [junit] Running org.apache.axis2.om.impl.dom.ElementImplTest
> >>>>    >>     [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed:
> >>>>    0.381
> >>>>    >> sec
> >>>>    >>     [junit] Running org.apache.axis2.om.impl.dom.MessagesTest
> >>>>    >>     [junit] Tests run: 4, Failures: 0, Errors: 4, Time elapsed:
> >>>>    0.471
> >>>>    >> sec
> >>>>    >>     *[junit] [ERROR] TEST
> >>>>org.apache.axis2.om.impl.dom.MessagesTest
> >>>>    >> FAILED*
> >>>>    >>     [junit] Running org.apache.axis2.om.impl.dom.OMDOMFactoryTest
> >>>>    >>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
> >>>>    0.281
> >>>>    >> sec
> >>>>    >>     [junit] Running org.apache.axis2.om.impl.dom.TextImplTest
> >>>>    >>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed:
> >>>>    0.28 sec
> >>>>    >>
> >>>>    >> BUILD FAILED
> >>>>    >> File...... C:\Documents and
> >>>>    >>
> >>>>
> >>>>Settings\sean\.maven\cache\maven-multiproject-plugin-1.3.1\plugin.jelly
> >>>>
> >>>>    >> Element... maven:reactor
> >>>>    >> Line...... 217
> >>>>    >> Column.... 9
> >>>>    >> Unable to obtain goal [multiproject:install-callback] --
> >>>>    C:\Documents
> >>>>    >> and Settings\sean\.maven\cache\maven-test-plugin-1
> >>>>    >> .6.2\plugin.jelly:181:54: <fail> There were test failures.
> >>>>    >> Total time: 4 minutes 9 seconds
> >>>>    >> Finished at: Thu Mar 16 10:22:34 EST 2006
> >>>>    >
> >>>>    >
> >>>>    > According to http://ws.apache.org/axis2/siteHowTo.html - you type
> >>>>    > 'maven multiproject'. This worked yesterday - but it didn't
> >>>>make the
> >>>>    > war file. And - although it worked there are several errors of
> >>>>    the sort:
> >>>>    >
> >>>>    >> Error retrieving artifact from
> >>>>    >>
> >>>>
> >>>>[http://www.ibiblio.org/maven/axis2/jars/axis2-codegen-0.95-SNAPSHOT.jar]:
> >>>>
> >>>>    >> java.net.Conne
> >>>>    >> ctException: Connection timed out: connect
> >>>>    >> 192K downloaded
> >>>>    >
> >>>>    >
> >>>>    >
> >>>>    > Somewhere on the apache site there was a suggestion to use
> >>>>    'maven.war'
> >>>>    > - this failed with (I believe) the same plugin.jelly error.
> >>>>    >
> >>>>    > Also - I've been running 'maven clean' between runs if that
> >>>>    makes any
> >>>>    > difference.
> >>>>    >
> >>>>    > I did invoke
> >>>>    >
> >>>>    > %MAVEN_HOME%\bin\install_repo.bat c:\.maven\repository
> >>>>    > when I installed Maven a few days ago.
> >>>>    >
> >>>>    > What should I try next if I want to build the war file?
> >>>>    >
> >>>>    >
> >>>>    > Thanks..
> >>>>    >
> >>>>    > Sean
> >>>>    >
> >>>>    >>
> >>>>    >>
> >>>>    >> /+----------------------------------------
> >>>>    >> | Executing multiproject:install-callback Apache Axis 2.0 - DOM
> >>>>    over OM
> >>>>    >> | Memory: 8M/12M
> >>>>    >> +----------------------------------------
> >>>>    >> Tentative de tÚlÚchargement de axiom-1.0-SNAPSHOT.jar .
> >>>>    >> Tentative de tÚlÚchargement de axis2-common-0.95-SNAPSHOT.jar.
> >>>>    >> Tentative de tÚlÚchargement de axis2-core-0.95-SNAPSHOT.jar.
> >>>>    >>
> >>>>    >> jar:jar:
> >>>>    >>
> >>>>    >> jar:install:
> >>>>    >>
> >>>>    >>
> >>>>    >> build:end:
> >>>>    >>
> >>>>    >> build:start:
> >>>>    >>
> >>>>    >> multiproject:install-callback:
> >>>>    >>     [echo] Running jar:install for Apache Axis 2.0 - DOM over OM
> >>>>    >> java:prepare-filesystem:
> >>>>    >>
> >>>>    >> java:compile:
> >>>>    >>     [echo] Compiling to
> >>>>    D:\work\axis2-dev\modules\doom/target/classes
> >>>>    >>
> >>>>    >> java:jar-resources:
> >>>>    >>
> >>>>    >> test:prepare-filesystem:
> >>>>    >>
> >>>>    >> test:test-resources:
> >>>>    >>
> >>>>    >> test:compile:
> >>>>    >>
> >>>>    >> test:test:
> >>>>    >>     [junit] Running org.apache.axis2.om.impl.dom.DocumentImplTest
> >>>>    >>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed:
> >>>>    0,5 sec
> >>>>    >>     [junit] Running
> >>>>    org.apache.axis2.om.impl.dom.DOMImplementationTest
> >>>>    >>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
> >>>>    0,39 sec
> >>>>    >>     [junit] Running org.apache.axis2.om.impl.dom.ElementImplTest
> >>>>    >>     [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed:
> >>>>    0,406
> >>>>    >> sec
> >>>>    >>     [junit] Running org.apache.axis2.om.impl.dom.MessagesTest
> >>>>    >>     [junit] Tests run: 4, Failures: 0, Errors: 4, Time elapsed:
> >>>>    0,672
> >>>>    >> sec
> >>>>    >>     [junit] [ERROR] TEST
> >>>>org.apache.axis2.om.impl.dom.MessagesTest
> >>>>    >> FAILED
> >>>>    >>     [junit] Running org.apache.axis2.om.impl.dom.OMDOMFactoryTest
> >>>>    >>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
> >>>>    0,296
> >>>>    >> sec
> >>>>    >>     [junit] Running org.apache.axis2.om.impl.dom.TextImplTest
> >>>>    >>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed:
> >>>>    0,297
> >>>>    >> sec
> >>>>    >>
> >>>>    >> BUILD FAILED
> >>>>    >> File...... C:\Documents and
> >>>>    >>
> >>>>
> >>>>Settings\bruno\.maven\cache\maven-multiproject-plugin-1.3.1\plugin.jelly
> >>>>    >> Element... maven:reactor
> >>>>    >> Line...... 217
> >>>>    >> Column.... 9
> >>>>    >> Unable to obtain goal [multiproject:install-callback] --
> >>>>    C:\Documents
> >>>>    >> and
> >>>>    >>
> >>>>
> >>>>Settings\bruno\.maven\cache\maven-test-plugin-1.6.2\plugin.jelly:181:54:
> >>>>    >> <fail> There were test failures.
> >>>>    >> Total time: 2 minutes 11 seconds
> >>>>    >> Finished at: Thu Mar 16 13:54:14 CET 2006
> >>>>    >> /
> >>>>    >>
> >>>>    >> If someone has the answer , it will be nice
> >>>>    >>
> >>>>    >>
> >>>>    >>
> >>>>    >> Thanks in advance
> >>>>    >>
> >>>>    >>
> >>>>    >> -----Message d'origine-----
> >>>>    >> De : Eran Chinthaka [mailto: chinthaka@opensource.lk
> >>>>    <ma...@opensource.lk>]
> >>>>    >> Envoyé : jeudi 16 mars 2006 10:24
> >>>>    >> À : axis-user@ws.apache.org <ma...@ws.apache.org>
> >>>>    >> Objet : Re: failure when trying to build axis2
> >>>>    >>
> >>>>    >> Hi Bruno,
> >>>>    >>
> >>>>    >> If you can exactly point out your problem, I may be able to
> >>>>    help you.
> >>>>    >>
> >>>>    >> About the jars, yes there can be a slight problem, if maven
> >>>>can not
> >>>>    >> establish a connection to the repository properly.
> >>>>    >>
> >>>>    >> But since you have mentioned that your build is successful, I
> >>>>don't
> >>>>    >> think you still have problems with your jars.
> >>>>    >>
> >>>>    >> Are you having problems with tests ? If you are using jdk5,
> >>>>please
> >>>>    >> make sure you follow the tips given in the FAQ.
> >>>>    >>
> >>>>    >> -- Chinthaka
> >>>>    >>
> >>>>    >> bruno wanadoo wrote:
> >>>>    >> > Hi to all
> >>>>    >> > I had the same problem myself with wersion 0.94
> >>>>    >> >
> >>>>    >> > After download latest sources from svn everything works fine
> >>>>    and at
> >>>>    >> > last the build is successful But I still have problem with
> >>>>    sme of the
> >>>>    >> > tests
> >>>>    >> >
> >>>>    >> >
> >>>>    >>
> >>>>
> >>>>---------------------------------------------------------------------------------------
> >>>>
> >>>>    >>
> >>>>    >> Wanadoo vous informe que cet  e-mail a ete controle par
> >>>>    l'anti-virus
> >>>>    >> mail.
> >>>>    >> Aucun virus connu a ce jour par nos services n'a ete detecte.
> >>>>    >>
> >>>>    >>
> >>>>    >
> >>>>    >
> >>>>
> >>>>
> >>>>
> >>>>
> >>>
> >>>
> >
> >
> >--
> >Ajith Ranabahu
> >
> >
> >
>


--
Davanum Srinivas : http://wso2.com/blogs/

Re: [axis2] failure when trying to build axis2

Posted by Dennis Sosnoski <dm...@sosnoski.com>.
I just did a new checkout from svn, to make absolutely sure I had a 
correct source tree. When I tried building that I had the same results 
as before, on both JDK 1.4.2 and 1.5 - everything runs fine up to the 
"Apache Axis 2.0 - Integration" tests, then almost everything has 
errors. Here's a partial listing of the errors:

test:test:
    [junit] Running samples.wsdl.perf.PerfPortTypeTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 15.268 sec
    [junit] Running org.apache.axis2.integration.EchoTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.332 sec
    [junit] Running org.apache.axis2.rpc.MultirefTest
    [junit] Tests run: 9, Failures: 0, Errors: 9, Time elapsed: 1.03 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: 1.273 sec
    [junit] [ERROR] TEST org.apache.axis2.rpc.RPCCallTest FAILED
    [junit] Running org.apache.axis2.engine.EchoRawXMLOnTwoChannelsSyncTest
    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.857 sec
    [junit] [ERROR] TEST 
org.apache.axis2.engine.EchoRawXMLOnTwoChannelsSyncTest FAILED
    [junit] Running org.apache.axis2.engine.ThreadingTest
    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.767 sec
    [junit] [ERROR] TEST org.apache.axis2.engine.ThreadingTest FAILED
    [junit] Running org.apache.axis2.engine.ServiceCreateTest
    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.887 sec
    [junit] [ERROR] TEST org.apache.axis2.engine.ServiceCreateTest FAILED
    ...

Am I the only one experiencing the errors in this set of tests? Is 
anyone running these tests successfully on Linux or Mac systems?

Thanks,

  - Dennis

Dennis Sosnoski wrote:

> I don't normally use -o, but tried building Axiom and dropping it in 
> the Maven repository, then did "maven clean" and "maven -o". I still 
> get failures in "Apache Axis 2.0 - Integration", though. The same 
> failures occur when I try building with Java 5. Anyone have any idea 
> why "Apache Axis 2.0 - Integration" tests would fail consistently?
>
>  - Dennis
>
> Ajith Ranabahu wrote:
>
>> Hi all,
>> There was an Axiom change that broke the build for a while and now it
>> is fixed. I guess the Axiom jar should be upated by now. But if you
>> are in the habit of running the build with -o (offline) which makes
>> things faster, then you may still be having the older jar in your
>> maven  repository which could be the problem.
>> The safest thing you can do is to build Axiom by yourself and put the
>> jar inside the repo.
>>
>> HTH
>>
>> Ajith
>>
>> On 3/19/06, Dennis Sosnoski <dm...@sosnoski.com> wrote:
>>  
>>
>>> I've also been getting repeated and consistent test failures over the
>>> last week, despite updating to the latest SVN code every day. The first
>>> error is with org.apache.axis2.engine.CallUnregisteredServiceTest, and
>>> pretty much everything from that point on has errors. I'm running on
>>> Linux, using JDK 1.4.2 from Sun. I do a "maven clean" first, then
>>> "maven", and have MAVEN_OPTS=-Dversion_affix=dev
>>>
>>>  - Dennis
>>>
>>> Sean Doyle (Gmail) wrote:
>>>
>>>   
>>>
>>>> Loreno Oliveira wrote:
>>>>
>>>>     
>>>>
>>>>> I got also problems with some tests, just like Sean and Bruno.
>>>>> My problem was fixed when I turned off the Norton Worm Protection...
>>>>>       
>>>>
>>>> No such luck here - I've turned off my Trend Micro, ran svn update,
>>>> and still see errors.
>>>>
>>>> After
>>>>
>>>>     
>>>>
>>>>>   [junit] [ERROR] TEST org.apache.axis2.rpc.RPCCallTest FAILED
>>>>>   [junit] Running 
>>>>> org.apache.axis2.security.AddressingMTOMSecurityTest
>>>>>       
>>>>
>>>> you see
>>>>
>>>>     
>>>>
>>>>> BUILD FAILED
>>>>> File...... C:\Documents and
>>>>> Settings\sean\.maven\cache\maven-multiproject-plugin-1.3.1\plugin.jelly 
>>>>>
>>>>> Element... maven:reactor
>>>>> Line...... 217
>>>>> Column.... 9
>>>>> Unable to obtain goal [multiproject:install-callback] -- C:\Documents
>>>>> and Settings\sean\.maven\cache\maven-test-plugin-1
>>>>> .6.2\plugin.jelly:181:54: <fail> There were test failures.
>>>>> Total time: 20 minutes 39 seconds
>>>>> Finished at: Fri Mar 17 15:25:25 EST 2006
>>>>>       
>>>>
>>>> This was in response to a 'maven release'.
>>>>
>>>>
>>>>     
>>>>
>>>>> Now I'm building and testing axis2 fine...
>>>>>
>>>>> Loreno
>>>>>
>>>>> On 3/16/06, *Eran Chinthaka* <chinthaka@opensource.lk
>>>>> <ma...@opensource.lk>> wrote:
>>>>>
>>>>>    Hi Sean and Bruno,
>>>>>
>>>>>    We experience a build failure in Axis2 main branch now. Please
>>>>> give us
>>>>>    time till tomoro for us to fix it.
>>>>>
>>>>>    Thanks,
>>>>>    Chinthaka
>>>>>
>>>>>    Sean Doyle (Gmail) wrote:
>>>>>    > bruno wanadoo wrote:
>>>>>    >
>>>>>    >> Hi Chinthaka & everybody else
>>>>>    >>
>>>>>    >> I followed instructions in the FAQ ( with jdk1.5 I modify the
>>>>>    >> security file to add BC as provider)
>>>>>    >> But when I launch maven , a lot of targets are built but at the
>>>>>    end I
>>>>>    >> got this
>>>>>    >>
>>>>>    > I'm getting the same
>>>>>    >    Unable to obtain goal [multiproject:install-callback] --
>>>>>    > C:\Documents and
>>>>>    >
>>>>>
>>>>> Settings\bruno\.maven\cache\maven-test-plugin-1.6.2\plugin.jelly:181:54: 
>>>>>
>>>>>
>>>>>    > I've also put in the same attribute for BC. And svn is current
>>>>>    as of a
>>>>>    > few minutes ago.
>>>>>    >
>>>>>    > Here's what works and doesn't work - I'm a bit confused by the
>>>>>    site's
>>>>>    > documentation since it has two different calls to maven
>>>>>    specified for
>>>>>    > building the project. One fails with the plugin.jelly 
>>>>> message, the
>>>>>    > other works but doesn't make the war file.
>>>>>    >
>>>>>    > I'm running this in WindowsXP. My version of Maven is 1.0.2. My
>>>>>    > version of Java is java version " 1.5.0_06".
>>>>>    >
>>>>>    >
>>>>>    > According to http://ws.apache.org/axis2/svn.html - you just type
>>>>>    > 'maven'. This fails -
>>>>>    >
>>>>>    >> test:test:
>>>>>    >>     [junit] Running 
>>>>> org.apache.axis2.om.impl.dom.DocumentImplTest
>>>>>    >>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed:
>>>>>    0.39 sec
>>>>>    >>     [junit] Running
>>>>>    org.apache.axis2.om.impl.dom.DOMImplementationTest
>>>>>    >>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
>>>>>    0.28 sec
>>>>>    >>     [junit] Running 
>>>>> org.apache.axis2.om.impl.dom.ElementImplTest
>>>>>    >>     [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed:
>>>>>    0.381
>>>>>    >> sec
>>>>>    >>     [junit] Running org.apache.axis2.om.impl.dom.MessagesTest
>>>>>    >>     [junit] Tests run: 4, Failures: 0, Errors: 4, Time elapsed:
>>>>>    0.471
>>>>>    >> sec
>>>>>    >>     *[junit] [ERROR] TEST
>>>>> org.apache.axis2.om.impl.dom.MessagesTest
>>>>>    >> FAILED*
>>>>>    >>     [junit] Running 
>>>>> org.apache.axis2.om.impl.dom.OMDOMFactoryTest
>>>>>    >>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
>>>>>    0.281
>>>>>    >> sec
>>>>>    >>     [junit] Running org.apache.axis2.om.impl.dom.TextImplTest
>>>>>    >>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed:
>>>>>    0.28 sec
>>>>>    >>
>>>>>    >> BUILD FAILED
>>>>>    >> File...... C:\Documents and
>>>>>    >>
>>>>>
>>>>> Settings\sean\.maven\cache\maven-multiproject-plugin-1.3.1\plugin.jelly 
>>>>>
>>>>>
>>>>>    >> Element... maven:reactor
>>>>>    >> Line...... 217
>>>>>    >> Column.... 9
>>>>>    >> Unable to obtain goal [multiproject:install-callback] --
>>>>>    C:\Documents
>>>>>    >> and Settings\sean\.maven\cache\maven-test-plugin-1
>>>>>    >> .6.2\plugin.jelly:181:54: <fail> There were test failures.
>>>>>    >> Total time: 4 minutes 9 seconds
>>>>>    >> Finished at: Thu Mar 16 10:22:34 EST 2006
>>>>>    >
>>>>>    >
>>>>>    > According to http://ws.apache.org/axis2/siteHowTo.html - you 
>>>>> type
>>>>>    > 'maven multiproject'. This worked yesterday - but it didn't
>>>>> make the
>>>>>    > war file. And - although it worked there are several errors of
>>>>>    the sort:
>>>>>    >
>>>>>    >> Error retrieving artifact from
>>>>>    >>
>>>>>
>>>>> [http://www.ibiblio.org/maven/axis2/jars/axis2-codegen-0.95-SNAPSHOT.jar]: 
>>>>>
>>>>>
>>>>>    >> java.net.Conne
>>>>>    >> ctException: Connection timed out: connect
>>>>>    >> 192K downloaded
>>>>>    >
>>>>>    >
>>>>>    >
>>>>>    > Somewhere on the apache site there was a suggestion to use
>>>>>    'maven.war'
>>>>>    > - this failed with (I believe) the same plugin.jelly error.
>>>>>    >
>>>>>    > Also - I've been running 'maven clean' between runs if that
>>>>>    makes any
>>>>>    > difference.
>>>>>    >
>>>>>    > I did invoke
>>>>>    >
>>>>>    > %MAVEN_HOME%\bin\install_repo.bat c:\.maven\repository
>>>>>    > when I installed Maven a few days ago.
>>>>>    >
>>>>>    > What should I try next if I want to build the war file?
>>>>>    >
>>>>>    >
>>>>>    > Thanks..
>>>>>    >
>>>>>    > Sean
>>>>>    >
>>>>>    >>
>>>>>    >>
>>>>>    >> /+----------------------------------------
>>>>>    >> | Executing multiproject:install-callback Apache Axis 2.0 - DOM
>>>>>    over OM
>>>>>    >> | Memory: 8M/12M
>>>>>    >> +----------------------------------------
>>>>>    >> Tentative de tÚlÚchargement de axiom-1.0-SNAPSHOT.jar .
>>>>>    >> Tentative de tÚlÚchargement de axis2-common-0.95-SNAPSHOT.jar.
>>>>>    >> Tentative de tÚlÚchargement de axis2-core-0.95-SNAPSHOT.jar.
>>>>>    >>
>>>>>    >> jar:jar:
>>>>>    >>
>>>>>    >> jar:install:
>>>>>    >>
>>>>>    >>
>>>>>    >> build:end:
>>>>>    >>
>>>>>    >> build:start:
>>>>>    >>
>>>>>    >> multiproject:install-callback:
>>>>>    >>     [echo] Running jar:install for Apache Axis 2.0 - DOM 
>>>>> over OM
>>>>>    >> java:prepare-filesystem:
>>>>>    >>
>>>>>    >> java:compile:
>>>>>    >>     [echo] Compiling to
>>>>>    D:\work\axis2-dev\modules\doom/target/classes
>>>>>    >>
>>>>>    >> java:jar-resources:
>>>>>    >>
>>>>>    >> test:prepare-filesystem:
>>>>>    >>
>>>>>    >> test:test-resources:
>>>>>    >>
>>>>>    >> test:compile:
>>>>>    >>
>>>>>    >> test:test:
>>>>>    >>     [junit] Running 
>>>>> org.apache.axis2.om.impl.dom.DocumentImplTest
>>>>>    >>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed:
>>>>>    0,5 sec
>>>>>    >>     [junit] Running
>>>>>    org.apache.axis2.om.impl.dom.DOMImplementationTest
>>>>>    >>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
>>>>>    0,39 sec
>>>>>    >>     [junit] Running 
>>>>> org.apache.axis2.om.impl.dom.ElementImplTest
>>>>>    >>     [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed:
>>>>>    0,406
>>>>>    >> sec
>>>>>    >>     [junit] Running org.apache.axis2.om.impl.dom.MessagesTest
>>>>>    >>     [junit] Tests run: 4, Failures: 0, Errors: 4, Time elapsed:
>>>>>    0,672
>>>>>    >> sec
>>>>>    >>     [junit] [ERROR] TEST
>>>>> org.apache.axis2.om.impl.dom.MessagesTest
>>>>>    >> FAILED
>>>>>    >>     [junit] Running 
>>>>> org.apache.axis2.om.impl.dom.OMDOMFactoryTest
>>>>>    >>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
>>>>>    0,296
>>>>>    >> sec
>>>>>    >>     [junit] Running org.apache.axis2.om.impl.dom.TextImplTest
>>>>>    >>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed:
>>>>>    0,297
>>>>>    >> sec
>>>>>    >>
>>>>>    >> BUILD FAILED
>>>>>    >> File...... C:\Documents and
>>>>>    >>
>>>>>
>>>>> Settings\bruno\.maven\cache\maven-multiproject-plugin-1.3.1\plugin.jelly 
>>>>>
>>>>>    >> Element... maven:reactor
>>>>>    >> Line...... 217
>>>>>    >> Column.... 9
>>>>>    >> Unable to obtain goal [multiproject:install-callback] --
>>>>>    C:\Documents
>>>>>    >> and
>>>>>    >>
>>>>>
>>>>> Settings\bruno\.maven\cache\maven-test-plugin-1.6.2\plugin.jelly:181:54: 
>>>>>
>>>>>    >> <fail> There were test failures.
>>>>>    >> Total time: 2 minutes 11 seconds
>>>>>    >> Finished at: Thu Mar 16 13:54:14 CET 2006
>>>>>    >> /
>>>>>    >>
>>>>>    >> If someone has the answer , it will be nice
>>>>>    >>
>>>>>    >>
>>>>>    >>
>>>>>    >> Thanks in advance
>>>>>    >>
>>>>>    >>
>>>>>    >> -----Message d'origine-----
>>>>>    >> De : Eran Chinthaka [mailto: chinthaka@opensource.lk
>>>>>    <ma...@opensource.lk>]
>>>>>    >> Envoyé : jeudi 16 mars 2006 10:24
>>>>>    >> À : axis-user@ws.apache.org <ma...@ws.apache.org>
>>>>>    >> Objet : Re: failure when trying to build axis2
>>>>>    >>
>>>>>    >> Hi Bruno,
>>>>>    >>
>>>>>    >> If you can exactly point out your problem, I may be able to
>>>>>    help you.
>>>>>    >>
>>>>>    >> About the jars, yes there can be a slight problem, if maven
>>>>> can not
>>>>>    >> establish a connection to the repository properly.
>>>>>    >>
>>>>>    >> But since you have mentioned that your build is successful, I
>>>>> don't
>>>>>    >> think you still have problems with your jars.
>>>>>    >>
>>>>>    >> Are you having problems with tests ? If you are using jdk5,
>>>>> please
>>>>>    >> make sure you follow the tips given in the FAQ.
>>>>>    >>
>>>>>    >> -- Chinthaka
>>>>>    >>
>>>>>    >> bruno wanadoo wrote:
>>>>>    >> > Hi to all
>>>>>    >> > I had the same problem myself with wersion 0.94
>>>>>    >> >
>>>>>    >> > After download latest sources from svn everything works fine
>>>>>    and at
>>>>>    >> > last the build is successful But I still have problem with
>>>>>    sme of the
>>>>>    >> > tests
>>>>>    >> >
>>>>>    >> >
>>>>>    >>
>>>>>
>>>>> --------------------------------------------------------------------------------------- 
>>>>>
>>>>>
>>>>>    >>
>>>>>    >> Wanadoo vous informe que cet  e-mail a ete controle par
>>>>>    l'anti-virus
>>>>>    >> mail.
>>>>>    >> Aucun virus connu a ce jour par nos services n'a ete detecte.
>>>>>    >>
>>>>>    >>
>>>>>    >
>>>>>    >
>>>>>
>>>>>
>>>>>       
>>>>
>>>>     
>>>
>>
>>
>> -- 
>> Ajith Ranabahu
>>
>>  
>>
>

Re: [axis2] failure when trying to build axis2

Posted by Dennis Sosnoski <dm...@sosnoski.com>.
I don't normally use -o, but tried building Axiom and dropping it in the 
Maven repository, then did "maven clean" and "maven -o". I still get 
failures in "Apache Axis 2.0 - Integration", though. The same failures 
occur when I try building with Java 5. Anyone have any idea why "Apache 
Axis 2.0 - Integration" tests would fail consistently?

  - Dennis

Ajith Ranabahu wrote:

>Hi all,
>There was an Axiom change that broke the build for a while and now it
>is fixed. I guess the Axiom jar should be upated by now. But if you
>are in the habit of running the build with -o (offline) which makes
>things faster, then you may still be having the older jar in your
>maven  repository which could be the problem.
>The safest thing you can do is to build Axiom by yourself and put the
>jar inside the repo.
>
>HTH
>
>Ajith
>
>On 3/19/06, Dennis Sosnoski <dm...@sosnoski.com> wrote:
>  
>
>>I've also been getting repeated and consistent test failures over the
>>last week, despite updating to the latest SVN code every day. The first
>>error is with org.apache.axis2.engine.CallUnregisteredServiceTest, and
>>pretty much everything from that point on has errors. I'm running on
>>Linux, using JDK 1.4.2 from Sun. I do a "maven clean" first, then
>>"maven", and have MAVEN_OPTS=-Dversion_affix=dev
>>
>>  - Dennis
>>
>>Sean Doyle (Gmail) wrote:
>>
>>    
>>
>>>Loreno Oliveira wrote:
>>>
>>>      
>>>
>>>>I got also problems with some tests, just like Sean and Bruno.
>>>>My problem was fixed when I turned off the Norton Worm Protection...
>>>>        
>>>>
>>>No such luck here - I've turned off my Trend Micro, ran svn update,
>>>and still see errors.
>>>
>>>After
>>>
>>>      
>>>
>>>>   [junit] [ERROR] TEST org.apache.axis2.rpc.RPCCallTest FAILED
>>>>   [junit] Running org.apache.axis2.security.AddressingMTOMSecurityTest
>>>>        
>>>>
>>>you see
>>>
>>>      
>>>
>>>>BUILD FAILED
>>>>File...... C:\Documents and
>>>>Settings\sean\.maven\cache\maven-multiproject-plugin-1.3.1\plugin.jelly
>>>>Element... maven:reactor
>>>>Line...... 217
>>>>Column.... 9
>>>>Unable to obtain goal [multiproject:install-callback] -- C:\Documents
>>>>and Settings\sean\.maven\cache\maven-test-plugin-1
>>>>.6.2\plugin.jelly:181:54: <fail> There were test failures.
>>>>Total time: 20 minutes 39 seconds
>>>>Finished at: Fri Mar 17 15:25:25 EST 2006
>>>>        
>>>>
>>>This was in response to a 'maven release'.
>>>
>>>
>>>      
>>>
>>>>Now I'm building and testing axis2 fine...
>>>>
>>>>Loreno
>>>>
>>>>On 3/16/06, *Eran Chinthaka* <chinthaka@opensource.lk
>>>><ma...@opensource.lk>> wrote:
>>>>
>>>>    Hi Sean and Bruno,
>>>>
>>>>    We experience a build failure in Axis2 main branch now. Please
>>>>give us
>>>>    time till tomoro for us to fix it.
>>>>
>>>>    Thanks,
>>>>    Chinthaka
>>>>
>>>>    Sean Doyle (Gmail) wrote:
>>>>    > bruno wanadoo wrote:
>>>>    >
>>>>    >> Hi Chinthaka & everybody else
>>>>    >>
>>>>    >> I followed instructions in the FAQ ( with jdk1.5 I modify the
>>>>    >> security file to add BC as provider)
>>>>    >> But when I launch maven , a lot of targets are built but at the
>>>>    end I
>>>>    >> got this
>>>>    >>
>>>>    > I'm getting the same
>>>>    >    Unable to obtain goal [multiproject:install-callback] --
>>>>    > C:\Documents and
>>>>    >
>>>>
>>>>Settings\bruno\.maven\cache\maven-test-plugin-1.6.2\plugin.jelly:181:54:
>>>>
>>>>    > I've also put in the same attribute for BC. And svn is current
>>>>    as of a
>>>>    > few minutes ago.
>>>>    >
>>>>    > Here's what works and doesn't work - I'm a bit confused by the
>>>>    site's
>>>>    > documentation since it has two different calls to maven
>>>>    specified for
>>>>    > building the project. One fails with the plugin.jelly message, the
>>>>    > other works but doesn't make the war file.
>>>>    >
>>>>    > I'm running this in WindowsXP. My version of Maven is 1.0.2. My
>>>>    > version of Java is java version " 1.5.0_06".
>>>>    >
>>>>    >
>>>>    > According to http://ws.apache.org/axis2/svn.html - you just type
>>>>    > 'maven'. This fails -
>>>>    >
>>>>    >> test:test:
>>>>    >>     [junit] Running org.apache.axis2.om.impl.dom.DocumentImplTest
>>>>    >>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed:
>>>>    0.39 sec
>>>>    >>     [junit] Running
>>>>    org.apache.axis2.om.impl.dom.DOMImplementationTest
>>>>    >>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
>>>>    0.28 sec
>>>>    >>     [junit] Running org.apache.axis2.om.impl.dom.ElementImplTest
>>>>    >>     [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed:
>>>>    0.381
>>>>    >> sec
>>>>    >>     [junit] Running org.apache.axis2.om.impl.dom.MessagesTest
>>>>    >>     [junit] Tests run: 4, Failures: 0, Errors: 4, Time elapsed:
>>>>    0.471
>>>>    >> sec
>>>>    >>     *[junit] [ERROR] TEST
>>>>org.apache.axis2.om.impl.dom.MessagesTest
>>>>    >> FAILED*
>>>>    >>     [junit] Running org.apache.axis2.om.impl.dom.OMDOMFactoryTest
>>>>    >>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
>>>>    0.281
>>>>    >> sec
>>>>    >>     [junit] Running org.apache.axis2.om.impl.dom.TextImplTest
>>>>    >>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed:
>>>>    0.28 sec
>>>>    >>
>>>>    >> BUILD FAILED
>>>>    >> File...... C:\Documents and
>>>>    >>
>>>>
>>>>Settings\sean\.maven\cache\maven-multiproject-plugin-1.3.1\plugin.jelly
>>>>
>>>>    >> Element... maven:reactor
>>>>    >> Line...... 217
>>>>    >> Column.... 9
>>>>    >> Unable to obtain goal [multiproject:install-callback] --
>>>>    C:\Documents
>>>>    >> and Settings\sean\.maven\cache\maven-test-plugin-1
>>>>    >> .6.2\plugin.jelly:181:54: <fail> There were test failures.
>>>>    >> Total time: 4 minutes 9 seconds
>>>>    >> Finished at: Thu Mar 16 10:22:34 EST 2006
>>>>    >
>>>>    >
>>>>    > According to http://ws.apache.org/axis2/siteHowTo.html - you type
>>>>    > 'maven multiproject'. This worked yesterday - but it didn't
>>>>make the
>>>>    > war file. And - although it worked there are several errors of
>>>>    the sort:
>>>>    >
>>>>    >> Error retrieving artifact from
>>>>    >>
>>>>
>>>>[http://www.ibiblio.org/maven/axis2/jars/axis2-codegen-0.95-SNAPSHOT.jar]:
>>>>
>>>>    >> java.net.Conne
>>>>    >> ctException: Connection timed out: connect
>>>>    >> 192K downloaded
>>>>    >
>>>>    >
>>>>    >
>>>>    > Somewhere on the apache site there was a suggestion to use
>>>>    'maven.war'
>>>>    > - this failed with (I believe) the same plugin.jelly error.
>>>>    >
>>>>    > Also - I've been running 'maven clean' between runs if that
>>>>    makes any
>>>>    > difference.
>>>>    >
>>>>    > I did invoke
>>>>    >
>>>>    > %MAVEN_HOME%\bin\install_repo.bat c:\.maven\repository
>>>>    > when I installed Maven a few days ago.
>>>>    >
>>>>    > What should I try next if I want to build the war file?
>>>>    >
>>>>    >
>>>>    > Thanks..
>>>>    >
>>>>    > Sean
>>>>    >
>>>>    >>
>>>>    >>
>>>>    >> /+----------------------------------------
>>>>    >> | Executing multiproject:install-callback Apache Axis 2.0 - DOM
>>>>    over OM
>>>>    >> | Memory: 8M/12M
>>>>    >> +----------------------------------------
>>>>    >> Tentative de tÚlÚchargement de axiom-1.0-SNAPSHOT.jar .
>>>>    >> Tentative de tÚlÚchargement de axis2-common-0.95-SNAPSHOT.jar.
>>>>    >> Tentative de tÚlÚchargement de axis2-core-0.95-SNAPSHOT.jar.
>>>>    >>
>>>>    >> jar:jar:
>>>>    >>
>>>>    >> jar:install:
>>>>    >>
>>>>    >>
>>>>    >> build:end:
>>>>    >>
>>>>    >> build:start:
>>>>    >>
>>>>    >> multiproject:install-callback:
>>>>    >>     [echo] Running jar:install for Apache Axis 2.0 - DOM over OM
>>>>    >> java:prepare-filesystem:
>>>>    >>
>>>>    >> java:compile:
>>>>    >>     [echo] Compiling to
>>>>    D:\work\axis2-dev\modules\doom/target/classes
>>>>    >>
>>>>    >> java:jar-resources:
>>>>    >>
>>>>    >> test:prepare-filesystem:
>>>>    >>
>>>>    >> test:test-resources:
>>>>    >>
>>>>    >> test:compile:
>>>>    >>
>>>>    >> test:test:
>>>>    >>     [junit] Running org.apache.axis2.om.impl.dom.DocumentImplTest
>>>>    >>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed:
>>>>    0,5 sec
>>>>    >>     [junit] Running
>>>>    org.apache.axis2.om.impl.dom.DOMImplementationTest
>>>>    >>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
>>>>    0,39 sec
>>>>    >>     [junit] Running org.apache.axis2.om.impl.dom.ElementImplTest
>>>>    >>     [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed:
>>>>    0,406
>>>>    >> sec
>>>>    >>     [junit] Running org.apache.axis2.om.impl.dom.MessagesTest
>>>>    >>     [junit] Tests run: 4, Failures: 0, Errors: 4, Time elapsed:
>>>>    0,672
>>>>    >> sec
>>>>    >>     [junit] [ERROR] TEST
>>>>org.apache.axis2.om.impl.dom.MessagesTest
>>>>    >> FAILED
>>>>    >>     [junit] Running org.apache.axis2.om.impl.dom.OMDOMFactoryTest
>>>>    >>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
>>>>    0,296
>>>>    >> sec
>>>>    >>     [junit] Running org.apache.axis2.om.impl.dom.TextImplTest
>>>>    >>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed:
>>>>    0,297
>>>>    >> sec
>>>>    >>
>>>>    >> BUILD FAILED
>>>>    >> File...... C:\Documents and
>>>>    >>
>>>>
>>>>Settings\bruno\.maven\cache\maven-multiproject-plugin-1.3.1\plugin.jelly
>>>>    >> Element... maven:reactor
>>>>    >> Line...... 217
>>>>    >> Column.... 9
>>>>    >> Unable to obtain goal [multiproject:install-callback] --
>>>>    C:\Documents
>>>>    >> and
>>>>    >>
>>>>
>>>>Settings\bruno\.maven\cache\maven-test-plugin-1.6.2\plugin.jelly:181:54:
>>>>    >> <fail> There were test failures.
>>>>    >> Total time: 2 minutes 11 seconds
>>>>    >> Finished at: Thu Mar 16 13:54:14 CET 2006
>>>>    >> /
>>>>    >>
>>>>    >> If someone has the answer , it will be nice
>>>>    >>
>>>>    >>
>>>>    >>
>>>>    >> Thanks in advance
>>>>    >>
>>>>    >>
>>>>    >> -----Message d'origine-----
>>>>    >> De : Eran Chinthaka [mailto: chinthaka@opensource.lk
>>>>    <ma...@opensource.lk>]
>>>>    >> Envoyé : jeudi 16 mars 2006 10:24
>>>>    >> À : axis-user@ws.apache.org <ma...@ws.apache.org>
>>>>    >> Objet : Re: failure when trying to build axis2
>>>>    >>
>>>>    >> Hi Bruno,
>>>>    >>
>>>>    >> If you can exactly point out your problem, I may be able to
>>>>    help you.
>>>>    >>
>>>>    >> About the jars, yes there can be a slight problem, if maven
>>>>can not
>>>>    >> establish a connection to the repository properly.
>>>>    >>
>>>>    >> But since you have mentioned that your build is successful, I
>>>>don't
>>>>    >> think you still have problems with your jars.
>>>>    >>
>>>>    >> Are you having problems with tests ? If you are using jdk5,
>>>>please
>>>>    >> make sure you follow the tips given in the FAQ.
>>>>    >>
>>>>    >> -- Chinthaka
>>>>    >>
>>>>    >> bruno wanadoo wrote:
>>>>    >> > Hi to all
>>>>    >> > I had the same problem myself with wersion 0.94
>>>>    >> >
>>>>    >> > After download latest sources from svn everything works fine
>>>>    and at
>>>>    >> > last the build is successful But I still have problem with
>>>>    sme of the
>>>>    >> > tests
>>>>    >> >
>>>>    >> >
>>>>    >>
>>>>
>>>>---------------------------------------------------------------------------------------
>>>>
>>>>    >>
>>>>    >> Wanadoo vous informe que cet  e-mail a ete controle par
>>>>    l'anti-virus
>>>>    >> mail.
>>>>    >> Aucun virus connu a ce jour par nos services n'a ete detecte.
>>>>    >>
>>>>    >>
>>>>    >
>>>>    >
>>>>
>>>>
>>>>        
>>>>
>>>      
>>>
>
>
>--
>Ajith Ranabahu
>
>  
>

Re: [axis2] failure when trying to build axis2

Posted by Ajith Ranabahu <aj...@gmail.com>.
Hi all,
There was an Axiom change that broke the build for a while and now it
is fixed. I guess the Axiom jar should be upated by now. But if you
are in the habit of running the build with -o (offline) which makes
things faster, then you may still be having the older jar in your
maven  repository which could be the problem.
The safest thing you can do is to build Axiom by yourself and put the
jar inside the repo.

HTH

Ajith

On 3/19/06, Dennis Sosnoski <dm...@sosnoski.com> wrote:
> I've also been getting repeated and consistent test failures over the
> last week, despite updating to the latest SVN code every day. The first
> error is with org.apache.axis2.engine.CallUnregisteredServiceTest, and
> pretty much everything from that point on has errors. I'm running on
> Linux, using JDK 1.4.2 from Sun. I do a "maven clean" first, then
> "maven", and have MAVEN_OPTS=-Dversion_affix=dev
>
>   - Dennis
>
> Sean Doyle (Gmail) wrote:
>
> > Loreno Oliveira wrote:
> >
> >> I got also problems with some tests, just like Sean and Bruno.
> >> My problem was fixed when I turned off the Norton Worm Protection...
> >
> >
> > No such luck here - I've turned off my Trend Micro, ran svn update,
> > and still see errors.
> >
> > After
> >
> >>    [junit] [ERROR] TEST org.apache.axis2.rpc.RPCCallTest FAILED
> >>    [junit] Running org.apache.axis2.security.AddressingMTOMSecurityTest
> >
> >
> >
> > you see
> >
> >> BUILD FAILED
> >> File...... C:\Documents and
> >> Settings\sean\.maven\cache\maven-multiproject-plugin-1.3.1\plugin.jelly
> >> Element... maven:reactor
> >> Line...... 217
> >> Column.... 9
> >> Unable to obtain goal [multiproject:install-callback] -- C:\Documents
> >> and Settings\sean\.maven\cache\maven-test-plugin-1
> >> .6.2\plugin.jelly:181:54: <fail> There were test failures.
> >> Total time: 20 minutes 39 seconds
> >> Finished at: Fri Mar 17 15:25:25 EST 2006
> >
> >
> > This was in response to a 'maven release'.
> >
> >
> >>
> >> Now I'm building and testing axis2 fine...
> >>
> >> Loreno
> >>
> >> On 3/16/06, *Eran Chinthaka* <chinthaka@opensource.lk
> >> <ma...@opensource.lk>> wrote:
> >>
> >>     Hi Sean and Bruno,
> >>
> >>     We experience a build failure in Axis2 main branch now. Please
> >> give us
> >>     time till tomoro for us to fix it.
> >>
> >>     Thanks,
> >>     Chinthaka
> >>
> >>     Sean Doyle (Gmail) wrote:
> >>     > bruno wanadoo wrote:
> >>     >
> >>     >> Hi Chinthaka & everybody else
> >>     >>
> >>     >> I followed instructions in the FAQ ( with jdk1.5 I modify the
> >>     >> security file to add BC as provider)
> >>     >> But when I launch maven , a lot of targets are built but at the
> >>     end I
> >>     >> got this
> >>     >>
> >>     > I'm getting the same
> >>     >    Unable to obtain goal [multiproject:install-callback] --
> >>     > C:\Documents and
> >>     >
> >>
> >> Settings\bruno\.maven\cache\maven-test-plugin-1.6.2\plugin.jelly:181:54:
> >>
> >>     > I've also put in the same attribute for BC. And svn is current
> >>     as of a
> >>     > few minutes ago.
> >>     >
> >>     > Here's what works and doesn't work - I'm a bit confused by the
> >>     site's
> >>     > documentation since it has two different calls to maven
> >>     specified for
> >>     > building the project. One fails with the plugin.jelly message, the
> >>     > other works but doesn't make the war file.
> >>     >
> >>     > I'm running this in WindowsXP. My version of Maven is 1.0.2. My
> >>     > version of Java is java version " 1.5.0_06".
> >>     >
> >>     >
> >>     > According to http://ws.apache.org/axis2/svn.html - you just type
> >>     > 'maven'. This fails -
> >>     >
> >>     >> test:test:
> >>     >>     [junit] Running org.apache.axis2.om.impl.dom.DocumentImplTest
> >>     >>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed:
> >>     0.39 sec
> >>     >>     [junit] Running
> >>     org.apache.axis2.om.impl.dom.DOMImplementationTest
> >>     >>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
> >>     0.28 sec
> >>     >>     [junit] Running org.apache.axis2.om.impl.dom.ElementImplTest
> >>     >>     [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed:
> >>     0.381
> >>     >> sec
> >>     >>     [junit] Running org.apache.axis2.om.impl.dom.MessagesTest
> >>     >>     [junit] Tests run: 4, Failures: 0, Errors: 4, Time elapsed:
> >>     0.471
> >>     >> sec
> >>     >>     *[junit] [ERROR] TEST
> >> org.apache.axis2.om.impl.dom.MessagesTest
> >>     >> FAILED*
> >>     >>     [junit] Running org.apache.axis2.om.impl.dom.OMDOMFactoryTest
> >>     >>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
> >>     0.281
> >>     >> sec
> >>     >>     [junit] Running org.apache.axis2.om.impl.dom.TextImplTest
> >>     >>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed:
> >>     0.28 sec
> >>     >>
> >>     >> BUILD FAILED
> >>     >> File...... C:\Documents and
> >>     >>
> >>
> >> Settings\sean\.maven\cache\maven-multiproject-plugin-1.3.1\plugin.jelly
> >>
> >>     >> Element... maven:reactor
> >>     >> Line...... 217
> >>     >> Column.... 9
> >>     >> Unable to obtain goal [multiproject:install-callback] --
> >>     C:\Documents
> >>     >> and Settings\sean\.maven\cache\maven-test-plugin-1
> >>     >> .6.2\plugin.jelly:181:54: <fail> There were test failures.
> >>     >> Total time: 4 minutes 9 seconds
> >>     >> Finished at: Thu Mar 16 10:22:34 EST 2006
> >>     >
> >>     >
> >>     > According to http://ws.apache.org/axis2/siteHowTo.html - you type
> >>     > 'maven multiproject'. This worked yesterday - but it didn't
> >> make the
> >>     > war file. And - although it worked there are several errors of
> >>     the sort:
> >>     >
> >>     >> Error retrieving artifact from
> >>     >>
> >>
> >> [http://www.ibiblio.org/maven/axis2/jars/axis2-codegen-0.95-SNAPSHOT.jar]:
> >>
> >>     >> java.net.Conne
> >>     >> ctException: Connection timed out: connect
> >>     >> 192K downloaded
> >>     >
> >>     >
> >>     >
> >>     > Somewhere on the apache site there was a suggestion to use
> >>     'maven.war'
> >>     > - this failed with (I believe) the same plugin.jelly error.
> >>     >
> >>     > Also - I've been running 'maven clean' between runs if that
> >>     makes any
> >>     > difference.
> >>     >
> >>     > I did invoke
> >>     >
> >>     > %MAVEN_HOME%\bin\install_repo.bat c:\.maven\repository
> >>     > when I installed Maven a few days ago.
> >>     >
> >>     > What should I try next if I want to build the war file?
> >>     >
> >>     >
> >>     > Thanks..
> >>     >
> >>     > Sean
> >>     >
> >>     >>
> >>     >>
> >>     >> /+----------------------------------------
> >>     >> | Executing multiproject:install-callback Apache Axis 2.0 - DOM
> >>     over OM
> >>     >> | Memory: 8M/12M
> >>     >> +----------------------------------------
> >>     >> Tentative de tÚlÚchargement de axiom-1.0-SNAPSHOT.jar .
> >>     >> Tentative de tÚlÚchargement de axis2-common-0.95-SNAPSHOT.jar.
> >>     >> Tentative de tÚlÚchargement de axis2-core-0.95-SNAPSHOT.jar.
> >>     >>
> >>     >> jar:jar:
> >>     >>
> >>     >> jar:install:
> >>     >>
> >>     >>
> >>     >> build:end:
> >>     >>
> >>     >> build:start:
> >>     >>
> >>     >> multiproject:install-callback:
> >>     >>     [echo] Running jar:install for Apache Axis 2.0 - DOM over OM
> >>     >> java:prepare-filesystem:
> >>     >>
> >>     >> java:compile:
> >>     >>     [echo] Compiling to
> >>     D:\work\axis2-dev\modules\doom/target/classes
> >>     >>
> >>     >> java:jar-resources:
> >>     >>
> >>     >> test:prepare-filesystem:
> >>     >>
> >>     >> test:test-resources:
> >>     >>
> >>     >> test:compile:
> >>     >>
> >>     >> test:test:
> >>     >>     [junit] Running org.apache.axis2.om.impl.dom.DocumentImplTest
> >>     >>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed:
> >>     0,5 sec
> >>     >>     [junit] Running
> >>     org.apache.axis2.om.impl.dom.DOMImplementationTest
> >>     >>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
> >>     0,39 sec
> >>     >>     [junit] Running org.apache.axis2.om.impl.dom.ElementImplTest
> >>     >>     [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed:
> >>     0,406
> >>     >> sec
> >>     >>     [junit] Running org.apache.axis2.om.impl.dom.MessagesTest
> >>     >>     [junit] Tests run: 4, Failures: 0, Errors: 4, Time elapsed:
> >>     0,672
> >>     >> sec
> >>     >>     [junit] [ERROR] TEST
> >> org.apache.axis2.om.impl.dom.MessagesTest
> >>     >> FAILED
> >>     >>     [junit] Running org.apache.axis2.om.impl.dom.OMDOMFactoryTest
> >>     >>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
> >>     0,296
> >>     >> sec
> >>     >>     [junit] Running org.apache.axis2.om.impl.dom.TextImplTest
> >>     >>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed:
> >>     0,297
> >>     >> sec
> >>     >>
> >>     >> BUILD FAILED
> >>     >> File...... C:\Documents and
> >>     >>
> >>
> >> Settings\bruno\.maven\cache\maven-multiproject-plugin-1.3.1\plugin.jelly
> >>     >> Element... maven:reactor
> >>     >> Line...... 217
> >>     >> Column.... 9
> >>     >> Unable to obtain goal [multiproject:install-callback] --
> >>     C:\Documents
> >>     >> and
> >>     >>
> >>
> >> Settings\bruno\.maven\cache\maven-test-plugin-1.6.2\plugin.jelly:181:54:
> >>     >> <fail> There were test failures.
> >>     >> Total time: 2 minutes 11 seconds
> >>     >> Finished at: Thu Mar 16 13:54:14 CET 2006
> >>     >> /
> >>     >>
> >>     >> If someone has the answer , it will be nice
> >>     >>
> >>     >>
> >>     >>
> >>     >> Thanks in advance
> >>     >>
> >>     >>
> >>     >> -----Message d'origine-----
> >>     >> De : Eran Chinthaka [mailto: chinthaka@opensource.lk
> >>     <ma...@opensource.lk>]
> >>     >> Envoyé : jeudi 16 mars 2006 10:24
> >>     >> À : axis-user@ws.apache.org <ma...@ws.apache.org>
> >>     >> Objet : Re: failure when trying to build axis2
> >>     >>
> >>     >> Hi Bruno,
> >>     >>
> >>     >> If you can exactly point out your problem, I may be able to
> >>     help you.
> >>     >>
> >>     >> About the jars, yes there can be a slight problem, if maven
> >> can not
> >>     >> establish a connection to the repository properly.
> >>     >>
> >>     >> But since you have mentioned that your build is successful, I
> >> don't
> >>     >> think you still have problems with your jars.
> >>     >>
> >>     >> Are you having problems with tests ? If you are using jdk5,
> >> please
> >>     >> make sure you follow the tips given in the FAQ.
> >>     >>
> >>     >> -- Chinthaka
> >>     >>
> >>     >> bruno wanadoo wrote:
> >>     >> > Hi to all
> >>     >> > I had the same problem myself with wersion 0.94
> >>     >> >
> >>     >> > After download latest sources from svn everything works fine
> >>     and at
> >>     >> > last the build is successful But I still have problem with
> >>     sme of the
> >>     >> > tests
> >>     >> >
> >>     >> >
> >>     >>
> >>
> >> ---------------------------------------------------------------------------------------
> >>
> >>     >>
> >>     >> Wanadoo vous informe que cet  e-mail a ete controle par
> >>     l'anti-virus
> >>     >> mail.
> >>     >> Aucun virus connu a ce jour par nos services n'a ete detecte.
> >>     >>
> >>     >>
> >>     >
> >>     >
> >>
> >>
> >
> >
>


--
Ajith Ranabahu

Re: [axis2] failure when trying to build axis2

Posted by Dennis Sosnoski <dm...@sosnoski.com>.
I've also been getting repeated and consistent test failures over the 
last week, despite updating to the latest SVN code every day. The first 
error is with org.apache.axis2.engine.CallUnregisteredServiceTest, and 
pretty much everything from that point on has errors. I'm running on 
Linux, using JDK 1.4.2 from Sun. I do a "maven clean" first, then 
"maven", and have MAVEN_OPTS=-Dversion_affix=dev

  - Dennis

Sean Doyle (Gmail) wrote:

> Loreno Oliveira wrote:
>
>> I got also problems with some tests, just like Sean and Bruno.
>> My problem was fixed when I turned off the Norton Worm Protection...
>
>
> No such luck here - I've turned off my Trend Micro, ran svn update, 
> and still see errors.
>
> After
>
>>    [junit] [ERROR] TEST org.apache.axis2.rpc.RPCCallTest FAILED
>>    [junit] Running org.apache.axis2.security.AddressingMTOMSecurityTest
>
>
>
> you see
>
>> BUILD FAILED
>> File...... C:\Documents and 
>> Settings\sean\.maven\cache\maven-multiproject-plugin-1.3.1\plugin.jelly
>> Element... maven:reactor
>> Line...... 217
>> Column.... 9
>> Unable to obtain goal [multiproject:install-callback] -- C:\Documents 
>> and Settings\sean\.maven\cache\maven-test-plugin-1
>> .6.2\plugin.jelly:181:54: <fail> There were test failures.
>> Total time: 20 minutes 39 seconds
>> Finished at: Fri Mar 17 15:25:25 EST 2006
>
>
> This was in response to a 'maven release'.
>
>
>>
>> Now I'm building and testing axis2 fine...
>>
>> Loreno
>>
>> On 3/16/06, *Eran Chinthaka* <chinthaka@opensource.lk 
>> <ma...@opensource.lk>> wrote:
>>
>>     Hi Sean and Bruno,
>>
>>     We experience a build failure in Axis2 main branch now. Please 
>> give us
>>     time till tomoro for us to fix it.
>>
>>     Thanks,
>>     Chinthaka
>>
>>     Sean Doyle (Gmail) wrote:
>>     > bruno wanadoo wrote:
>>     >
>>     >> Hi Chinthaka & everybody else
>>     >>
>>     >> I followed instructions in the FAQ ( with jdk1.5 I modify the
>>     >> security file to add BC as provider)
>>     >> But when I launch maven , a lot of targets are built but at the
>>     end I
>>     >> got this
>>     >>
>>     > I'm getting the same
>>     >    Unable to obtain goal [multiproject:install-callback] --
>>     > C:\Documents and
>>     >
>>     
>> Settings\bruno\.maven\cache\maven-test-plugin-1.6.2\plugin.jelly:181:54:
>>
>>     > I've also put in the same attribute for BC. And svn is current
>>     as of a
>>     > few minutes ago.
>>     >
>>     > Here's what works and doesn't work - I'm a bit confused by the
>>     site's
>>     > documentation since it has two different calls to maven
>>     specified for
>>     > building the project. One fails with the plugin.jelly message, the
>>     > other works but doesn't make the war file.
>>     >
>>     > I'm running this in WindowsXP. My version of Maven is 1.0.2. My
>>     > version of Java is java version " 1.5.0_06".
>>     >
>>     >
>>     > According to http://ws.apache.org/axis2/svn.html - you just type
>>     > 'maven'. This fails -
>>     >
>>     >> test:test:
>>     >>     [junit] Running org.apache.axis2.om.impl.dom.DocumentImplTest
>>     >>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed:
>>     0.39 sec
>>     >>     [junit] Running
>>     org.apache.axis2.om.impl.dom.DOMImplementationTest
>>     >>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
>>     0.28 sec
>>     >>     [junit] Running org.apache.axis2.om.impl.dom.ElementImplTest
>>     >>     [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed:
>>     0.381
>>     >> sec
>>     >>     [junit] Running org.apache.axis2.om.impl.dom.MessagesTest
>>     >>     [junit] Tests run: 4, Failures: 0, Errors: 4, Time elapsed:
>>     0.471
>>     >> sec
>>     >>     *[junit] [ERROR] TEST 
>> org.apache.axis2.om.impl.dom.MessagesTest
>>     >> FAILED*
>>     >>     [junit] Running org.apache.axis2.om.impl.dom.OMDOMFactoryTest
>>     >>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
>>     0.281
>>     >> sec
>>     >>     [junit] Running org.apache.axis2.om.impl.dom.TextImplTest
>>     >>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed:
>>     0.28 sec
>>     >>
>>     >> BUILD FAILED
>>     >> File...... C:\Documents and
>>     >>
>>     
>> Settings\sean\.maven\cache\maven-multiproject-plugin-1.3.1\plugin.jelly
>>
>>     >> Element... maven:reactor
>>     >> Line...... 217
>>     >> Column.... 9
>>     >> Unable to obtain goal [multiproject:install-callback] --
>>     C:\Documents
>>     >> and Settings\sean\.maven\cache\maven-test-plugin-1
>>     >> .6.2\plugin.jelly:181:54: <fail> There were test failures.
>>     >> Total time: 4 minutes 9 seconds
>>     >> Finished at: Thu Mar 16 10:22:34 EST 2006
>>     >
>>     >
>>     > According to http://ws.apache.org/axis2/siteHowTo.html - you type
>>     > 'maven multiproject'. This worked yesterday - but it didn't 
>> make the
>>     > war file. And - although it worked there are several errors of
>>     the sort:
>>     >
>>     >> Error retrieving artifact from
>>     >>
>>     
>> [http://www.ibiblio.org/maven/axis2/jars/axis2-codegen-0.95-SNAPSHOT.jar]: 
>>
>>     >> java.net.Conne
>>     >> ctException: Connection timed out: connect
>>     >> 192K downloaded
>>     >
>>     >
>>     >
>>     > Somewhere on the apache site there was a suggestion to use
>>     'maven.war'
>>     > - this failed with (I believe) the same plugin.jelly error.
>>     >
>>     > Also - I've been running 'maven clean' between runs if that
>>     makes any
>>     > difference.
>>     >
>>     > I did invoke
>>     >
>>     > %MAVEN_HOME%\bin\install_repo.bat c:\.maven\repository
>>     > when I installed Maven a few days ago.
>>     >
>>     > What should I try next if I want to build the war file?
>>     >
>>     >
>>     > Thanks..
>>     >
>>     > Sean
>>     >
>>     >>
>>     >>
>>     >> /+----------------------------------------
>>     >> | Executing multiproject:install-callback Apache Axis 2.0 - DOM
>>     over OM
>>     >> | Memory: 8M/12M
>>     >> +----------------------------------------
>>     >> Tentative de tÚlÚchargement de axiom-1.0-SNAPSHOT.jar .
>>     >> Tentative de tÚlÚchargement de axis2-common-0.95-SNAPSHOT.jar.
>>     >> Tentative de tÚlÚchargement de axis2-core-0.95-SNAPSHOT.jar.
>>     >>
>>     >> jar:jar:
>>     >>
>>     >> jar:install:
>>     >>
>>     >>
>>     >> build:end:
>>     >>
>>     >> build:start:
>>     >>
>>     >> multiproject:install-callback:
>>     >>     [echo] Running jar:install for Apache Axis 2.0 - DOM over OM
>>     >> java:prepare-filesystem:
>>     >>
>>     >> java:compile:
>>     >>     [echo] Compiling to
>>     D:\work\axis2-dev\modules\doom/target/classes
>>     >>
>>     >> java:jar-resources:
>>     >>
>>     >> test:prepare-filesystem:
>>     >>
>>     >> test:test-resources:
>>     >>
>>     >> test:compile:
>>     >>
>>     >> test:test:
>>     >>     [junit] Running org.apache.axis2.om.impl.dom.DocumentImplTest
>>     >>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed:
>>     0,5 sec
>>     >>     [junit] Running
>>     org.apache.axis2.om.impl.dom.DOMImplementationTest
>>     >>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
>>     0,39 sec
>>     >>     [junit] Running org.apache.axis2.om.impl.dom.ElementImplTest
>>     >>     [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed:
>>     0,406
>>     >> sec
>>     >>     [junit] Running org.apache.axis2.om.impl.dom.MessagesTest
>>     >>     [junit] Tests run: 4, Failures: 0, Errors: 4, Time elapsed:
>>     0,672
>>     >> sec
>>     >>     [junit] [ERROR] TEST 
>> org.apache.axis2.om.impl.dom.MessagesTest
>>     >> FAILED
>>     >>     [junit] Running org.apache.axis2.om.impl.dom.OMDOMFactoryTest
>>     >>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
>>     0,296
>>     >> sec
>>     >>     [junit] Running org.apache.axis2.om.impl.dom.TextImplTest
>>     >>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed:
>>     0,297
>>     >> sec
>>     >>
>>     >> BUILD FAILED
>>     >> File...... C:\Documents and
>>     >>
>>     
>> Settings\bruno\.maven\cache\maven-multiproject-plugin-1.3.1\plugin.jelly
>>     >> Element... maven:reactor
>>     >> Line...... 217
>>     >> Column.... 9
>>     >> Unable to obtain goal [multiproject:install-callback] --
>>     C:\Documents
>>     >> and
>>     >>
>>     
>> Settings\bruno\.maven\cache\maven-test-plugin-1.6.2\plugin.jelly:181:54:
>>     >> <fail> There were test failures.
>>     >> Total time: 2 minutes 11 seconds
>>     >> Finished at: Thu Mar 16 13:54:14 CET 2006
>>     >> /
>>     >>
>>     >> If someone has the answer , it will be nice
>>     >>
>>     >>
>>     >>
>>     >> Thanks in advance
>>     >>
>>     >>
>>     >> -----Message d'origine-----
>>     >> De : Eran Chinthaka [mailto: chinthaka@opensource.lk
>>     <ma...@opensource.lk>]
>>     >> Envoyé : jeudi 16 mars 2006 10:24
>>     >> À : axis-user@ws.apache.org <ma...@ws.apache.org>
>>     >> Objet : Re: failure when trying to build axis2
>>     >>
>>     >> Hi Bruno,
>>     >>
>>     >> If you can exactly point out your problem, I may be able to
>>     help you.
>>     >>
>>     >> About the jars, yes there can be a slight problem, if maven 
>> can not
>>     >> establish a connection to the repository properly.
>>     >>
>>     >> But since you have mentioned that your build is successful, I 
>> don't
>>     >> think you still have problems with your jars.
>>     >>
>>     >> Are you having problems with tests ? If you are using jdk5, 
>> please
>>     >> make sure you follow the tips given in the FAQ.
>>     >>
>>     >> -- Chinthaka
>>     >>
>>     >> bruno wanadoo wrote:
>>     >> > Hi to all
>>     >> > I had the same problem myself with wersion 0.94
>>     >> >
>>     >> > After download latest sources from svn everything works fine
>>     and at
>>     >> > last the build is successful But I still have problem with
>>     sme of the
>>     >> > tests
>>     >> >
>>     >> >
>>     >>
>>     
>> --------------------------------------------------------------------------------------- 
>>
>>     >>
>>     >> Wanadoo vous informe que cet  e-mail a ete controle par
>>     l'anti-virus
>>     >> mail.
>>     >> Aucun virus connu a ce jour par nos services n'a ete detecte.
>>     >>
>>     >>
>>     >
>>     >
>>
>>
>
>

Re: [axis2] failure when trying to build axis2

Posted by "Sean Doyle (Gmail)" <sd...@gmail.com>.
Loreno Oliveira wrote:

> I got also problems with some tests, just like Sean and Bruno.
> My problem was fixed when I turned off the Norton Worm Protection...

No such luck here - I've turned off my Trend Micro, ran svn update, and 
still see errors.

After

>    [junit] [ERROR] TEST org.apache.axis2.rpc.RPCCallTest FAILED
>    [junit] Running org.apache.axis2.security.AddressingMTOMSecurityTest


you see

> BUILD FAILED
> File...... C:\Documents and 
> Settings\sean\.maven\cache\maven-multiproject-plugin-1.3.1\plugin.jelly
> Element... maven:reactor
> Line...... 217
> Column.... 9
> Unable to obtain goal [multiproject:install-callback] -- C:\Documents 
> and Settings\sean\.maven\cache\maven-test-plugin-1
> .6.2\plugin.jelly:181:54: <fail> There were test failures.
> Total time: 20 minutes 39 seconds
> Finished at: Fri Mar 17 15:25:25 EST 2006

This was in response to a 'maven release'.


>
> Now I'm building and testing axis2 fine...
>
> Loreno
>
> On 3/16/06, *Eran Chinthaka* <chinthaka@opensource.lk 
> <ma...@opensource.lk>> wrote:
>
>     Hi Sean and Bruno,
>
>     We experience a build failure in Axis2 main branch now. Please give us
>     time till tomoro for us to fix it.
>
>     Thanks,
>     Chinthaka
>
>     Sean Doyle (Gmail) wrote:
>     > bruno wanadoo wrote:
>     >
>     >> Hi Chinthaka & everybody else
>     >>
>     >> I followed instructions in the FAQ ( with jdk1.5 I modify the
>     >> security file to add BC as provider)
>     >> But when I launch maven , a lot of targets are built but at the
>     end I
>     >> got this
>     >>
>     > I'm getting the same
>     >    Unable to obtain goal [multiproject:install-callback] --
>     > C:\Documents and
>     >
>     Settings\bruno\.maven\cache\maven-test-plugin-1.6.2\plugin.jelly:181:54:
>
>     > I've also put in the same attribute for BC. And svn is current
>     as of a
>     > few minutes ago.
>     >
>     > Here's what works and doesn't work - I'm a bit confused by the
>     site's
>     > documentation since it has two different calls to maven
>     specified for
>     > building the project. One fails with the plugin.jelly message, the
>     > other works but doesn't make the war file.
>     >
>     > I'm running this in WindowsXP. My version of Maven is 1.0.2. My
>     > version of Java is java version " 1.5.0_06".
>     >
>     >
>     > According to http://ws.apache.org/axis2/svn.html - you just type
>     > 'maven'. This fails -
>     >
>     >> test:test:
>     >>     [junit] Running org.apache.axis2.om.impl.dom.DocumentImplTest
>     >>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed:
>     0.39 sec
>     >>     [junit] Running
>     org.apache.axis2.om.impl.dom.DOMImplementationTest
>     >>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
>     0.28 sec
>     >>     [junit] Running org.apache.axis2.om.impl.dom.ElementImplTest
>     >>     [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed:
>     0.381
>     >> sec
>     >>     [junit] Running org.apache.axis2.om.impl.dom.MessagesTest
>     >>     [junit] Tests run: 4, Failures: 0, Errors: 4, Time elapsed:
>     0.471
>     >> sec
>     >>     *[junit] [ERROR] TEST org.apache.axis2.om.impl.dom.MessagesTest
>     >> FAILED*
>     >>     [junit] Running org.apache.axis2.om.impl.dom.OMDOMFactoryTest
>     >>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
>     0.281
>     >> sec
>     >>     [junit] Running org.apache.axis2.om.impl.dom.TextImplTest
>     >>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed:
>     0.28 sec
>     >>
>     >> BUILD FAILED
>     >> File...... C:\Documents and
>     >>
>     Settings\sean\.maven\cache\maven-multiproject-plugin-1.3.1\plugin.jelly
>
>     >> Element... maven:reactor
>     >> Line...... 217
>     >> Column.... 9
>     >> Unable to obtain goal [multiproject:install-callback] --
>     C:\Documents
>     >> and Settings\sean\.maven\cache\maven-test-plugin-1
>     >> .6.2\plugin.jelly:181:54: <fail> There were test failures.
>     >> Total time: 4 minutes 9 seconds
>     >> Finished at: Thu Mar 16 10:22:34 EST 2006
>     >
>     >
>     > According to http://ws.apache.org/axis2/siteHowTo.html - you type
>     > 'maven multiproject'. This worked yesterday - but it didn't make the
>     > war file. And - although it worked there are several errors of
>     the sort:
>     >
>     >> Error retrieving artifact from
>     >>
>     [http://www.ibiblio.org/maven/axis2/jars/axis2-codegen-0.95-SNAPSHOT.jar]:
>     >> java.net.Conne
>     >> ctException: Connection timed out: connect
>     >> 192K downloaded
>     >
>     >
>     >
>     > Somewhere on the apache site there was a suggestion to use
>     'maven.war'
>     > - this failed with (I believe) the same plugin.jelly error.
>     >
>     > Also - I've been running 'maven clean' between runs if that
>     makes any
>     > difference.
>     >
>     > I did invoke
>     >
>     > %MAVEN_HOME%\bin\install_repo.bat c:\.maven\repository
>     > when I installed Maven a few days ago.
>     >
>     > What should I try next if I want to build the war file?
>     >
>     >
>     > Thanks..
>     >
>     > Sean
>     >
>     >>
>     >>
>     >> /+----------------------------------------
>     >> | Executing multiproject:install-callback Apache Axis 2.0 - DOM
>     over OM
>     >> | Memory: 8M/12M
>     >> +----------------------------------------
>     >> Tentative de tÚlÚchargement de axiom-1.0-SNAPSHOT.jar .
>     >> Tentative de tÚlÚchargement de axis2-common-0.95-SNAPSHOT.jar.
>     >> Tentative de tÚlÚchargement de axis2-core-0.95-SNAPSHOT.jar.
>     >>
>     >> jar:jar:
>     >>
>     >> jar:install:
>     >>
>     >>
>     >> build:end:
>     >>
>     >> build:start:
>     >>
>     >> multiproject:install-callback:
>     >>     [echo] Running jar:install for Apache Axis 2.0 - DOM over OM
>     >> java:prepare-filesystem:
>     >>
>     >> java:compile:
>     >>     [echo] Compiling to
>     D:\work\axis2-dev\modules\doom/target/classes
>     >>
>     >> java:jar-resources:
>     >>
>     >> test:prepare-filesystem:
>     >>
>     >> test:test-resources:
>     >>
>     >> test:compile:
>     >>
>     >> test:test:
>     >>     [junit] Running org.apache.axis2.om.impl.dom.DocumentImplTest
>     >>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed:
>     0,5 sec
>     >>     [junit] Running
>     org.apache.axis2.om.impl.dom.DOMImplementationTest
>     >>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
>     0,39 sec
>     >>     [junit] Running org.apache.axis2.om.impl.dom.ElementImplTest
>     >>     [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed:
>     0,406
>     >> sec
>     >>     [junit] Running org.apache.axis2.om.impl.dom.MessagesTest
>     >>     [junit] Tests run: 4, Failures: 0, Errors: 4, Time elapsed:
>     0,672
>     >> sec
>     >>     [junit] [ERROR] TEST org.apache.axis2.om.impl.dom.MessagesTest
>     >> FAILED
>     >>     [junit] Running org.apache.axis2.om.impl.dom.OMDOMFactoryTest
>     >>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
>     0,296
>     >> sec
>     >>     [junit] Running org.apache.axis2.om.impl.dom.TextImplTest
>     >>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed:
>     0,297
>     >> sec
>     >>
>     >> BUILD FAILED
>     >> File...... C:\Documents and
>     >>
>     Settings\bruno\.maven\cache\maven-multiproject-plugin-1.3.1\plugin.jelly
>     >> Element... maven:reactor
>     >> Line...... 217
>     >> Column.... 9
>     >> Unable to obtain goal [multiproject:install-callback] --
>     C:\Documents
>     >> and
>     >>
>     Settings\bruno\.maven\cache\maven-test-plugin-1.6.2\plugin.jelly:181:54:
>     >> <fail> There were test failures.
>     >> Total time: 2 minutes 11 seconds
>     >> Finished at: Thu Mar 16 13:54:14 CET 2006
>     >> /
>     >>
>     >> If someone has the answer , it will be nice
>     >>
>     >>
>     >>
>     >> Thanks in advance
>     >>
>     >>
>     >> -----Message d'origine-----
>     >> De : Eran Chinthaka [mailto: chinthaka@opensource.lk
>     <ma...@opensource.lk>]
>     >> Envoyé : jeudi 16 mars 2006 10:24
>     >> À : axis-user@ws.apache.org <ma...@ws.apache.org>
>     >> Objet : Re: failure when trying to build axis2
>     >>
>     >> Hi Bruno,
>     >>
>     >> If you can exactly point out your problem, I may be able to
>     help you.
>     >>
>     >> About the jars, yes there can be a slight problem, if maven can not
>     >> establish a connection to the repository properly.
>     >>
>     >> But since you have mentioned that your build is successful, I don't
>     >> think you still have problems with your jars.
>     >>
>     >> Are you having problems with tests ? If you are using jdk5, please
>     >> make sure you follow the tips given in the FAQ.
>     >>
>     >> -- Chinthaka
>     >>
>     >> bruno wanadoo wrote:
>     >> > Hi to all
>     >> > I had the same problem myself with wersion 0.94
>     >> >
>     >> > After download latest sources from svn everything works fine
>     and at
>     >> > last the build is successful But I still have problem with
>     sme of the
>     >> > tests
>     >> >
>     >> >
>     >>
>     ---------------------------------------------------------------------------------------
>     >>
>     >> Wanadoo vous informe que cet  e-mail a ete controle par
>     l'anti-virus
>     >> mail.
>     >> Aucun virus connu a ce jour par nos services n'a ete detecte.
>     >>
>     >>
>     >
>     >
>
>


-- 
Sean Doyle, CTO
MedCommons, Inc.
sdoyle@medcommons.net


Re: [axis2] failure when trying to build axis2

Posted by Loreno Oliveira <lo...@gmail.com>.
I got also problems with some tests, just like Sean and Bruno.
My problem was fixed when I turned off the Norton Worm Protection...

Now I'm building and testing axis2 fine...

Loreno

On 3/16/06, Eran Chinthaka <ch...@opensource.lk> wrote:
>
> Hi Sean and Bruno,
>
> We experience a build failure in Axis2 main branch now. Please give us
> time till tomoro for us to fix it.
>
> Thanks,
> Chinthaka
>
> Sean Doyle (Gmail) wrote:
> > bruno wanadoo wrote:
> >
> >> Hi Chinthaka & everybody else
> >>
> >> I followed instructions in the FAQ ( with jdk1.5 I modify the
> >> security file to add BC as provider)
> >> But when I launch maven , a lot of targets are built but at the end I
> >> got this
> >>
> > I'm getting the same
> >    Unable to obtain goal [multiproject:install-callback] --
> > C:\Documents and
> > Settings\bruno\.maven\cache\maven-test-plugin-1.6.2\plugin.jelly:181:54:
> > I've also put in the same attribute for BC. And svn is current as of a
> > few minutes ago.
> >
> > Here's what works and doesn't work - I'm a bit confused by the site's
> > documentation since it has two different calls to maven specified for
> > building the project. One fails with the plugin.jelly message, the
> > other works but doesn't make the war file.
> >
> > I'm running this in WindowsXP. My version of Maven is 1.0.2. My
> > version of Java is java version "1.5.0_06".
> >
> >
> > According to http://ws.apache.org/axis2/svn.html - you just type
> > 'maven'. This fails -
> >
> >> test:test:
> >>     [junit] Running org.apache.axis2.om.impl.dom.DocumentImplTest
> >>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.39sec
> >>     [junit] Running org.apache.axis2.om.impl.dom.DOMImplementationTest
> >>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.28sec
> >>     [junit] Running org.apache.axis2.om.impl.dom.ElementImplTest
> >>     [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0.381
> >> sec
> >>     [junit] Running org.apache.axis2.om.impl.dom.MessagesTest
> >>     [junit] Tests run: 4, Failures: 0, Errors: 4, Time elapsed: 0.471
> >> sec
> >>     *[junit] [ERROR] TEST org.apache.axis2.om.impl.dom.MessagesTest
> >> FAILED*
> >>     [junit] Running org.apache.axis2.om.impl.dom.OMDOMFactoryTest
> >>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.281
> >> sec
> >>     [junit] Running org.apache.axis2.om.impl.dom.TextImplTest
> >>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.28sec
> >>
> >> BUILD FAILED
> >> File...... C:\Documents and
> >> Settings\sean\.maven\cache\maven-multiproject-plugin-1.3.1\plugin.jelly
> >> Element... maven:reactor
> >> Line...... 217
> >> Column.... 9
> >> Unable to obtain goal [multiproject:install-callback] -- C:\Documents
> >> and Settings\sean\.maven\cache\maven-test-plugin-1
> >> .6.2\plugin.jelly:181:54: <fail> There were test failures.
> >> Total time: 4 minutes 9 seconds
> >> Finished at: Thu Mar 16 10:22:34 EST 2006
> >
> >
> > According to http://ws.apache.org/axis2/siteHowTo.html - you type
> > 'maven multiproject'. This worked yesterday - but it didn't make the
> > war file. And - although it worked there are several errors of the sort:
> >
> >> Error retrieving artifact from
> >> [
> http://www.ibiblio.org/maven/axis2/jars/axis2-codegen-0.95-SNAPSHOT.jar]:
> >> java.net.Conne
> >> ctException: Connection timed out: connect
> >> 192K downloaded
> >
> >
> >
> > Somewhere on the apache site there was a suggestion to use 'maven.war'
> > - this failed with (I believe) the same plugin.jelly error.
> >
> > Also - I've been running 'maven clean' between runs if that makes any
> > difference.
> >
> > I did invoke
> >
> > %MAVEN_HOME%\bin\install_repo.bat c:\.maven\repository
> > when I installed Maven a few days ago.
> >
> > What should I try next if I want to build the war file?
> >
> >
> > Thanks..
> >
> > Sean
> >
> >>
> >>
> >> /+----------------------------------------
> >> | Executing multiproject:install-callback Apache Axis 2.0 - DOM over OM
> >> | Memory: 8M/12M
> >> +----------------------------------------
> >> Tentative de tÚlÚchargement de axiom-1.0-SNAPSHOT.jar.
> >> Tentative de tÚlÚchargement de axis2-common-0.95-SNAPSHOT.jar.
> >> Tentative de tÚlÚchargement de axis2-core-0.95-SNAPSHOT.jar.
> >>
> >> jar:jar:
> >>
> >> jar:install:
> >>
> >>
> >> build:end:
> >>
> >> build:start:
> >>
> >> multiproject:install-callback:
> >>     [echo] Running jar:install for Apache Axis 2.0 - DOM over OM
> >> java:prepare-filesystem:
> >>
> >> java:compile:
> >>     [echo] Compiling to D:\work\axis2-dev\modules\doom/target/classes
> >>
> >> java:jar-resources:
> >>
> >> test:prepare-filesystem:
> >>
> >> test:test-resources:
> >>
> >> test:compile:
> >>
> >> test:test:
> >>     [junit] Running org.apache.axis2.om.impl.dom.DocumentImplTest
> >>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0,5 sec
> >>     [junit] Running org.apache.axis2.om.impl.dom.DOMImplementationTest
> >>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0,39
> sec
> >>     [junit] Running org.apache.axis2.om.impl.dom.ElementImplTest
> >>     [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0,406
> >> sec
> >>     [junit] Running org.apache.axis2.om.impl.dom.MessagesTest
> >>     [junit] Tests run: 4, Failures: 0, Errors: 4, Time elapsed: 0,672
> >> sec
> >>     [junit] [ERROR] TEST org.apache.axis2.om.impl.dom.MessagesTest
> >> FAILED
> >>     [junit] Running org.apache.axis2.om.impl.dom.OMDOMFactoryTest
> >>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0,296
> >> sec
> >>     [junit] Running org.apache.axis2.om.impl.dom.TextImplTest
> >>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0,297
> >> sec
> >>
> >> BUILD FAILED
> >> File...... C:\Documents and
> >> Settings\bruno\.maven\cache\maven-
> multiproject-plugin-1.3.1\plugin.jelly
> >> Element... maven:reactor
> >> Line...... 217
> >> Column.... 9
> >> Unable to obtain goal [multiproject:install-callback] -- C:\Documents
> >> and
> >> Settings\bruno\.maven\cache\maven-
> test-plugin-1.6.2\plugin.jelly:181:54:
> >> <fail> There were test failures.
> >> Total time: 2 minutes 11 seconds
> >> Finished at: Thu Mar 16 13:54:14 CET 2006
> >> /
> >>
> >> If someone has the answer , it will be nice
> >>
> >>
> >>
> >> Thanks in advance
> >>
> >>
> >> -----Message d'origine-----
> >> De : Eran Chinthaka [mailto:chinthaka@opensource.lk]
> >> Envoyé : jeudi 16 mars 2006 10:24
> >> À : axis-user@ws.apache.org
> >> Objet : Re: failure when trying to build axis2
> >>
> >> Hi Bruno,
> >>
> >> If you can exactly point out your problem, I may be able to help you.
> >>
> >> About the jars, yes there can be a slight problem, if maven can not
> >> establish a connection to the repository properly.
> >>
> >> But since you have mentioned that your build is successful, I don't
> >> think you still have problems with your jars.
> >>
> >> Are you having problems with tests ? If you are using jdk5, please
> >> make sure you follow the tips given in the FAQ.
> >>
> >> -- Chinthaka
> >>
> >> bruno wanadoo wrote:
> >> > Hi to all
> >> > I had the same problem myself with wersion 0.94
> >> >
> >> > After download latest sources from svn everything works fine and at
> >> > last the build is successful But I still have problem with sme of the
> >> > tests
> >> >
> >> >
> >>
> ---------------------------------------------------------------------------------------
> >>
> >> Wanadoo vous informe que cet  e-mail a ete controle par l'anti-virus
> >> mail.
> >> Aucun virus connu a ce jour par nos services n'a ete detecte.
> >>
> >>
> >
> >
>
>

Re: [axis2] failure when trying to build axis2

Posted by Eran Chinthaka <ch...@opensource.lk>.
Hi Sean and Bruno,

We experience a build failure in Axis2 main branch now. Please give us
time till tomoro for us to fix it.

Thanks,
Chinthaka

Sean Doyle (Gmail) wrote:
> bruno wanadoo wrote:
>
>> Hi Chinthaka & everybody else
>>
>> I followed instructions in the FAQ ( with jdk1.5 I modify the
>> security file to add BC as provider)
>> But when I launch maven , a lot of targets are built but at the end I
>> got this
>>
> I'm getting the same
>    Unable to obtain goal [multiproject:install-callback] --
> C:\Documents and
> Settings\bruno\.maven\cache\maven-test-plugin-1.6.2\plugin.jelly:181:54:
> I've also put in the same attribute for BC. And svn is current as of a
> few minutes ago.
>
> Here's what works and doesn't work - I'm a bit confused by the site's
> documentation since it has two different calls to maven specified for
> building the project. One fails with the plugin.jelly message, the
> other works but doesn't make the war file.
>
> I'm running this in WindowsXP. My version of Maven is 1.0.2. My
> version of Java is java version "1.5.0_06".
>
>
> According to http://ws.apache.org/axis2/svn.html - you just type
> 'maven'. This fails -
>
>> test:test:
>>     [junit] Running org.apache.axis2.om.impl.dom.DocumentImplTest
>>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.39 sec
>>     [junit] Running org.apache.axis2.om.impl.dom.DOMImplementationTest
>>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.28 sec
>>     [junit] Running org.apache.axis2.om.impl.dom.ElementImplTest
>>     [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0.381
>> sec
>>     [junit] Running org.apache.axis2.om.impl.dom.MessagesTest
>>     [junit] Tests run: 4, Failures: 0, Errors: 4, Time elapsed: 0.471
>> sec
>>     *[junit] [ERROR] TEST org.apache.axis2.om.impl.dom.MessagesTest
>> FAILED*
>>     [junit] Running org.apache.axis2.om.impl.dom.OMDOMFactoryTest
>>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.281
>> sec
>>     [junit] Running org.apache.axis2.om.impl.dom.TextImplTest
>>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.28 sec
>>
>> BUILD FAILED
>> File...... C:\Documents and
>> Settings\sean\.maven\cache\maven-multiproject-plugin-1.3.1\plugin.jelly
>> Element... maven:reactor
>> Line...... 217
>> Column.... 9
>> Unable to obtain goal [multiproject:install-callback] -- C:\Documents
>> and Settings\sean\.maven\cache\maven-test-plugin-1
>> .6.2\plugin.jelly:181:54: <fail> There were test failures.
>> Total time: 4 minutes 9 seconds
>> Finished at: Thu Mar 16 10:22:34 EST 2006
>
>
> According to http://ws.apache.org/axis2/siteHowTo.html - you type
> 'maven multiproject'. This worked yesterday - but it didn't make the
> war file. And - although it worked there are several errors of the sort:
>
>> Error retrieving artifact from
>> [http://www.ibiblio.org/maven/axis2/jars/axis2-codegen-0.95-SNAPSHOT.jar]:
>> java.net.Conne
>> ctException: Connection timed out: connect
>> 192K downloaded
>
>
>
> Somewhere on the apache site there was a suggestion to use 'maven.war'
> - this failed with (I believe) the same plugin.jelly error.
>
> Also - I've been running 'maven clean' between runs if that makes any
> difference.
>
> I did invoke
>
> %MAVEN_HOME%\bin\install_repo.bat c:\.maven\repository
> when I installed Maven a few days ago.
>
> What should I try next if I want to build the war file?
>
>
> Thanks..
>
> Sean
>
>>
>>
>> /+----------------------------------------
>> | Executing multiproject:install-callback Apache Axis 2.0 - DOM over OM
>> | Memory: 8M/12M
>> +----------------------------------------
>> Tentative de tÚlÚchargement de axiom-1.0-SNAPSHOT.jar.
>> Tentative de tÚlÚchargement de axis2-common-0.95-SNAPSHOT.jar.
>> Tentative de tÚlÚchargement de axis2-core-0.95-SNAPSHOT.jar.
>>
>> jar:jar:
>>
>> jar:install:
>>
>>
>> build:end:
>>
>> build:start:
>>
>> multiproject:install-callback:
>>     [echo] Running jar:install for Apache Axis 2.0 - DOM over OM
>> java:prepare-filesystem:
>>
>> java:compile:
>>     [echo] Compiling to D:\work\axis2-dev\modules\doom/target/classes
>>
>> java:jar-resources:
>>
>> test:prepare-filesystem:
>>
>> test:test-resources:
>>
>> test:compile:
>>
>> test:test:
>>     [junit] Running org.apache.axis2.om.impl.dom.DocumentImplTest
>>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0,5 sec
>>     [junit] Running org.apache.axis2.om.impl.dom.DOMImplementationTest
>>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0,39 sec
>>     [junit] Running org.apache.axis2.om.impl.dom.ElementImplTest
>>     [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0,406
>> sec
>>     [junit] Running org.apache.axis2.om.impl.dom.MessagesTest
>>     [junit] Tests run: 4, Failures: 0, Errors: 4, Time elapsed: 0,672
>> sec
>>     [junit] [ERROR] TEST org.apache.axis2.om.impl.dom.MessagesTest
>> FAILED
>>     [junit] Running org.apache.axis2.om.impl.dom.OMDOMFactoryTest
>>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0,296
>> sec
>>     [junit] Running org.apache.axis2.om.impl.dom.TextImplTest
>>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0,297
>> sec
>>
>> BUILD FAILED
>> File...... C:\Documents and
>> Settings\bruno\.maven\cache\maven-multiproject-plugin-1.3.1\plugin.jelly
>> Element... maven:reactor
>> Line...... 217
>> Column.... 9
>> Unable to obtain goal [multiproject:install-callback] -- C:\Documents
>> and
>> Settings\bruno\.maven\cache\maven-test-plugin-1.6.2\plugin.jelly:181:54:
>> <fail> There were test failures.
>> Total time: 2 minutes 11 seconds
>> Finished at: Thu Mar 16 13:54:14 CET 2006
>> /
>>
>> If someone has the answer , it will be nice
>>
>>  
>>
>> Thanks in advance
>>
>>
>> -----Message d'origine-----
>> De : Eran Chinthaka [mailto:chinthaka@opensource.lk]
>> Envoyé : jeudi 16 mars 2006 10:24
>> À : axis-user@ws.apache.org
>> Objet : Re: failure when trying to build axis2
>>
>> Hi Bruno,
>>
>> If you can exactly point out your problem, I may be able to help you.
>>
>> About the jars, yes there can be a slight problem, if maven can not
>> establish a connection to the repository properly.
>>
>> But since you have mentioned that your build is successful, I don't
>> think you still have problems with your jars.
>>
>> Are you having problems with tests ? If you are using jdk5, please
>> make sure you follow the tips given in the FAQ.
>>
>> -- Chinthaka
>>
>> bruno wanadoo wrote:
>> > Hi to all
>> > I had the same problem myself with wersion 0.94
>> >
>> > After download latest sources from svn everything works fine and at
>> > last the build is successful But I still have problem with sme of the
>> > tests
>> >
>> > 
>> ---------------------------------------------------------------------------------------
>>
>> Wanadoo vous informe que cet  e-mail a ete controle par l'anti-virus
>> mail.
>> Aucun virus connu a ce jour par nos services n'a ete detecte.
>>
>>
>
>