Hi Loreno,

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

- Ruchith

On 3/20/06, Sean Doyle (Gmail) <[EMAIL PROTECTED]> 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)* <[EMAIL PROTECTED]
> > <mailto:[EMAIL PROTECTED]>> 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* <[EMAIL PROTECTED]
> >     <mailto:[EMAIL PROTECTED]>
> >     > <mailto: [EMAIL PROTECTED]
> >     <mailto:[EMAIL PROTECTED]>>> 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: [EMAIL PROTECTED]
> >     <mailto:[EMAIL PROTECTED]>
> >     >     <mailto: [EMAIL PROTECTED]
> >     <mailto:[EMAIL PROTECTED]>>]
> >     >     >> Envoyé : jeudi 16 mars 2006 10:24
> >     >     >> Ŕ : [email protected]
> >     <mailto:[email protected]> <mailto: [email protected]
> >     <mailto:[email protected]>>
> >     >     >> 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.
> >     [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> >
> >
>
>
> --
> Sean Doyle, CTO
> MedCommons, Inc.
> [EMAIL PROTECTED]
>
>

Reply via email to