[cfaussie] Coldfusion FORM scope randomly missing variables

2009-09-06 Thread BarryC

Hi,

I have a form scope issue that has me stumped.

I have a non coldfusion script on a 'server A' which posts data to a
coldfusion script on 'server B'.
The form scope on server B sometimes does not pick up that something
has been posted to it and is therefore empty. This seems totally
random and I cannot see any reason why this would happen.

I've tried this on three seperate coldfusion boxes with both
coldfusion 7 and coldfusion 8. the script I am posting to is a simple
 I've tried pointing the script on 'server A' to
a php script on another server and it works fine, so it seems to only
be a coldfusion thing.

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 cfaussie@googlegroups.com
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: CF Error Submitting An Interactive PDF to CFML page

2009-09-10 Thread BarryC

Maybe there are some characters in the string you are sending it that
it doesn't like.
Have you tried setting up a simple PDF form with a single field that
posts to a page?

are you able to see what the query string is that is actually being
processed given that it stops at the function parseQueryString()?

those 500 illegal argument errors are a bit tricky to work out :)

Barry.

On Sep 10, 7:29 pm,  wrote:
> Hi,
>
> I have tried that using [the cfm page].cfm?update=y
>
> Yet it still generates a 500 java etc etc error message
>
> Thanks for your reply and assistance thus far
>
> Regards
>
> Claude Raiola
> B.Econ (Acc), B.Hot.Mngt.
>
> Websites:
>
>  www.SAMARIS.NET
>
> Mobile: 0414 228 948
>
> From: cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] On Behalf
> Of Mark Mandel
> Sent: Thursday, 10 September 2009 5:22 PM
> To: cfaussie@googlegroups.com
> Subject: [cfaussie] Re: CF Error Submitting An Interactive PDF to CFML page
>
> What is the URL that is the action to the form?
>
> It looks like it's throwing a wobbly because the Query String is null. You
> may want to try just putting a '?' on the end of your Action URL.
>
> Mark
>
> On Thu, Sep 10, 2009 at 5:04 PM,  wrote:
>
> Hi,
>
> I have created a interactive pdf form using adobe livecycle.
>
> Using CFPDFFORM i am have been able to successfully populate the pdf form
> fields with content form my sql database
>
> I have placed a submit button on the firm which points to the same page of
> code that generates the form itself in order t be able to update
> the database with content entered into the interactive form.
>
> when i click the submit button it attempts to open the page yet generates
> the following error message.
>
> If anyone could shed some light one what may be the problem I would
> appreciate it
>
> ***
> 500 ROOT CAUSE:
> java.lang.IllegalArgumentException
> at coldfusion.filter.FormScope.parseQueryString(FormScope.java:355)
> at coldfusion.filter.FormScope.parsePostData(FormScope.java:327)
> at coldfusion.filter.FormScope.fillForm(FormScope.java:277)
> at
> coldfusion.filter.FusionContext.SymTab_initForRequest(FusionContext.java:437
> )
> at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:33)
> at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
> at
> coldfusion.filter.RequestThrottleFilter.invoke(RequestThrottleFilter.java:12
> 6)
> at coldfusion.CfmServlet.service(CfmServlet.java:175)
> at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
> at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)
> at
> coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletF
> ilter.java:42)
> at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
> at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
> at jrun.servlet.FilterChain.service(FilterChain.java:101)
> at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
> at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
> at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286)
> at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
> at
> jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)
> at
> jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:
> 320)
> at
> jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428
> )
> at
> jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:26
> 6)
> at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
>
> javax.servlet.ServletException: ROOT CAUSE:
> java.lang.IllegalArgumentException
> at coldfusion.filter.FormScope.parseQueryString(FormScope.java:355)
> at coldfusion.filter.FormScope.parsePostData(FormScope.java:327)
> at coldfusion.filter.FormScope.fillForm(FormScope.java:277)
> at
> coldfusion.filter.FusionContext.SymTab_initForRequest(FusionContext.java:437
> )
> at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:33)
> at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
> at
> coldfusion.filter.RequestThrottleFilter.invoke(RequestThrottleFilter.java:12
> 6)
> at coldfusion.CfmServlet.service(CfmServlet.java:175)
> at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
> at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)
> at
> coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletF
> ilter.java:42)
> at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
> at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
> at jrun.servlet.FilterChain.service(FilterChain.java:101)
> at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
> at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
> at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286)
> at jrun.servlet.ServletEngineService.dispatch(ServletEngineSer

[cfaussie] Coldfusion and JRun server loads

2009-09-22 Thread BarryC

Hi, I'm not sure what most people have as a Coldfusion configuration,
but we run Coldfusion on windows servers using JRun4, we use IIS as
the web server and Jrun4 is set up as a connector.

I'm currently load testing and trying different values for the maximum
simultaneous threads, thread pool size, backlog size and timeouts.
I'm wondering if anyone here has had experience configuring these
values or knows enough about them to share some advice on them.

Here are some values I have at the moment (these aren't the same as
what we are using in our production environment).

activeHandlerThreads 60
backlog 500
maxHandlerThreads 500
minHandlerThreads 1
timeout 60
threadwaittimeout 60

What I'm trying to do is get a good balance for normal server use, and
also have the server not get bogged down and fall over if it gets
flooded with too many requests at one time (we do have a proxy server
in front preventing DOS attacks etc, but of course it doesn't prevent
legitimate cases of high usage)

I've seen around the net that Linux recommends about 200 to 400ish
maxHandlerThreads but windows servers can have 1000 to 3000 (which
seems odd, because I'm not convinced that windows could schedule that
many threads)

Any ideas / thoughts?

Regards
Barry Chesterman
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: cfthread - can I see if a thread is still running

2009-11-01 Thread BarryC

You could just store a value in a persistent scope such as the
application scope.
When your ZIP thread completes, have it write a value to the
application scope (such as a date/time stamp).
The FTP thread can just check that value is set, if it is, then it
knows the ZIP thread has completed.

Barry.

On Nov 2, 11:03 am, Mark King  wrote:
> Hi.
>
> I am writing a simple backup process using some "set and forget" style
> threads. One thread makes ZIPs and the other thread sends them
> elsewhere via FTP.
>
> I currently have these running as scheduled tasks, one on Sunday and
> the other on Monday. I am thinking of changing this so the FTP thread
> runs hourly, but checks the file sizes and last modified dates before
> sending the files, but I would also like the check if the thread that
> ZIPs the files up has completed, or is queued to be run.
>
> Is this possible? Can I check for the existence of a thread by name?
>
> I am using CF8 Standard.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Persistent Scopes and Memory

2009-11-04 Thread BarryC

Hi,

I have a quick question.
Does data in the application and server scopes get stored in the
"tenured" generation memory, or the "permanent" generation memory?

There seems to be conflicting statements all over the net about this,
and I was wondering if anyone could clarify it.

Adobe's website says this:
Tenured generation--This pool holds objects that live for a longer
duration. In ColdFusion this space holds objects like Client and
Session scope variables.
Permanent generation This pool holds persistent objects. In ColdFusion
this space holds permanent objects like Application and Server scope
variables.
(from 
http://www.adobe.com/devnet/coldfusion/articles/coldfusion_performance_02.html)


That statement goes against many which say the "permanent" generation
only stores class information or 'reflective' information

Thanks
Barry
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: OT : HTML page load tool

2009-11-10 Thread BarryC
As Gavin mentioned, firebug should do what you need.

Look in the 'Net' tab and it will give you a 'waterfall' view of all
the elements loading in the page and will tell you what bits take the
longest.
http://getfirebug.com/

Barry

On Nov 11, 5:32 pm, "Brett Payne-Rhodes"  wrote:
> For FireFox there is an extension called "ySlow" that might be be useful to 
> you.
>
> https://addons.mozilla.org/en-US/firefox/addon/5369
>
> Brett
> B)
>
>
>
> Steve Onnis wrote:
> > I am wondering if anyone can recommend a tool that i can run in
> > conjunction with either FireFox or IE that will tell me all of the
> > elements on the page and if the element has loaded yet. I am having a
> > bit of a bottleneck and i need to be able to see what is causing the
> > page load to stall.
>
> > Steve
>
> > --
>
> > 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.
> > For more options, visit this group at
> >http://groups.google.com/group/cfaussie?hl=.
>
> --
> Brett Payne-Rhodes
> Eaglehawk Computing
> t: +61 (0)8 9371-0471
> m: +61 (0)414 371 047
> e: br...@ehc.net.au
> w:http://www.yoursite.net.au

--

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.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=.




[cfaussie] Re: Problems with webservice

2009-11-15 Thread BarryC
Care to post the actual web service function you are actually calling?
Normally that error means that the function you are calling does not
have its 'access' set to "remote" (in the case of coldfusion anyway),
or that function does not have those parameters available that you
passed to it.

Barry.

On Nov 11, 5:28 am, João Paulo  wrote:
> hi,
>
> i´ve never used coldfusion to consume a webservice. Using the sintax
> that a I found on Adobe, I wrote this code. Now, I got thi error every
> time a run the code: "Web service operation "execute" with parameters
> {password={100327},username={10032718713},} could not be found."
>
> Can anyone help me?
>
> --
> JP
>
> My code:
>
>  "http://websga.dirad.fiocruz.br/rh/servlet/org.fiocruz.direh.arhws001?
> wsdl">
> 
> 
> 
> 
> 
>
> 
>
> 
>
>    webservice  = "#ws_url#"
>   method      = "#my_method#"
>   username    = "#login#"
>   password    = "#pwd#"
>   returnVariable = "my_result"
>
>        
>        
> 
>
> 

--

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.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=.




[cfaussie] Calculate variable size in bytes

2009-11-17 Thread BarryC
Hi,

Does anybody know if there is a way in coldfusion (or the underlying
java language) to calculate the size of a variable in bytes?

I want to calculate the size of a struct in bytes, but I cannot find a
way to calculate it and there doesn't look to be any function that
does it?

Thanks :)

