Re: CF8 Instance hogs cpu

2012-10-02 Thread Paul Kukiel
Client variables being stored in registry? Paul On 03/10/2012, at 8:32 AM, Richard Steele wrote: > > We have a problem with one of our CF8 Enterprise instances. Almost daily, it > hogs the entire cpu of the server and the service has to be restarted. Over > 2.5 gb of memory is dedicated t

Re: CF9 enterprise runs on 64-bit Red Hat 6?

2012-10-02 Thread Pete Freitag
Dan, I'm pretty sure it is not a supported OS for CF9. I do recall some folks running into issues getting it to run on RHEL 6, but I think you can workaround it, I have not tried personally. I have used CF10 on RHEL 6 and it works well. -- Pete Freitag - Adobe Community Professional http://found

Re: CF8 Instance hogs cpu

2012-10-02 Thread Donnie Bachan (Gmail)
Hi Richard, I wrote a post a while back about memory leaks in CF8 Ent., although it is not specifically related to high CPU usage, some of the settings here may be of help. http://thinkinglemur.com/index.php/2010/02/memory-leaks-with-coldfusion-8/ The two things that helped the most (aside from

Re: CF9 enterprise runs on 64-bit Red Hat 6?

2012-10-02 Thread Jordan Michaels
Adobe doesn't sell CF9 on it's own any more, so you probably won't find a page like that anywhere. Maybe there's something in the Internet Archive? http://archive.org/web/web.php I'd be pretty surprised if RHEL6 was on the list of officially supported OS's, but my guess is that it would work j

Re: CF9 enterprise runs on 64-bit Red Hat 6?

2012-10-02 Thread Russ Michaels
yes cf9 is 64bit. you can download the trial edition and test if you want to be sure. On Tue, Oct 2, 2012 at 11:57 PM, Dan LeGate wrote: > > I'm trying to find the equivalent ColdFusion 9 page to this CF10 page: > > http://www.adobe.com/products/coldfusion-enterprise/tech-specs.html > > trying

Re: CF8 Instance hogs cpu

2012-10-02 Thread Russ Michaels
On Wed, Oct 3, 2012 at 12:03 AM, Richard Steele wrote: > > >look at the request activity graph and activity logs to see what was > >running at the time the issue occurred. > Again, F-R can't be viewed during this time as 97% cpu hog prevents > anything from working. > so look at it after you re

Re: Invoking Java component that sends SSL Client Key in CF9 Ent

2012-10-02 Thread Donnie Bachan (Gmail)
Pete and Dave, I owe both of you a beverage (or ten!) next time I'm in the US or you are in the UK! It was the BSafe library. I used the code from the forum post to disable the library and my requests worked. I will have to look into the compliance issue with disabling the library when making the

Re: CF8 Instance hogs cpu

2012-10-02 Thread Richard Steele
>look at the request activity graph and activity logs to see what was >running at the time the issue occurred. Again, F-R can't be viewed during this time as 97% cpu hog prevents anything from working. >Have you setup crash protection to kill long running requests? We had set this up before, bu

CF9 enterprise runs on 64-bit Red Hat 6?

2012-10-02 Thread Dan LeGate
I'm trying to find the equivalent ColdFusion 9 page to this CF10 page: http://www.adobe.com/products/coldfusion-enterprise/tech-specs.html trying to answer thee question Will ColdFusion 9 Enterprise run on 64-bit Red Hat 6? Any information is greatly appreciated! Dan

Re: CF8 Instance hogs cpu

2012-10-02 Thread Richard Steele
> Perhaps code is the issue. Perhaps a custom tag is the issue. Details > are needed before anyone can give any sort of reasonable answer. It's always on the same instance of a multi-instance, load-balanced cf8 server. > How much traffic is the site getting? requests/second? We get about 6,000

Re: CF8 Instance hogs cpu

2012-10-02 Thread Russ Michaels
look at the request activity graph and activity logs to see what was running at the time the issue occurred. Have you setup crash protection to kill long running requests? On Tue, Oct 2, 2012 at 11:57 PM, Richard Steele wrote: > > >Are you logging long-running requests? > How do we log these? >

Re: CF8 Instance hogs cpu

2012-10-02 Thread Richard Steele
>Are you logging long-running requests? How do we log these? >Any requests hanging? All requests start to hang at 97% cpu usage. >Can you correlate the memory/cpu spike with site traffic or spiders? We think it may be spider related. >Like Wil said, it's probably the code in a certain request /

Re: CF8 Instance hogs cpu

2012-10-02 Thread Russ Michaels
have you tried using the built in server monitor or fusionReactor to diagnose the issue ? On Tue, Oct 2, 2012 at 11:32 PM, Richard Steele wrote: > > We have a problem with one of our CF8 Enterprise instances. Almost daily, > it hogs the entire cpu of the server and the service has to be restart

Re: Invoking Java component that sends SSL Client Key in CF9 Ent

