andrewaiello
asked on
Getting mysterious 500 error on ColdFusion server after it worked fine for a while
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.
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.
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
usually (but not always) due a a bad query or some cf process running amuck due to bad coding
ASKER
I tried restarting the service as well as the agents; still no go.
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.
ASKER
my system resources seem fine and there was no queries or anything running (to my knowledge) that would cause this problem.
do you have a dsn named either service or comp?
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_18532
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_18532
also may be a corrupt defaut-web.xml
http://devnulled.com/content/2006/07/how-to-quickly-fix-common-jrun-coldfusion-startup-problems/
http://devnulled.com/content/2006/07/how-to-quickly-fix-common-jrun-coldfusion-startup-problems/
ASKER
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).
ASKER
and no i dont have a dsn named either of those things (I looked that up prior to posting my question)
"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>JRunTimingFil ter</filte r-name>
<filter-class>jrun.servlet .filters.T imingFilte r</filter- class>
</filter>
<filter-mapping>
<filter-name>JRunTimingFil ter</filte r-name>
<url-pattern>/*</url-patte rn>
</filter-mapping>
-->
<servlet>
<servlet-name>FileServlet< /servlet-n ame>
<servlet-class>jrun.servle t.file.Fil eServlet</ servlet-cl ass>
<init-param>
<param-name>browseDirs</pa ram-name>
<param-value>true</param-v alue>
</init-param>
</servlet>
<servlet>
<servlet-name>ServletInvok er</servle t-name>
<servlet-class>jrun.servle t.ServletI nvoker</se rvlet-clas s>
</servlet>
<servlet>
<servlet-name>JSPServlet</ servlet-na me>
<servlet-class>jrun.jsp.JS PServlet</ servlet-cl ass>
<load-on-startup>1</load-o n-startup>
<init-param>
<param-name>keepGenerated< /param-nam e>
<param-value>false</param- value>
</init-param>
<init-param>
<param-name>translationDis abled</par am-name>
<param-value>false</param- value>
</init-param>
<init-param>
<param-name>cacheTags</par am-name>
<param-value>true</param-v alue>
</init-param>
</servlet>
<servlet>
<servlet-name>JSTServlet</ servlet-na me>
<servlet-class>jrun.jsp.JS TServlet</ servlet-cl ass>
</servlet>
<servlet>
<servlet-name>JspLicenseSe rvlet</ser vlet-name>
<servlet-class>coldfusion. license.Js pLicenseSe rvlet</ser vlet-class >
</servlet>
<servlet>
<servlet-name>AxisServlet< /servlet-n ame>
<display-name>Apache-Axis Servlet</display-name>
<servlet-class>org.apache. axis.trans port.http. AxisServle t</servlet -class>
<init-param>
<param-name>use-servlet-se curity</pa ram-name>
<param-value>true</param-v alue>
</init-param>
</servlet>
<servlet>
<servlet-name>JRunStatisti cs</servle t-name>
<jsp-file>/jrunx/instrumen t/Results. jsp</jsp-f ile>
</servlet>
<servlet-mapping>
<servlet-name>FileServlet< /servlet-n ame>
<url-pattern>/</url-patter n>
</servlet-mapping>
<servlet-mapping>
<servlet-name>JspLicenseSe rvlet</ser vlet-name>
<url-pattern>*.jsp</url-pa ttern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>JSTServlet</ servlet-na me>
<url-pattern>*.jst</url-pa ttern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>ServletInvok er</servle t-name>
<url-pattern>/servlet/*</u rl-pattern >
</servlet-mapping>
<servlet-mapping>
<servlet-name>JRunStatisti cs</servle t-name>
<url-pattern>/JRunStatisti cs</url-pa ttern>
</servlet-mapping>
<welcome-file-list>
<welcome-file>index.html</ welcome-fi le>
<welcome-file>index.jsp</w elcome-fil e>
</welcome-file-list>
<!--
<error-page>
<exception-type>jrun.jsp.c ompiler.JS PCompiler$ CompoundCo mpilerExce ption</exc eption-typ e>
<location>/jrun/jsp/error- pages/Comp oundCompil erExceptio n.jsp</loc ation>
</error-page>
<error-page>
<exception-type>javax.serv let.Servle tException </exceptio n-type>
<location>/jrun/servlet/er ror-pages/ ServletExc eption.jsp </location >
</error-page>
<error-page>
<exception-type>jrun.jsp.p arser.Toke nMgrError< /exception -type>
<location>/jrun/servlet/er ror-pages/ ServletExc eption.jsp </location >
</error-page>
-->
<error-page>
<exception-type>javax.io.F ileNotFoun dException </exceptio n-type>
<location>/jrun/servlet/er ror-pages/ 404.jsp</l ocation>
</error-page>
</web-app>
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>JRunTimingFil
<filter-class>jrun.servlet
</filter>
<filter-mapping>
<filter-name>JRunTimingFil
<url-pattern>/*</url-patte
</filter-mapping>
-->
<servlet>
<servlet-name>FileServlet<
<servlet-class>jrun.servle
<init-param>
<param-name>browseDirs</pa
<param-value>true</param-v
</init-param>
</servlet>
<servlet>
<servlet-name>ServletInvok
<servlet-class>jrun.servle
</servlet>
<servlet>
<servlet-name>JSPServlet</
<servlet-class>jrun.jsp.JS
<load-on-startup>1</load-o
<init-param>
<param-name>keepGenerated<
<param-value>false</param-
</init-param>
<init-param>
<param-name>translationDis
<param-value>false</param-
</init-param>
<init-param>
<param-name>cacheTags</par
<param-value>true</param-v
</init-param>
</servlet>
<servlet>
<servlet-name>JSTServlet</
<servlet-class>jrun.jsp.JS
</servlet>
<servlet>
<servlet-name>JspLicenseSe
<servlet-class>coldfusion.
</servlet>
<servlet>
<servlet-name>AxisServlet<
<display-name>Apache-Axis Servlet</display-name>
<servlet-class>org.apache.
<init-param>
<param-name>use-servlet-se
<param-value>true</param-v
</init-param>
</servlet>
<servlet>
<servlet-name>JRunStatisti
<jsp-file>/jrunx/instrumen
</servlet>
<servlet-mapping>
<servlet-name>FileServlet<
<url-pattern>/</url-patter
</servlet-mapping>
<servlet-mapping>
<servlet-name>JspLicenseSe
<url-pattern>*.jsp</url-pa
</servlet-mapping>
<servlet-mapping>
<servlet-name>JSTServlet</
<url-pattern>*.jst</url-pa
</servlet-mapping>
<servlet-mapping>
<servlet-name>ServletInvok
<url-pattern>/servlet/*</u
</servlet-mapping>
<servlet-mapping>
<servlet-name>JRunStatisti
<url-pattern>/JRunStatisti
</servlet-mapping>
<welcome-file-list>
<welcome-file>index.html</
<welcome-file>index.jsp</w
</welcome-file-list>
<!--
<error-page>
<exception-type>jrun.jsp.c
<location>/jrun/jsp/error-
</error-page>
<error-page>
<exception-type>javax.serv
<location>/jrun/servlet/er
</error-page>
<error-page>
<exception-type>jrun.jsp.p
<location>/jrun/servlet/er
</error-page>
-->
<error-page>
<exception-type>javax.io.F
<location>/jrun/servlet/er
</error-page>
</web-app>
ASKER
I tried that exactly as you said. Still the same exact error
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Yeah; I just uninstalled and reinstalled; bizarre. Thanks.
Try restarting the service for Coldfusion MX Application Server
open services, location Coldfusion MX application server, shutdown and start up again.