Barry

--

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.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=.




[cfaussie] Re: Persistent Scopes and Memory

2009-11-17 Thread BarryC
Just in case anyone is interested,

Today I did a test to answer my original question; "Does data in the
application and server scopes get stored in the
"tenured" generation memory, or the "permanent" generation memory?"

I found that Application, Session and Server scopes all stored their
'data' in the "Tenured" generation space. The "permanent" generation
is in fact used just for information about the data, 'classes' etc.
Our site is in fact very large (university website) with lots of
different classes, and our "permanent" generation was only using about
50 meg of the 250 meg allocated for it.

Note that we run JRun4 with the Sun 1.4.2 JVM and Coldfusion 7.

Barry

On Nov 11, 5:14 pm, Pat Branley  wrote:
> Hi Guys
>
> I was having a JVM problem with an app that was partially (MG/Reactor/
> ColdSpring) and paritally old-school CF this last week and did 3
> things
>
> 1. update to the latest JVM - JVM 1.6 update 
> 16http://corfield.org/blog/index.cfm/do/blog.entry/entry/Java_6_and_Col...
>
> 2. set the garbage collection to run every 10 
> minuteshttp://www.cfwhisperer.com/post.cfm/sun-jvm-1-6-heap-memory-behavior-...http://www.webapper.com/blog/index.php/2006/06/08/20060606021131/
>
> 3. Update to CF 8.0.1 updater 
> 3http://fusiongrokker.com/archives/category/coldfusion-8
>
> The first 2 seemed to stop the 'out of memory' errors every night, but
> no. 3 made the server actually run at a lower memory usage.
>
> Seems like there needs to be a special fullasagoog/mxna category for
> ColdFusion/JVM 'stuff'.
>
> Pat
>
> ps. while i could have used it last week, looking fwd to Cfobjective
> talk on JVM tuning this week!
>
> On Nov 8, 3:00 pm, Barry Beattie  wrote:
>
> > @Steve
>
> > catch up with this guy
>
> >http://cfobjective.com.au/index.cfm?objectID=27C7E0B3-1AA0-353A-5AF4E...
>
> > he'll be in your neighborhood
>
> >http://cfobjective.com.au/index.cfm?objectID=27CD659B-1AA0-353A-5ABF2...
>
> > my 2c
>
> > On Sun, Nov 8, 2009 at 12:44 PM, Steve Onnis  wrote:
> > > yep. put them all in, restarted the server and it wouldnt start
> > > 
> > > From: Mark Ireland [mailto:markinc...@hotmail.com]
> > > Sent: Sunday, 8 November 2009 12:43 PM
> > > To: cfaussie@googlegroups.com
> > > Subject: [cfaussie] Re: Persistent Scopes and Memory
>
> > > You tried everything he suggested, all at once?
>
> > > 
> > > From: st...@cfcentral.com.au
> > > To: cfaussie@googlegroups.com
> > > Subject: [cfaussie] Re: Persistent Scopes and Memory
> > > Date: Sun, 8 Nov 2009 05:17:12 +1100
>
> > > I tried this on my CF8.01 64 Bit server and the server wouldn't 
> > > restart..had
> > > to roll it back
> > > 
> > > From: Kevin Pepperman [mailto:chorno...@gmail.com]
> > > Sent: Saturday, 7 November 2009 11:21 AM
> > > To: cfaussie@googlegroups.com
> > > Subject: [cfaussie] Re: Persistent Scopes and Memory
>
> > > I believe he is referring to:
>
> > >  standard garbage collector can't collect in the permanent generation
>
> > >http://www.shadocms.com/shadozoom/company/blog/2009/jvm-perm-out-of-m...
> > > Adding the info in this post to our jvm config solved our perm gen memory
> > > issues.
>
> > >  CF is doing 'small' garbage collection and 'large' garbage collection.
>
> > > /K
> > > 
> > > 
> > > Head to the Daily Blob on Windows Live For more of what happens online

