Re: Problem with Apache 2.2 not starting on windows -- CF9.01

2011-07-07 Thread Dave Watts
I HATE the fact that 9.0 works (and has the check) for 32bit applications, but 9.01 borks that all to hell.  I ran into this (several times), and the only means I had that corrected it is to completely wipe CF and start fresh.  From there, be sure to run the JRun config BEFORE you put on the

Re: Webroot has changed

2011-07-07 Thread Duncan
How does one control the location of the webroot within jrun / cf? On Thu, Jul 7, 2011 at 10:01 AM, Duncan duncan.lox...@gmail.com wrote: ok so the second error is a known issue in enterprise where it cant read the jvm.config, I am ok with that, i need to work out why my webroot path is now

Re: Problem with Apache 2.2 not starting on windows -- CF9.01

2011-07-07 Thread Matthew Williams
You would also think that moving the compiled .so file over from a known good install should work... but no dice there. Matthew Williams Geodesic GraFX www.geodesicgrafx.com/blog ~| Order the Adobe Coldfusion Anthology now!

Re: Webroot has changed

2011-07-07 Thread Russ Michaels
try in the JRun4\servers\cfusion\SERVER-INF check the xml files in here for the settings On Thu, Jul 7, 2011 at 10:38 AM, Duncan duncan.lox...@gmail.com wrote: How does one control the location of the webroot within jrun / cf? On Thu, Jul 7, 2011 at 10:01 AM, Duncan

dynamic if statements

2011-07-07 Thread Richard White
Hi, i have an if statement that checks multiple values such as: cfif (a eq 1) and (b eq 2) and (c eq 3) /cfif however i need it to be dynamic, for example sometimes it may: cfif (a eq 1) cfif (a eq 1) and (b eq 2) and (c eq 3) cfif (a eq 1) and (b eq 2) and (c eq 3) and (d eq 4) i have

Re: dynamic if statements

