Re: [cfaussie] URL rewrite problem since upgraded to CF 10

2012-06-08 Thread Barry Chesterman
The first thing to do is turn mod rewrite logging on and set the log level (you can google that bit) then watch the rewrite log as you make the request and check that apache is still rewriting the URL as expected. The only other thing I could suggest trying is put your rewrite rules in a

Re: [cfaussie] Re: Manipulating CFHTTP Source IP

2012-04-12 Thread Barry Chesterman
x-forwarded-for is really only an additional header stapled onto an http request and I would have thought any external system accepting a limited number of requests from a specific IP wouldn't even be looking at x-forwarded-for for decision making (although it depends how the logic is written at

Re: [cfaussie] ColdFusion Monitor

2012-03-27 Thread Barry Chesterman
I had big issues a while ago using the built in coldfusion monitor, the monitor itself seems to cause performance problems. I would recommend turning it off and using third party monitoring tools. I can recommend Fusionreactor but there are other ways to capture performance metrics besides the

Re: [cfaussie] Re: verity error

2012-02-07 Thread Barry Chesterman
the built in CF tags for using SOLR are not that nice, they are fine for basic stuff but if you really want to use SOLR as it was intended you really have to query it directly (it's just an HTTP request and then XML parsing from there). The coldfusion tags for querying SOLR lack a lot of options

Re: [cfaussie] verity error

2012-02-06 Thread Barry Chesterman
Is there a reason why you need to use Query By Example parser (natrual)? It might be worth leaving the type attribute off altogether. If you're having issues with coldfusions cfsearch tag to query a solr collection, it's well worth learning how to query Solr directly (You have to type a wee bit

Re: [cfaussie] verity error

2012-02-06 Thread Barry Chesterman
it in there ** ** *From:* Barry Chesterman [mailto:barrychester...@gmail.com] *Sent:* Tuesday, 7 February 2012 3:07 PM *To:* cfaussie@googlegroups.com *Subject:* Re: [cfaussie] verity error ** ** Is there a reason why you need to use Query By Example parser (natrual)?** ** It might be worth leaving

Re: [cfaussie] The 'null null' error

2011-12-06 Thread Barry Chesterman
The only way I've ever been able to effectively debug null errors is by running specific segments of code and seeing if I can recreate it. The most common causes I see for a null error is unscoped or unvared variables being used in functions which usually cause issues during simultaneous requests.

Re: [cfaussie] Re: ColdFusion Builder Opinions

2011-11-28 Thread Barry Chesterman
I'm on CFBuilder2 and I have to say the default search which uses Aptana File Search was horrid - like you say, no way to jump to the line in the file where the search result is. However, in the search dialog under Customize.. I turned off the Aptana File Search and now just use the 'File search'

Re: [cfaussie] PHP plugin for CF Bulder 2

2011-11-21 Thread Barry Chesterman
can't you just use phpeclipse? http://www.phpeclipse.com/ On Tue, Nov 22, 2011 at 7:25 PM, Steve Onnis st...@cfcentral.com.au wrote: Any recommendations? -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to

Re: [cfaussie] Re: jmap heap dump not working

2011-09-15 Thread Barry Chesterman
Those commands are similar to what I'm running (except I don't run the kill command on anything first) did you have the JDK on your mac? The jmap I'm running is a jmap I've put onto the Linux box specifically (the libjli.so was already there). Jmap wasn't on the box from the standard install, it

Re: [cfaussie] Coldfusion Builder 2 aptana scripting console window appears on save

2011-08-31 Thread Barry Chesterman
suggested, or bring it up on the Adobe CFB forums where you may have more CFB engineers watching than here. :-) Hope you get it solved. ** ** /charlie ** ** *From:* cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] *On Behalf Of *Barry Chesterman *Sent:* Wednesday

Re: [cfaussie] Coldfusion Builder 2 aptana scripting console window appears on save

2011-08-30 Thread Barry Chesterman
Standalone, The error that comes up in the console window is: [2011-08-31 16:30:47] An error occurred while building environment variables for the 'editor' context property in the 'Save Example file and remember' command (C:\Users\bscheste\Adobe ColdFusion Builder 2.0

[cfaussie] Re: empty HTML emails in Gmail sent from coldfusion

2011-08-24 Thread Barry Chesterman
I have fixed it by not using cfmailpart parameters, maybe it's because I didn't have a text part? cfmail from=#arguments.sFrom# to=#arguments.sRecipients# subject=#arguments.sSubject# failto=testf...@massey.ac.nz charset=utf-8 type=html cfoutput

Re: [cfaussie] using Solr in a multi instance configuration

2011-04-05 Thread Barry Chesterman
Thanks for the info Mark, and yes you can point coldfusion to a seperate solr instance. Charlie, when the initial install was done, it was a multiserver deployment. Yes it goes in the directory you mention below, in the default cfusion instance in: /opt/jrun4/servers/cfusion/.. The Solr part is

Re: [cfaussie] using Solr in a multi instance configuration

2011-04-04 Thread Barry Chesterman
Yes, we have several indexes in Solr e.g. majors papers The only problem is, our second instance needs to use the same collection names which means we can't just point the second instance to the same place. On Tue, Apr 5, 2011 at 9:42 AM, Mark Mandel mark.man...@gmail.com wrote: I had a look

Re: [cfaussie] using Solr in a multi instance configuration

2011-04-04 Thread Barry Chesterman
wrote: Oh, I think I see the issue. You want to deploy a second instance of solr, but are not sure how to tell each instance to have different solr homes. Is that correct? Mark Sent from my mobile device. On 05/04/2011 8:07 AM, Barry Chesterman barrychester...@gmail.com wrote: -- You

Re: [cfaussie] Re: IIS7 Verify if file exists | Don't want to log files in CF application.log

2011-02-21 Thread Barry Chesterman
(ThreadPool.java:266) 27 at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) On Mon, Feb 21, 2011 at 3:45 PM, Barry Chesterman barrychester...@gmail.com wrote: What do the 404 lines look like in the application.log file? There isn't an error occurring in the 404 page itself is there? Also

Re: [cfaussie] Re: IIS7 Verify if file exists | Don't want to log files in CF application.log

2011-02-20 Thread Barry Chesterman
What do the 404 lines look like in the application.log file? There isn't an error occurring in the 404 page itself is there? Also, have you checked the corresponding entry in the exceptions.log file which gives a stack trace of the things that show in application.log? On Mon, Feb 21, 2011 at 6:01

Re: [cfaussie] Re: Microsoft SQL server CPU very high, close to 100% a lot of the time

2010-11-29 Thread Barry Chesterman
Hi Charlie, I have checked our client variables pages and there aren't any DSN's listed (just the default option of registry selected), I've checked the cfapplication tag for the site too and it uses the default (registry). I'll log full query stats for a day anyhow and see if it shows us

Re: [cfaussie] Re: Microsoft SQL server CPU very high, close to 100% a lot of the time

2010-11-28 Thread Barry Chesterman
*From:* cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] *On Behalf Of *Barry Chesterman *Sent:* Friday, November 26, 2010 5:17 PM *To:* cfaussie@googlegroups.com *Subject:* Re: [cfaussie] Re: Microsoft SQL server CPU very high, close to 100% a lot of the time Hey guys

Re: [cfaussie] Re: ColdFusion Builder Workspace Refreshing

2010-11-28 Thread Barry Chesterman
I have my Workspace config set to 'Build automatically' enabled and 'refresh automatically' and 'save automatically before build' disabled with no problems like you are reporting. Something else you can try if performance is not great is set 'Display Syntax Errors Only on File Save' to enabled

Re: [cfaussie] Re: Microsoft SQL server CPU very high, close to 100% a lot of the time

2010-11-28 Thread Barry Chesterman
It is looking like a 'death of a thousand cuts' issue as you put it, and we do have a plan if that is the case :) We have limits on the JDBC stuff in fusionreactor because we haven't really needed to use it. Our DBA is fairly certain that there isn't a set of, or a specific query that is causing

Re: [cfaussie] Re: Microsoft SQL server CPU very high, close to 100% a lot of the time

2010-11-26 Thread Barry Chesterman
Hey guys, thanks for all the feedback, I'll pass on those ideas to our DBA :) I haven't replied earlier sorry because I've been on holliday up in Auckland to see U2, but we'll follow up some of the ideas here on Monday at work and I'll let you all know if we manage to fix the problem :) Thanks!

Re: [cfaussie] Reg Exp help

2010-10-15 Thread Barry Chesterman
You're in the right track with the negative look behind (?!base) You don't seem to have the space in there though, if your tag is base href=http://#server_name# you would need to match; (?!base)\shref=http://#server_name# where \s matches a whitespace character Also, don't forget to escape the

Re: [cfaussie] Re: XML Parser and xml parsing problems in Coldfusion

2010-08-17 Thread Barry Chesterman
so I'm not sure if that's still the case). Any ideas? Thanks Barry Chesterman -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email

Re: [cfaussie] Re: XML Parser and xml parsing problems in Coldfusion

2010-08-17 Thread Barry Chesterman
a common practice to read the xml file that never change once, and then just cache it in memory for future use. Mark On Tue, Aug 17, 2010 at 4:46 PM, Barry Chesterman barrychester...@gmail.com wrote: The file or files are relatively small (about 15 lines worth mostly, and not very long lines

Re: [cfaussie] CFHTTP to invalid SSL host

2010-06-29 Thread Barry Chesterman
I could be wrong, but I seem to remember seeing something that you can add a certificate as a 'trusted cert' on the coldfusion server that is doing the cfhttp call, so maybe have a google for that too? On Wed, Jun 30, 2010 at 10:19 AM, Mark Mandel mark.man...@gmail.com wrote: I think you're

Re: [cfaussie] JVM Server Memory Management

2010-05-11 Thread Barry Chesterman
Hello, If you've isolated a particular CFC that you know causes out of memory errors under load then you should be able to isolate what section of code within the cfc is doing that. If you're not sure how to do this, then I recommend you set up a standalone test where you use just that CFC and do

Re: [cfaussie] Total server ram for high load websites

2010-04-14 Thread Barry Chesterman
I have seen 8BG recommended a couple of times around the net, what sort of load do you experience off your server Kai, and do you find that your 8GB is mostly utilised, or could you get away with say 5 or 6GB of ram? Thanks. Barry. On Thu, Apr 15, 2010 at 10:27 AM, Kai Koenig k...@koeni.de

Re: [cfaussie] RE: Coldfusion JRun Max handler threads setting

2010-04-11 Thread Barry Chesterman
Thanks for the replies. I will do some load tests with adjusting the queued threads setting, from what I've read, the 'unable to create new native thread' errors are related to having a large heap size (which we do) and the operating system not being able to spawn new threads (as an OS thread is

Re: [cfaussie] Re: CF7 (and 8) High CPU usage on production box

2010-02-01 Thread Barry Chesterman
The 216MB allocated should be the 'Heap' which is the memory the JVM gets to use. The 176MB is probably just the amount that is currently being used by the JVM. Could you paste in the JVM config line from the jvm.config file in Jrun / bin / folder? that should say what the maximum allowable

Re: [cfaussie] Re: CF7 (and 8) High CPU usage on production box

2010-02-01 Thread Barry Chesterman
Yeah, do what Kai said and set the minimum heap size to the same as the maximum (means the heap does not have to keep resizing itself as it starts filling up, heap resizing causes full garbage collections before the resize). The permanent generation size (PermSize) is actually additional to the

Re: [cfaussie] Re: CF7 (and 8) High CPU usage on production box

2010-01-26 Thread Barry Chesterman
I actually meant 'JRun' logs which in my case are logs from the JVM as well :) but then it depends on your configuration, do you run coldfusion with JRun or something else? JRun logs are normally directly in the logs folder within the JRun directory. On Tue, Jan 26, 2010 at 11:52 PM, Andrew Myers

Re: [cfaussie] Calculate variable size in bytes

2009-11-17 Thread Barry Chesterman
Cool, thanks I'll give it a try On Wed, Nov 18, 2009 at 1:53 PM, Mark Mandel mark.man...@gmail.com wrote: The only way I know to reliably do this is through the sizeOf Project: http://sizeof.sourceforge.net/ But this does mean you have to include an agent with your JVM, and I don't know

Re: [cfaussie] Calculate variable size in bytes

2009-11-17 Thread Barry Chesterman
unfortunately it requires java 5 and we only have java 4 :( On Wed, Nov 18, 2009 at 1:57 PM, Barry Chesterman barrychester...@gmail.com wrote: Cool, thanks I'll give it a try On Wed, Nov 18, 2009 at 1:53 PM, Mark Mandel mark.man...@gmail.comwrote: The only way I know to reliably do

[cfaussie] Re: Persistent Scopes and Memory

2009-11-04 Thread Barry Chesterman
yep, memory issues. You can tell by storing something of a reasonable size in a persistent scope, and watch the garbage collection to see what each generation is doing, which is what I may do. Barry On Thu, Nov 5, 2009 at 12:46 PM, Mark Mandel mark.man...@gmail.com wrote: Really, I don't think

[cfaussie] Re: Persistent Scopes and Memory

2009-11-04 Thread Barry Chesterman
tend to use Eclipse Memory Analyzer. I've also heard very good things about VisualVM, which I've been meaning to look at. Mark On Thu, Nov 5, 2009 at 11:41 AM, Barry Chesterman barrychester...@gmail.com wrote: yep, memory issues. You can tell by storing something of a reasonable size