Re: cfhttp and SSL ... I/O Exception: peer not authenticated

2013-11-15 Thread Dave Watts
> > Lots of people use sticky sessions to solve this problem. That doesn't > > provide failover, but if you're not doing something extremely critical > > where the user can just go elsewhere (ex: ecommerce) you might not > > need failover. > > With sticky sessions, in the event that one server cra

Re: cfhttp and SSL ... I/O Exception: peer not authenticated

2013-11-15 Thread Brian FitzGerald
>Lots of people use sticky sessions to solve this problem. That doesn't >provide failover, but if you're not doing something extremely critical >where the user can just go elsewhere (ex: ecommerce) you might not >need failover. With sticky sessions, in the event that one server crashed, the users

Re: cfhttp and SSL ... I/O Exception: peer not authenticated

2013-11-15 Thread Russ Michaels
If you use a centralised storage for all servers in your cluster then it is easy. You save session data to your san disk. And simply reload it if it gets lost due to switching servers. You can also achieve this with replication between local disks too. Remember the session is stored in a cookie ju

Re: cfhttp and SSL ... I/O Exception: peer not authenticated

2013-11-15 Thread Dave Watts
> I'm hoping it's the former :) I guess that's what I'm getting at though... > I'm sure you've done many applications that run on > clustered servers, is using sticky sessions a common and accepted practice > for using cfcs in a clustered environment? > Or do larger applications like this just n

Re: cfhttp and SSL ... I/O Exception: peer not authenticated

2013-11-15 Thread Brian FitzGerald
Hey Dave, Thanks a lot for your response. Please see some comments inline below: > Are you using clustering to support a larger number of users than a > single server? Or are you using it to provide failover in case a > server fails? Or both? The clustering is mainly for supporting a large numb

Re: CF7 to CF9 timeout issues

2013-11-15 Thread Jon Clausen
Maybe you’ve already done this, but if you’re getting your execution times from the Coldfusion debugging settings, try turning off “Report Execution Times” and enable “Timer Information" on both machines and use to test your execution times on the query. CF9’s Execution Time output is much m

Re: CF7 to CF9 timeout issues

2013-11-15 Thread Andrew Scott
Using monitoring software like seeFusion or FusionReactor would be your best bet here. Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/113032480415921517411 On Sat, Nov 16, 2013 at 2:56 AM, daniel kessler wrote: > > We are trying to migrate from CF

Re: CF7 to CF9 timeout issues

2013-11-15 Thread Russ Michaels
have you checked that the DSN settings are the same in both cf admins? Also are you using the same driver on both servers ? I would suggest to turn on debugging and see what is causing the timeout exactly, if it is the cfquery for sure then you might want to ask your sysadmin to test the connecti

CF7 to CF9 timeout issues

2013-11-15 Thread daniel kessler
We are trying to migrate from CF7 to CF9. We are receiving many timeout errors (500 internal server error. The request has exceeded the allowable time limit Tag: CFQUERY). We do not receive these errors on the CF7 server. They both point to the same database. The Oracle Views that are timi

Re: session vs. client scope (clustering)

2013-11-15 Thread Russ Michaels
client variables are pretty rubbish as they can only hold simple values. If that is all you need it for, then perhaps use it, but I would restricr usage to COOKIE storage, registry should be avoided at all cost, and database storage can really put a lot of extra load on the database and delays on

Re: session vs. client scope (clustering)

2013-11-15 Thread Dave Watts
> In my applications, I have always used the session scope for handy things > like storing the currently logged in > user, so I can just do: user.isLoggedIn() ... user.hasRole("admin"), things > like that. It's great! > > Here at my current gig, though, they have a clustered server configuration

RE: cfscript assistance

2013-11-15 Thread Stephens, Larry V
Ah - I missed part of Matt's response and Dave said the same thing. It was the () that was throwing the error. Should have seen that... Thanks. -Original Message- From: Matt Quackenbush [mailto:quackfu...@gmail.com] > if GetB.bcode[x] NEQ xcampus { if ( GetB.bcode[x]

RE: cfscript assistance

2013-11-15 Thread Stephens, Larry V
Thanks. See below -Original Message- From: Matt Quackenbush [mailto:quackfu...@gmail.com] Sent: Friday, November 15, 2013 9:45 AM To: cf-talk Subject: Re: cfscript assistance On Fri, Nov 15, 2013 at 9:35 AM, Stephens, Larry V wrote: > > > > for ( x=1; x<=GetB.Recordcount;

Re: cfscript assistance

2013-11-15 Thread Dave Watts
>> >> for ( x=1; x<=GetB.Recordcount; x=x+1) { >> if GetB.bcode[x] NEQ xcampus { >> >> This throws an invalid construct error: >> ColdFusion was looking at the following text: >> GetB.bcode >> ? What am I missing? > > if ( GetB.bcode[x] != xcampus ) > { > // do somethi

Re: cfscript assistance

2013-11-15 Thread Matt Quackenbush
On Fri, Nov 15, 2013 at 9:35 AM, Stephens, Larry V wrote: > > > > for ( x=1; x<=GetB.Recordcount; x=x+1) { > if GetB.bcode[x] NEQ xcampus { > > This throws an invalid construct error: > ColdFusion was looking at the following text: > > GetB.bcode > > ? What am I missing?

session vs. client scope (clustering)

2013-11-15 Thread Brian FitzGerald
Hey guys, In my applications, I have always used the session scope for handy things like storing the currently logged in user, so I can just do: user.isLoggedIn() ... user.hasRole("admin"), things like that. It's great! Here at my current gig, though, they have a clustered server configuration

Re: cfscript assistance

2013-11-15 Thread Russ Michaels
try these tools, you may have more luck http://carehart.org/cf411/#excel On Fri, Nov 15, 2013 at 2:35 PM, Stephens, Larry V wrote: > > I've stayed away from cfscript but now I'm looking at it in conjunction > with writing Excel spreadsheets. > > I looked at https://learn.adobe.com/wiki/displa

cfscript assistance

2013-11-15 Thread Stephens, Larry V
I've stayed away from cfscript but now I'm looking at it in conjunction with writing Excel spreadsheets. I looked at https://learn.adobe.com/wiki/display/coldfusionen/cfscript and then https://learn.adobe.com/wiki/display/coldfusionen/Extending+ColdFusion+Pages+with+CFML+Scripting because I th