Page 1 of 1

Wildfly 8 deployment

PostPosted: Thu May 08, 2014 7:45 pm
by jocke4u
Hi,

Some things i needed to make Subsonic to deploy on Wildfly 8.

1. Shutdown Wildfly
2. Unzip the Subsonic.zip
3. Unzip the subonic.war to directory subsonic.war
4. Open subsonic.war\WEB-INF\lib\string-1.1.0.jar in 7-zip
5. Choose EDIT of subsonic.war\WEB-INF\lib\string-1.1.0.jar\META-INF\taglib.tld
6. Search for "EMPTY" and replace it with "empty" (lower case) (reference)
7. Save and include in in jar
8. Add e new XML file in jboss-deployment-structure.xml in subsonic.war\WEB-INF with this content
<?xml version="1.0" encoding="ISO-8859-1"?>
<jboss-deployment-structure>
<deployment>
<!-- exclude-subsystem prevents a subsystems deployment unit processors running on a deployment -->
<!-- which gives basically the same effect as removing the subsystem, but it only affects single deployment -->
<exclude-subsystems>
<subsystem name="resteasy" />
<subsystem name="weld" />
</exclude-subsystems>
</deployment>
</jboss-deployment-structure>

9. Save
10. Move the directory "subsonic.war" to Wildfly's \standalone\deployments
11. Create an empty text file "subsonic.war.deployed"
12. Start Wildfly and it should work

Would be nice if this could be included in normal deployment

Re: Wildfly 8 deployment

PostPosted: Tue Aug 05, 2014 7:00 pm
by supra92
Hi jocke,

Just to confirm -- your instructions above worked flawlessly for me in my Centos 7.0 & WIldfly 8.1 environment. Agreed that it would be nice to get this included in typical deployment method, but for now an unmanaged Wildfly deployment isn't that much of a dealbreaker for me. Thanks for the help!

Supra92