2011-07-07 Thread Richard White
apologies, the evaluate works fine, there was a mistake in my code :) i was unnecessarily wrapping the variables with hashes: cfif evaluate(#a# eq #b#)/cfif Hi, i have an if statement that checks multiple values such as: cfif (a eq 1) and (b eq 2) and (c eq 3) /cfif however i

System.Runtime.InteropServices.ExternalException

2011-07-07 Thread Stefan Richter
My CF 9 machine on EC2 has suddenly started throwing this error (which I am catching): System.Runtime.InteropServices.ExternalException I am logging Type, Message and Detail but this is all I see - System.Runtime.InteropServices.ExternalException I guess this points again at the .NET

populate table from query results

2011-07-07 Thread Julie Davenport
What is the fastest way to populate a table with the results of a query? I have a join query over 2 tables in database A and I need to insert all the rows found into a table in database B. I cannot do it all in one query: insert into table3 (select ... from table1, table2...); because the

RE: IIS 6.0 ignores default document and serves index.cfm

2011-07-07 Thread UXB
The problem is that IIS 6.0 is ignoring the default document (index.html) In the IIS manager right click on the website in questions and select properties then the Documents tab. Be sure to check Enable Default Content Page then sort the list in the order you want IIS to serve the files.

Re: populate table from query results

2011-07-07 Thread Shane Montgomery
Hi Julie, If I am understanding correctly, but have you checked out DbLink for postgresql? http://www.postgresonline.com/journal/archives/44-Using-DbLink-to-access-other-PostgreSQL-Databases-and-Servers.html Can you provide some more context such as what database type/versions? On Thu, Jul 7,

Re: populate table from query results

2011-07-07 Thread Rex
One way is to use two DSNs, and create the INSERT once: cfquery name=q1 datasource=DSN1 select col1, col2 from table1 / cfsavecontent variable=q INSERT INTO table2 (col1, col2) VALUES cfloop query=q1 (#q1.col1#, '#q1.col2#') cfif q1.currentRow EQ q1.recordCount;cfelse,/cfif

xmlSearch() tip

2011-07-07 Thread Sean Henderson
Having problems performing a subsequent XML search on a array item that looks like XML and was produced from a previous XML search? Basic XPath strings returning empty arrays? Then try removing any xhtml declaration attributes, in paricular from the base node, in the array item prior to

Re: populate table from query results

2011-07-07 Thread Julie Davenport
Shane, No, I was not familiar with DbLink, but I will check it out, thanks for the suggestion. I remember using database link objects in Oracle and they really helped, but had always read they did not exist in postgres. I will see if DbLink can work in my case: the tables I need to query

RE: IIS 6.0 ignores default document and serves index.cfm

2011-07-07 Thread Brook Davies
That's whats supposed to happen but was not. Strangely enough this problem disappeared on its own after a reboot. Brook -Original Message- From: UXB [mailto:denn...@uxbinternet.com] Sent: July-07-11 11:21 AM To: cf-talk Subject: RE: IIS 6.0 ignores default document and serves

Re: populate table from query results

2011-07-07 Thread Julie Davenport
Rex, Ahah, I see what you are doing -- very interesting approach. I have not used cfsavecontent before. I will have to test this and see how much faster it is. Thanks much. ~| Order the Adobe Coldfusion Anthology now!

Getter error Error: The method GET was not found in component

2011-07-07 Thread Leon Chalnick
I'm encountering the problem on a newly configured CF9 server (no hotfixes yet). I'm using cfajaxproxy to create a JS proxy for a CFC. Here's the method in the CFC: cffunction name=test access=remote returntype=string returnformat=JSON cfargument name=text cfreturn

Re: Getter error Error: The method GET was not found in component

2011-07-07 Thread Shane Montgomery
Not sure if this was just your typing or the actual code but you've misspelled your return in the test function. cfreturn agruments.text should be cfreturn arguments.text On Thu, Jul 7, 2011 at 4:57 PM, Leon Chalnick lchaln...@advantasolutions.com wrote: I'm encountering the problem on a

RE: dynamic if statements

2011-07-07 Thread Bobby Hartsfield
This might work as well (and get rid of evaluate for you) cfif variables[a] eq variables[b] .:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com http://cf4em.com -Original Message- From: Richard White [mailto:rich...@j7is.co.uk] Sent: Thursday, July 07, 2011 9:29 AM

Re: Getter error Error: The method GET was not found in component

2011-07-07 Thread Leon Chalnick
Not sure if this was just your typing or the actual code but you've misspelled your return in the test function. cfreturn agruments.text should be cfreturn arguments.text Thanks Shane, that's just a problem in my typing (sorry about that). The actual codes that is executing has the correct

Re: Getter error Error: The method GET was not found in component

2011-07-07 Thread Leigh
Does your component actually contain a method named GET or is that name coming out of nowhere? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion

Re: Getter error Error: The method GET was not found in component

2011-07-07 Thread Shane Montgomery
I was able to mock up a test.cfc and access the method just fine, an alert(); showed the value come back. My guess is something else in the cfc is causing it to hiccup. Post the cfc if possible. On Thu, Jul 7, 2011 at 6:23 PM, Leon Chalnick lchaln...@advantasolutions.com wrote: Not sure if

Re: Weird ColdFusion Admin Error

2011-07-07 Thread Robert Mack
500 coldfusion.runtime.CfJspPage._setCurrentLineNo(I)V coldfusion.runtime.CfJspPage._setCurrentLineNo(I)V anyone ever see this before? tw -- 'Never have anything in your life that you can't walk out on in thirty seconds flat, if you spot the heat coming around the corner' robert deniro -

Re: Weird ColdFusion Admin Error

2011-07-07 Thread Robert Mack
Did you ever resolve this? I'm getting it now on an MX 7 installation when I try to access the administrator page. It's a Virtual Private Server and I bet some config change was made that screwed up the encryption. May have to reinstall and reconfigure ColdFusion -- ugh! Bob Mack 500

Re: Weird ColdFusion Admin Error

2011-07-07 Thread Russ Michaels
have you just done an update by any chance ? try loading the cfadministrator Russ On Fri, Jul 8, 2011 at 1:19 AM, Robert Mack ya...@rmack.com wrote: 500 coldfusion.runtime.CfJspPage._setCurrentLineNo(I)V coldfusion.runtime.CfJspPage._setCurrentLineNo(I)V anyone ever see this before?