--

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.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=.




[cfaussie] Re: Calculate variable size in bytes

2009-11-17 Thread BarryC
for tracking down a memory issue.

I have a suspicion that we are actually storing too much information
in our application scope, so I want to be able to run a script to spit
out the current size of the application scope, and possibly parts
within the application scope.

Barry

On Nov 18, 3:17 pm, Mark Mandel  wrote:
> Do you need to be calculating at run time? Or is this for tracking down a
> memory issue?
>
> Mark
>
> On Wed, Nov 18, 2009 at 1:16 PM, Barry Chesterman 
>
>
> > wrote:
> > 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 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 what the overhead of that agent will be.
>
> >>> Mark
>
> >>> On Wed, Nov 18, 2009 at 11:38 AM, BarryC wrote:
>
> >>>> Hi,
>
> >>>> Does anybody know if there is a way in coldfusion (or the underlying
> >>>> java language) to calculate the size of a variable in bytes?
>
> >>>> I want to calculate the size of a struct in bytes, but I cannot find a
> >>>> way to calculate it and there doesn't look to be any function that
> >>>> does it?
>
> >>>> Thanks :)
>
> >>>> Barry
>
> >>>> --
>
> >>>> 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.
> >>>> For more options, visit this group at
> >>>>http://groups.google.com/group/cfaussie?hl=.
>
> >>> --
> >>> E: mark.man...@gmail.com
> >>> T:http://www.twitter.com/neurotic
> >>> W:www.compoundtheory.com
>
> >>>  --
> >>> 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.
> >>> For more options, visit this group at
> >>>http://groups.google.com/group/cfaussie?hl=.
>
> >  --
> > 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.
> > For more options, visit this group at
> >http://groups.google.com/group/cfaussie?hl=.
>
> --
> E: mark.man...@gmail.com
> T:http://www.twitter.com/neurotic
> W:www.compoundtheory.com

--

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.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=.




[cfaussie] Re: Calculate variable size in bytes

2009-11-17 Thread BarryC
oh, so that actually lets you see scopes like server, session,
application to see what overall size they have, and sizes of things
within them?
I was under the impression that you could only see the low level data
in memory.

If that's the case, then I'll give it a go :)

On Nov 18, 6:00 pm, Mark Mandel  wrote:
> I use Eclipse Memory Analyser for things like 
> that:http://wiki.eclipse.org/index.php/MemoryAnalyzer
>
> You could also look at visualVM as well.
>
> Mark
>
>
>
> On Wed, Nov 18, 2009 at 3:57 PM, BarryC  wrote:
> > for tracking down a memory issue.
>
> > I have a suspicion that we are actually storing too much information
> > in our application scope, so I want to be able to run a script to spit
> > out the current size of the application scope, and possibly parts
> > within the application scope.
>
> > Barry
>
> > On Nov 18, 3:17 pm, Mark Mandel  wrote:
> > > Do you need to be calculating at run time? Or is this for tracking down a
> > > memory issue?
>
> > > Mark
>
> > > On Wed, Nov 18, 2009 at 1:16 PM, Barry Chesterman <
> > barrychester...@gmail.com
>
> > > > wrote:
> > > > 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  > >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 what the overhead of that agent will be.
>
> > > >>> Mark
>
> > > >>> On Wed, Nov 18, 2009 at 11:38 AM, BarryC  > >wrote:
>
> > > >>>> Hi,
>
> > > >>>> Does anybody know if there is a way in coldfusion (or the underlying
> > > >>>> java language) to calculate the size of a variable in bytes?
>
> > > >>>> I want to calculate the size of a struct in bytes, but I cannot find
> > a
> > > >>>> way to calculate it and there doesn't look to be any function that
> > > >>>> does it?
>
> > > >>>> Thanks :)
>
> > > >>>> Barry
>
> > > >>>> --
>
> > > >>>> 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.
> > > >>>> For more options, visit this group at
> > > >>>>http://groups.google.com/group/cfaussie?hl=.
>
> > > >>> --
> > > >>> E: mark.man...@gmail.com
> > > >>> T:http://www.twitter.com/neurotic
> > > >>> W:www.compoundtheory.com
>
> > > >>>  --
> > > >>> 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.
> > > >>> For more options, visit this group at
> > > >>>http://groups.google.com/group/cfaussie?hl=.
>
> > > >  --
> > > > 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.
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/cfaussie?hl=.
>
> > > --
> > > E: mark.man...@gmail.com
> > > T:http://www.twitter.com/neurotic
> > > W:www.compoundtheory.com
>
> > --
>
> > 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.
> > For more options, visit this group at
> >http://groups.google.com/group/cfaussie?hl=.
>
> --
> E: mark.man...@gmail.com
> T:http://www.twitter.com/neurotic
> W:www.compoundtheory.com

