Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Wildfly DefaultJMSConnectionFactory is missing on WAR deployment

I'm trying to deploy the openscoring.io war file to Wildfly. This is my first attempt and anything with Wildfly so I could be missing something simple.

When deploying / enabling the war I get the following error:

Unable to modify deployment.

Unexpected HTTP response: 500

Request { "operation" => "deploy", "address" => [("deployment" => "openscoring-webapp-1.2-SNAPSHOT.war")] }

Response

Internal Server Error { "outcome" => "failed", "failure-description" => {"WFLYCTL0180: Services with missing/unavailable dependencies" => ["jboss.naming.context.java.module.\"openscoring-webapp-1.2-SNAPSHOT\".\"openscoring-webapp-1.2-SNAPSHOT\".DefaultJMSConnectionFactory is missing [jboss.naming.context.java.jboss.DefaultJMSConnectionFactory]"]}, "rolled-back" => true }

I've looked through the domain.xml and can see that the DefaultJMSConnectionFactory is there

 <entries>
   <entry name="java:/JmsXA"/>
   <!-- Global JNDI entry used to provide a default JMS Connection factory to EE application -->
   <entry name="java:jboss/DefaultJMSConnectionFactory"/>
 </entries>

Any ideas on where to go next would really be appreciated. Thanks in advance.

like image 682
Preston Avatar asked Jul 03 '26 00:07

Preston


1 Answers

Try starting Wildfly using the standalone-full configuration (./standalone.sh --server-config=standalone-full.xml). The default configuration contains the web profile only which does not include JMS.

like image 151
Tomasz Knyziak Avatar answered Jul 04 '26 20:07

Tomasz Knyziak



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!