Been putting this post off for a long time. Well, not exactly putting it off, but since all my hardware and backups were still in Pittsburgh, I didn’t have my blog up, so my hands were tied.
I downloaded CF8 and followed my typical procedures for deploying on JBoss. Everything worked fine. JBoss started up without any errors and I could hit my applications. Then I decided to see if I could still customize the deployment by moving the core ColdFusion files outside the deployment directory and that went without a hitch. I don’t know why, but I was concerned that they might take that option away.
All in all, nothing has changed as far as deployment procedures. I suppose the only change is that now Adobe will answer your phone call if you deploy on JBoss!
Now for upgrading.
The most obvious change is in the web.xml file that comes with ColdFusion. All of the parameter id’s have changed names from macromedia_xxx to coldfusion_xxx.
<context-param id="coldfusion_context_2">
<param-name>coldfusion.compiler.outputDir</param-name>
<param-value>/WEB-INF/cfclasses</param-value>
<description>This is the directory where we will place compiled
pages. It must be relative to the webapp root.</description>
</context-param>
Therefore, if you have added anything in your web.xml – security, custom servlets, etc. – it’s best that you copy your custom definitions to the default ColdFusion web.xml rather than trying to update yours to match all the new names.
As always, ColdFusion does not come with a jboss-web.xml file, so make sure that you have that in place for each application again.
3 Responses for "Deploying CF8 on JBoss"
Steve – Hey. I found the config of CF8 on JBoss to be pretty easy. But I’m totally hung up on getting IIS 6 to act as a proxy. I can see that you’re using Apache (I don’t blame you), but I have a requirement here to use IIS6. If you happen to have any ideas, here’s the link to my blog entry for more info: http://www.delraysteve.com/blog/index.cfm?mode=entry&entry=1EF15CAF-184D-2C1D-24F714C714C3168C
Thanks very much.
Steve
Sorry, Steve, I’ve never used IIS as a proxy to JBoss. I’ve used Apache as a proxy to both IIS and JBoss, but after some thought about if this would provide any useful information to your situation, I don’t think I have much advice for you.
I tend to avoid IIS like the plague for many reasons, such as the one you describe on your blog.
Steve,
Wanted to hook up with you over email.
I’ve been wrestling with JBoss 5. It’s quite a bit diff from JBoss 4 in terms of how it’s configured. Seems very restrictive in that it doesn’t want to let me refer to context outside of the directory of my exploded war.
Send me a note and we can touch base?
Warm regards.
Leave a reply