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.
9 Responses
Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.
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.
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.
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.
What was the purpose of this page? There is no useful information here. Anyone SHOULD know to backup before poking around in new places.
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.
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.
http://kb.adobe.com/selfservic.....;sliceId=2
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.
If it helps anyone else, neither of these were the solution for my problem, but I was also getting a 500 error and JRun showed as running in the JRun console and in Windows Services. I re-installed the JRun 4 Updater 7 and that fixed what appeared to be a corruption with JRun that we experienced after an unexpected server crash.