--

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.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=.




[cfaussie] Re: Trying to consume .Net Webservice

2009-11-17 Thread BarryC
Is there any directory authentication going on such as .htaccess or
IIS NTLM authentication?
Can you paste a copy of the error you get when you request the web
service?

a .Net web service should be just like consuming any other web
service, as web services are supposed to be a standard protocol.

Barry

On Nov 18, 6:18 pm, Dawesi  wrote:
> I'm looking for someone who can help me connect to a .Net webservice
> from Dept Of Education... I'm about to look at the CFX_HTTP5 com
> object from the component store... before that I was wondering if
> there was anyone with experience with common errors when
> consuming .Net webservices.
>
> I can see the wsdl descriptor page in both my browser and with
> coldfusion however I can't post to the service without getting a
> connection error.
>
> any hints would be appreciated... webservice is password protected so
> I can't give it out here, but is test environment, so can make an
> exception for anyone who has had experience. I also have a test page
> you could drop on your server.
>
> Cheers,
> Chris Dawes
> 043 three 99 44 two zero

--

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.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=.




[cfaussie] Re: Weird Problem Element is Undefined problem

2009-11-25 Thread BarryC
Make sure you specify the scope (not sure if it will help, but it
might)
e.g. request.myStruct


On Nov 25, 8:00 pm, MrBuzzy  wrote:
> Hi Chong,
>
> I'd ckeck for null by using IsDefined and dot notation. While the key
> may exist, the value could be null.
>
> Something like;
>
> 
>
> 
>
> 
>
> Or cfscript eqivalent ;)
> Seems like overkill, but it might help reveal what's missing.
>
> On 11/25/09, Blair McKenzie  wrote:
>
>
>
> > Is it possible "x in y" is returning items that aren't technically struct
> > keys?
>
> > Blair
>
> > On Wed, Nov 25, 2009 at 5:05 PM, KC Kuok  wrote:
>
> >> Before i forget STRUCTVARIABLE = structCopy(Bigstruct.byExportKey
> >> [ExportID]) was without the structCopy before... did not make a
> >> difference...
>
> >> On Nov 25, 5:04 pm, KC Kuok  wrote:
> >> > The struct is copied from a struct of struct generated earlier in the
> >> > process, which parses an xml file...
> >> > Then it loops through the Struct of Structs to do the logic. I am
> >> > amazed that I can do a dump of the variable and the temp Struct on the
> >> > line right before, but yet it says it is undefined when it hits that
> >> > line...
>
> >> > Is it something to do with scoping in For loops in CFSCRIPT... this is
> >> > done in CF8 btw...
>
> >> > for (portalExportID in Bigstruct.byExportKey)
> >> > {
> >> > STRUCTVARIABLE = structCopy(Bigstruct.byExportKey[ExportID])
> >> > ...
> >> > ...
> >> > ThisValue = STRUCTVARIABLE.THISFOREIGNKEY;
> >> > ...
> >> > )
>
> >> > If its nothing obvious I will probably rewrite it bit by bit and see
> >> > what makes the difference...
>
> >> > On Nov 25, 4:45 pm, Mark Mandel  wrote:
>
> >> > > Where did the struct come from?
>
> >> > > Maybe it's a Java Map object?
>
> >> > > Mark
>
> >> > > On Wed, Nov 25, 2009 at 4:37 PM, KC Kuok  wrote:
> >> > > > When I try to get key value from a structure I get an error however
> >> if
> >> > > > I do a dump function, I can see the struct AND the variable which is
> >> > > > referred to similarly.
>
> >> > > > E.g.
> >> > > > ...
> >> > > > ThisValue = STRUCTVARIABLE.THISFOREIGNKEY;
> >> > > > ...
>
> >> > > > I get
>
> >> > > > Element THISFOREIGNKEY is undefined in STRUCTVARIABLE
>
> >> > > > However If I do a dump function, dodump(STRUCTVARIABLE) or even
> >> dodump
> >> > > > (STRUCTVARIABLE.THISFOREIGNKEY ) just before that line I can see the
> >> > > > entire structure or just the value respectively. I can't see what is
> >> > > > wrong, could this be a cfscript related bug ? Or am I missing
> >> > > > something real obvious ?
>
> >> > > > One of the things I thought maybe wrong is the scope, but even then
> >> it
> >> > > > does not seem that anything is wrong with it...
>
> >> > > > Dodump() is just a regular cffunction which passes the args to
> >> > > > cfdump
> >> > > > inside.
>
> >> > > > Any thoughts?
>
> >> > > > Thanks in advance!
> >> > > > Chong
>
> >> > > > --
>
> >> > > > 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 to
> >> > > > cfaussie+unsubscr...@googlegroups.com
> >> 
>
> >> > > > .
> >> > > > For more options, visit this group at
> >> > > >http://groups.google.com/group/cfaussie?hl=en.
>
> >> > > --
> >> > > E: mark.man...@gmail.com
> >> > > T:http://www.twitter.com/neurotic
> >> > > W:www.compoundtheory.com
>
> >> --
>
> >> 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 to
> >> cfaussie+unsubscr...@googlegroups.com
> >> .
> >> For more options, visit this group at
> >>http://groups.google.com/group/cfaussie?hl=en.
>
> > --
>
> > 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 to
> > cfaussie+unsubscr...@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/cfaussie?hl=en.
>
> --
> Sent from my mobile device

--

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 to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.




[cfaussie] Re: Session timeout errors.

