Solved

Getting mysterious 500 error on ColdFusion server after it worked fine for a while

Posted on 2007-03-19
13
1,174 Views
Last Modified: 2013-12-24
Hello all,

    I am running a Coldfusion MX server and when I left work friday it was running fine.  Get to work on monday and it doesn't work; specifically whenever i try to run the admin or browse to any file in the coldfusion area I get:  

500 There is no web application configured to service your request
There is no web application configured to service your request

I've read up on what little information I can find on the matter and nothing seems to make sense; seeing I am the only person who uses the computer and the last time i used it CF was working just dandy.  Any ideas?  Thanks in advance.
0
Comment
Question by:andrewaiello
  • 6
  • 5
  • 2
13 Comments
 
LVL 39

Expert Comment

by:gdemaria
Comment Utility

 Try restarting the service for Coldfusion MX Application Server

 open services, location Coldfusion MX application server, shutdown and start up again.
0
 
LVL 36

Expert Comment

by:SidFishes
Comment Utility
500 nulls often are the result of the server running out of resources. Next time this happens check memory usage... on my dev system i get a 500 if jrun hits about 400mb usage. what you'll top out at depends on your system memory

usually (but not always) due a a bad query or some cf process running amuck due to bad coding
0
 
LVL 1

Author Comment

by:andrewaiello
Comment Utility
I tried restarting the service as well as the agents; still no go.  
0
 
LVL 39

Expert Comment

by:gdemaria
Comment Utility

 place a simple .html file in your web root and see if you can view that file through the browser (no coldfusion).   If not, we need to look at IIS instead of coldfusion.

 Verify where the IIS web site directory is pointing before doing this.
0
 
LVL 1

Author Comment

by:andrewaiello
Comment Utility
my system resources seem fine and there was no queries or anything running (to my knowledge) that would cause this problem.
0
 
LVL 36

Expert Comment

by:SidFishes
Comment Utility
do you have a dsn named either     service or  comp?

http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_18532
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 36

Expert Comment

by:SidFishes
Comment Utility
0
 
LVL 1

Author Comment

by:andrewaiello
Comment Utility
that could be the error; does the CF installation put backup files anywhere (as obviously its too late to back it up since it may already be corrupt).
0
 
LVL 1

Author Comment

by:andrewaiello
Comment Utility
and no i dont have a dsn named either of those things (I looked that up prior to posting my question)
0
 
LVL 36

Expert Comment

by:SidFishes
Comment Utility
"does the CF installation put backup files anywhere"

no but you can try and copy and paste below...use notepad...word or wordpad with probably mess it up with weird characters

make sure there's no spaces or lines before the first line...

<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE web-app  PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">

<web-app>

 <display-name>Default Web Application Settings</display-name>
 <description>Settings </description>

