-
1. Re: cxf does not work with JBOSS 4.2.3 ??
confused Aug 28, 2008 8:09 AM (in response to confused)CXF-version was 2.1.2
-
2. Re: cxf does not work with JBOSS 4.2.3 ??
bperchma Oct 2, 2008 3:54 AM (in response to confused)I got this to work by including the necessary cxf files in my ear file (
cxf-rt-frontend-jaxws*.jar), and then removing the following from jboss/lib/endorsed:
jboss-jaxws.jar,
joss-jaxws-ext.jar
For a convenient way to populate your ear file with the correct cxf jars, refer to http://cwiki.apache.org/CXF20DOC/maven-integration-and-plugin.html - but omit the dependency on the jetty transport. -
3. cxf does not work with JBOSS 4.2.3 ??
commissarmatt Apr 7, 2011 4:27 PM (in response to confused)I'm having this same problem, however removing jars from jboss/lib/endorsed is not an option. What to do then? In other forums I've seen advice to add a jboss-web.xml to my WEB-INF folder, with contents:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jboss-web PUBLIC
"-//JBoss//DTD Web Application 4.2//EN"
"http://www.jboss.org/j2ee/dtd/jboss-web_4_2.dtd">
<jboss-web>
<class-loading java2ClassLoadingCompliance="false">
<loader-repository>
myapp:loader=anyUniqueName
<loader-repository-config>java2ParentDelegation=false</loader-repository-config>
</loader-repository>
</class-loading>
</jboss-web>but that doesn't work either. I see no other solutions posted. Is there a way to fix this?