[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] Raq550 ColdfusionMX install errors




1. What is the coldfusion runtime user? You do have proper permissions on the cfm files, right?

The coldfusion user was set to nobody. I changed it to httpd in the startup script and still have the same problem. I didn't know the .cfm files needed any special permissions but I changed them to nobody and set them to 777 without any change in the behavior.

2. Have you checked your logs in $CFDIR/logs for any valuable information. If coldfusion throws the file not found error, it should at least show up in the exceptions log. You should also check the apache/http error log for any clues.

There are no errors on .cfm pages in the apache error logs.
It looks like this is in my httpd.conf:
</IfModule>
# JRun Settings
LoadModule jrun_module /home/opt/coldfusionmx/runtime/lib/wsconfig/1/mod_jrun.so
<IfModule mod_jrun.c>
    JRunConfig Verbose false
    JRunConfig Apialloc false
    JRunConfig Ssl false
    JRunConfig Ignoresuffixmap false
JRunConfig Serverstore /home/opt/coldfusionmx/runtime/lib/wsconfig/1/jrunserver.store
    JRunConfig Bootstrap 127.0.0.1:51010
    #JRunConfig Errorurl <optionally redirect to this URL on errors>
    AddHandler jrun-handler .jsp .jws
</IfModule>

Interestingly there is no .cfm, .cfc or cfml in the the "AddHandler jrun-handler .jsp .jws" section. However I've added those in and restarted httpd and still have the same problem.

3. What do you get if you run $CFDIR/bin/cfstat

Here's the output:
[root bin]# ./cfstat

Pg/Sec  DB/Sec  CP/Sec  Reqs  Reqs  Reqs  AvgQ   AvgReq AvgDB  Bytes  Bytes
Now Hi  Now Hi  Now Hi  Q'ed  Run'g TO'ed Time   Time   Time   In/Sec Out/Sec
0   0   0   0   -1  -1  0     0     0     0      49     0      0      0


Before you do a complete reinstall, I would also see if I could compile a few coldfusion pages manually ($CFDIR/bin/cfcompile.sh). If the compiler works, you could delete the connector only and reinstall it.

Well I reinstalled and I can now get to the administrator without a problem using the internal coldfusion webserver on 8500 but requests to valid .cfm pages on Apache port 80 still give me a coldfusion file not found error.
You can see it here:
http://www.rainstormconsulting.com/test.cfm
The stack trace is reporting a "TemplateNotFoundException"
Perhaps that's a clue.


FYI, If you are using an ssl certificate on the vsite you are running coldfusion, you will have to recompile the connector. Running mod_ssl and coldfusion on the same apache server will cause instability under load. You may have seen a warning about -DEAPI when you started httpd. Coldfusion should still run, but this needs to be done before you go to production.

Yes I saw the DEAPI error.  I'm not using Coldfusion on any SSL sites yet.

Thanks for all the help.

Brian