How To Quickly Fix Common JRun / ColdFusion Startup Problems
If you’ve ever poked around with the various JRun XML configuration files in ColdFusion before, chances are you’ve ran across a time where you’ve not been able to get JRun to start properly. This is not an end all, be all guide to fixing these problems, but I thought I’d pass a couple of tips that I use to troubleshoot these problems quickly. I’ve found that it’s usually due to a wonky text editor breaking the XML somehow by virtue of character encoding or something of that sort, but here are some tips to quickly fix a JRun server that won’t start.
Before making changes to jrun.xml or default-web.xml, make backups.
Admittedly I’m so used to working in these files that I sometimes don’t do this. However, I always have a WAR file around of ColdFusion which I can extract the original default files from very quickly.
When I try to start JRun/ColdFusion, it will not start
Most likely jrun.xml has somehow been corrupted or has an incorrect entry. The quickest way to get going again is to restore this file from a backup and try editing it again. Obviously you can also do a diff between the backup and your current file as well and fix as necessary.
After JRun/ColdFusion starts, I get a “500 There is no web application configured to service your request” error
In this case, there is a high likelyhood that defaut-web.xml has somehow been corrupted. Again, restore this file from backup and/or compare the current version to your backup file and fix as necessary. Keep in mind sometimes a text editor can muck the file all up even though it looks exactly the same, so you’ll want to try a different editor in that case.
Granted there are many more cases which can cause problems with JRun/ColdFusion, but these are the most common ones I come across. If neither of these help, it’s time to start digging in the server logs as well as find-out what has changed with the server recently.
November 20th, 2006 at 4:31 am
I wanted to integrate Coldfusion MX 7 with Flex2. So i modified the web.xml file in JRun/Coldfusion. But after then the JRun/Coldfusion server doesn’t start againg. It shows the error “500 There is no web application configured to service your request”. Please advice me ASAP.
November 20th, 2006 at 4:32 am
I wanted to integrate Coldfusion MX 7 with Flex2. So i modified the web.xml file in JRun/Coldfusion. But after then the JRun/Coldfusion server doesn’t start againg. It shows the error “500 There is no web application configured to service your request”. Please advise me ASAP.
November 20th, 2006 at 4:32 am
I wanted to integrate Coldfusion MX 7 with Flex2. So i modified the web.xml file in JRun/Coldfusion. But after then the JRun/Coldfusion server doesn’t start againg. It shows the error “500 There is no web application configured to service your request”. Please advise me ASAP.
December 7th, 2006 at 10:18 am
What was the purpose of this page? There is no useful information here. Anyone SHOULD know to backup before poking around in new places.
December 7th, 2006 at 1:24 pm
HTTP 500 errors can be hard to troubleshoot for a lot of people, and in ColdFusion / JRun is usually asymptomatic of a broken JRun configuration. Sorry for cluttering your interwebs, cranky pants.
May 25th, 2007 at 12:23 am
Hi everybody,
This is not a comment on this post, more a kind of serious question.
I’ve got a CMS application witsh runs on Jrun/Coldfusion/MSSQL.
The Jrun procces ‘eats up’ all my CPU resources. It seems as if memory is allocated but not given free.
Who knows a solution ’cause my server (W2003/2.6Ghz) is pretty sick.
July 27th, 2007 at 5:35 am
http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_18532&sliceId=2
March 26th, 2008 at 6:28 am
Thanks, this saved my day. I had to borrow a colleague’s version of web.xml - next time I’ll save a copy before monkeying around with it.