2009-12-08 Thread BarryC
I'm not sure what web server software you are running on, but if it's
IIS, could it be the session time in that? (not that I've had any
issues with IIS session times)
Also, just on the off chance, you haven't put the timeout numbers in
the wrong boxes, or the wrong values in the session input boxes in the
coldfusion administrator have you? (just in case you haven't already
double checked)

On Dec 9, 2:03 pm, Gavin Baumanis  wrote:
> i Everyone,
>
> Just thought I would check if anyone had any ideas abut a problem we're 
> having.
>
> We have a CF7 application that has a session timeout of 1 hour.
> CF Admin has a session timeout of 4 hours and an application timeout of 2 
> days.
> It is standard install / non clustered.
>
> We have a check at the beginning of every template for a known session 
> variable - and if it is not there we throw a custom error message.
>
> The issue is, that a few of our customers have reported that they are getting 
> the session timeout custom error well inside the 1 hour (expected) limit.
> (some have said that it happens within 15 minutes)
>
> So I just thought I would check if anyone has any ideas on things we might 
> check?
> We have checked the CF logs and they seem unremarkable.
>
> Our clients do not use proxy servers or load balancers - so that would seem 
> to rule out non-session aware network appliances.
>
> As always, please contact me if I can be of any further assistance.
>
> Gavin "Beau" Baumanis
> Senior Application Developer
> PalCare P/L
>
> 657 Nicholson Street
> Carlton North
> Victoria, Australia, 3054
>
> E: b...@palcare.com.au
> P: +61 -3 9380 3513
> M: +61 -438 545 586
> W:http://www.palcare.com.au

--

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 to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.




[cfaussie] Coldfusion 7 with JVM 1.6 and Verity

2010-01-18 Thread BarryC
Hi,

I was wondering if anyone here has managed to get Verity search to run
without error using JVM 1.6 (or anything over 1.5) on Coldfusion 7.
It is not officially supported to work with JVM 1.6 but i'm wondering
if there is a work around.

For the most part verity is actually working, but you can't manage
collections from within coldfusion administrator (throws up an error).

Any help would be great, but I'm not actually expecting a solution for
this as it's probably fairly uncommon.

Regards
Barry
-- 
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 to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.




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

2010-01-24 Thread BarryC
There are many ways to go about finding what's going on in Coldfusion.
Elaborating on what Kai was mentioning about metrics/garbage
collection/memory..

Have you had a look in the logs from the JVM and ColdFusion to see if
there are any error messages that might be related?

The first thing you could do is turn on logging of long running
requests (somewhere in coldfusion administrator)
That might give you some clues as to what pages could be causing more
load / cpu usage.

Enable logging of metrics to see if you may have too many active
handler threads (concurrent running processes of requests), you may
need to configure some settings to optimise these values.

The second thing you could do is do some thread dumps (you can do this
either with a utility - there is one called StackTrace' or you can do
it manually from a command prompt after you manually start coldfusion)
Do several heap dumps every 10 seconds and see if there are common
functions or pages coming up in the thread dump (the things that need
more processing should come up more frequently in those logs).
Thread dumps are generally used if you find you are getting
bottlenecks in your application and you need to find what parts of
your app could be doing the bottlenecking. So if you aren't getting
long running pages then you may not need to do this.

If you think it's memory related (and if you are getting tight on
memory for your application, that will cause more 'Major' garbage
collection events using more CPU) then you can enable garbage
collection logging, a free analyzer tool called GCViewer
http://www.tagtraum.com/gcviewer.html lets you get a graphical view of
what's going on as a memory overview. If it looks like you have a
memory problem, then you can generate heap dumps and use something
like the Eclipse memory analyzer plugin (MAT) to view the heap dump
log.
Google will tell you how to generate heap dumps.

An awesome profiling tool that I found very useful was Oracle's
Jrockit Mission Control (used to be owned by BEA or something
arather). It's free for development and you can do profiling with that
and see pretty much everything that's going on in coldfusion.
You do have to update your config file to point to that though, and it
could be slightly dodgy running it in a production environment, it's
more something you use in a development environment.

There's a lot to learn when it comes to the under the hood performance
and memory stuff but it's quite interesting and very good to know as a
developer how all that stuff works.

Barry



On Jan 25, 4:20 pm, Andrew  wrote:
> Hi Folks,
>
> My hosting company has just informed me that the CF7 instance for a
> site I maintain is using about 65% CPU at the moment (on a Solaris
> machine).   The site uses quite a few frameworks - ModelGlue,
> ColdSpring, Transfer and Javaloader.
>
> We have recently attempted to move this to CF8 but aborted the attempt
> because it basically just ground the server to a halt.  So I think
> there is something more sinister going on here that I need to sort out
> before we attempt that again.
>
> However I'm a bit stuck with where to go from here.  The site has been
> going along quite nicely until recently.  Traffic has grown quite a
> lot in the last 1-2 years which I'm sure is not unrelated. Just to
> throw a few extra spanners into the works I *believe* this is a shared
> server but I have no information on what else is running on it and
> whether that could possibly be causing us problems.
>
> I know this is very very vague but I don't get a lot of info from our
> hosting provider except that we are using up too many resources.
> Perhaps we have just outgrown our current hardware, but I am not sure
> how to confirm this.  Any suggestions on what I could start looking at
> to track down the source of the issues would be hugely appreciated.
>
> Andrew.
>
> P.S.  I do have a development server which is identical except that it
> only has 2GB RAM as opposed to the 4GB in production.  Load testing on
> this is definitely an option - I have used JMeter in the past but not
> sure I have used it optimally.  Anyone got any suggestions on load/
> stress testing tools?

-- 
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 to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



[cfaussie] Coldfusion, Taking a thread dump when response times increase?

2010-02-01 Thread BarryC
Hi,

Does anyone know if there is a way to generate a thread dump
automatically when server response times increase? I know how to do
one manually, but that's no good if I'm not around when the response
times increase. Does FusionReactor do this by any chance?

Thanks
Barry

-- 
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 to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



[cfaussie] Re: Coldfusion, Taking a thread dump when response times increase?

