Hi David

That was quite a fascinating read, a bad news followed by a final good one
:-), thanks for the confirmation.
Dan has fixed the issue with Xerces too in the system tests...

Cheers, Sergey

On Fri, Apr 8, 2011 at 7:36 AM, David Zhang <[email protected]> wrote:

> Hello Sergey,
>
> ok, i still want to try the snapshot on my project :-)
>
> I cleared org/apache/cxf from my local repository.
>
> Then i ran mvn clean and
> mvn -Pfastinstall,jaxws22,everything install
>
> This time, the build went a lot better, but it failed at
> [INFO] Apache CXF Uncategorized System Tests ............. FAILURE
> [1:23.179s]
> And the error message is:
> [ERROR] Failed to execute goal
> org.apache.cxf:cxf-codegen-plugin:2.3.4-SNAPSHOT:wsdl2java
> (generate-test-sources) on project cxf-systests-uncategorized:
> org.apache.xerces.impl.dv.DVFactoryException: DTD factory class
> org.apache.xerces.impl.dv.dtd.DTDDVFactoryImpl does not extend from
> DTDDVFactory. -> [Help 1]
>
> I use JDK 1.6.24 32 Bit on my Windows 7 64 Bit OS. I have nothing in my
> java endorsed libs directory. (I have read somewhere, i have to put
> jaxws-api-2.2 in there, but since the build failed i removed it again).
>
> Well, i would like to see the build succeed, but the artifacts i need were
> built anyway. I replaced the cxf-libs in JBoss with the ones from this
> snapshot build and tested my project again. The result is:
>
> Everything works fine!
>
> Thank you!
> David
>
> -----Ursprüngliche Nachricht----- From: Alessio Soldano
> Sent: Thursday, April 07, 2011 2:38 PM
> To: [email protected]
> Cc: Sergey Beryozkin
> Subject: Re: UsernameToken JBoss Integration
>
> On 04/07/2011 11:01 AM, Sergey Beryozkin wrote:
>
>> However, i downloaded the individual artifacts from Jenkins and patched my
>>> JBoss installation with them.
>>>
>>> To test the new snapshot release i changed my project to depend on the
>>> 2.3.4-SNAPSHOT version from the apache snapshots repository and rebuilt
>>> it.
>>>
>>> The second problem is the 2.3.4-SNAPSHOT is not compatible anymore with
>>> JBoss 6.0.0.Final. Cause of this is a package name changed from
>>> org.apache.cxf.jaxws22 to org.apache.cxf.jaxws.
>>> But JBoss has a class
>>> org.jboss.wsf.stack.cxf.deployment.EndpointImpl extends
>>> org.apache.cxf.jaxws22.EndpointImpl
>>>
>>> The result is i cannot deploy my project anymore. :-(
>>>
>>>
>>>  Just checkout CXF 2.3.4 using svn or git, and then do
>>
>> 'mvn install -Pfastinstall,jaxws'
>>
>> that should fix it
>>
>
> Yep, thanks Sergey.
> Basically JBoss 6 needs (and extends) the jaxws 2.2 version of the
> endpoint for certification reasons.
> So you need to build Apache CXF with -Pjaxws22 profile.
> Cheers
> Alessio
>
> --
> Alessio Soldano
> Web Service Lead, JBoss
>
>


-- 
Sergey Beryozkin

Application Integration Division of Talend <http://www.talend.com>
http://sberyozkin.blogspot.com

Reply via email to