Viewing By Entry / Main
March 24, 2006
I'm curious: is anyone running this configuration? Did you have problems getting it working? A friend of mine deployed CFMX 7 on JBoss and it seemed to work fine but when I tried, I ran into the dreaded log4j compatibility issue that has stumped some people trying to integrate various Java packages with CFMX (many Java packages - CFMX included - depend on specific versions of log4j and often not the same version, making integration tricky... this is kind of Java's version of "DLL hell").

How many folks are using JBoss in general (including non-CF stuff)?

Comments

Hey Sean, I know that Maxim Porges had some issues with log4j trying to use Spring with coldfusion, because it uses a later version. I thought he posted some workarounds. You may want to look in the context settings that get created for the cf ear, and maybe make sure it's not trying to set up log4j as well? I dunno, just a guess there.


Oh, I know that log4j is the problem in my setup. I'm mostly looking for feedback from the CF community about JBoss in general (and any log4j issues in particular). Thanx for the heads up on Maxim and Spring... that does ring a bell, now you mention it. I think Hibernate / CFMX has the same problem?


Steve Brownlee runs the CFJBoss blog, you might want to give him a shout:

www.orbwave.com/cfjboss/


I would consider running on JBoss (or Tomcat, for that matter), but it doesn't look like either is officially support by Adobe. That's why I haven't tried replacing Jrun with either one.


I've been running CFMX 7 on JBoss 4.0.1 on Windows for development for over 6 months.

I've also had a CFMX 6.1 app running on JBoss 3.2.5 on Red Hat ES in production for nearly two years now. You won't believe how fast it runs on a dual 64-bit Opteron system. :)

AFAIK, JBoss (on Linux) is the only way to get a pure 64-bit environment for CFMX.


We run MX7 on Jboss here. I had very few issues setting it up to work for our Developer environment. I had nothing to do with the install on our production environment that's another groups responsibility.


I've been running CF 7 on JBoss for my own sites and for my main employer. At home, I'm running the latest version of JBoss (4.0.4) and have 5 sites up on it with no problems. My employer has been live on JBoss for almost a year now and we've been running it in development for a year and a half.

I've done about everything I can think of with this configuration, so if you have any specific questions, please feel free to contact me.


Steve, what about log4j? Did you not have any conflicts between the version CF7 uses and the version JBoss uses?


I do remember having that problem when I initially was getting CF7 up on JBoss, but quickly resolved it by moving CF outside of the deployment directory.

Check my blog archives for February 2005, article "ColdFusion from anywhere".

As most anyone who's done Java app server development knows, having two versions of the same library on the Java classpath causes all kinds of mysterious and frustrating problems. By moving the CF package off of the main Java classpath and loading it only within the app boundary solved that problem for me.


Mr Sean Corfield.

i managed to install jboss4.0.4 and deploy cf7 and manage to run cf admin page from port 8080.

but during startup i got the log4j error.

What do you mean by "moving the CF package off" since everything is in EAR file? I really want to make a clean deployment.

i tried to locate your article "CF from anywhere" but didn't find it through google.

thank Azmi.


Azmi, only Steve can answer your questions - the article is on *his* blog, not mine. Because of the log4j error, I've never successfully run CFMX on JBoss and haven't had the time to work through the configuration he suggests. Right now I can't even find his blog - Steve, could you post a link here (without the protocol prefix!)?


Oops, you did say without the protocol...

www.orbwave.com/cfjboss/2005/02/coldfusion-from-anywhere.html


We are in the process of designing our system with CFMX 7 in a J2EE environment. We are looking at using JBoss 4.0.4 for this. Has anyone set this up currently and is aware of any issues I need to be concerned with while specking out the requirements?

Thanks


Ankush, check out my blog at www.orbwave.com/cfjboss for some information. I've successfully installed CFMX on JBoss in several environments. You're also free to email me with any specific questions you may have.


Just be aware that JBoss is not a supported environment for ColdFusion MX 7 (or any earlier version).


How reliable is JRun in that case? I was reading some material online and it said that JRun is not the most reliable J2EE server. Also, I created a simple JSP page that prints out a "hello" and it gave an error.


Ankush, adobe.com runs on CFMX7 / JRun and supports tens of thousands of concurrent sessions during peak traffic.


Yes, unless you have a very specific reason to deploy on JBoss, I would recommend you use the packaged JRun server that comes with CFMX7.


Steve,

you said that your company is currently using jboss for both development and production. I'm pretty confius now that you are recommending adobe jrun? from your experience, which one would you truly recommend in term of performance during peak time? if cost is not an issue.?

thank and regards, Azmi. p/s: my favourite team, France ended up draw. sigh!!


I am using JBoss because I integrated some ColdFusion apps into an existing JBoss architecture. It works just fine, but unless that is also a business requirement for you there is no need for it to be honest. I have also done several JRun installations for clients who did not already use JBoss.


Steve,

the JRun installation that u did for your clients, was it from the cfmx7 CD? or did u use separate CD of Adobe Jrun4 box? do they have the same capability, the Jrun from cfmx7 CD and the separate Adobe Jrun4 CD?


Azmi, use the "multiserver" configuration when you do the install - CFMX7 will install a full version of JRun for you and then install ColdFusion on top of that. That's the most powerful / flexible installation config in my opinion.


Great info. Last question before I order the server and CFMX. Can I install the standard version of CFMX 7 on top of JBoss? My company si a little stingy when it comes to spending the 5K just on CF software.


Yes, it is possible to put CF standard on JBoss, however, your deployment options are severely limited.

www.adobe.com/products/coldfusion/productinfo/product_editions/#s2


And - I'll say it again - your configuration will be unsupported!

Ankush, if you buy Standard Edition, why not just let it use the captive version of JRun 4 that it comes with? That would be a supported configuration.

You will have to go through a lot of installation hoops to get CFMX 7 running on JBoss (per Steve's various blog entries) and you will not be able to get support from Adobe.

If you install Standard Edition "as-is" (i.e., not on JBoss) then you'll have a supported configuration and be able to take advantage of the very simple, standard installer.

I just don't understand why you are so set on using JBoss?


Ankush - if u have CFMX 7, u dont have to buy separate JRun4. It comes with the CD.

Steve / Sean - just wonder, does jrun4 fully utilise my 64-bit processor (Intel EM64T).?


Azmi, read the comments in this blog entry on Dave Carabetta's blog:

http://www.cbetta.com/blog/index.cfm/2006/5/19/coldfusion-needs-a-roadmap


Question for anyone...I am attempting to get CF running on JBoss. I have everything installed and running and have a test.cfm in a folder under default/deploy. I can browse to this file at localhost:8080/testfolder/test.cfm. I get to the page, but none of the CF content has been rendered. So I see #dateformat(now())# instead of the actual date. Is there a setting somewhere that tells JBoss/Tomcat what top do with cfm files?


Hi Everyone. I am trying to do the same as Mark, deploy cf 7 on jboss. I get an error relating to log4j ... has anyone gotten around this?


@Jeff, did you read the comments and the link to Steve Brownlee's blog? He's the community expert on CF7/JBoss.

Of course, you could just go to CF8 - JBoss is a supported platform for CF8.


I should note, after looking at JBoss vs. Jrun - that deploying CF on a clustered JBoss environment is NOT supported - yet another limitation

http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=installj2ee_15.html


Post Your Comments
Name:
Email Address:
Comments
*** Please note that all comments require moderation so it may be some time before your comment posts to this blog! ***
Remember My Information:
 



Hosting provided by