RE: Errors calling a asmx web service

2011-03-23 Thread Ian Vaughan
Hi Dave et al Could the problem with the .NET web service be because CF7 apache axis and commons HTTPClient Axis will use the HTTPClient library for it HTTP needs. Since the HTTPClient library supports NT Authentication, you just set the username/password on the Stub object as you would

The vagaries of QueryNew

2011-03-23 Thread Kevin Parker
I have a query where I need to add some extra stuff not in the database so decide to create another query object with QueryNew. I loop over a query of the table to set cell values and add extra values to each row etc. I output the record count for the original query and it shows 3 rows (which

Re: The vagaries of QueryNew

2011-03-23 Thread Steve Milburn
Can you show us some code? On Wed, Mar 23, 2011 at 7:18 AM, Kevin Parker tras...@internode.on.net wrote: I have a query where I need to add some extra stuff not in the database so decide to create another query object with QueryNew. I loop over a query of the table to set cell values and

Re: The vagaries of QueryNew

2011-03-23 Thread Steven Durette
First, let me say that anything that can be done in the database should be. But, if you must do it this way, why don't you have the db return the extra columns as nulls then set the cell values. That way you don't have the extra query object being built. Steve Sent from my iPhone On Mar

Re: coldfusion service stop rsponding or CPU goes up tp 100%

2011-03-23 Thread tom vallee
thanks! here are my settings now : java.args=-server -Xmx4096m -Xms4096m -Dsun.io.useCanonCaches=false -XX:PermSize=256m -XX:MaxPermSize=256m -XX:+UseParallelGC -Dsun.rmi.dgc.client.gcInterval=60 -Dsun.rmi.dgc.server.gcInterval=60 -XX:NewSize=148m -XX:SurvivorRatio=4

upgrade coldfusion 7 JDK

2011-03-23 Thread tom vallee
Can i upgrade a cf7 to the latest jdk 1.6.0_24 ??? i currently use : Java Version 1.4.2_14 thanks ~| Order the Adobe Coldfusion Anthology now!

Re: upgrade coldfusion 7 JDK

2011-03-23 Thread Dave Watts
Can i upgrade a cf7 to the latest jdk 1.6.0_24 ??? i currently use : Java Version  1.4.2_14 Unfortunately, CF 7 doesn't support JDK 1.6. So, if you do this, some things may not work. But I'm not sure what exactly won't work, so if your code is pretty simple it might work fine for you. Dave

Persisting query data across cflocation

2011-03-23 Thread Eric Cobb
Given the following scenario, what would be the best way to persist the data across the cflocation call? I have page A, which includes page B, which does a cflocation to page C. Query results returned in page A need to be available in page C. Since we're doing a cflocation, which starts a

Re: upgrade coldfusion 7 JDK

2011-03-23 Thread Michael Dinowitz
I remember 2 things from when I upgraded my CF7 to a jdk. The first was that I could not use the java path in c:\program files. The space was giving a problem for some reason. I had to do a reinstall of java to c:\java. The second was that some date operation was totally messed up.

re: Persisting query data across cflocation

2011-03-23 Thread Jason Fisher
Yes, storing in a Session or Client struct is your only option. Earlier versions of CF would lose sessions set before a CFLOCATION as well, so if you're on CFMX or something, use JavaScript location.href = C.cfm for the redirect to get around that.

Re: The vagaries of QueryNew

2011-03-23 Thread rex
Hi Kevin, You must be doubling up a call to QueryAddRow(). Go do a search on github.com for a piece of code called QuerySim by Hal Helms. It'll help you create queries you need, and it's very easy to use. - Rex On 3/23/2011 5:01 AM, Steven Durette wrote: First, let me say that anything

Re: The vagaries of QueryNew

2011-03-23 Thread Bryan Stevenson
Are you sure you are updating the rows and not adding new ones? code plz Cheers On Wed, 2011-03-23 at 22:18 +1100, Kevin Parker wrote: I have a query where I need to add some extra stuff not in the database so decide to create another query object with QueryNew. I loop over a query of

Pros and cons of deploying CF apps as EAR files?

2011-03-23 Thread Brian Swartzfager
Here at work we are beginning the transition from ColdFusion 7 to ColdFusion 9. As part of the transition, we want to set up a ColdFusion 9 server cluster (using CF 9 Enterprise) to host those ColdFusion applications that need to have a high level of redundancy. In order to reach this goal,

Re: The vagaries of QueryNew

2011-03-23 Thread Claude Schnéegans
Are you sure you are updating the rows and not adding new ones? I am sure he is not sure ;-) ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion

Re: upgrade coldfusion 7 JDK [spamtrap bayes][spamtrap heur]

2011-03-23 Thread Paul Hastings
On 3/23/2011 9:13 PM, Dave Watts wrote: Can i upgrade a cf7 to the latest jdk 1.6.0_24 ??? no, not a good idea. Unfortunately, CF 7 doesn't support JDK 1.6. So, if you do this, some things may not work. But I'm not sure what exactly won't work, so if for sure CAR breaks (though it might

Re: Persisting query data across cflocation

2011-03-23 Thread Judah McAuley
If you are using CF 9 or Railo, I'd look into the new caching functions. CF9 uses ehCache if I recall. Railo can use ehCache, memcached and a couple of others. You can serialize your query, do an SHA1 hash of the serialized object to use as a key, put the query into the cache with the hash as the

OWASP ColdFusion security links

2011-03-23 Thread Dave Watts
This looks like a pretty good set of CF security links: http://www.owasp.org/index.php/ColdFusion_Security_Resources Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides

re: OWASP ColdFusion security links

2011-03-23 Thread Jason Fisher
Great stuff on there; thanks for the link, Dave. From: Dave Watts dwa...@figleaf.com Sent: Wednesday, March 23, 2011 3:17 PM To: cf-talk cf-talk@houseoffusion.com Subject: OWASP ColdFusion security links This looks like a pretty good set of CF security

Re: OWASP ColdFusion security links

2011-03-23 Thread Roger Austin
Dave Watts dwa...@figleaf.com wrote: This looks like a pretty good set of CF security links: http://www.owasp.org/index.php/ColdFusion_Security_Resources OWASP has local chapters also if people have one near them. I have attended some meetings of our local chapter and you get an

RE: The vagaries of QueryNew

2011-03-23 Thread Bobby Hartsfield
It seems like an invalid use of queryAddColumn might have caused this for me once. I have rarely ever used that function but it seems familiar... As if, instead of adding the new column and updating the existing rows, it added the column but added double the rows and updated only the new rows.

Re: coldfusion service stop rsponding or CPU goes up tp 100%

2011-03-23 Thread Carl Meyer
More settings suggestions. java.args=-server -Xmx4096m -Xms4096m -Dsun.io.useCanonCaches=false -XX:PermSize=256m -XX:MaxPermSize=384m -XX:+UseParallelGC -XX:ParallelGCThreads=4 -Dsun.rmi.dgc.client.gcInterval=60 -Dsun.rmi.dgc.server.gcInterval=60 -XX:NewSize=148m -XX:SurvivorRatio=4

Re: ColdFusion 9 VPS Host in Australia

2011-03-23 Thread Richard White
Windows VPS Are you after shared hosting or a VPS to run ColdFusion on? Paul http://blog.kukiel.net Hi, does anyone know of any good ColdFusion 9 windows VPS hosts in Australia? thanks ~| Order the Adobe Coldfusion

Re: Errors calling a asmx web service

2011-03-23 Thread Dave Watts
Could the problem with the .NET web service be because CF7 apache axis and commons HTTPClient Axis will use the HTTPClient library for it HTTP needs. Since the HTTPClient library supports NT Authentication, you just set the username/password on the Stub object as you would normally do for