
For the last couple of days i've been building a Linux (CENTOS 4) server with Coldfusion 8 developer edition.
I think i've found a bug with the installation. Everything seems to go okay and coldfusion 8 works fine until I issue a 'shutdown -r now'. When I do this, the server starts up but coldfusion 8 hangs/stalls. This happens on stand alone and multi-server installations.
I then discovered (having left the server for over an hour) that the cf server had eventually started? So I looked into the cf logs and discoverd the following:
As you can see from the above the MessageBrokerServlet took over an hour to start/complete. I'm at a loss as to why this is happening. Has anyone else had this problem? Any idea of a cure?
Note: I tried using JDK 1.5 as suggested by James Netherton but to no avail.
| M | T | W | T | F | S | S |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | |||
| 5 | 6 | 7 | 8 | 9 | 10 | 11 |
| 12 | 13 | 14 | 15 | 16 | 17 | 18 |
| 19 | 20 | 21 | 22 | 23 | 24 | 25 |
| 26 | 27 | 28 | 29 | 30 | 31 |
JAYESH TALSANIYA said: in mssql u cannot use parentheses in select statement. use as below: INSERT INTO [TABLE] (column1,... [More]
Multiple SQL inserts: Oracle, Mysql, MssqlJD said: I found with MSSQL, I couldn't use parentheses in my select statements for insert. So, from your ex... [More]
BlogCFC ping list and timeoutsWill Wilson said: Nice :) that will come in handy, thanks! [More]
Is this a Coldfusion 8 BUGBarb said: I'm having the same problem . . . when I start CF8, it seems to hang during or just after the user M... [More]
Is this a Coldfusion 8 BUGJoão Fernandes said: Phil, when you install CF8 they give you an option to install LCDS within CF. The messageBrokerServl... [More]
Could this have anything to do with it? http://corfield.org/blog/index.cfm/do/blog.entry/e...
Hi James - how are you? Thanks for the reply and pointer. I switched the system over to Java 1.5, but the problem still exists. I think it has something to do with Flex probing the system, but i'm at a loss as to what is really going on. Its very strange as when you first install cf8 it works with no stalling, but when you reboot the system it always stalls (for about an hour) and then is fine?
Does it try to start ColdFusion before networking, for instance ? What if you remove the rc*.d entries and place the call to the CF startup script in /etc/rc.local (or CentOS equiv.) directly - thus starting CF after all the init.d stuff has run ?
Phil, 1º are you using integrated LCDS? 2º can you comment the MessageBrokerServlet from the web.xml (and related mapping etc) and see if the problem persists?
Thanks Tom and João: Tom, I set coldfusion to run last in the bootup. I have even tried disabling it on bootup and running it from the command line, but the problem still exists. João, I'm not sure what you mean by integrated LCDS? - The problem is very strange and I'm wondering if its something to do with the kernel as I have another Centos Server with similar settings that doesn't have a problem. I decided to change my distribution to Suse 10.3 and all seems fine now. I must admit though I wish I knew what was causing this. Is there anyway to debug whats going on when the MessageBrokerServlet starts?
Phil, when you install CF8 they give you an option to install LCDS within CF. The messageBrokerServlet is responsible to handle all remoting/messaging/data management data exchange between Flex and CF (or LCDS). If the messageBrokerServlet takes that long to start up, it might be some LCDS related feature that is hanging the system and that's why I was asking if you opted in LCDS during installation.
I'm having the same problem . . . when I start CF8, it seems to hang during or just after the user MessageBrokerServlet:init command. I took Joao's suggestion, reinstalled, and chose not to install the LCDS portion of the install. Now I can get past that command in the startup, but it hangs two commands later at user CFInternalServet:init. Ugh.