axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dennis Sosnoski <...@sosnoski.com>
Subject Re: [axis2] failure when trying to build axis2
Date Sun, 19 Mar 2006 06:12:22 GMT
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 <dms@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
>>>><mailto:chinthaka@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>]
>>>>    >> Envoyé : jeudi 16 mars 2006 10:24
>>>>    >> À : 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.
>>>>    >>
>>>>    >>
>>>>    >
>>>>    >
>>>>
>>>>
>>>>        
>>>>
>>>      
>>>
>
>
>--
>Ajith Ranabahu
>
>  
>

Mime
View raw message