Running Railo 3 on JBoss 5

Edit: Better way of fixing the classloading errors (credit to http://nagpals.com/blog/post.cfm/classloader-conflicts-in-railo-on-jboss for the solve, and other good stuff):

The correct way to fix this issue is to make JBoss isloate classes loaded for different applications, thereby removing the possibiiity of conflicts. On JBoss 5 you can do this if you add a file in WEB-INF/jboss-classloading.xml that contains:

<?xml version="1.0" encoding="UTF-8"?>
<classloading xmlns="urn:jboss:classloading:1.0"
  name="mywar.war"
  domain="DefaultDomain"
  export-all="NON_EMPTY"
  import-all="true">

</classloading>

FWIW, I like to keep everything in an EAR, and use an application.xml file to define the context, etc..

Eventually I'll post an entry on creating an EAR deployment with CF/Railo, as it's pretty easy.

Comments (Comment Moderation is enabled. Your comment will not appear until approved.)
Philip Hunt's Gravatar Hi there,

Would be really keen to see how you created an EAR deployment with CF/Railo.

Thanks,
Phil
# Posted By Philip Hunt | 6/28/09 7:56 PM
coldshen's Gravatar I'm working on a post covering just that!
# Posted By coldshen | 6/30/09 2:20 PM
BlogCFC was created by Raymond Camden. This blog is running version 5.9.3.000. Contact Blog Owner