Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7655105
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T12:25:43+00:00 2026-05-31T12:25:43+00:00

JBoss 6.0 Final is shipped with JBoss WS ( Apache CXF stack by default),

  • 0

JBoss 6.0 Final is shipped with JBoss WS (Apache CXF stack by default), I know that I can replace the default implementation with the respective JBoss WS Native or Metro versions from JBossWS downloads site.

The problem is, I’ve a client jar library (binaries only unfortunately) which consumes some proprietary SOAP Web Services. When I use the client API from a Web Application deployed to JBoss I’m getting a lot of intermittent SOAP Faults (tested with both Apache CXF and JBoss Native stacks).

Since the same Web Services seems to work fine when running from a standalone jar file (with no third party JAX-WS implementations), I was thinking about disabling the JBoss WS stack in favor of the native JAX-WS RI stack provided with Java SE 6.

I know that JBoss Metro WS stack should be close enough to what is shipped with Java SE 6, but I would really appreciate if I could go with the native Java SE version.

So, is this feasible? Can someone point the way?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T12:25:44+00:00Added an answer on May 31, 2026 at 12:25 pm

    Here is a procedure to remove JBossWS-CXF client and server stack from JBoss 6.1.0.Final.
    Replace <configuration> by the server configuration you use, probably default.

    • Remove the following files and directory structure
    common/deploy/jbossws-console.war
    lib/endorsed/jbossws-cxf-factories.jar
    server/<configuration>/deploy/jbossws-console-activator-jboss-beans.xml
    server/<configuration>/deployers/jbossws.deployer/
    server/<configuration>/deployers/jbossws-jaxrpc.deployer/
    
    • Edit and remove the two following parts from server/<configuration>/deployers/switchboard-jboss-beans.xml
    <entry>
      <key>javax.xml.ws.WebServiceContext</key>
      <value><inject bean="org.jboss.switchboard.WebServiceContextResourceProvider"/></value>
    </entry>
    ... and ...
    <inject bean="org.jboss.switchboard.WebServiceRefResourceProvider"/>
    

    As a result, the WebService server stack is no longer available, neither the jbossws console.

    To be sure to use JAX-WS Metro implementation from your JavaSE version running JBoss, you have also to remove from Class-Path any jar related to CXF and JAX-WS:

    lib/endorsed/jboss-jaxws-api_2.2_spec.jar
    lib/endorsed/stax-api.jar
    lib/endorsed/jboss-jaxb-api_2.2_spec.jar
    common/lib/jboss-jaxb-api_2.2_spec.jar
    common/lib/jboss-jaxws-api_2.2_spec.jar
    common/lib/jboss-jaxrpc-api_1.1_spec.jar
    common/lib/cxf-*.jar
    lib/wstx-lgpl.jar
    lib/jaxb-impl.jar
    lib/jaxb-xjc.jar
    

    At that point, JBoss 6.1 even starts faster.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Using JBoss AS 6.1.0 Final with default deployment profile. I like to send a
I am using jboss-as-7.1.0.Final-SNAPSHOT and trying to set up custom login module that uses
Deploying on JBoss AS 7.1.0.Final. I have a very simple test app. It was
I'm using Jboss AS 7.1.1.final and I'm trying to add an oracle Datasource: <datasource
I deployed a resource adapter (XADisk) in jboss 7.1.0.final and now get an exception
I am new to JBOSS 4.2. when I start the server on CentOS 5.4(final).
I have an error in Hibernate 4.1.2.FINAL, JBoss 7.1.1,and Spring 3.1.0.RELEASE,like this: 12:10:50,853 ERROR
Jboss 4.2.0A Is there a /server directory that I need to change or something?
running an application where i use the following: JBoss AS 6.1.0.Final Hibernate Spring Framework
I'm trying to implement an ejb-call by using JNDI-naming. Setup: JBoss-6.1.0.Final ear-deploy: gwt.war ejb.jar

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.