Wed, Sep 26, 2001 at 09:17:09AM -0400 scrivesti
> Check your log files (/opt/coldfusion/log/*) - is the JVM crashing
> ColdFusion?

Can it be that coldfusion cannot work properly because of lack of memory (64 MB)
[1] ?

Anyway, this is what I found into webserver.log (it's just the template output)

"Error",,"08/02/01","23:16:27",,"An error occurred while attempting to establish
a conne ction to the server.<P> The most likely cause of this problem is that the
server is not currently running. Verify that the server is running and restart it
if necessary. <P>  error number 111 occurred: Connection refused"


This is pstree output (is there something wrong?) after first cfserver boot...

cfexec---cfexec-+-cfexec-+-cfrdsservice---cfrdsservice---3*[cfrdsservice]
                 |        |-cfserver---cfserver---7*[cfserver]
                 |        `-jrun---java---java---8*[java]
                 `-2*[cfexec]


After one reboot...

 
      |-cfexec---cfexec-+-cfexec-+-cfrdsservice---cfrdsservice---3*[cfrdsservice]
      |                 |        |-cfserver---cfserver---6*[cfserver]
      |                 |        `-jrun---java---java---8*[java]
      |                 `-2*[cfexec]


After the first template request, following hereabove reboot)

 |-cfexec---cfexec-+-cfexec-+-cfrdsservice---cfrdsservice---3*[cfrdsservice]
 |                 |        |-cfserver---cfserver---10*[cfserver]
 |                 |        `-jrun---java---java---8*[java]
 |                 `-2*[cfexec]



[1] I must point out that I'm running an evaluation version of CF (it serves only
one IP).



Another question: managin the exceptions into the processREquest method, i do
something like

        catch(MalformedUrlException) {
                throw new Exception("custom message")

        } catch (some other exception) {
                throw new Exception("another custom message")
        }


Into the calling template, the CFX call is placed inside a cftry/cfcatch, and
cfcatch print out 

#cfcatch.message#

this variable contains: 

"java.lang.Exception: custom message. Java exception occurred in call to method."

Obviously, I want only my custom msg to be printed. How can I do that? I exclude any
kind of parsing of this string (or i could accept it only like the last
resource)

regards,


--
Rd

"I'll take a rusty nail
 And scratch your initials on my arm
 And I'll show you how to sneak up on the roof
 Of the drugstore"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-linux%40houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_linux or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to