Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.