-
15. Re: Apache CXF 2.5.2 & JBOSS 7.1.1 Final
michaelf Sep 10, 2013 7:08 AM (in response to sfcoy)I want to use Apache CXF 2.6.7 that is dependency of my war project and not CXF that is installed in the modules of JBoss 7.1.
Why I can not use CXF 2.6.7 that is dependency of my war project?
I looked at JAX-WS User Guide - JBoss Web Services - Project Documentation Editor and did not find the answer.
I am not sure JBoss will be launched with CXF 2.6.7. -
16. Re: Apache CXF 2.5.2 & JBOSS 7.1.1 Final
johnbesel Sep 10, 2013 7:43 AM (in response to larvender)Hello Saroch Hengpaisand,
thank you for your reply.
in my war/WEB-INF/lib I have following libraries:
activemq-camel-5.5.1
activemq-pool-5.5.1
aopalliance-1.0
camel-blueprint-2.9.0
camel-core-2.9.0
camel-core-osgi-2.9.0
camel-core-xml-2.9.0
camel-cxf-2.9.0
camel-cxf-transport-2.9.0
camel-hawtdb-2.9.0
camel-jaxb-2.9.0
camel-jboss6-2.8.0
camel-jms-2.9.0
camel-spring-2.9.0
common-lang-2.0.0
commons-io-2.0.1
commons-lang-2.6
commons-logging-1.1.1
commons-pool-1.5.4
cxf-rt-frontend-jaxrs-2.7.6
dtdparser-1.21
freemarker-2.3.15
guava-r09
hawtbuf-1.7
hawtdb-1.6
javassist-3.10.0.GA
javax.ws.rs-api-2.0-m10
jaxen-1.1.1
jcip-annotations-1.0
jdom-1.0
jta-1.1
milyn-commons-1.4
milyn-edisax-parser-1.4
milyn-smooks-camel-1.4
milyn-smooks-core-1.4
milyn-smooks-edi-1.4
milyn-smooks-javabean-1.4
mvel2-2.0.17
org.apache.aries.blueprint-0.3
org.apache.aries.proxy.api-0.3
org.apache.aries.testsupport.unit-0.3
org.apache.aries.util-0.3
spring-jms-3.0.5.RELEASE
xpp3_min-1.1.3.4.O
xstream-1.2.2
-
17. Re: Apache CXF 2.5.2 & JBOSS 7.1.1 Final
larvender Sep 12, 2013 10:50 PM (in response to johnbesel)Hello Vova kurilow I,m sorry for slowly reply. I never use camel cxf. I don't sure, your libs (camel cxf) is the same Lib in official of apache cxf. If it's same with official, it require container lib. (Example, Geronimo lib) Could you try with apache official lib? If you download apache cxf from apache website, you will see "WHICH JAR" in folder lib. This file will be explain, what's lib we should be use. I hope, my answer can help you.
Hello Micheal Furman,
I can not split the message in new thread. It was blocked by frequency limit in reply.
Could you give the error or some problem that you found, when you use cxf 2.6.7?
-
18. Re: Apache CXF 2.5.2 & JBOSS 7.1.1 Final
javijboss Sep 13, 2013 3:56 AM (in response to larvender)ola
-
19. Re: Re: Apache CXF 2.5.2 & JBOSS 7.1.1 Final
jesse.demarco Sep 26, 2013 5:03 PM (in response to michaelf)If you want to use a new version of CXF then, as mentioned previously in this thread, you will have to create a jboss-deployment-structure.xml with your custom module defined.
If you just want to use the JBoss module version of CFX then create a jboss deployment structure config file something like this:
<?xml version="1.0" encoding="UTF-8"?>
<jboss-deployment-structure>
<sub-deployment name="MY.war">
<dependencies>
<module name="org.apache.cxf" />
<module name="org.apache.neethi" />
<module name="javax.wsdl4j.api" />
<module name="org.apache.ws.security" />
<module name="org.apache.ws.xmlschema" />
</dependencies>
</sub-deployment>
</jboss-deployment-structure>
Put it in META-INF of the ear.
-
20. Re: Re: Apache CXF 2.5.2 & JBOSS 7.1.1 Final
larvender Sep 27, 2013 5:57 AM (in response to jesse.demarco)If my application is a war file, how can i implement jboss-deployment-structure.xml ?
I try to use this xml in my application but it does not work.
-
21. Re: Re: Apache CXF 2.5.2 & JBOSS 7.1.1 Final
jesse.demarco Sep 27, 2013 3:55 PM (in response to larvender)As the documentation states, put the jboss-deployment-structure.xml in the WEB-INF folder of the war.
For the example I provided, you will also have to change the <sub-deployment> element to <deployment>