Deployment error in wildfly 31

117 views
Skip to first unread message

VIJAYABHASKARA REDDY

unread,
Apr 5, 2024, 1:32:28 PM4/5/24
to WildFly
Hi All,

I am getting below error when i am trying to deploy war file in wildfly 31.
Could you please let me know what could be the issue here?

{"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"brews.war\".INSTALL" => "WFLYSRV0153: Failed to process phase INSTALL of deployment \"brews.war\" Caused by: java.lang.NoClassDefFoundError: Failed to link org/jboss/wsf/stack/cxf/client/configuration/JBossWSBusFactory (Module \"deployment.brews.war\" from Service Module Loader): org/apache/cxf/bus/CXFBusFactory"}}


Thanks
--Vijay

Bartosz Baranowski

unread,
Apr 11, 2024, 4:36:52 AM4/11/24
to WildFly
Well, first thing first - is this new error on 31(after upgrade) or you just use 31 as your server?

What it essentially says is that org.jboss.ws.jaxws-client  module cant load JBossWSBusFactory class from org.apache.cxf module. ( https://github.com/jbossws/jbossws-cxf/blob/main/modules/client/src/main/java/org/jboss/wsf/stack/cxf/client/configuration/JBossWSBusFactory.java#L28 ) That is if remember how this type of errors is reported. This would suggest your deployment does not have dep on apache.cxf.
It would be best if you could share details about deployment. Otherwise its a guessing game.

VIJAYABHASKARA REDDY

unread,
Apr 11, 2024, 5:52:03 AM4/11/24
to WildFly
Hi Bartosz, this error was coming after upgrade to 31. This error was coming due to a cxf jar in my deployment. i have removed it and was able to deploy.

I am getting below error after deployment of my war and when i try to access my url. 
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><soap:Fault><faultcode>soap:VersionMismatch</faultcode><faultstring>A SOAP 1.2 message is not valid when sent to a SOAP 1.1 only endpoint.</faultstring></soap:Fault></soap:Body></soap:Envelope>'

how to make SOAP 1.2 end point. i am using @bindingType as @BindingType(value=javax.xml.ws.soap.SOAPBinding.SOAP12HTTP_BINDING) in my web service class. however i am getting only soap 1.1 only endpoint by container.

Thanks
--Vijay

Bartosz Baranowski

unread,
Apr 15, 2024, 3:28:12 AM4/15/24
to WildFly
Hey.
Hard to say without more details, but AFAIR this error is also shown if client is not using 1.2.

Bartosz Baranowski

unread,
Apr 15, 2024, 3:30:34 AM4/15/24
to WildFly
Hmm,. Just noticed: "javax.xml.ws.soap." ?
Reply all
Reply to author
Forward
0 new messages