2012-10-02 Thread Dave Watts
> My Guess is that this has something to do with the RSA BSafe crypto-j > security provider that CF Enterprise ships with. This API was upgraded in > CF10, so you could try that as an option. When you run Java from the > command line, you are not using Crypto-J, when you run java within CF you > a

Re: Invoking Java component that sends SSL Client Key in CF9 Ent

2012-10-02 Thread Dave Watts
> You just pass the location of the key file as a string so I'm just passing > in C:\wamp\.\ClientKey.pem both in CF and Java class. I've tried using > Wireshark as well to look at the packets being sent. From Java the request > is fine, from CF the remote URL never gets called at all so it's

Re: CF8 Instance hogs cpu

2012-10-02 Thread .jonah
Are you logging long-running requests? Any requests hanging? Can you correlate the memory/cpu spike with site traffic or spiders? Like Wil said, it's probably the code in a certain request / page that's using more memory/cycles than it needs to. You may need something like FusionReactor to se

Re: CF8 Instance hogs cpu

2012-10-02 Thread Wil Genovese
Perhaps code is the issue. Perhaps a custom tag is the issue. Details are needed before anyone can give any sort of reasonable answer. How much traffic is the site getting? requests/second? What is the code processing? What is the code accessing? Is the database responding properly? These and

CF8 Instance hogs cpu

2012-10-02 Thread Richard Steele
We have a problem with one of our CF8 Enterprise instances. Almost daily, it hogs the entire cpu of the server and the service has to be restarted. Over 2.5 gb of memory is dedicated to this instance. It reaches that ceiling within several hours of use. Perhaps garbage collection can't keep up

Re: (ot) How to match the timestamp in IIS6 logs to server time

2012-10-02 Thread Matt Quackenbush
On Tue, Oct 2, 2012 at 3:58 PM, Kym Kovan wrote: > > BTW, GMT is the "correct" time :-) > +infinity :-) ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseof

Re: (ot) How to match the timestamp in IIS6 logs to server time

2012-10-02 Thread Kym Kovan
Dave, IIS logs in GMT by default. Later versions of IIS can be changed to log local time, not sure if that is global or by site... BTW, GMT is the "correct" time :-) On 3/10/2012 6:13 AM, Dave Hatz wrote: > > I am trying to audit IIS6 Web Server logs and 1 of the problems I am having > is ma

(ot) How to match the timestamp in IIS6 logs to server time

2012-10-02 Thread Dave Hatz
I am trying to audit IIS6 Web Server logs and 1 of the problems I am having is matching up the TimeStamp in the log files to the server time, seems to be like 8 hours off. Can someone please point me in the right direction to look to get the IIS6 logs in the correct time? Thanks, Dave Hatz

Re: Invoking Java component that sends SSL Client Key in CF9 Ent

2012-10-02 Thread Donnie Bachan (Gmail)
Thanks Russ, I've not played with JSP in years, will give it a shot. I'm willing to even try Pascal at this point! On Tue, Oct 2, 2012 at 8:37 PM, Russ Michaels wrote: > > Dont forget that you are using jrun which also allows you to use jsp as > well, perhaps you could try doing this from jsp

Re: Invoking Java component that sends SSL Client Key in CF9 Ent

2012-10-02 Thread Donnie Bachan (Gmail)
Donnie Bachan "Nitendo Vinces - By Striving You Shall Conquer" == The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review,

Re: Invoking Java component that sends SSL Client Key in CF9 Ent

2012-10-02 Thread Russ Michaels
Dont forget that you are using jrun which also allows you to use jsp as well, perhaps you could try doing this from jsp and see if that works, which may save you some head banging as cfm and jsp can happily work together. Regards Russ Michaels On Oct 2, 2012 6:32 PM, "Pete Freitag" wrote: > > M

Re: Localisation - file or database?

2012-10-02 Thread Paul Hastings
On 10/2/2012 7:25 PM, Edward Chanter wrote: > > currency formats etc but the calendar issue you raised is one I hadn't > considered, and the L2R and R2L issue is also something I need to work out. uh, i18n folks like their abbreviations, their standards as well as their numeronyms. its LTR (left

Re: Invoking Java component that sends SSL Client Key in CF9 Ent

2012-10-02 Thread Pete Freitag
My Guess is that this has something to do with the RSA BSafe crypto-j security provider that CF Enterprise ships with. This API was upgraded in CF10, so you could try that as an option. When you run Java from the command line, you are not using Crypto-J, when you run java within CF you are. Anoth

Re: Invoking Java component that sends SSL Client Key in CF9 Ent

2012-10-02 Thread Donnie Bachan (Gmail)
Thanks Dave, You just pass the location of the key file as a string so I'm just passing in C:\wamp\.\ClientKey.pem both in CF and Java class. I've tried using Wireshark as well to look at the packets being sent. From Java the request is fine, from CF the remote URL never gets called at all so

Re: Invoking Java component that sends SSL Client Key in CF9 Ent

2012-10-02 Thread Dave Watts
> The following code illustrates the call from ColdFusion to the SDK: > var serverInfo = createObject("java", > "com.arcot.xfms.XFMS_Java_API$ServerInfo").init( > VARIABLES.clientOptions.host, > VARIABLES.clientOptions.port, > VARIABLES.clientOptions.transport, > 30, 5, 8, 4, > > VARIABLES.clie

Re: cfhttp ignore SSL error

2012-10-02 Thread John M Bliss
Workaround ended up being to add a line to server's hosts file: [IP of download.vendor.com]vendor.com ...and then cfhttp to https://vendor.com On Sun, Sep 23, 2012 at 12:10 PM, John M Bliss wrote: > CFX_HTTP returns "An error occurred in the secure channel support." > > Any other ideas?

Re: Localisation - file or database?

2012-10-02 Thread Edward Chanter
Thanks Paul, I'm currently trying to answer all the questions you put in there. Right now I'm keeping things simple but you're right that it's not just the globs of text that need translating, I'd already thought of currency formats etc but the calendar issue you raised is one I hadn't considered,

Re: Localisation - file or database?

2012-10-02 Thread Paul Hastings
On 10/2/2012 4:01 PM, Edward Chanter wrote: > We're about to embark on a project for which locallisation is a requirement > and it's the first time I've done this. I understand the basic concepts > about having data containing the words and phrases needed on a website > stored with versions for ea

Re: Invoking Java component that sends SSL Client Key in CF9 Ent

2012-10-02 Thread Donnie Bachan (Gmail)
> > Hi Paul, > > Thanks for this, it's odd we use Cardinal when we call Paypal Pro (we use > them as a back up processor if Barclays ever goes down) and that works fine > on 64 bit. What's even more odd is the fact that they all use Arcot at the > core because Arcot developed the system. > > Best

Re: Localisation - file or database?

2012-10-02 Thread Andrew Scott
Not sure to be honest, never looked at a database option. The thing is what is easier to translate and worth with quicker, for me at least any way. Google ColdFusion il8n I am sure there will be a lot out there, if you use a framework like ColdBox support might be built in. -- Regards, Andrew S

Re: Invoking Java component that sends SSL Client Key in CF9 Ent

2012-10-02 Thread Donnie Bachan (Gmail)
Hi Paul, Thanks for this, it's odd we use Cardinal when we call Paypal Pro (we use them as a back up processor if Barclays ever goes down) and that works fine on 64 bit. What's even more odd is the fact that they all use Arcot at the core because Arcot developed the system. Best Regards Donnie B

Re: Localisation - file or database?

2012-10-02 Thread Edward Chanter
Thanks for the tip Andy, I've heard the term mentioned but haven't looked into it at all. Do you know of any good resources that explain using it in a CF context? What are the advantages of this method over the database method that Russ outlined above? I'm new to all of this so please bear with my

Re: Localisation - file or database?

2012-10-02 Thread Andrew Scott
I actually prefer to use il8n from Java. -- Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/113032480415921517411 On Tue, Oct 2, 2012 at 8:14 PM, Edward Chanter wrote: > > Thanks guys, Russ especially f

Re: Invoking Java component that sends SSL Client Key in CF9 Ent

2012-10-02 Thread Paul Kukiel
Unsure if its an option be we use 3d secure with cardinal commerce who support ColdFusion and 64 bit. Paul On 02/10/2012, at 8:26 PM, "Donnie Bachan (Gmail)" wrote: > > Hi All, > > I've run into an issue on CF9 Enterprise 64 bit on Windows (7/2003/2008) > with using client authentication

Invoking Java component that sends SSL Client Key in CF9 Ent

2012-10-02 Thread Donnie Bachan (Gmail)
Hi All, I've run into an issue on CF9 Enterprise 64 bit on Windows (7/2003/2008) with using client authentication when invoking a java component. Background: We are attempting to implement 3D Secure (Verified By Visa) on the Barclay's EPDQ system using the Arcot SDK. We have this working using t

Re: Localisation - file or database?

2012-10-02 Thread Edward Chanter
Thanks guys, Russ especially for taking the time to put all that together, most appreciated :) I hadn't thought of the QofQ idea, that is a great suggestion. I think I will go with that as I like the idea of having everything stored in the database :) Thanks again On 2 October 2012 10:58, Russ

Re: Localisation - file or database?

2012-10-02 Thread Russ Michaels
If you are talking about the content, then yes this is normally stored in the database and is handled by a CMS system. You would then have a separate version of the content for each language, and load the appropriate version depending on which language the logged in user has chosen. If you are ar

Re: Localisation - file or database?

2012-10-02 Thread .jonah
Either way you'll want to cache all (or at least the majority of the) the strings in memory on application load. If you're making an admin tool to edit the strings, whether it writes to a flat file or to the DB wouldn't really matter that much. The resource bundle pattern is pretty well used t

Localisation - file or database?

2012-10-02 Thread Edward Chanter
We're about to embark on a project for which locallisation is a requirement and it's the first time I've done this. I understand the basic concepts about having data containing the words and phrases needed on a website stored with versions for each language but I'm trying to figure something out: