Version 8

    How do I remove JBoss Web Services from JBoss 4.x


    version 4.0.4, 4.0.5, 4.2.x, EAP4.2, and EAP 4.3



    1.  Remove JBossWS.sar


    Assuming the default configuration in $JBOSS_HOME/server/default, remove the server/default/deploy/jbossws.sar directory.  However, if you attempt to start JBoss and EJB or EJB3s are enabled, you'll get an exception.


    2.  Remove ServiceEndpointInterceptor from standardjboss.xml(Not necessary in 4.2 and above)


    In server/default/conf/standardjboss.xml you should see lines like this:


            <interceptor transaction="Container"></interceptor>


    Remove each of them.


    3.  Remove the jars(optional)

    JBoss4.0.5 and JBoss4.2 both include jboss-saaj.jar & jboss-jaxrpc.jar in $JBOSS_HOME/server/xxx/lib .... which may also be removed.




    Now JBoss should start normally provided you don't attempt to use any JBossWS web services in your EJBs or otherwise. 





    Removes All JBoss Webservices from the container.  Web services will be rendered disabled after this change.