2010-02-01 Thread BarryC
Awesome, thanks Charlie, I did not remember reading that (or I read it
in a rush) :).

Barry.

On Feb 2, 4:36 pm, "charlie arehart" 
wrote:
> Yes, Barry. That's what I was referring to late last week:
>
> "On the matter of FR's CP, let's clarify that there are two uses of the CP
> feature. The first is just to notify you when conditions exceed the limits
> you mention (like "a request taking more than x seconds", "more than x
> requests running at once", "less than x% memory available"). If you just
> have it notifying you by email, that can be very helpful. Indeed, I often
> recommend it. ... What I really like about the notifications (any of these
> create) is that they include additional detail like what requests are
> running at the time, how long, etc. and they include a thread dump: a list
> of all running requests and a stack trace of each, which helps you see down
> to the line of code what the request is doing. Again, once you've been shown
> how to understand those, it can be so valuable to solving problems. I'll be
> talking about how to get and analyze stack traces for CF requests (with both
> built-in and third-party tools) as my talk at cf.Objective() in April. Until
> then, a google search will turn up many discussions of how to get and use
> stack traces in CF."
>
> So yes, you can get thread dumps from FR on an automated basis. As you note,
> it's really vital for being able to solve problems when you're not there.
>
> And as I noted in that same message, what FR call's "Crash Protection", the
> CF 8/9 Monitor calls "Alerts", and it too can send you an email with the
> thread dump (in what it calls a "snapshot").
>
> /charlie
>
> > -Original Message-
> > From: cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] On
> > Behalf Of BarryC
> > Sent: Monday, February 01, 2010 7:16 PM
> > To: cfaussie
> > Subject: [cfaussie] Coldfusion, Taking a thread dump when response
> > times increase?
>
> > Hi,
>
> > Does anyone know if there is a way to generate a thread dump
> > automatically when server response times increase? I know how to do
> > one manually, but that's no good if I'm not around when the response
> > times increase. Does FusionReactor do this by any chance?
>
> > Thanks
> > Barry
>
> > --
> > 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 to
> > cfaussie+unsubscr...@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/cfaussie?hl=en.

-- 
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 to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



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

2010-02-01 Thread BarryC
If you're stumped for optimisation of a long running task, then having
a scheduled task is a great idea, but even when the scheduled task
runs, unless it's optimised it could still cause a performance hit.
An idea might be to put a 'thread wait ()' in your loop to allow other
things to run otherwise it will try and run the loop as quickly as
possible.
Coldfusion 8 has a built in tag for that, for Coldfusion 7 or earlier
you need to call the a java thread function which is straight forward
but you need to google to see how to do it.
Depending on your environment, any heavy tasks are always worth
shifting off your production environment onto a separate one (and push
the result to production). Not always feasible tho :)

Barry