<!--
 <filter>
   <filter-name>JRunTimingFilter</filter-name>
   <filter-class>jrun.servlet.filters.TimingFilter</filter-class>
 </filter>

 <filter-mapping>
   <filter-name>JRunTimingFilter</filter-name>
   <url-pattern>/*</url-pattern>
 </filter-mapping>
-->

 <servlet>
   <servlet-name>FileServlet</servlet-name>
   <servlet-class>jrun.servlet.file.FileServlet</servlet-class>
   <init-param>
     <param-name>browseDirs</param-name>
     <param-value>true</param-value>
   </init-param>  
 </servlet>

 <servlet>
   <servlet-name>ServletInvoker</servlet-name>
   <servlet-class>jrun.servlet.ServletInvoker</servlet-class>
 </servlet>

 <servlet>
   <servlet-name>JSPServlet</servlet-name>
   <servlet-class>jrun.jsp.JSPServlet</servlet-class>
   <load-on-startup>1</load-on-startup>
   <init-param>
     <param-name>keepGenerated</param-name>
     <param-value>false</param-value>
   </init-param>
   <init-param>
     <param-name>translationDisabled</param-name>
     <param-value>false</param-value>
   </init-param>  
   <init-param>
     <param-name>cacheTags</param-name>
     <param-value>true</param-value>
   </init-param>  
 </servlet>

 <servlet>
   <servlet-name>JSTServlet</servlet-name>
   <servlet-class>jrun.jsp.JSTServlet</servlet-class>
 </servlet>

 <servlet>
   <servlet-name>JspLicenseServlet</servlet-name>
   <servlet-class>coldfusion.license.JspLicenseServlet</servlet-class>
 </servlet>

 <servlet>
    <servlet-name>AxisServlet</servlet-name>
    <display-name>Apache-Axis Servlet</display-name>
    <servlet-class>org.apache.axis.transport.http.AxisServlet</servlet-class>
    <init-param>
      <param-name>use-servlet-security</param-name>
      <param-value>true</param-value>
    </init-param>
 </servlet>

 <servlet>
   <servlet-name>JRunStatistics</servlet-name>
   <jsp-file>/jrunx/instrument/Results.jsp</jsp-file>
 </servlet>

 <servlet-mapping>
   <servlet-name>FileServlet</servlet-name>
   <url-pattern>/</url-pattern>
 </servlet-mapping>

 <servlet-mapping>
   <servlet-name>JspLicenseServlet</servlet-name>
   <url-pattern>*.jsp</url-pattern>
 </servlet-mapping>

 <servlet-mapping>
   <servlet-name>JSTServlet</servlet-name>
   <url-pattern>*.jst</url-pattern>
 </servlet-mapping>

 <servlet-mapping>
   <servlet-name>ServletInvoker</servlet-name>
   <url-pattern>/servlet/*</url-pattern>
 </servlet-mapping>

 <servlet-mapping>
   <servlet-name>JRunStatistics</servlet-name>
   <url-pattern>/JRunStatistics</url-pattern>
 </servlet-mapping>

 <welcome-file-list>
  <welcome-file>index.html</welcome-file>
  <welcome-file>index.jsp</welcome-file>
 </welcome-file-list>

 <!--
 <error-page>
    <exception-type>jrun.jsp.compiler.JSPCompiler$CompoundCompilerException</exception-type>
    <location>/jrun/jsp/error-pages/CompoundCompilerException.jsp</location>
 </error-page>

 <error-page>
    <exception-type>javax.servlet.ServletException</exception-type>
    <location>/jrun/servlet/error-pages/ServletException.jsp</location>
 </error-page>

 <error-page>
    <exception-type>jrun.jsp.parser.TokenMgrError</exception-type>
    <location>/jrun/servlet/error-pages/ServletException.jsp</location>
 </error-page>
-->
 <error-page>
    <exception-type>javax.io.FileNotFoundException</exception-type>
    <location>/jrun/servlet/error-pages/404.jsp</location>
 </error-page>

</web-app>
0
 
LVL 1

Author Comment

by:andrewaiello
Comment Utility
I tried that exactly as you said.  Still the same exact error
0
 
LVL 36

Accepted Solution

by:
SidFishes earned 125 total points
Comment Utility
(you've rebooted of course?)

check cf log files for any info

check event logs (if you are windows) of whatever the equiv is on *nix

make sure jrun is running

if you're running apache make sure httpd.conf fille has the entry <IfModule mod jrun20.c>.

restart IIS (the web publishing service not just the website)

after that...if there's nothing in the logs...I'm thinking you may need an uninstall, registry clean and reinstall
0
 
LVL 1

Author Comment

by:andrewaiello
Comment Utility
Yeah; I just uninstalled and reinstalled; bizarre.  Thanks.
0

Featured Post

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

Suggested Solutions

This is a guide to setting up a new WHM/cPanel Server to be used for web hosting accounts. It is intended for web hosting company administrators and dedicated server owners. For under $99 per month (considering normal rate of Big Data Cetnters like …
Have you ever sent email via ColdFusion and thought of tracking this mail to capture the exact date and time when the message was opened ?  If yes, then this article is for you ! First we need a table user_email with columns user_id , email , sub…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now