Antoine Brun [http://community.jboss.org/people/abr] created the discussion
"jboss6 final and jbossws 3.4.0" To view the discussion, visit: http://community.jboss.org/message/578425#578425 -------------------------------------------------------------- Hello, I'm currently trying to migrate our application from jboss5 to jboss6 and I'm running into some issues. My first try was with jboss6 CR1: We have some web services (EJB3 endpoints) and they all have @HandlerChain declaration (we use this to do the XML validation since the built-in SOAP validation didn't work on Jboss5) and it all worked fine with jboss5 and jbossws native 3.3.1 GA. Now with jboss6 CR1, since it is shipped with jbossws-CXF 3.4.1 my @HandlerChain declaration does not seem to be valid any more (btw, I was not able to find any clear document on own to declare a handler chain with CXF). So I've decided to use *jbossws-native-3.4.0* (the latest version available) and I worked fine: I was able to have my web services running just like with jboss5 Today, I've downloded *jboss6 Final with CXF 3.4.1* 18:32:43,489 INFO [AbstractServerConfig] JBoss Web Services - Stack CXF Server 3.4.1.GA and just like for jboss6 CR1, I tried to deploy jbossws native. But this time I get: 18:34:46,515 INFO [AbstractServerConfig] JBoss Web Services - Native Server 3.4.0.GA 18:34:46,523 ERROR [AbstractKernelController] Error installing to PreInstall: name=WSDescriptorDeployer state=Real: java.lang.NoClassDefFoundError: org/jboss/wsf/spi/metadata/DescriptorParser at java.lang.Class.getDeclaredConstructors0(Native Method) [:1.6.0_23] at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389) [:1.6.0_23] at java.lang.Class.getDeclaredConstructors(Class.java:1836) [:1.6.0_23] ..... Caused by: *java.lang.ClassNotFoundException: org.jboss.wsf.spi.metadata.DescriptorParser* at java.net.URLClassLoader$1.run(URLClassLoader.java:202) [:1.6.0_23] So, jboss6 CR1 comes with Stack CXF Server 3.4.0.CR3 and I can install Native Server 3.4.0.GA But, jboss6 Final comes with CXF 3.4.1 and I cannot install Native Server 3.4.0.GA... Can someone please explain me: - *how to install jbossws native in jboss6?* - *where do I get jbossws native 3.4.1 (is it available? 3.4.0 native or CXF are the latest available at http://www.jboss.org/jbossws/downloads http://www.jboss.org/jbossws/downloads )?* - *how do I declare HandlerChain with CXF?* my EJB have @HandlerChain(file = "/META-INF/soapHandler/handler-chain.xml") and the handler-chain.xml is as follow: <?xml version="1.0" encoding="UTF-8"?> <handler-config> <handler-chain> <handler-chain-name>SoapHandler</handler-chain-name> <handler> <handler-name>SoapMessageValidationHandler</handler-name> <handler-class>com.ubiqube.api.ws.soapHandler.MessageValidationSoapHandler</handler-class> </handler> </handler-chain> </handler-config> thanks, Antoine -------------------------------------------------------------- Reply to this message by going to Community [http://community.jboss.org/message/578425#578425] Start a new discussion in JBoss Web Services at Community [http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]
_______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user