I attempted to deploy a customization of webtop 6.8 to JBOSS AS5. It was harder than I thought it would be. A lot of problems had to be addressed which are not covered in the Deployment Guide. After about 8 hours of various tweaks, I succeeded. Below are some critical bits;
- I exploded the webtop.war file and created a folder named webtop.war which I deployed to the C:\Program Files\EnterprisePlatform-5.0.0.GA\jboss-as\server\default\deploy directory
- In the C:\Program Files\EnterprisePlatform-5.0.0.GA\jboss-as\server\default\deployers\jbossweb.deployer directory, I modified web.xml (Tomcat's web.xml) to include the famous enablePooling parameter which is covered in most Webtop installation guides.
<init-param>
<param-name>enablePooling</param-name>
<param-value>false</param-value>
</init-param>
- I added a jboss-web.xml file under the WEB-INF folder of my war with the following
<!DOCTYPE jboss-web PUBLIC
"-//JBoss//DTD Web Application 4.2//EN"
"http://www.jboss.org/j2ee/dtd/jboss-web_4_2.dtd">
<jboss-web>
<class-loading>
<loader-repository>org.xml.sax:loader=webtop.war
<loader-repository-config>java2ParentDelegation=false</loader-repository-config>
</loader-repository>
</class-loading>
</jboss-web>
- Finally I added the following to the JBOSS run.bat
rem 20-Nov-2013
set JAVA_OPTS=%JAVA_OPTS% "-Djboss.vfs.forceCaseSensitive=true"
It smells like success!