On Feb 2, 4:26 pm, "charlie arehart" 
wrote:
> Andrew, does that "fair bit of nested cflooping" show a CFQUERY buried
> within that loop? Where it's taking data from the one query and using it to
> do another? If so, that's a classic case where perhaps a join would solve
> the problem. CFML developers often fall into a trap of having CF do work
> that the DB should be doing. If the code you're wrangling with is doing the
> above, it may be good value to evaluate the prospects of doing a join
> (whether a traditional inner one, or the less well known outer-which is
> another reason some drop to doing nested CFQUERYs if they don't understand
> it).
>
> Also, as for your comments on caching and batch execution, those are all
> worthy of consideration, sure, as long as you can manage it to be accurately
> based on potential underlying data, as you say you are considering. There
> are still other forms of caching, both built into CF and available
> programmatically based on external libraries, that may be worth considering
> if you don't solve the problem though optimization.
>
> /charlie
>
> From: cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] On Behalf
> Of Andrew Myers
> Sent: Monday, February 01, 2010 8:45 PM
> To: cfaussie@googlegroups.com
> Subject: Re: [cfaussie] Re: CF7 (and 8) High CPU usage on production box
>
> Update:
>
> This page generates a report from a query that itself takes about 29 seconds
> (and I am not sure I can do a lot to improve that without getting some
> cooperation from the guys who write the product I query out of, and that
> isn't likely to happen quickly).
>
> I've been caching the page with a "roll your own" custom tag.  The tag
> checks a timestamp on the database and forces a regeneration whenever it is
> necessary (it will change no more frequently than every 15 mins).  
>
> What appears to be burning up the CPU is a fair bit of nested "cfloop'ing"
> that's happening in the page.  FR reports a heavy ColdFusion hit on the CPU
> of my laptop when I run this page and nothing else at all is happening.  
>
> Some thoughts: I can try and generate these reports via a batch job and only
> make them available to the user once they're finalised.  This might stop
> requests queuing while the page generates?  The fact that it seems to chew
> CPU even when it's running in isolation seems to tell me it could be a waste
> of time though.
>
> Which leads me to the next thought - does CF loop just really suck?  I have
> replaced it with a cfoutput in one part that I can easily do so and it seems
> to have improved it slightly.  I may well end up having to do a complete
> rework I think.
>
> And that's assuming this is the only problem, and I doubt it is...

-- 
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 to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



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

2010-02-03 Thread BarryC
GCViewer as Kai mentioned is a good one, I have used that and it gives
you a good graphical view of when collections are happening.
http://www.tagtraum.com/gcviewer.html

Makes it really easy to see when major GC's are happening :)

It does have a real time view where you can watch it as it logs (but
i've found that a bit buggy) alternatively you can just load a log
file from several hours and just view that.

Barry

On Feb 4, 11:21 am, Kai Koenig  wrote:
> You have to log it on the JVM level or run a JVM monitoring tool. The memory 
> usage graph
> in FR is a good first indicator but depending on your JVM settings GC might 
> be so minimal
> that you won't be able to really tell what's going on. Without proper logging 
> you also won't
> be able to tell if it's been a Full GC or which Generation had triggered it.
>
> Add something like this to your JVM args:
>
> -verbose:gc -Xloggc:mylogfile.log -XX:+PrintGCDetails -XX:+PrintGCTimeStamps
>
> Note, there are a lot more attributes that control the logging, just depends 
> on what you
> want and need.
>
> Or look for tools like:
>
> VisualGC, GCViewer and a lot of others. They all basically help you with one 
> or the other
> aspect, gain depends on what you want.
>
> Cheers
> Kai
>
> On 4/02/2010, at 11:10 AM, Andrew Myers wrote:
>
>
>
> > Thanks Mark.
>
> > Is anyone able to please tell me how I can identify when garbage
> > collection is happening?
>
> > On 4 February 2010 07:59, Mark Mandel  wrote:
> >> Those are the threads in the thread pool waiting to be used.
>
> >> They aren't doing anything.
>
> >> Mark
>
> >> On Thu, Feb 4, 2010 at 12:05 AM, Andrew Myers  wrote:
>
> >>> Ummmme again :-)
>
> >>> I'm seeing about 20 of these in my thread dump.  Is anyone able to
> >>> tell me if they anything to be concerned about?
>
> >>> Thread Stack Trace
> >>> Trace Time:   23:35:12.743 03-Feb-2010
> >>> Thread ID:    obj-skimmer
> >>> Priority:     5
> >>> Hashcode:     22419531
>
> >>> "obj-skimmer" daemon prio=5 tid=0x00a5a0a0 nid=0x99 in Object.wait()
> >>> [0x9cb01000..0x9cb019c0]
> >>>        at java.lang.Object.wait(Native Method)
> >>>        - waiting on <0xbedddb30> (a
> >>> coldfusion.server.j2ee.pool.PoolSkimmerThread)
> >>>        at
> >>> coldfusion.server.j2ee.pool.PoolSkimmerThread.run(PoolSkimmerThread.java:47)
> >>>        - locked <0xbedddb30> (a
> >>> coldfusion.server.j2ee.pool.PoolSkimmerThread)
> >>>        at java.lang.Thread.run(Thread.java:534)
>
> >>> --
> >>> 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 to
> >>> cfaussie+unsubscr...@googlegroups.com.
> >>> For more options, visit this group at
> >>>http://groups.google.com/group/cfaussie?hl=en.
>
> >> --
> >> E: mark.man...@gmail.com
> >> T:http://www.twitter.com/neurotic
> >> W:www.compoundtheory.com
>
> >> Hands-on ColdFusion ORM Training @ cf.Objective() 2010
> >>www.ColdFusionOrmTraining.com/
>
> >> --
> >> 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 to
> >> cfaussie+unsubscr...@googlegroups.com.
> >> For more options, visit this group at
> >>http://groups.google.com/group/cfaussie?hl=en.
>
> > --
> > 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 to 
> > cfaussie+unsubscr...@googlegroups.com.
> > For more options, visit this group 
> > athttp://groups.google.com/group/cfaussie?hl=en.
>
> _
> Kai Koenig - Ventego Creative Ltd
> ph: +64 4 476 6781 - mob: +64 21 928 365 /  +61 450 132 117
> web:http://www.ventego-creative.co.nz
> blog:http://www.bloginblack.de
> twitter:http://www.twitter.com/agentK

-- 
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 to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



[cfaussie] FusionReactor vs built in Coldfusion 8 monitor

2010-02-08 Thread BarryC
Hi All

we are looking at getting FusionReactor, but will be upgrading from
Coldfusion 7 to Coldfusion 8  in several months.
How does FusionReactor compare to the Coldfusion 8 monitor tool built
in to the CF Administrator, does it provide much on top of the
Coldfusion 8 monitor, or is it worth just waiting till we upgrade to
Coldfusion 8?

Thanks
Barry.

-- 
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 to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



[cfaussie] Re: FusionReactor vs built in Coldfusion 8 monitor

2010-02-08 Thread BarryC
Thanks Carlie, useful info.

On Feb 9, 11:54 am, "charlie arehart" 
wrote:
> Barry, to be clear, just upgrading to CF8 won't get you the CF Server
> Monitor--you do need to be using the Enterprise (or Developer) edition.
>
> As for how they compare, no one has done a close analysis (that I know of).
> I will say that I use both, every day, often on the same server (both my own
> and those of others): yes, that means that I and others run FusionReactor on
> CF 8/9 Enterprise/Developer servers. It may seem redundant, but it's not.
>
> For instance, FR does tremendous logging. The CF Server Monitor does none.
> Sometimes, you need to see details of what was happening in the past (such
> as before a crash, or just hours/days/months ago), and having those FR logs
> can be vital. They track each request, each query (if such tracking is
> enabled for a DSN), as well as overall stats every 5 seconds (by default)
> which high-level counters like number of running/completed requests, number
> of running/completed queries, memory use, CPU (CF and system), and more.
>
> I am also surprised to find that both the memory graph in both the CF
> Monitor and SeeFusion show the top of the y axis as the amount of
> *allocated* memory, rather than the max memory (xmx). Of course, if mxs=xmx,
> then it's not an issue, but for those who do run xms those other monitors can lead one to think "memory is running out", when
> it's not.
>
> All that said, I'm a fan of all three monitoring tools. Each adds something
> that the other doesn't.  My focus here was more on your specific point,
> about whether a CF 8/9 Enterprise server would benefit from having FR as
> well. And again, for sure, if you're not going to be running Enterprise,
> then you will want to consider either FR or SF (or both). I actually run all
> three (on multiple servers) and have found there to be no negative impact
> from them, though I realize our inclination would be that any monitoring
> must cause some overhead.
>
> /charlie
>
> > -Original Message-
> > From: cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] On
> > Behalf Of BarryC
> > Sent: Monday, February 08, 2010 5:25 PM
> > To: cfaussie
> > Subject: [cfaussie] FusionReactor vs built in Coldfusion 8 monitor
>
> > Hi All
>
> > we are looking at getting FusionReactor, but will be upgrading from
> > Coldfusion 7 to Coldfusion 8  in several months.
> > How does FusionReactor compare to the Coldfusion 8 monitor tool built
> > in to the CF Administrator, does it provide much on top of the
> > Coldfusion 8 monitor, or is it worth just waiting till we upgrade to
> > Coldfusion 8?
>
> > Thanks
> > Barry.
>
> > --
> > 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 to
> > cfaussie+unsubscr...@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/cfaussie?hl=en.

