Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save liuanyou/a396a466db22b58a41203f029e8e53ec to your computer and use it in GitHub Desktop.
Save liuanyou/a396a466db22b58a41203f029e8e53ec to your computer and use it in GitHub Desktop.
Wildfly deploy activemq failed caused by server directory contains space

When deploys ear which depends on activemq in Wildfly, get .failed file which has below content:

"{"WFLYCTL0180: Services with missing/unavailable dependencies" => [ "jboss.deployment.subunit.\"project-sff-e30003549-ear.ear\".\"project-sff-e30003549-server.war\".component.AstroMsgHandler.CREATE is missing [jboss.ra.activemq-rar]", "jboss.naming.context.java.module.project-sff-e30003549-ear.project-sff-e30003549-server.env.\"enisco.emes.project.sff.e30003549.server.astro.XmlMsgSender\".connFactory is missing [jboss.naming.context.java.jboss.IBMMQConnectionFactory]" ]}"

The error message says jboss.ra.activemq-rar is missing, actually activemq is configured correctly.

Finally, it is found out that Wildfly installation directory contains space, eg C:\install directory\Wildfly. When deploys activemq module, Wildflys is looking for directory named C:\install%20directory\Wildfly\modules\system\layers\base\org\apache\activemq\main, which obviously doesn't exist.

So re-install Wildfly in directory without space resolves the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment