cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Craig Tataryn <crai...@tataryn.net>
Subject Re: Regarding the CXF release 2.0.13
Date Fri, 04 Jun 2010 13:54:15 GMT
Actually, we ran into this very same issue with the IBM JDK that shipped with RAD7 (a 1.5 jvm),
but it worked with the one that shipped with RAD 7.5 (a 1.6 jvm).

For our own projects we had to pass the -npa switch to the various xjc type plugins (i.e.
cxf-codegen-plugin and cxf-common-xsd)

Craig.

--
Craig Tataryn
site: http://www.basementcoders.com/
podcast:http://feeds.feedburner.com/TheBasementCoders
irc: ThaDon on freenode #basementcoders, ##wicket, #papernapkin
twitter: craiger

On 2010-06-04, at 8:47 AM, Daniel Kulp wrote:

> 
> Definitely check your JDK version.   I know various 1.6.x JDK's sufferred from 
> this bug on Windows.   I'm not sure if the 1.5.0 jdk's also did or not.
> 
> Dan
> 
> 
> On Friday 04 June 2010 8:21:36 am Ashish Jain wrote:
>> Just an update I built CXF 2.1.10 and I see another build failure. Kindly
>> help me resolving this issue
>> 
>> INFO] Compiling 6 source files to
>> C:\builds\cxf2110\cxf-2.1.10\common\xjc\dv-test\target\classes
>> INFO]
>> ------------------------------------------------------------------------
>> ERROR] BUILD FAILURE
>> INFO]
>> ------------------------------------------------------------------------
>> INFO] Compilation failure
>> 
>> :/builds/cxf2110/cxf-2.1.10/common/xjc/dv-test/target/generated/src/test/ja
>> :va/org/apache/cxf/config
>> 
>> ration/foo/package-info.java:[8,148] package annotations should be in file
>> package-info.java
>> 
>> :/builds/cxf2110/cxf-2.1.10/common/xjc/dv-test/target/generated/src/test/ja
>> :va/org/apache/cxf/config
>> 
>> ration/foo/package-info.java:[8,148] package annotations should be in file
>> package-info.java
>> 
>> 
>> INFO]
>> ------------------------------------------------------------------------
>> INFO] For more information, run Maven with the -e switch
>> INFO]
>> ------------------------------------------------------------------------
>> INFO] Total time: 87 minutes 22 seconds
>> INFO] Finished at: Fri Jun 04 17:51:07 IST 2010
>> INFO] Final Memory: 47M/130M
>> 
>> --Ashish
>> 
>> On Fri, Jun 4, 2010 at 2:50 PM, Ashish Jain <ashjain2@gmail.com> wrote:
>>> Hi All,
>>> 
>>> Since I have joined the mailing list today I am sending it as a reference
>>> to ongoing release of CXF.
>>> 
>>> I am trying to build CXF 2.0.13 which is up for release as per the "
>>> *[VOTE] Release CXF 2.0.13/2.1.10/2.2.9".
>>> *I see some test failures which are as follows: I am running a clean
>>> build with clean M2repo.My environment is
>>> apache maven 2.0.10, windows XP SP2 and  Java 5.
>>> 
>>> Can someone help me identify what might be going wrong?
>>> 
>>> Running org.apache.cxf.tools.wsdlto.jaxws.JAXWSContainerTest
>>> Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 5.125 sec
>>> <<< FAILURE!
>>> testSuppressCodeGen(org.apache.cxf.tools.wsdlto.jaxws.JAXWSContainerTest)
>>> Time elapsed: 0.453 sec
>>> <<< FAILURE!
>>> org.junit.ComparisonFailure:
>>> expected:<http://localhost:9[000/SoapContext/SoapPort]> but was:<http:
>>> /localhost:9[100]>
>>> 
>>>        at org.junit.Assert.assertEquals(Assert.java:99)
>>>        at org.junit.Assert.assertEquals(Assert.java:117)
>>>        at
>>> 
>>> org.apache.cxf.tools.wsdlto.jaxws.JAXWSContainerTest.testSuppressCodeGen(
>>> JAXWSContainerT st.java:198)
>>> 
>>>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>        at
>>> 
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
>>> :64)
>>> 
>>>        at
>>> 
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI
>>> mpl.java:43)
>>> 
>>>        at java.lang.reflect.Method.invoke(Method.java:615)
>>>        at
>>>        org.junit.internal.runners.TestMethod.invoke(TestMethod.java:59)
>>>        at
>>> 
>>> org.junit.internal.runners.MethodRoadie.runTestMethod(MethodRoadie.java:9
>>> 8)
>>> 
>>>        at
>>> 
>>> org.junit.internal.runners.MethodRoadie$2.run(MethodRoadie.java:79)
>>> 
>>>        at
>>> 
>>> org.junit.internal.runners.MethodRoadie.runBeforesThenTestThenAfters(Meth
>>> odRoadie.java:8 )
>>> 
>>>        at
>>> 
>>> org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:77)
>>> 
>>>        at
>>> 
>>> org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:42)
>>> 
>>>        at
>>> 
>>> org.junit.internal.runners.JUnit4ClassRunner.invokeTestMethod(JUnit4Class
>>> Runner.java:88)
>>> 
>>>        at
>>> 
>>> org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner
>>> .java:51)
>>> 
>>>        at
>>> 
>>> org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java
>>> :44)
>>> 
>>>        at
>>> 
>>> org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27
>>> )
>>> 
>>>        at
>>> 
>>> org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37)
>>> 
>>>        at
>>> 
>>> org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:4
>>> 2)
>>> 
>>>        at
>>> 
>>> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java
>>> :62)
>>> 
>>>        at
>>> 
>>> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet
>>> (AbstractDirect ryTestSuite.java:138)
>>> 
>>>        at
>>> 
>>> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(Abstra
>>> ctDirectoryTest uite.java:125)
>>> 
>>>        at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
>>>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>        at
>>> 
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
>>> :64)
>>> 
>>>        at
>>> 
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI
>>> mpl.java:43)
>>> 
>>>        at java.lang.reflect.Method.invoke(Method.java:615)
>>>        at
>>> 
>>> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Surefi
>>> reBooter.java:2 0)
>>> 
>>>        at
>>> 
>>> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:
>>> 818)
>>> 
>>> Running org.apache.cxf.tools.wsdlto.validator.ValidatorTest
>>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.485 sec
>>> Running org.apache.cxf.tools.wsdlto.jaxws.CodeGenTest
>>> Tests run: 41, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 76.39
>>> sec Running org.apache.cxf.tools.wsdlto.jaxws.CodeGenBugTest
>>> 2010-06-04 14:35:05.005::INFO:  Logging to STDERR via
>>> org.mortbay.log.StdErrLog
>>> 2010-06-04 14:35:05.052::INFO:  jetty-6.1.18
>>> 2010-06-04 14:35:05.083::INFO:  Started SocketConnector@0.0.0.0:8585
>>> Tests run: 54, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 104.719
>>> sec
>>> Running org.apache.cxf.tools.wsdlto.jaxws.JAXWSBindingTest
>>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.469 sec
>>> Running org.apache.cxf.tools.wsdlto.core.PluginLoaderTest
>>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
>>> Running org.apache.cxf.tools.wsdlto.jaxws.CodeGenOptionTest
>>> Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.297 sec
>>> Running org.apache.cxf.tools.wsdlto.jaxws.CatalogTest
>>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.406 sec
>>> Running
>>> org.apache.cxf.tools.wsdlto.jaxws.wsdl11.JAXWSDefinitionBuilderTest
>>> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.047
>>> sec Running org.apache.cxf.tools.wsdlto.WSDLToJavaTest
>>> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec
>>> 
>>> Results :
>>> 
>>> Failed tests:
>>>  testSuppressCodeGen(org.apache.cxf.tools.wsdlto.jaxws.JAXWSContainerTes
>>>  t)
>>> 
>>> Tests run: 112, Failures: 1, Errors: 0, Skipped: 0
>>> 
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [ERROR] BUILD FAILURE
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] There are test failures.
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] For more information, run Maven with the -e switch
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Total time: 50 minutes 19 seconds
>>> [INFO] Finished at: Fri Jun 04 14:36:10 IST 2010
>>> [INFO] Final Memory: 60M/192M
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> 
>>> Thanks for all the help!!
>>> 
>>> Regards
>>> Ashish
> 
> -- 
> Daniel Kulp
> dkulp@apache.org
> http://dankulp.com/blog


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message