-- 
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 to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



[cfaussie] Coldfusion7 to Coldfusion8, JVM config

2010-02-18 Thread BarryC
Hi,

We are migrating from Coldfusion7 to Coldfusion8 and I wondered if
anyone was up to date on the config parameters for the JVM for
Coldfusion 8 (JRE 1.6.X) and has some recommendations.

What by the way (if somebody knows) is
Dsun.io.useCanonCaches or
DJINTEGRA_NATIVE_MODE or
DJINTEGRA_PREFETCH_ENUMS
and are any of those three required for CF8?

The following is the config line we use for our Coldfusion7
environment (seperated for easy reading):
java.args=-server
-XX:+UseParallelGC
-Xmx1450m
-Xms1450m
-XX:PermSize=110m
-XX:MaxPermSize=110m
-XX:NewSize=256m
-XX:MaxNewSize=256m
-Dsun.io.useCanonCaches=false
-DJINTEGRA_NATIVE_MODE
-DJINTEGRA_PREFETCH_ENUMS -
Dcoldfusion.rootDir={application.home}/

The following is what we have for our Coldfusion8 environment:
java.args=
-Xmx1450m (heap size to be tested, not implemented yet)
-Xms1450m
-XX:PermSize=110m
-XX:MaxPermSize=110m
-XX:NewSize=256m
-XX:MaxNewSize=256m
-Dsun.io.useCanonCaches=false
-XX:MaxPermSize=192m
-XX:+UseParallelGC
-Dcoldfusion.rootDir={application.home}/

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 to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



[cfaussie] Re: Coldfusion7 to Coldfusion8, JVM config

2010-02-18 Thread BarryC
Thanks.

We are in the process of running it in a test environment :)

On Feb 19, 3:01 pm, Kai Koenig  wrote:
> Barry,
>
> I wouldn't get religious when it comes to JVM config for such a move.
>
> As the only thing you seem to have changed in the CF 7 JVM args are memory 
> sizes, I would for a start just go with those settings on CF 8 and see how 
> you go. Monitor the machine and it's memory, stats, CPU, logs, GC etc and 
> make changes as necessary. You have simulated the migration in the dev and 
> staging environments, right?
>
> Cheers
> Kai
>
>
>
> > Hi,
>
> > We are migrating from Coldfusion7 to Coldfusion8 and I wondered if
> > anyone was up to date on the config parameters for the JVM for
> > Coldfusion 8 (JRE 1.6.X) and has some recommendations.
>
> > What by the way (if somebody knows) is
> > Dsun.io.useCanonCaches or
> > DJINTEGRA_NATIVE_MODE or
> > DJINTEGRA_PREFETCH_ENUMS
> > and are any of those three required for CF8?
>
> > The following is the config line we use for our Coldfusion7
> > environment (seperated for easy reading):
> > java.args=-server
> > -XX:+UseParallelGC
> > -Xmx1450m
> > -Xms1450m
> > -XX:PermSize=110m
> > -XX:MaxPermSize=110m
> > -XX:NewSize=256m
> > -XX:MaxNewSize=256m
> > -Dsun.io.useCanonCaches=false
> > -DJINTEGRA_NATIVE_MODE
> > -DJINTEGRA_PREFETCH_ENUMS -
> > Dcoldfusion.rootDir={application.home}/
>
> > The following is what we have for our Coldfusion8 environment:
> > java.args=
> > -Xmx1450m (heap size to be tested, not implemented yet)
> > -Xms1450m
> > -XX:PermSize=110m
> > -XX:MaxPermSize=110m
> > -XX:NewSize=256m
> > -XX:MaxNewSize=256m
> > -Dsun.io.useCanonCaches=false
> > -XX:MaxPermSize=192m
> > -XX:+UseParallelGC
> > -Dcoldfusion.rootDir={application.home}/
>
> _
> Kai Koenig - Ventego Creative Ltd
> ph: +64 4 476 6781 - mob: +64 21 928 365 /  +61 450 132 117
> web:http://www.ventego-creative.co.nz
> blog:http://www.bloginblack.de
> twitter:http://www.twitter.com/agentK

-- 
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 to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



[cfaussie] Re: CFBuilder

2010-02-19 Thread BarryC
You can easily import projects into CF Builder (there is an import
option somewhere through the right mouse menu in the project/navigator
panel).

I've tried the CFBuilder plugin in Eclipse and in Flash Builder
(Eclipse also) In normal eclipse it didn't work at all (but I think
that was to do with my eclipse version). In the Flash Builder eclilpse
install it seemed slow and frequently hung for about 5 mins or so.
I ended up installing a standalone CFBuilder to see how that goes
instead but I've found I have to turn off all the auto building,
project refreshing and on the fly error checking.

I'm pretty sure you can add other eclipse plugins into CFBuilder
tho :)

Barry

On Feb 20, 12:33 pm, Andrew Myers  wrote:
> Hi,
>
> I finally downloaded the Beta of CF Builder yesterday.  A couple of quick
> questions.  Currently I have everything in CFEclipse.  Are these projects
> able to be easily imported?
>
> Also, I installed the standalone edition.  Can I add other Eclipse plugins
> to this?  In particular I need subclipse for svn support, and I'll probably
> want mxunit as well.
>
> Perhaps I should have installed CF Builder as an eclipse plugin itself
> instead?
>
> Andrew.

-- 
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 to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



[cfaussie] Coldfusion XML, adding an XML node from another XML document object

2010-03-03 Thread BarryC
Hi,

I've hunted around for a solution to this but haven't found a simple
or clean one (maybe there isn't one) but maybe someone here has some
suggestions.

I have two XML objects and I want to take an XML node from one and
insert it into the other

XML Object 1:


  
background
#FF
  


 
border-color
#00A0AF
  


I want to take the  node in XML Object 2 and add/insert it into
XML Object 1 so I end up with this result: