[cfaussie] Extending Application.cfc

2011-03-15 Thread Gavin Beau Baumanis
Let me start with;
This might sound a little weird.

We have extended Application.cfc which extends BaseApplication.cfc

I am pretty sure that I have discussed it before, but a search of the group 
hasn't turned up anything.


The reason for this post is - I am sure I did the extends for a real / valid 
reason - but can't for the life of me remember what for.
There is nothing in the Application.cfc but for the extends BaseApplication 
attribute.

So I thought I would ask for the normal use-cases that an Application.cfc gets 
extended - in the hope I might be able to recall why we did it in the first 
place.
(Of course I'll document on our internal Wiki - once I know!!)


As always - thanks!

-- 
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.



Re: [cfaussie] Extending Application.cfc

2011-03-15 Thread Gavin Beau Baumanis
Hi Kym,

Thanks.
Weirdly, we don't put anything into Application.cfc.
This is it;
cfcomponent name=Application extends=BaseApplication
/cfcomponent

And we have BaseApplication.cfc and Application.cfc in the same directory.
(with no other Application.cfc s anywhere in the application)

So it seems like a bit of a waste of time.

But I know we did it for some reason.
I just can't remember what it was!



On 16/03/2011, at 10:20 AM, Kym Kovan wrote:

 On 16/03/2011 09:57, Gavin Beau Baumanis wrote:
 
 So I thought I would ask for the normal use-cases that an Application.cfc 
 gets extended - in the hope I might be able to recall why we did it in the 
 first place.
 (Of course I'll document on our internal Wiki - once I know!!)
 
 A good example might be an admin area of a site that needs some extra 
 security bits on top of whatever functionality you have in App.cfc. You 
 extend the app cfc and drop your extra code in. In olden times you might have 
 used an include file for the common code.
 
 Of course you can also bump into the horrors of extending into different 
 folders and have to use proxies, etc but that is another story :-)
 
 
 -- 
 Yours,
 
 Kym Kovan
 mbcomms.net.au
 
 
 -- 
 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.

-- 
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.



Re: [cfaussie] Extending Application.cfc

2011-03-15 Thread Gavin Beau Baumanis
HI Mark / Kym,

I do realise that it is a bit of a stupid question / fishing exercise.
I genuinely can't recall why we did it. I have done a bit of a google search, 
hoping to find my original discussion - or perhaps the content that I worked 
from when doing the change...
But haven't found anything that springs to mind.

Something about mappings seems familiar - but since we're not extending 
BaseApplication.cfc anywhere else in the application - that seems odd...
The only thing I can think of is that we had an issue originally, that 
extending the Application.cfc fixed - but we later re-factored the code out of 
the requirement to need the extends behaviour.

*shrugs* - I really don't know.

Not to worry - and thanks to you both for your replies.

Gavin.



On 16/03/2011, at 10:34 AM, Mark Mandel wrote:

 You wanted to share common application settings across disparate directories 
 / web applications?
 
 Mark
 
 On Wed, Mar 16, 2011 at 10:27 AM, Gavin Beau Baumanis b...@palcare.com.au 
 wrote:
 Hi Kym,
 
 Thanks.
 Weirdly, we don't put anything into Application.cfc.
 This is it;
 cfcomponent name=Application extends=BaseApplication
 /cfcomponent
 
 And we have BaseApplication.cfc and Application.cfc in the same directory.
 (with no other Application.cfc s anywhere in the application)
 
 So it seems like a bit of a waste of time.
 
 But I know we did it for some reason.
 I just can't remember what it was!
 
 
 
 On 16/03/2011, at 10:20 AM, Kym Kovan wrote:
 
  On 16/03/2011 09:57, Gavin Beau Baumanis wrote:
 
  So I thought I would ask for the normal use-cases that an Application.cfc 
  gets extended - in the hope I might be able to recall why we did it in the 
  first place.
  (Of course I'll document on our internal Wiki - once I know!!)
 
  A good example might be an admin area of a site that needs some extra 
  security bits on top of whatever functionality you have in App.cfc. You 
  extend the app cfc and drop your extra code in. In olden times you might 
  have used an include file for the common code.
 
  Of course you can also bump into the horrors of extending into different 
  folders and have to use proxies, etc but that is another story :-)
 
 
  --
  Yours,
 
  Kym Kovan
  mbcomms.net.au
 
 
  --
  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.
 
 --
 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.
 
 
 
 
 -- 
 E: mark.man...@gmail.com
 T: http://www.twitter.com/neurotic
 W: www.compoundtheory.com
 
 cf.Objective(ANZ) - Nov 17, 18 - Melbourne Australia
 http://www.cfobjective.com.au
 
 Hands-on ColdFusion ORM Training
 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 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.

-- 
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.



Re: [cfaussie] Extending Application.cfc

2011-03-15 Thread Gavin Beau Baumanis
Oddly :
There are no comments.

But if you were to look at the rest of the code - there are comments everywhere.
I am actually a bit of a comments junkie...Possibly even too much.

Here's the cheat sheet  I sent when we had offshore developers helping us out.

• Comment all code,
• Include SVN keywords at the beginning of all documents,
• Include a fusedoc for all documents,
• Format SQL for increased readability,
• Test ALL changes locally,
• Test ALL changes on the Staging server,
• Comment all code,
• Follow at all times the Design Standards Document,
• Complete the PalCare Statement of Works Document,
• If ever in doubt, seek the advice of your development team members,
• Comment all code.

Pity I can't read my own instructions!



On 16/03/2011, at 10:37 AM, Kym Kovan wrote:

 On 16/03/2011 10:27, Gavin Beau Baumanis wrote:
 
 But I know we did it for some reason.
 I just can't remember what it was!
 
 At this point I could make a comment about comments, but I won't :-)
 
 
 -- 
 Yours,
 
 Kym Kovan
 mbcomms.net.au
 
 
 -- 
 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.

-- 
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] Melbourne CFUG.

2011-02-17 Thread Gavin Beau Baumanis
Hi All Melbourne CFUG members.

Sorry I was unable to attend last night, 
I had some sick children at home that required my attendance.

I hope everyone had a great night.

I'd like to volunteer for the next available presentation, too.

Stuff - I learnt the hard way! : A CFML developer's Lament.

It pretty much boils down to common-sense  / almost throw away comments / 
observations / tips that I have picked-up / learnt through trial and error.
But you know what they say: There isn't anything common about common-sense.



Gavin Beau Baumanis

-- 
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.



Re: [cfaussie] Re: CFUG Melbourne 17 Feb 2011

2011-02-15 Thread Gavin Beau Baumanis
Hi Peter,

Now that my bike has been repaired - I will be able to attend.
Our intern should also be there too - but he's not currently in at work to 
ask.


As always, please contact me if I can be of any futher assistance.

Gavin Beau Baumanis
Senior Application Developer
PalCare Pty. Ltd.

P: +61 -3 9380 3513
M: +61 -438 545 586
E: b...@palcare.com.au
W: http://palcare.com.au



On 16/02/2011, at 3:34 PM, Peter Robertson wrote:

 Thanks to Phil and Mr Buzzy for the heads up.
 
 Who else is coming?  Better let us know so we can order the pizza!
 
 Peter Robertson
 
 
 On Feb 9, 10:47 am, Peter Robertson peter.r.robert...@gmail.com
 wrote:
 Now that 2011 is upon us it’s time to start talking CFUG.  ...
 
 -- 
 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.

-- 
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.



Re: [cfaussie] The request has exceeded the allowable time limit Tag: CFLOOP

2011-02-02 Thread Gavin Beau Baumanis
HI Charlie,

Thanks for the reply, here and on your blog.

I have performed a search, there is not a single instance of cfsetting tag with 
respect to timeout.
(In some cases we have showdebugoutput used in the code.)

We only have a single instance of CF on our staging server and the request 
timeout is most certainly set to 1000 seconds (16 minutes)
The page most certainly timeouts after only 5 minutes.

There are no timeout settings that can be made within the DB server
We do not use the timeout attribute in any cfquery tags.
This particular process does not use ORM / ColdSpring etc. - it is cfml/html 
only for running a report.

Looks like we will rewrite the report from the ground-up and see how we go.
If it works (the new one) - we can then do a comparison between the two and 
hopefully nut-out what is wrong with the original.

Thanks to all.


Gavin Beau Baumanis



On 03/02/2011, at 11:08 AM, charlie arehart wrote:

 Additional to Mark’s observation, as for why it’s seeming to timeout on 
 CFLOOP, CF often shows the timeout occurring on a tag that *follows* that 
 which may have caused the request to run long (often, a cfquery or cfhttp, 
 etc.) So you often can’t use the tag shown to know wwere the timeout 
 occurred. I discuss that more (as well as some other surprising info on CF 
 timeouts) in an entry:
 
 http://www.carehart.org/blog/client/index.cfm/2010/10/15/Lies_damned_lies_and_CF_timeouts
 
 All that said, I hear you saying that the real confusion is that it’s timing 
 out *before* you think it should. Given that it’s happening on the CFLOOP 
 (and not a tag like CFQUERY or CFHTTP, which can have its own TIMEOUT 
 attribute), I would propose that you simply *have to* have something 
 controlling that timeout more broadly, and it’s either the CF Admin “timeout 
 requests” setting or a CFSETTING REQUESTTIMEOUT. 
 
 I saw you say later in the thread that you don’t use the latter. Well, you 
 may and not realize it. Of course, it could be set anywhere in the life of 
 the request before this code runs, so it could be an include, or in a CFC 
 called, or in the application.cfm./cfc or files they would call. Note that 
 the application.cfc offers an app-level controllable equivalent as 
 this.timeout (not this.requesttimeout).
 
 Given all that, I’d propose you could at least rule things out by searching 
 your codebase for any reference to requesttimeout (to find any use of 
 CFSETTING) and then search all application.cfcs for this.timeout.
 
 Finally, and assuming you find none (or would swear to it without checking), 
 going back to the Admin timeout setting, I realize you think it’s set larger, 
 but here’s a possibility: you may be looking at an Admin that is NOT the one 
 controlling the code you’re running. For instance, if you have multiple 
 instances, you may be inadvertently seeing the CF Admin for one instance, 
 while your code is running in another (with its own other Admin). I see it 
 more often than you may believe. :-) Again, worth ruling out.
 
 Hope that helps.
 
 /charlie
  
 From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf 
 Of Mark Mandel
 Sent: Tuesday, February 01, 2011 10:37 PM
 To: cfaussie@googlegroups.com
 Subject: Re: [cfaussie] The request has exceeded the allowable time limit 
 Tag: CFLOOP
  
 You page is exceeding the request time-out.
 
 The error is misleading, just because the Tag displayed just happens to be 
 wherever the code lands when the timeout occurs.
 
 You may want to increase the request timeout on that page, or drop some 
 cftimers in place, and work out what is taking so long, and attempt to 
 speed it up (or both!)
 
 Mark
 
 On Wed, Feb 2, 2011 at 2:34 PM, Gavin Beau Baumanis b...@palcare.com.au 
 wrote:
 Hi there everyone,
 
 We have an issue with some long running SQL in our application.
 
 The error is;
 The request has exceeded the allowable time limit Tag: CFLOOP
 
 The docs don't seem to indicate that the CFLOOP tag even has a timeout 
 attribute.
 
 
 The stack trace (below) seems to indicate that the request is timing out - 
 but the timeout set in the CFAdmin is 1000 seconds (16.66 minutes)
 and the error is being thrown before then.
 
 
 coldfusion.runtime.RequestTimedOutException: The request has exceeded the 
 allowable time limit Tag: CFLOOP at 
 coldfusion.runtime.CfJspPage.checkRequestTimeout(CfJspPage.java:2907) at 
 cfweeklypatientvisits_bereaved2ecfm309418466._factor43(/var/www-vhosts/palcare/teomanga/patient/weeklypatientvisits_bereaved.cfm:531)
  at 
 cfweeklypatientvisits_bereaved2ecfm309418466._factor64(/var/www-vhosts/palcare/teomanga/patient/weeklypatientvisits_bereaved.cfm:387)
  at 
 cfweeklypatientvisits_bereaved2ecfm309418466._factor66(/var/www-vhosts/palcare/teomanga/patient/weeklypatientvisits_bereaved.cfm:386)
  at 
 cfweeklypatientvisits_bereaved2ecfm309418466._factor67(/var/www-vhosts/palcare/teomanga/patient/weeklypatientvisits_bereaved.cfm:78

Re: [cfaussie] The request has exceeded the allowable time limit Tag: CFLOOP

2011-02-01 Thread Gavin Beau Baumanis
Hi Mark,

Thanks for the reply - as always I appreciate the help.

I just timed it and the error is being thrown at 8 (and a bit) minutes.
It is well within the 16 minutes request timeout setting of the CFAdmin.

So I don't see how that can be the case - and thus the looking for answers, 
elsewhere.


Gavin.




On 02/02/2011, at 2:37 PM, Mark Mandel wrote:

 You page is exceeding the request time-out.
 
 The error is misleading, just because the Tag displayed just happens to be 
 wherever the code lands when the timeout occurs.
 
 You may want to increase the request timeout on that page, or drop some 
 cftimers in place, and work out what is taking so long, and attempt to 
 speed it up (or both!)
 
 Mark
 
 On Wed, Feb 2, 2011 at 2:34 PM, Gavin Beau Baumanis b...@palcare.com.au 
 wrote:
 Hi there everyone,
 
 We have an issue with some long running SQL in our application.
 
 The error is;
 The request has exceeded the allowable time limit Tag: CFLOOP
 
 The docs don't seem to indicate that the CFLOOP tag even has a timeout 
 attribute.
 
 
 The stack trace (below) seems to indicate that the request is timing out - 
 but the timeout set in the CFAdmin is 1000 seconds (16.66 minutes)
 and the error is being thrown before then.
 
 
 coldfusion.runtime.RequestTimedOutException: The request has exceeded the 
 allowable time limit Tag: CFLOOP at 
 coldfusion.runtime.CfJspPage.checkRequestTimeout(CfJspPage.java:2907) at 
 cfweeklypatientvisits_bereaved2ecfm309418466._factor43(/var/www-vhosts/palcare/teomanga/patient/weeklypatientvisits_bereaved.cfm:531)
  at 
 cfweeklypatientvisits_bereaved2ecfm309418466._factor64(/var/www-vhosts/palcare/teomanga/patient/weeklypatientvisits_bereaved.cfm:387)
  at 
 cfweeklypatientvisits_bereaved2ecfm309418466._factor66(/var/www-vhosts/palcare/teomanga/patient/weeklypatientvisits_bereaved.cfm:386)
  at 
 cfweeklypatientvisits_bereaved2ecfm309418466._factor67(/var/www-vhosts/palcare/teomanga/patient/weeklypatientvisits_bereaved.cfm:78)
  at 
 cfweeklypatientvisits_bereaved2ecfm309418466._factor68(/var/www-vhosts/palcare/teomanga/patient/weeklypatientvisits_bereaved.cfm:3)
  at 
 cfweeklypatientvisits_bereaved2ecfm309418466.runPage(/var/www-vhosts/palcare/teomanga/patient/weeklypatientvisits_bereaved.cfm:1)
  at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:231) at 
 coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:416) at 
 coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65) at 
 coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:381) at 
 coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48) 
 at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40) at 
 coldfusion.filter.PathFilter.invoke(PathFilter.java:94) at 
 coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70) at 
 coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
  at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38) at 
 coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46) at 
 coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38) at 
 coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22) at 
 coldfusion.filter.CachingFilter.invoke(CachingFilter.java:62) at 
 coldfusion.CfmServlet.service(CfmServlet.java:200) at 
 coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89) at 
 jrun.servlet.FilterChain.doFilter(FilterChain.java:86) at 
 coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.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:266)
  at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
 
 
 I thought perhaps it might have been a query timeout.
 But we don't use the timeout attribute in any of our SQL.
 And we use PostgreSQL - and that DSN settings do not have a query timeout 
 setting in CFAdmin for the PostgreSQL driver / datasource.
 
 We are bit stuck with this  - So I thought I had better ask for some help.
 
 
 Gavin.
 
 --
 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

Re: [cfaussie] The request has exceeded the allowable time limit Tag: CFLOOP

2011-02-01 Thread Gavin Beau Baumanis
Hi again Mark,

The request timeout in CFAdmin is set to 1000.
We do not use CFSETTING anywhere - so the only timeout setting we have anywhere 
is in the CFAdmin interface


Gavin



On 02/02/2011, at 3:03 PM, Mark Mandel wrote:

 Do you have a request setting somewhere else? as a cfsetting that may be 
 lower?
 
 Is your request timeout 960 seconds? (Rather than 480) - stupid question, but 
 figured I would ask.
 
 Mark
 
 
 
 On Wed, Feb 2, 2011 at 2:56 PM, Gavin Beau Baumanis b...@palcare.com.au 
 wrote:
 Hi Mark,
 
 Thanks for the reply - as always I appreciate the help.
 
 I just timed it and the error is being thrown at 8 (and a bit) minutes.
 It is well within the 16 minutes request timeout setting of the CFAdmin.
 
 So I don't see how that can be the case - and thus the looking for answers, 
 elsewhere.
 
 
 Gavin.
 
 
 
 
 On 02/02/2011, at 2:37 PM, Mark Mandel wrote:
 
 You page is exceeding the request time-out.
 
 The error is misleading, just because the Tag displayed just happens to be 
 wherever the code lands when the timeout occurs.
 
 You may want to increase the request timeout on that page, or drop some 
 cftimers in place, and work out what is taking so long, and attempt to 
 speed it up (or both!)
 
 Mark
 
 On Wed, Feb 2, 2011 at 2:34 PM, Gavin Beau Baumanis b...@palcare.com.au 
 wrote:
 Hi there everyone,
 
 We have an issue with some long running SQL in our application.
 
 The error is;
 The request has exceeded the allowable time limit Tag: CFLOOP
 
 The docs don't seem to indicate that the CFLOOP tag even has a timeout 
 attribute.
 
 
 The stack trace (below) seems to indicate that the request is timing out - 
 but the timeout set in the CFAdmin is 1000 seconds (16.66 minutes)
 and the error is being thrown before then.
 
 
 coldfusion.runtime.RequestTimedOutException: The request has exceeded the 
 allowable time limit Tag: CFLOOP at 
 coldfusion.runtime.CfJspPage.checkRequestTimeout(CfJspPage.java:2907) at 
 cfweeklypatientvisits_bereaved2ecfm309418466._factor43(/var/www-vhosts/palcare/teomanga/patient/weeklypatientvisits_bereaved.cfm:531)
  at 
 cfweeklypatientvisits_bereaved2ecfm309418466._factor64(/var/www-vhosts/palcare/teomanga/patient/weeklypatientvisits_bereaved.cfm:387)
  at 
 cfweeklypatientvisits_bereaved2ecfm309418466._factor66(/var/www-vhosts/palcare/teomanga/patient/weeklypatientvisits_bereaved.cfm:386)
  at 
 cfweeklypatientvisits_bereaved2ecfm309418466._factor67(/var/www-vhosts/palcare/teomanga/patient/weeklypatientvisits_bereaved.cfm:78)
  at 
 cfweeklypatientvisits_bereaved2ecfm309418466._factor68(/var/www-vhosts/palcare/teomanga/patient/weeklypatientvisits_bereaved.cfm:3)
  at 
 cfweeklypatientvisits_bereaved2ecfm309418466.runPage(/var/www-vhosts/palcare/teomanga/patient/weeklypatientvisits_bereaved.cfm:1)
  at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:231) at 
 coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:416) at 
 coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65) at 
 coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:381) at 
 coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48) 
 at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40) at 
 coldfusion.filter.PathFilter.invoke(PathFilter.java:94) at 
 coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70) at 
 coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
  at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38) at 
 coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46) at 
 coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38) at 
 coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22) at 
 coldfusion.filter.CachingFilter.invoke(CachingFilter.java:62) at 
 coldfusion.CfmServlet.service(CfmServlet.java:200) at 
 coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89) at 
 jrun.servlet.FilterChain.doFilter(FilterChain.java:86) at 
 coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.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:266)
  at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
 
 
 I

Re: [cfaussie] The request has exceeded the allowable time limit Tag: CFLOOP

2011-02-01 Thread Gavin Beau Baumanis
Hi Steve, 
I assume that is in IIS  / web server setting - since I can't find it in the 
CFAdmin interface anywhere?

And if so would I not be getting a HTTP error and not a CFML generated one?



On 02/02/2011, at 3:44 PM, Steve Onnis wrote:

 Maybe there is the “Stop Long Running Scripts” setting that is killing it 
 before it finishes?
 
  
 
 From: Gavin Beau Baumanis [mailto:b...@palcare.com.au] 
 Sent: Wednesday, 2 February 2011 3:40 PM
 To: cfaussie@googlegroups.com
 Subject: Re: [cfaussie] The request has exceeded the allowable time limit 
 Tag: CFLOOP
 
  
 
 Hi again Mark,
 
  
 
 The request timeout in CFAdmin is set to 1000.
 
 We do not use CFSETTING anywhere - so the only timeout setting we have 
 anywhere is in the CFAdmin interface
 
  
 
  
 
 Gavin
 
  
 
  
 
  
 
 On 02/02/2011, at 3:03 PM, Mark Mandel wrote:
 
 
 
 
 Do you have a request setting somewhere else? as a cfsetting that may be 
 lower?
 
 Is your request timeout 960 seconds? (Rather than 480) - stupid question, but 
 figured I would ask.
 
 Mark
 
 
 
 On Wed, Feb 2, 2011 at 2:56 PM, Gavin Beau Baumanis b...@palcare.com.au 
 wrote:
 
 Hi Mark,
 
  
 
 Thanks for the reply - as always I appreciate the help.
 
  
 
 I just timed it and the error is being thrown at 8 (and a bit) minutes.
 
 It is well within the 16 minutes request timeout setting of the CFAdmin.
 
  
 
 So I don't see how that can be the case - and thus the looking for answers, 
 elsewhere.
 
  
 
  
 
 Gavin.
 
  
 
  
 
  
 
  
 
 On 02/02/2011, at 2:37 PM, Mark Mandel wrote:
 
  
 
 You page is exceeding the request time-out.
 
 The error is misleading, just because the Tag displayed just happens to be 
 wherever the code lands when the timeout occurs.
 
 You may want to increase the request timeout on that page, or drop some 
 cftimers in place, and work out what is taking so long, and attempt to 
 speed it up (or both!)
 
 Mark
 
 On Wed, Feb 2, 2011 at 2:34 PM, Gavin Beau Baumanis b...@palcare.com.au 
 wrote:
 
 Hi there everyone,
 
 We have an issue with some long running SQL in our application.
 
 The error is;
 The request has exceeded the allowable time limit Tag: CFLOOP
 
 The docs don't seem to indicate that the CFLOOP tag even has a timeout 
 attribute.
 
 
 The stack trace (below) seems to indicate that the request is timing out - 
 but the timeout set in the CFAdmin is 1000 seconds (16.66 minutes)
 and the error is being thrown before then.
 
 
 coldfusion.runtime.RequestTimedOutException: The request has exceeded the 
 allowable time limit Tag: CFLOOP at 
 coldfusion.runtime.CfJspPage.checkRequestTimeout(CfJspPage.java:2907) at 
 cfweeklypatientvisits_bereaved2ecfm309418466._factor43(/var/www-vhosts/palcare/teomanga/patient/weeklypatientvisits_bereaved.cfm:531)
  at 
 cfweeklypatientvisits_bereaved2ecfm309418466._factor64(/var/www-vhosts/palcare/teomanga/patient/weeklypatientvisits_bereaved.cfm:387)
  at 
 cfweeklypatientvisits_bereaved2ecfm309418466._factor66(/var/www-vhosts/palcare/teomanga/patient/weeklypatientvisits_bereaved.cfm:386)
  at 
 cfweeklypatientvisits_bereaved2ecfm309418466._factor67(/var/www-vhosts/palcare/teomanga/patient/weeklypatientvisits_bereaved.cfm:78)
  at 
 cfweeklypatientvisits_bereaved2ecfm309418466._factor68(/var/www-vhosts/palcare/teomanga/patient/weeklypatientvisits_bereaved.cfm:3)
  at 
 cfweeklypatientvisits_bereaved2ecfm309418466.runPage(/var/www-vhosts/palcare/teomanga/patient/weeklypatientvisits_bereaved.cfm:1)
  at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:231) at 
 coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:416) at 
 coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65) at 
 coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:381) at 
 coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48) 
 at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40) at 
 coldfusion.filter.PathFilter.invoke(PathFilter.java:94) at 
 coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70) at 
 coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
  at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38) at 
 coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46) at 
 coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38) at 
 coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22) at 
 coldfusion.filter.CachingFilter.invoke(CachingFilter.java:62) at 
 coldfusion.CfmServlet.service(CfmServlet.java:200) at 
 coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89) at 
 jrun.servlet.FilterChain.doFilter(FilterChain.java:86) at 
 coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.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

[cfaussie] OOP question.

2010-12-14 Thread Gavin Beau Baumanis
Hi Everyone,

I have an OOP question for those in the know.
We write a Patient Management System and have been steadily creating objects 
and CFCs for all new work.
The time has come to do something with our patients.

Normally I would have an object, and all relevantly related methods for that 
object would be housed within the same object.

The issue I have is - that just about everything relates to a patient in a 
behaviour / code sense.
I can easily see the patient object groing to some obscene length because of 
all the things you can do to a patient.

Eg you can admit a patient.
discharge a patient
re-admit a patient etc.

or illustrative purposes let's consider discharging a current patient.
There is a pre-defined set of steps that need to be done.
* Ensure that the user has an appropriate level of authorisation for THIS 
process.
** This is a method in a permissions sub-system that we have already created.
** Ensure THIS patient is valid to be discharged.
** you cannot discharge a patient that is already discharged
** you cannot discharge a referred patient that has not been admitted.

* Provide a form to collect the relevant data required for the discharge record.
** Some of this information is stored in a dischargeinformation table
** Some of this data is stored directly in the patient table - and would be a 
property of the yet-to-be-created patient CFC.

My question is;
Where does the business logic for this kind of thing go?
It's patient related so I figure it should go in the patient object.
But it's not completely operating on just the patent object.
the discharged information will not be part of the normal patient object .

I look forward to some insight  - and thanks as always!

Gavin Beau Baumanis

-- 
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.



Re: [cfaussie] OOP question.

2010-12-14 Thread Gavin Beau Baumanis
HI Mark / Chris,

Thanks for the reply.

I suppose my dilemma is that I can't really think of anything other than the 
patient that I can attribute this task too.
So in this grey area do I create a separate a separate object?
That seems the most sensible, but... I just thought I would check. Because I 
can see a few of these popping up in our application.
Whereby it's more of a process - as opposed to a task that any single object 
does.

* Sure a user performs this task - but it isn't about the user.
* It's actually for the patient that the discharge occurs, but as pointed out  
- if I continue down that path, I am going to have one massive patient object 
that needs to be created / destroyed all the time.

Putting it in a hospital / Hospice object is an interesting idea but you have;
* Patient Admissions
* Patient Discharges
* the Patient's Care teams
* the Patient's Physical locations

And pretty soon you're back to where you started wondering whether or not this 
should be in the patient object  - after all patient is the NOUN in all of 
those.

If I was doing a Fusebox application, I would have simply had a separate view 
file for the discharge and some specific files that just did the usiness 
rule / form processing for discharges.
This is what I am leaning towards. This is what makes the most sense to me. 
Just create purpose specific objects  patientDischarge, patientDeath, 
In IRC, Mark Mandel told me that I need to have a little more confidence  / 
faith in myself.

Which is fine in theory. I am however quite new to actually using OOP - as 
opposed to just knowing / reading  about it..
I'd just like to make sure that I don't develop a habit that isn't considered a 
good practice.


Gavin Beau Baumanis



On 14/12/2010, at 11:10 PM, Chris Velevitch wrote:

 I would not house all relevantly related methods for that object in it.
 
 Your example of patient admissions is a separate object and the
 business of patient admissions is the sole responsibility of that
 other object.
 
 If take your line of reasoning to it end, you'll end up including
 things like which ward(s), the bed(s) in the ward, their GP, attending
 physicians, attending nurses, surgeons who operated on them, vital
 signs, ordered tests, test results, x-rays, MRIs, sonograms, etc.
 
 Patients move through hospitals, hospitals don't move through
 patients. Besides, all this information can be found in their medical
 record and that's a separate set of objects which refers to the
 patient object.
 
 Keep your objects as simple as possible, but no simpler.
 
 
 Chris
 --
 Chris Velevitch
 Manager - Adobe Platform Users Group, Sydney
 m: 0415 469 095
 www.apugs.org.au
 
 Adobe Platform Users Group, Sydney
 Topic: Making Sense of Mobile
 Date: 29th November 6pm for 6:30 start
 Details and RSVP on
 http://apugs.groups.adobe.com/index.cfm?event=post.displaypostid=32492
 
 -- 
 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.



Re: [cfaussie] OOP question.

2010-12-14 Thread Gavin Beau Baumanis
Hi Mark,

I am in agreement.
The reason for my post is that I could see the patient object getting REALY big 
if I included things like this is in it.

As for the ORM, (despite the fact that I am using ORM)
I'm not sure how that has any effect here at all.
Surely the process of persistence is a discreet separate concern?


Gavin Beau Baumanis


On 15/12/2010, at 8:10 AM, Mark Ireland wrote:

 Chris has a point. The Patient.cfc need not be too large. You must decide if 
 you will invoke other CFCs or extend them.
 
 Extending is trickier but worth it if you get it right.
 
 Have you considered CF9s built in ORM?
 
  Date: Tue, 14 Dec 2010 23:10:57 +1100
  Subject: Re: [cfaussie] OOP question.
  From: chris.velevi...@gmail.com
  To: cfaussie@googlegroups.com
  
  I would not house all relevantly related methods for that object in it.
  
  Your example of patient admissions is a separate object and the
  business of patient admissions is the sole responsibility of that
  other object.
  
  If take your line of reasoning to it end, you'll end up including
  things like which ward(s), the bed(s) in the ward, their GP, attending
  physicians, attending nurses, surgeons who operated on them, vital
  signs, ordered tests, test results, x-rays, MRIs, sonograms, etc.
  
  Patients move through hospitals, hospitals don't move through
  patients. Besides, all this information can be found in their medical
  record and that's a separate set of objects which refers to the
  patient object.
  
  Keep your objects as simple as possible, but no simpler.
  
  
  Chris
  --
  Chris Velevitch
  Manager - Adobe Platform Users Group, Sydney
  m: 0415 469 095
  www.apugs.org.au
  
  Adobe Platform Users Group, Sydney
  Topic: Making Sense of Mobile
  Date: 29th November 6pm for 6:30 start
  Details and RSVP on
  http://apugs.groups.adobe.com/index.cfm?event=post.displaypostid=32492
  
  -- 
  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.

-- 
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.



Re: [cfaussie] Reminder RSVP Request: CFUG / MFUG Melbourne December 2010: Combined CF/Flex UG Xmas Dinner

2010-12-13 Thread Gavin Beau Baumanis
Hi Peter,

I should be coming.
I recently had a bike accident and am off-road until possibly after xmas, 
depending on parts availability.
It all depends on; if I can organise transport home from the train afterwards 
or not - living out in the sticks means no busses after 8 pm.
But I hope to be there.


Gavin.



On 14/12/2010, at 3:29 PM, Peter Robertson wrote:

 Hi CF and Flex folk in Melbourne (and any visitors in the area).
 
 Please see the post for this event below and make sure you RSVP either
 here or at http://melbcfug.groups.adobe.com/ so that we can ensure you
 place at the table.
 Do make the effort as we are drawing the software prizes, there will
 be swag and importantly, we'll be working out our priorities for next
 year.
 
 See you there!
 
 Date: Thursday 16 December 2010
 Time: 6:30 PM
 Location:
Toto's Pizza House
101 Lygon Street
Carlton, VIC, 3053
Booking in my name (Peter Robertson)
 
 RSVP:  Please reply to this post if you are planning to attend, we
 need to reserve sufficient places.
 
 Peter Robertson
 Co-Manager
 Melbourne CFUG
 
 Steve Onnis
 Manager
 Melbourne CFUG
 
 Dale Fraser
 Manager
 MFUG Melbourne
 
 
 -- 
 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.



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

2010-11-28 Thread Gavin Beau Baumanis
As for the client settings / DSN.

What is the recommendation then?
We have ours set to registry.

Though since we're on linux and we don;t have a registry - I am guessing it 
using some sort of text file but it is only a guess!


Gavin Beau Baumanis



On 29/11/2010, at 2:39 PM, charlie arehart wrote:

 Well, as far as having the limits because you’ve not needed to use it, I’m 
 proposing that now’s the time. :-) And after capturing that data, then look 
 in the JDBC logs (which are not enabled by default—again, controlled in the 
 jdbc settings page). It’s going to be a lot of data, but you can do all sorts 
 of things to analyze it, whether using Excel (or Open Office Calc) or the 
 free Microsoft Log Parser tool. There is a technote from Intergral on using 
 Excel to analyze the FR logs 
 (http://www.fusion-reactor.com/support/kb/FRS-161.cfm), and I have a page I 
 created with lots of info on analyzing them using LogParser 
 (http://groups.google.com/group/fusionreactor/web/log-parser-commands-for-fr-3).
 
 For instance, just getting a count of queries happening per minute can help 
 (you can also interpolate that from the resource log instead, since it has a 
 count of queries that finished every 5 seconds). But you could go further and 
 report things like how many times specific queries are running, etc.
 
 As for the DBA being “fairly certain” in his assertion, this is one of those 
 times where analysis of diagnostics should be trusted more than intuition. I 
 make a living help people find and correct such misconceptions. :-)
 
 As for the client var question, the first step is simply to look in the CF 
 Admin, on the Client variables page, to see if any DSNs are listed. Are you 
 able to do that, or are you perhaps not allowed to access the Admin? Just 
 can’t tell what you’re conveying in only being able to guess at things (it’s 
 your Monday workday for you guys, right, so I’m assuming it isn’t that you’re 
 not at work). :-)
 
 As always, just trying to help.
 
 /charlie
  
 From: cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] On Behalf 
 Of Barry Chesterman
 Sent: Sunday, November 28, 2010 8:25 PM
 To: cfaussie@googlegroups.com
 Subject: Re: [cfaussie] Re: Microsoft SQL server CPU very high, close to 100% 
 a lot of the time
  
 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 a problem. All of our datasources are indeed 
 wrapped.
 As far as I know, we don't have any DSN set to a client variable datasource.
 
  
 
 -- 
 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.



Re: [cfaussie] Does a service require Application.cfc/cfm

2010-11-24 Thread Gavin Beau Baumanis
Hi

From Robin's initial demonstration that he ddid at the Melbourne CFUG, I am 
pretty sure that you can indeed wrap an application and have it behave as a 
service.
But that's not what caught my eye about his framework.

We're cutting up our application into discreet separate services (in the 
classical sense) - Eg we have a login Service that authenticates and authorises 
users.
It can use either LDAP or a database query to perform the checking.

We're using Galaxy - because it's - control panel - for want of a better 
description.

It provides us with the ability to create multiple instances of the service, 
pause / kill / add instances of the service.
So in our login example - if we noticed that the single was copping a beating - 
then we could simply add in a new instance.
if one stalled - we could kill it off and the others would remain 
round-robining the login requests - without complete loss of service for the 
end users.

Keeping with the login service : I don't see a requirement for an 
Application.cfc - I see it purely as pass some parameters - get an object back.
But being new to services in general - I wasn't sure if there was something I 
might be missing - by not having a specific Application.cfc for the service - 
so I thought I better ask!



As always, please contact me if I can be of any futher assistance.

Gavin Beau Baumanis
Senior Application Developer
PalCare Pty. Ltd.

P: +61 -3 9380 3513
M: +61 -438 545 586
E: b...@palcare.com.au
W: http://palcare.com.au



On 25/11/2010, at 9:14 AM, MrBuzzy wrote:

 Hi Gav, to quote Sean 'it depends'. 
 
 I think it's reasonable to have an Application cfc/cfm, say for example to 
 enforce a security model, load a framework, etc. But it's totally possible to 
 develop one or more services that stand alone and don't need to depend on 
 anything like the application scope.
 
 Note: when you say service, I think of soap, rest, http, XML... 
 
 I think Robin could chime in here because service is a pretty broad term 
 and this might deserve a Galaxy specific answer. From the little I 
 understand, Galaxy seem to use the term service as a piece of code to wrap 
 and access an existing application (?). 
 
 Sent from my iPhone
 
 On 24/11/2010, at 3:33 PM, Gavin Beau Baumanis b...@palcare.com.au wrote:
 
 Hi Everyone,
 
 Most will be aware that (at my work) I'm currently altering our monolithic 
 application into several discreet services and that we're using Robin 
 Hilliard's (Rocketboots) open source Galaxy service, service.
 
 It's all progressing quite nicely - but I have an (almost) silly question.
 Does a service normally get created with Application.cfc / cfm?
 
 My initially thought is - it possibly depends on the service.
 But the more I think about it - the more I think that it doesn't require one 
 and possibly shouldn't have one at all.
 Afterall - (I would think) - that its the responsibility of the real / 
 calling application to worry about session state / request start / end 
 processes etc - and that the service should be as dumb as it can possibly 
 can be.
 
 But since I don't actually know the answer - thought it best to ask.
 
 
 
 
 As always, please contact me if I can be of any futher assistance.
 
 Gavin Beau Baumanis
 Senior Application Developer
 PalCare Pty. Ltd.
 
 P: +61 -3 9380 3513
 M: +61 -438 545 586
 E: b...@palcare.com.au
 W: http://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.
 
 
 -- 
 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] Does a service require Application.cfc/cfm

2010-11-23 Thread Gavin Beau Baumanis
Hi Everyone,

Most will be aware that (at my work) I'm currently altering our monolithic 
application into several discreet services and that we're using Robin 
Hilliard's (Rocketboots) open source Galaxy service, service.

It's all progressing quite nicely - but I have an (almost) silly question.
Does a service normally get created with Application.cfc / cfm?

My initially thought is - it possibly depends on the service.
But the more I think about it - the more I think that it doesn't require one 
and possibly shouldn't have one at all.
Afterall - (I would think) - that its the responsibility of the real / calling 
application to worry about session state / request start / end processes etc - 
and that the service should be as dumb as it can possibly can be.

But since I don't actually know the answer - thought it best to ask.




As always, please contact me if I can be of any futher assistance.

Gavin Beau Baumanis
Senior Application Developer
PalCare Pty. Ltd.

P: +61 -3 9380 3513
M: +61 -438 545 586
E: b...@palcare.com.au
W: http://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.



Re: [cfaussie] CFObjective

2010-11-14 Thread Gavin Beau Baumanis
But once you get there - feel free to strip off and do a nudey-run?
Hmmm the good old days, back in the navy are coming back to me :)

Gavin.



On 15/11/2010, at 11:10 AM, Kai Koenig wrote:

 I think it'd be appropriate to wear some sort of trousers, tshirt and 
 footwear. The general rule is: Wear enough to not get arrested on the way to 
 the venue :)
 
 K
 
 
 Hi,
 
 A slightly embarrassing question about cfO.anz this week.
 
 Is casual dress the norm at these kind of things.  Never been to one
 before so not sure. :-O
 
 Andy.
 
 -- 
 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.
 
 
 
 --
 Kai Koenig - Ventego Creative Ltd
 ph: +64 4 476 6781 - mob: +64 21 928 365 /  +61 435 263 414
 web: http://www.ventego-creative.co.nz
 blog: http://www.bloginblack.de
 twitter: http://www.twitter.com/agentK
 
 !!! New AU mobile number !!!
 --
 
 
 
 
 
 
 
 -- 
 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] Weird CFML syntax error.

2010-10-24 Thread Gavin Beau Baumanis
Hi Everyone,

I was recently in an area of our application that is seldom used and I got an 
error about misformed CFML.
I think it was something like a missing the closing cfif tag - anyway...


Here is the patch that corrected it - but my question is why?

Index: /trunk/nz/northhaven/admin/index.cfm
===
--- /trunk/nz/admin/index.cfm (revision 18514)
+++ /trunk/nz/admin/index.cfm (revision 18537)
@@ -15,1 +15,1 @@
-/cfif!--- end session checking --
+/cfif!--- end session checking ---

Not the opening comment is  HTML style - while the closing text is a CFML 
comment.

Surely a comment of !-- my comment --- would just be treated as a HTML 
comment?

I have tried to run some subsequent tests but I can't make the file error.
I have also reverted the change - and I still cannot get the file to error 
again.

It is really weird!



As always, please contact me if I can be of any futher assistance.

Gavin Beau Baumanis
Senior Application Developer
PalCare Pty. Ltd.

P: +61 -3 9380 3513
M: +61 -438 545 586
E: b...@palcare.com.au
W: http://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.



Re: [cfaussie] Weird CFML syntax error.

2010-10-24 Thread Gavin Beau Baumanis
Thanks Steve and Phil,

I am an idiot
For some reason I thought it was the other way around!
Must be time for some coffee!

I also worked why the revert did not re-throw the error too - I had not sent 
the change to the staging server must be one of those days!!!

Thanks for the replies...


Gavin.


On 25/10/2010, at 11:50 AM, Gavin Beau Baumanis wrote:

 Hi Everyone,
 
 I was recently in an area of our application that is seldom used and I got an 
 error about misformed CFML.
 I think it was something like a missing the closing cfif tag - anyway...
 
 
 Here is the patch that corrected it - but my question is why?
 
 Index: /trunk/nz/northhaven/admin/index.cfm
 ===
 --- /trunk/nz/admin/index.cfm (revision 18514)
 +++ /trunk/nz/admin/index.cfm (revision 18537)
 @@ -15,1 +15,1 @@
 -/cfif!--- end session checking --
 +/cfif!--- end session checking ---
 
 Not the opening comment is  HTML style - while the closing text is a CFML 
 comment.
 
 Surely a comment of !-- my comment --- would just be treated as a HTML 
 comment?
 
 I have tried to run some subsequent tests but I can't make the file error.
 I have also reverted the change - and I still cannot get the file to error 
 again.
 
 It is really weird!
 
 
 
 As always, please contact me if I can be of any futher assistance.
 
 Gavin Beau Baumanis
 Senior Application Developer
 PalCare Pty. Ltd.
 
 P: +61 -3 9380 3513
 M: +61 -438 545 586
 E: b...@palcare.com.au
 W: http://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.

-- 
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.



Re: [cfaussie] CFUG Melbourne October 2010: ColdFusion i/o

2010-10-21 Thread Gavin Beau Baumanis
Hi Steve (and everyone else),

Sorry I was a no-show.
I was stuck in emergency with my son who managed to attain a fracture through 
the growth plate of his wrist.
I was genuinely looking forward to the subject and am disappointed that I 
didn't manage to make it - but somehow telling me wife she was on her own to 
look after the other kids and go to the hospital on her own as well wasn't 
a position worth entertaining!

Hope to see you all at the next one.



As always, please contact me if I can be of any futher assistance.

Gavin Beau Baumanis
Senior Application Developer
PalCare Pty. Ltd.

P: +61 -3 9380 3513
M: +61 -438 545 586
E: b...@palcare.com.au
W: http://palcare.com.au



On 22/10/2010, at 12:13 PM, Steve Onnis wrote:

 I would like to thank the presenters for last nights meeting...very
 informative and special thanks to Robin for taking time out to come along
 and present. I was a shame however to have such a small turnout considering
 the presentations though.
 
 
 
 -Original Message-
 From: Peter Robertson [mailto:peter.r.robert...@gmail.com] 
 Sent: Tuesday, 19 October 2010 3:26 PM
 To: cfaussie
 Subject: [cfaussie] CFUG Melbourne October 2010: ColdFusion i/o
 
 This month, we're trying something a little different, with three
 presenters rather than the usual one.
 
 The topic is ColdFusion i/o, or Getting In and Out of ColdFusion,
 ie, communicating with other environments from the ColdFusion Server.
 
 I asked for speakers who could deliver 30 to 45 minutes on a
 technology  of their choice:
 
 
 Robin Hilliard
 
 Stop that Response! Getting Pushy with ColdFusion and Data Services.
 When the closing html tag of your HTTP response leaves the data centre
 you'd normally have no chance of reaching out from your server code to
 change the contents of the resulting page in the browser. But with a
 nifty, easy to use custom tag developed by RocketBoots... you can.
 
 Robin is Chief Technology Officer and founder of Rocket Boots.
 He is an experienced software architect, with a particular focus on
 Adobe's Flash platform.
 
 
 Steve Onnis
 
 Gateway services and connecting to the jabber IM XMPP gateway and
 connecting to an XMPP IM gateway through JAVA including logging in,
 sending messages and implementing long polling through AJAX
 
 Steve is manager or our Melbourne CFUG and long-time practitioner in
 the CF space.
 He provides web application development services and hosting through
 his Inevative and NovaHost companies.
 
 _
 
 Phil Haeusler
 Passing strongly typed data through remoting and webservices
 
 Phil is a long-time ColdFusion developer and administrator and has a
 deep understanding of how ColdFusion does what it does.   He is a long
 time RocketBoots partner and CodeWar quiz-master.
 
 
 Date: Thursday 21 October 2010
 Time: 6:30 PM
 Location:
CogState
Level 2
255 Bourke Street
Melbourne, VIC, 3000
A note on the door will provide a number to ring for access.
 
 RSVP:  Please reply to this post if you are planning to attend so we
 know how many pizzas to order.
 
 As always, many thanks to Dale Fraser and CogState for their
 hospitality.  We look forward to seeing you all there.
 
 Peter Robertson
 Co-Manager
 Melbourne CFUG
 
 Steve Onnis
 Manager
 Melbourne CFUG
 
 -- 
 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.
 
 
 
 
 
 
 ===
 Email scanned by PC Tools - No viruses or spyware found.
 (Email Guard: 7.0.0.21, Virus/Spyware Database: 6.16100)
 http://www.pctools.com/
 ===
 
 
 
 
 
 ===
 Email scanned by PC Tools - No viruses or spyware found.
 (Email Guard: 7.0.0.21, Virus/Spyware Database: 6.16130)
 http://www.pctools.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.



Re: [cfaussie] CFUG Melbourne October 2010: ColdFusion i/o

2010-10-21 Thread Gavin Beau Baumanis
Thanks Mark.

Luckily he's the kind of kid who never complains about anything.
Actually - I was certain that he just had a bad sprain and was surprised it had 
fractured it so badly. He has a fracture that looks like a L.

Initially I only took him to hospital because he was really dopey when he 
first got home from school (it happened after school had finished)  and I 
suspected a nasty concussion.

The x-ray of his wrist - was practically an after thought - but as it turns 
out,  lucky that he had one.




As always, please contact me if I can be of any futher assistance.

Gavin Beau Baumanis
Senior Application Developer
PalCare Pty. Ltd.

P: +61 -3 9380 3513
M: +61 -438 545 586
E: b...@palcare.com.au
W: http://palcare.com.au



On 22/10/2010, at 1:32 PM, Mark Mandel wrote:

 Ouch!
 
 All the best to your son!
 
 Mark
 
 On Fri, Oct 22, 2010 at 1:20 PM, Gavin Beau Baumanis b...@palcare.com.au 
 wrote:
 Hi Steve (and everyone else),
 
 Sorry I was a no-show.
 I was stuck in emergency with my son who managed to attain a fracture through 
 the growth plate of his wrist.
 I was genuinely looking forward to the subject and am disappointed that I 
 didn't manage to make it - but somehow telling me wife she was on her own to 
 look after the other kids and go to the hospital on her own as well 
 wasn't a position worth entertaining!
 
 Hope to see you all at the next one.
 
 
 
 As always, please contact me if I can be of any futher assistance.
 
 Gavin Beau Baumanis
 Senior Application Developer
 PalCare Pty. Ltd.
 
 P: +61 -3 9380 3513
 M: +61 -438 545 586
 E: b...@palcare.com.au
 W: http://palcare.com.au
 
 
 
 On 22/10/2010, at 12:13 PM, Steve Onnis wrote:
 
  I would like to thank the presenters for last nights meeting...very
  informative and special thanks to Robin for taking time out to come along
  and present. I was a shame however to have such a small turnout considering
  the presentations though.
 
 
 
  -Original Message-
  From: Peter Robertson [mailto:peter.r.robert...@gmail.com]
  Sent: Tuesday, 19 October 2010 3:26 PM
  To: cfaussie
  Subject: [cfaussie] CFUG Melbourne October 2010: ColdFusion i/o
 
  This month, we're trying something a little different, with three
  presenters rather than the usual one.
 
  The topic is ColdFusion i/o, or Getting In and Out of ColdFusion,
  ie, communicating with other environments from the ColdFusion Server.
 
  I asked for speakers who could deliver 30 to 45 minutes on a
  technology  of their choice:
  
 
  Robin Hilliard
 
  Stop that Response! Getting Pushy with ColdFusion and Data Services.
  When the closing html tag of your HTTP response leaves the data centre
  you'd normally have no chance of reaching out from your server code to
  change the contents of the resulting page in the browser. But with a
  nifty, easy to use custom tag developed by RocketBoots... you can.
 
  Robin is Chief Technology Officer and founder of Rocket Boots.
  He is an experienced software architect, with a particular focus on
  Adobe's Flash platform.
  
 
  Steve Onnis
 
  Gateway services and connecting to the jabber IM XMPP gateway and
  connecting to an XMPP IM gateway through JAVA including logging in,
  sending messages and implementing long polling through AJAX
 
  Steve is manager or our Melbourne CFUG and long-time practitioner in
  the CF space.
  He provides web application development services and hosting through
  his Inevative and NovaHost companies.
  
  _
 
  Phil Haeusler
  Passing strongly typed data through remoting and webservices
 
  Phil is a long-time ColdFusion developer and administrator and has a
  deep understanding of how ColdFusion does what it does.   He is a long
  time RocketBoots partner and CodeWar quiz-master.
  
 
  Date: Thursday 21 October 2010
  Time: 6:30 PM
  Location:
 CogState
 Level 2
 255 Bourke Street
 Melbourne, VIC, 3000
 A note on the door will provide a number to ring for access.
 
  RSVP:  Please reply to this post if you are planning to attend so we
  know how many pizzas to order.
 
  As always, many thanks to Dale Fraser and CogState for their
  hospitality.  We look forward to seeing you all there.
 
  Peter Robertson
  Co-Manager
  Melbourne CFUG
 
  Steve Onnis
  Manager
  Melbourne CFUG
 
  --
  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.
 
 
 
 
 
 
  ===
  Email scanned by PC Tools - No viruses

Re: [cfaussie] CFUG Melbourne October 2010: ColdFusion i/o

2010-10-18 Thread Gavin Beau Baumanis
Me be there...



As always, please contact me if I can be of any futher assistance.

Gavin Beau Baumanis
Senior Application Developer
PalCare Pty. Ltd.

P: +61 -3 9380 3513
M: +61 -438 545 586
E: b...@palcare.com.au
W: http://palcare.com.au



On 19/10/2010, at 3:25 PM, Peter Robertson wrote:

 This month, we're trying something a little different, with three
 presenters rather than the usual one.
 
 The topic is ColdFusion i/o, or Getting In and Out of ColdFusion,
 ie, communicating with other environments from the ColdFusion Server.
 
 I asked for speakers who could deliver 30 to 45 minutes on a
 technology  of their choice:
 
 
 Robin Hilliard
 
 Stop that Response! Getting Pushy with ColdFusion and Data Services.
 When the closing html tag of your HTTP response leaves the data centre
 you'd normally have no chance of reaching out from your server code to
 change the contents of the resulting page in the browser. But with a
 nifty, easy to use custom tag developed by RocketBoots... you can.
 
 Robin is Chief Technology Officer and founder of Rocket Boots.
 He is an experienced software architect, with a particular focus on
 Adobe's Flash platform.
 
 
 Steve Onnis
 
 Gateway services and connecting to the jabber IM XMPP gateway and
 connecting to an XMPP IM gateway through JAVA including logging in,
 sending messages and implementing long polling through AJAX
 
 Steve is manager or our Melbourne CFUG and long-time practitioner in
 the CF space.
 He provides web application development services and hosting through
 his Inevative and NovaHost companies.
 _
 
 Phil Haeusler
 Passing strongly typed data through remoting and webservices
 
 Phil is a long-time ColdFusion developer and administrator and has a
 deep understanding of how ColdFusion does what it does.   He is a long
 time RocketBoots partner and CodeWar quiz-master.
 
 
 Date: Thursday 21 October 2010
 Time: 6:30 PM
 Location:
CogState
Level 2
255 Bourke Street
Melbourne, VIC, 3000
A note on the door will provide a number to ring for access.
 
 RSVP:  Please reply to this post if you are planning to attend so we
 know how many pizzas to order.
 
 As always, many thanks to Dale Fraser and CogState for their
 hospitality.  We look forward to seeing you all there.
 
 Peter Robertson
 Co-Manager
 Melbourne CFUG
 
 Steve Onnis
 Manager
 Melbourne CFUG
 
 -- 
 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.



Re: [cfaussie] OT : SQL TEXT type column

2010-10-14 Thread Gavin Beau Baumanis
Hi Steve from;
http://msdn.microsoft.com/en-us/library/ms143432.aspx

Database size : 524,272 terabytes
Databases per instance of SQL Server : 32,767
Bytes per varchar(max), varbinary(max), xml, text, or image column : 2^31-1
Bytes per row (*) : 8,060

(*) SQL Server supports row-overflow storage which enables variable length 
columns to be pushed off-row. Only a 24-byte root is stored in the main record 
for variable length columns pushed out of row; because of this, the effective 
row limit is higher than in previous releases of SQL Server. For more 
information, see the Row-Overflow Data Exceeding 8 KB topic in SQL Server 
Books Online.




As always, please contact me if I can be of any futher assistance.

Gavin Beau Baumanis
Senior Application Developer
PalCare Pty. Ltd.

P: +61 -3 9380 3513
M: +61 -438 545 586
E: b...@palcare.com.au
W: http://palcare.com.au



On 15/10/2010, at 3:36 PM, Steve Onnis wrote:

 How much can this column actually hold? How would it translate to say a text 
 file in size? I am trying to work out if a heap of data should be able to fit 
 into the column or not
 
 
 
 
 
 
 ===
 Email scanned by PC Tools - No viruses or spyware found.
 (Email Guard: 7.0.0.21, Virus/Spyware Database: 6.16090)
 http://www.pctools.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.



Re: [cfaussie] CF and Ajax

2010-10-12 Thread Gavin Beau Baumanis
Hi Scott,

Fishpond.com.au - is an AU online bookstore.
They currently have a sale on technical books.

I love the head First / Head Rush series of books by O'Reilly.

And it just so happens there is an Ajax title : Head First Ajax.

I found it to be excellent - I still use it as a bit of cheat-sheet when I 
don;t need the complexity of a full JS library.
And because it is all about hand-written JavaScript with whatever technology 
in the background (in your case CFML) it will work with any version of CF.



As always, please contact me if I can be of any futher assistance.

Gavin Beau Baumanis
Senior Application Developer
PalCare Pty. Ltd.

P: +61 -3 9380 3513
M: +61 -438 545 586
E: b...@palcare.com.au
W: http://palcare.com.au



On 13/10/2010, at 8:08 AM, Scott Thornton wrote:

 Hi,
 
  
 
 Thanks for all replies to date
 
  
 
 Looks like my colleague and I have a lot of catching up to do.
 
  
 
 From: cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] On Behalf 
 Of Damen Hansen
 Sent: Wednesday, 13 October 2010 7:59 AM
 To: cfaussie@googlegroups.com
 Subject: Re: [cfaussie] CF and Ajax
 
  
 
 The docs for Ext Core may be better, theres not much in it. 
 
 I was merely suggesting using a library (there's a few out there!) so you 
 don't reinvent any wheels.
 
 The code you write for  ext core is very similar.
 
  
 
 On 12 October 2010 18:54, Andrew Scott andr...@andyscott.id.au wrote:
 
 Oh well then maybe you can look at ExtJS Core, it is actually easier to use 
 and understand than jQuery.
 
  
 
 Regards,
 
 Andrew Scott
 
 http://www.andyscott.id.au/
 
  
 
  
 
  
 
 From: cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] On Behalf 
 Of Paul Kukiel
 Sent: Tuesday, 12 October 2010 4:34 PM
 To: cfaussie@googlegroups.com
 
 
 Subject: Re: [cfaussie] CF and Ajax
 
  
 
 It needs to work in cfmx 6.1 so jQuery is looking like the way to go.
 
 
 
 Regards,
 
 Paul
 
 On 12/10/2010 4:31 PM, Andrew Scott wrote:
 
 No you don’t need to always use jQuery, you can even look at using the 
 cfajaxproxy tag to do what you need.
 
  
 
 Regards,
 
 Andrew Scott
 
 http://www.andyscott.id.au/
 
  
 
  
 
  
 
  
 
 From: cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] On Behalf 
 Of Scott Thornton
 Sent: Tuesday, 12 October 2010 8:50 AM
 To: cfaussie@googlegroups.com
 Subject: [cfaussie] CF and Ajax
 
  
 
 Hello,
 
  
 
 I am looking for a solution that will allow Ajax-y style updates of a 
 database when a user changes a value in one of many select boxes in a form.
 
  
 
 EG: Say there are 20 select boxes in a form with Yes or No Options. Changing 
 the value will perform a database update without the usual form submit\page 
 refresh rigmarole.
 
  
 
 I have been looking through the coldfusionjedi website, but no example stands 
 out.
 
  
 
 Can anyone point me in the correct direction?
 
  
 
 I am guessing that the solution uses jquery… just have never done much stuff 
 with it before.
 
  
 
 The solution should work in CF MX 6.1
 
  
 
  
 
 -- 
 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.
 
 -- 
 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.
 
  
 
 -- 
 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

Re: [cfaussie] Weird CFINPUT error

2010-10-12 Thread Gavin Beau Baumanis
Hi Rae,

Quick question - just shooting from the hip;
You input is inside a CFFORM and not FORM element?

Otherwise, I have not seen the error before, sorry and up until quite recently, 
we were using CF7 too.



As always, please contact me if I can be of any futher assistance.

Gavin Beau Baumanis
Senior Application Developer
PalCare Pty. Ltd.

P: +61 -3 9380 3513
M: +61 -438 545 586
E: b...@palcare.com.au
W: http://palcare.com.au



On 13/10/2010, at 10:22 AM, Rae wrote:

 Hi,
 
 I've got a weird error happening on a CF7 server, the code works fine
 on my local CF8 machine. Any ideas?
 
 cfinput type=datefield name=CampaignDate value=#CampaignDate#
 mask=dd/mm/
 
 Here's the error!
 
 coldfusion.tagext.validation.IllegalSwitchValueException: Attribute
 validation error for tag CFINPUT.
 
 at coldfusion.tagext.html.form.InputTag.setType(InputTag.java:141)
 
 :(
 
 -- 
 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.



Re: [cfaussie] CF and Ajax

2010-10-12 Thread Gavin Beau Baumanis
Awesome resource - Thanks Chris!


As always, please contact me if I can be of any futher assistance.

Gavin Beau Baumanis
Senior Application Developer
PalCare Pty. Ltd.

P: +61 -3 9380 3513
M: +61 -438 545 586
E: b...@palcare.com.au
W: http://palcare.com.au



On 13/10/2010, at 11:58 AM, Chris Velevitch wrote:

 On Wed, Oct 13, 2010 at 09:04, Gavin Beau Baumanis b...@palcare.com.au 
 wrote:
 Hi Scott,
 Fishpond.com.au - is an AU online bookstore.
 They currently have a sale on technical books.
 
 Even better is the Aussie price comparator http://www.booko.com.au.
 They show all prices and shipping costs in AUD.
 
 For example:-
 
 Head First Ajax (http://www.booko.com.au/books/isbn/9780596515782)
 Head Rush Ajax (http://www.booko.com.au/books/isbn/9780596102258)
 
 
 Chris
 --
 Chris Velevitch
 Manager - Adobe Platform Users Group, Sydney
 m: 0415 469 095
 www.apugs.org.au
 
 Adobe Platform Users Group, Sydney
 October 2010: Flash Builder for SalesForce
 Date: 25th October, 6pm for 6:30 start
 Details and RSVP coming soon
 
 -- 
 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.



Re: [cfaussie] CF and Ajax

2010-10-11 Thread Gavin Beau Baumanis
Hi Scott,

The answer is fairly simple - which is a nice change.


My example below is update some fields based on what is entered into another 
(text) filed.

It does use the jQuery core so make sure that you have that loaded and ensure 
that it is working (I.e. the $ shortcut is working)
Also, that initial text field uses the jQuery autocomplete plugin so that you 
don't have to type in exact match in the text box.

I realise that your post speaks about using select boxes - but the premise is 
the same;
Simply use the onChange event of the select box to fire the appropriate JS..

From memory I constructed all my code using the examples from the jQuery 
website (and the demos from the plugins that were used)
Hopefully the code below will serve as  an example you can build upon.


I have a JS file that is included within the file that does the displaying;

!--- myJSFile.js ---
//Create the AJAX request object
var ajaxObj=createRequest();

//Set the separator for fields/columns in the eturned data
var mySeperator = |;

$(document).ready(function(){
//set the page to call when auto completing the part number field
var partNumber_destURL = autocomplete_partNumber.cfm;


//run the Query autocomplete plugin for part numbers - align form names to 
column names
$(#partNumber).autocomplete(partNumber_destURL,{minChars:2, max:4})
.result(function (evt, data, formatted) 
{
$(#partNumber).val(data[1]);
$(#productDescription).val(data[2]);
$(#unitCost).val(data[3]);
});

});
!--- end myJSFile.cfm --



And then have your appropriate code in the file mentioned in your javascript, 
which in this case is;
autocomplete_partNumber.cfm



The contents of that file are pretty much, run a query return the results;

!---
fusedoc fuse=autocomplete_partNumber.cfm language=ColdFusion 
specification=2.0
responsibilities
I query the database for inventory information.
The WHERE clause of the query is passed into me via the 'q' url 
variable.
I provide a PIPE delimited recordset back to the form I was 
called from
/responsibilities
io
in
string name=q scope=url /
/in
out
recordset name=qry_partNumbersSELECT 
scope=variables
string name=pn /
string name=desc /
number name=unitcost /
/recordset
/out
/io
/fusedoc
---

!--- provide no output to the screen ---
cfsilent
!--- suppress debug information ---
cfsetting showDebugOutput = no 

!-- get the matching data from the database ---
cfquery name=qry_partNumbersSELECT datasource=WinMagi
SELECT
invt.pn,
invt.desc,

invt.fsmat+invt.fspsvc+invt.fslab+invt.fsfod+invt.fsvod+invt.fsscrp as unitcost
FROM
inv invt
WHERE
upper(invt.pn) like upper('#url.q#%')
order by
invt.pn asc
/cfquery

!-- create an EOL ---
cfset newline = chr(13)  chr(10)
/cfsilent

!--- loop through the recordset and create a PIPE delimited recordset ---
cfoutput
cfloop query=qry_partNumbersSELECT
#pn# - (#desc#)|#pn#|#desc#|#unitcost##newline#
/cfloop
/cfoutput

Let me know if you need anything more and I'll see if I can squeeze in writing 
a select box demo for you overnight.



As always, please contact me if I can be of any futher assistance.

Gavin Beau Baumanis
Senior Application Developer
PalCare Pty. Ltd.

P: +61 -3 9380 3513
M: +61 -438 545 586
E: b...@palcare.com.au
W: http://palcare.com.au



On 12/10/2010, at 8:49 AM, Scott Thornton wrote:

 Hello,
  
 I am looking for a solution that will allow Ajax-y style updates of a 
 database when a user changes a value in one of many select boxes in a form.
  
 EG: Say there are 20 select boxes in a form with Yes or No Options. Changing 
 the value will perform a database update without the usual form submit\page 
 refresh rigmarole.
  
 I have been looking through the coldfusionjedi website, but no example stands 
 out.
  
 Can anyone point me in the correct direction?
  
 I am guessing that the solution uses jquery… just have never done much stuff 
 with it before.
  
 The solution should work in CF MX 6.1
  
  
 
 -- 
 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

Re: [cfaussie] Re: Really strange WebService issue.

2010-10-09 Thread Gavin Beau Baumanis
I'm going to say no, I think - but it could be yes???

Does specifying a CFC as the returntype mean the same thing?
Because I certainly have a CFC defined with property names and their types 
specified, too.

I have the following in the CFC that is the webservice.

!--- So that we can return a complex structure via webservice;
  Announce the structure we're going to use. ---
cfproperty name=loginResult type=loginResult

and I have this in the function headers;
returntype=loginServiceCFC.loginResult


So I don't know if that means the same things as what as you're asking - but 
hopefully you will!


Gavin.


On 09/10/2010, at 8:37 PM, irfaan007 wrote:

 Gavin, By any chance are you using a definition file for the soap
 webservices to strongly type the returned data?.
 
 I had a similar issue as yours but this only happened after i started
 using the definition file.
 
 On Oct 9, 2:21 am, charlie arehart charlie_li...@carehart.org
 wrote:
 And again, it's no longer even needed in CF8, with the new RefreshWSDL and 
 other
 approaches I mentioned a few notes ago.
 
 /charlie
 
 From: cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] On Behalf 
 Of Andrew
 Scott
 Sent: Friday, October 08, 2010 12:24 AM
 To: cfaussie@googlegroups.com
 Subject: RE: [cfaussie] Re: Really strange WebService issue.
 
 That is handy to know, but be warned that a lot of hosts will sandbox these 
 calls.
 
 Regards,
 
 Andrew Scott
 
 http://www.andyscott.id.au/
 
 From: cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] On Behalf 
 Of Rod
 Higgins
 Sent: Friday, 8 October 2010 3:00 PM
 To: cfaussie@googlegroups.com
 Subject: Re: [cfaussie] Re: Really strange WebService issue.
 
 cfset wsURL = http://
 http://%3cmywebservicepath%3e/jira/rpc/soap/jirasoapservice-v2?wsdl
 mywebservicepath/jira/rpc/soap/jirasoapservice-v2?wsdl
 cfset CreateObject( java, coldfusion.server.ServiceFactory
 ).XmlRpcService.RefreshWebService(wsURL) /
 
 Something like this will refresh the webservice if cached dont think this is 
 supported
 but can be used to help debug.
 
 hth
 Rod.
 
 -- 
 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.



Re: [cfaussie] Really strange WebService issue.

2010-10-07 Thread Gavin Beau Baumanis
The service is a login service that uses LDAP or a database table to 
authenticate a user.

I was having an issue in that this.datasource was being set on the invocation 
of the webservice and was always THAT datasource.
Which meant that I needed to create a separate instance of the service for each 
different application that I wanted to use the service for.
Which seemed to defeat the purpose of using a service in the first place.

I spoke with Phil, and he suggested that I set the datasource in the request 
scope instead.
So I changed my application to use Application.CFC instead of CFM and made us 
of the OnRequest method to set the datasource based on the current URL 
(application).

So as a result of changing the above, I needed to add a new parameter to the 
functions I call in the service to now include the datasource.
Everything works if I invoke the CFC locally - but refused to work remotely.

Now simply add in everything from the first email here.
I.e. no further change was made - only restarting the server corrected whatever 
the underlying issue was.


As always, please contact me if I can be of any futher assistance.

Gavin Beau Baumanis
Senior Application Developer
PalCare Pty. Ltd.

P: +61 -3 9380 3513
M: +61 -438 545 586
E: b...@palcare.com.au
W: http://palcare.com.au



On 07/10/2010, at 11:43 PM, MrBuzzy wrote:

 Gav, you didn't actually explain what the 'really simple change' was?
 
 Please elaborate. It can sometimes be funky to work with da web services. 
 
 On 07/10/2010, at 23:19, Gavin Baumanis beauecli...@gmail.com wrote:
 
 Hi Everyone,
 
 I realise how odd this sounds, but I am posting it in case someone
 else has seen the same thing before.
 In the very least I;m hoping someone will say that I am not going
 mad... and maybe even have a solution or an idea of one...
 
 I have a webservice that was working, then (after a simple change)
 didn't work.
 
 I removed the wsdl (via CF admin)
 I cleared the template cache
 I cleared the CFC cache
 save class files etc (in the caching tab of cfadmin) are all
 unchecked.
 I restarted apache
 I restarted the CF Server (service)
 
 but it still didn't work.
 
 The only thing that seemed to remedy the issue was actually rebooting
 the whole server.
 Which is what seems odd to me - since I have done everything that I
 can think of previously - and it didn't work.
 
 If you have any ideas - I'd be happy to learn something new!
 
 As always - thanks for any thoughts;
 Gavin.
 
 -- 
 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.

-- 
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.



Re: [cfaussie] Really strange WebService issue.

2010-10-07 Thread Gavin Beau Baumanis
Hi Chris,

I  must be wearing my fogged up glasses because I'm not sure I'm understanding 
you correctly / or perhaps its the way I have written it?


We have multiple clients who currently have their own URL and their own source 
code.
They are all physically on the same server using the same instance of 
Coldfusion.

The staging server and the production server are all set up the same.
Clients log into both  - using the staging server for UAT and staff training.

The Login service lives at a URL that resides on the staging server / staging 
cf instance.
And basically returns a true / false for a username / password match.
And also returns a struct of relevant user information (username / surname / 
fullname / phone / etc.

Restarting Apache / CF Service / manually refreshing the WSDL / clearing the 
CFC and template caches (via CFAdmin) effects the service and the calling code.
Thus my confusion with why that process didn't work - but completely restarting 
the Staging server did work.

So, I suppose my confusion is - how will programatically refreshing the WSDL be 
any different to using the CF Admin and furthermore - why would restarting the 
box wholly be any different?

 


As always, please contact me if I can be of any futher assistance.

Gavin Beau Baumanis
Senior Application Developer
PalCare Pty. Ltd.

P: +61 -3 9380 3513
M: +61 -438 545 586
E: b...@palcare.com.au
W: http://palcare.com.au



On 08/10/2010, at 11:15 AM, Chris Velevitch wrote:

 The service is indeed called by CFML code and is also on the same box as the 
 code that is calling it.
 It is being used as a webservice, not a CFC call from another server.
 
 Are the production systems the same as this, i.e. the service server
 is on the same machine as the calling server?
 
 You say the calling server is CFML, are you planning to change the
 cfinvoke on the calling server to include 'refreshWSDL=yes'? The
 reason I ask this as it sounds like the machine restart caused the
 calling server to clear it's WSDL cache which in effect is the
 equivalent of 'refreshWSDL=yes'.
 
 
 Chris
 --
 Chris Velevitch
 Manager - Adobe Platform Users Group, Sydney
 m: 0415 469 095
 www.apugs.org.au
 
 Adobe Platform Users Group, Sydney
 October 2010: Flash Builder for SalesForce
 Date: 25th October, 6pm for 6:30 start
 Details and RSVP coming soon
 
 -- 
 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.



Re: [cfaussie] Really strange WebService issue.

2010-10-07 Thread Gavin Beau Baumanis
Hi Again everyone,

I just had a chat with Chris Velevitch and he asked me something that neither 
of us knew the answer to - but actually made clear to me what he was writing in 
his original reply.

Lets just assume that the service is on a completely different box / perhaps 
even written in some other language.

I have a CFML application consuming that service.
Does my CFML application (or perhaps the underlying CFML engine) cache the WSDL 
at all? or is it completely re-read by the consumer every request?

And neither of us know the answer - but if there is any consumer caching - 
could that be the cause of things not behaving?
Could the underlying JVM (JRun?) be doing anything - Afterall I restarted the 
CF service but not the JRun service during my testing?

if it mis-behaves again - I'll try restarting the JVM service too - and see if 
that makes any differences and write back here with any further news...
But for the time being seems like I have more questions and still no answers...

Thanks again to everyone for their help


Gavin.

On 08/10/2010, at 11:50 AM, Gavin Beau Baumanis wrote:

 Hi Chris,
 
 I  must be wearing my fogged up glasses because I'm not sure I'm 
 understanding you correctly / or perhaps its the way I have written it?
 
 
 We have multiple clients who currently have their own URL and their own 
 source code.
 They are all physically on the same server using the same instance of 
 Coldfusion.
 
 The staging server and the production server are all set up the same.
 Clients log into both  - using the staging server for UAT and staff training.
 
 The Login service lives at a URL that resides on the staging server / staging 
 cf instance.
 And basically returns a true / false for a username / password match.
 And also returns a struct of relevant user information (username / surname / 
 fullname / phone / etc.
 
 Restarting Apache / CF Service / manually refreshing the WSDL / clearing the 
 CFC and template caches (via CFAdmin) effects the service and the calling 
 code.
 Thus my confusion with why that process didn't work - but completely 
 restarting the Staging server did work.
 
 So, I suppose my confusion is - how will programatically refreshing the WSDL 
 be any different to using the CF Admin and furthermore - why would restarting 
 the box wholly be any different?
 
 
 
 
 As always, please contact me if I can be of any futher assistance.
 
 Gavin Beau Baumanis
 Senior Application Developer
 PalCare Pty. Ltd.
 
 P: +61 -3 9380 3513
 M: +61 -438 545 586
 E: b...@palcare.com.au
 W: http://palcare.com.au
 
 
 
 On 08/10/2010, at 11:15 AM, Chris Velevitch wrote:
 
 The service is indeed called by CFML code and is also on the same box as 
 the code that is calling it.
 It is being used as a webservice, not a CFC call from another server.
 
 Are the production systems the same as this, i.e. the service server
 is on the same machine as the calling server?
 
 You say the calling server is CFML, are you planning to change the
 cfinvoke on the calling server to include 'refreshWSDL=yes'? The
 reason I ask this as it sounds like the machine restart caused the
 calling server to clear it's WSDL cache which in effect is the
 equivalent of 'refreshWSDL=yes'.
 
 
 Chris
 --
 Chris Velevitch
 Manager - Adobe Platform Users Group, Sydney
 m: 0415 469 095
 www.apugs.org.au
 
 Adobe Platform Users Group, Sydney
 October 2010: Flash Builder for SalesForce
 Date: 25th October, 6pm for 6:30 start
 Details and RSVP coming soon
 
 -- 
 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.

-- 
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.



Re: [cfaussie] Strange problem - Element RECORDCOUNT is undefined in query

2010-10-04 Thread Gavin Beau Baumanis
You learn something new every day - awesome, Thanks Chris!


As always, please contact me if I can be of any futher assistance.

Gavin Beau Baumanis
Senior Application Developer
PalCare Pty. Ltd.

P: +61 -3 9380 3513
M: +61 -438 545 586
E: b...@palcare.com.au
W: http://palcare.com.au



On 04/10/2010, at 4:22 PM, christophe albrech wrote:

 Hi Scott,
 
 If I may, your code could be improved performance-wise. It is a classic 
 example of Rbar programming (pronounced reebar = Row by agonizing row) as the 
 process is not written in a set-based way, which is exactly what DB servers 
 are really good (and really fast) at.
 
 If you think about it, the code loops over each record in the first query 
 (the cfif is useless by the way) , and then does an update for each one. if 
 you have a thousand records, that's a thousand loops, a thousand queries sent 
 through the wire, a thousand query the optimizer has to parse, and so on. 
 What you really want to do is have a single update statement instead.
 
 The problem in your case is that using aggregation forces you to use a group 
 by statement. On top of that you need the aggregated data to perform the set 
 operation which complicates the matter. While writing one single statement is 
 possible it's probably easier to read if you use a temp table to store the 
 maxed date and then write a single update. like so:
 
 cfquery
 SELECT  sb_invoice.sb_invoice_id,
 MAX(sb_claim_date) AS sb_claim_date
 INTO##tempTable
 FROMsb_invoice
 INNER JOIN sb_invoice_item ON sb_invoice.sb_invoice_id = 
 sb_invoice_item.sb_invoice_id
 INNER JOIN sb_item_claim ON sb_invoice_item.sb_invoice_item_id = 
 sb_item_claim.sb_invoice_item_id
 WHERE   sb_invoice.sb_bill_mech_code IN ( 'M', 'F', 'AG', 'SC', 'MB', 'MO' )
 AND sb_invoice_item.sb_item_status_code IN ( '21', '24', '31' )
 GROUP BY sb_invoice.sb_invoice_id,
 sb_invoice.sb_reminder_date
 HAVING  sb_invoice.sb_reminder_date  DATEADD(d, 30, MAX(sb_claim_date))
 
 UPDATE  i
 SET sb_reminder_date = DATEADD(d, 31, t.sb_claim_date)
 FROMsb_invoice i
 INNER JOIN #tempTable t ON i.sb_invoice_id = t.sb_invoice_id
 /cfquery
 
 The more records the initial select returns, the more resources you save. I 
 just tried a simple example on my local machine where I tried to update 10k 
 rows with both methods. the rbar one took about 10 seconds while the 
 set-based one took less than half a second. trying with 100k rows, I got 70 
 seconds against 2.5.
 
 Let's keep in mind that lots of updates wouldn't need the temp table in the 
 first place. It's only there because because you were updating with an 
 aggregated value. Normally you'd just do:
 
 UPDATE t
 set blah = 6
 FROM myTable t
  JOIN otherTable o on o.id = t.fk
  ...
  ...
 
 Anyway, speaking of agonizing stuff, I'm off to see the dentist.
 
 Cheers,
 
 Tof
 
 
 
 On Fri, Oct 1, 2010 at 11:30 AM, Scott Thornton 
 scott.thorn...@hnehealth.nsw.gov.au wrote:
 Hello,
 
  
 Thanks for all replies.
 
  
 An update of my local dev server to 9,0,1,274733 appears to have solved the 
 problem.
 
  
  
  
 From: cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] On Behalf 
 Of Scott Thornton
 Sent: Friday, 1 October 2010 10:29 AM
 To: cfaussie@googlegroups.com
 Subject: RE: [cfaussie] Strange problem - Element RECORDCOUNT is undefined in 
 query
 
  
 HI All,
 
  
 1. What happens if you try CFDUMP instead right after the query?
 
  
 using
 
 cfdump var=#fix_this#cfabort
 
  
 
 returns
 
  
 Variable FIX_THIS is undefined.
 
  
 2. re recordcount gt 0.
 
  
 I didn't know that, thanks.
 
  
 3.  Why the cfoutput?
 
  
 The original code used cfloop, I tried using cfoutput as well. Typically 
 cfloop would be used.
 
  
 4. Update CF?
 
  
 Will try that now.
 
  
 5. Does the query run (as is)?
 
  
 Yes it does, however it does not return any rows ( in SQl Query Analyzer 
 2000). The database is MS SQL 2005
 
  
 5. Much simplier query?
 
  
 cfquery  datasource=#DSN# name=fix_this
 
 select top 1 * from sb_invoice
 
 /cfquery
 
  
 cfdump var=#fix_this#cfabort
 
  
 works fine.
 
  
 Sooo, I will update my local server first, then put the orginal query back in 
 and see how it goes.
 
  
 From: cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] On Behalf 
 Of m...@ampersand.net.au
 Sent: Friday, 1 October 2010 9:41 AM
 To: cfaussie@googlegroups.com
 Subject: Re: [cfaussie] Strange problem - Element RECORDCOUNT is undefined in 
 query
 
  
 What happens if you try CFDUMP instead right after the query?
 
 On 1/10/2010 9:35 AM, Scott Thornton wrote:
 
 Hi,
 
  
 Running across a odd problem in CF 9,0,0,251028. development server.
 
  
 I was just running a process that usually works and has not been modified for 
 quite a long time. part of that process runs a query and then loops over the 
 result set. Simple enough… however the query does not seem to exist after it 
 has run.
 
  
 eg

Re: [cfaussie] CFUG Melbourne for September: Don't Miss It! Tomorrow Night (16 Sept)

2010-09-14 Thread Gavin Beau Baumanis
Hi Peter / Steve,

I will be there.
And  will most likely have our intern with us.


As always, please contact me if I can be of any futher assistance.

Gavin Beau Baumanis
Senior Application Developer
PalCare Pty. Ltd.

P: +61 -3 9380 3513
M: +61 -438 545 586
E: b...@palcare.com.au
W: http://palcare.com.au



On 15/09/2010, at 1:36 PM, Peter Robertson wrote:

 If you are attending, (and we hope that you will be), please RSVP so
 that Steve can organise catering.
 This is a not-to-be-missed event, especially for those responsible for
 web application security!
 
 Details:
 
 A look at securing your ColdFusion servers using the ColdFusion
 Server
 Lock Down Guide and other practical tips to ensure your servers are
 best protected against unknown future vulnerabilities and attacks.
 * A look at the technical reasons behind the ColdFusion Server Lock
 Down Guide
 * Running ColdFusion with minimal privileges
 * Stopping the world from accessing the CF Administrator
 * ColdFusion Administrator secure settings
 * Making use of Security Sandboxes
 * Disabling unused services
 * Security Issues in your code
 * The recent CF8/9 Security Hot Fix, how to hack an unpatched CF
 server and why you should have already patched your server
 
 Phil is a long-time ColdFusion developer and administrator and has a
 deep understanding of how ColdFusion does what it does.  He consults
 to many varied organisations around ColdFusion, Flex and the larger
 Adobe product stack and advocates best practice approaches to
 development methodologies, testing and deployment security.  He is a
 long time RocketBoots partner and CodeWar quizmaster.
 
 Date: Thursday 16 September 2010
 Time: 6:30 PM
 Location:
CogState
Level 2
255 Bourke Street
Melbourne, VIC, 3000
A note on the door will provide a number to ring for access.
 
 RSVP:  Please reply to this post if you are planning to attend so we
 know how many pizzas to order.
 As always, many thanks to Dale Fraser and CogState for their
 hospitality.  We look forward to seeing you all there.
 
 Peter Robertson
 Co-Manager
 Melbourne CFUG
 
 Steve Onnis
 Manager
 Melbourne CFUG
 
 -- 
 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.



Re: [cfaussie] Re: Eclipse Settings on Mac OS X

2010-08-21 Thread Gavin Beau Baumanis
)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
Caused by: java.lang.NullPointerException
at 
org.eclipse.eclipsemonkey.actions.RecreateMonkeyMenuAction.createTheMenu(RecreateMonkeyMenuAction.java:118)
at 
org.eclipse.eclipsemonkey.actions.RecreateMonkeyMenuAction.run(RecreateMonkeyMenuAction.java:71)
at 
org.eclipse.eclipsemonkey.UpdateMonkeyActionsResourceChangeListener$2.run(UpdateMonkeyActionsResourceChangeListener.java:256)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at 
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
... 22 more


I have no idea what any of it means or really how to read it either... I don;t 
code in java and don;t know how to read a stack trace - well not to the point 
of being able to use it effectively to pin-point the error anyway.

I am a little surprised to find anything in the log to be honest. The entire 
MAC locks up with some message about pressing and holding the power button 
until the mac turns off - and the restarting it.
With such a catastrophic event I am not so sure that anything relevant to the 
actual crash will make it into the eclipse log

Also it might be worth noting that the error messages posted above are 
replicate many times throughout the history of the log.





As always, please contact me if I can be of any futher assistance.

Gavin Beau Baumanis
Senior Application Developer
PalCare Pty. Ltd.

P: +61 -3 9380 3513
M: +61 -438 545 586
E: b...@palcare.com.au
W: http://palcare.com.au



On 21/08/2010, at 1:40 PM, KC Kuok wrote:

 Hi Gavin,
 
 You should check your eclipse error log files, they should provide
 some insight. From memory they should be in the workspaces folder 
 metadata  logs
 
 Regards,
 Chong
 
 On Aug 20, 11:12 am, Gavin Baumanis beauecli...@gmail.com wrote:
 Hi Everyone,
 
 Can I please bother people who are running a Mac and the eclipse IDE
 to send me their eclipse settings please?
 My MacBook continually crashes while I am typing in the CFBuilder plug-
 in.
 I tweaked the memory settings as eclipse was running painfully slow.
 -Xms256m
 -Xmx512m
 -XX:MaxPermSize=256m
 
 It could well be a CFBuilder issue - I don't remember having these
 issues when running CFEclipse - but thought I would double check mny
 eclipse config first before complaining about CFBuilder.
 
 Alternatively, it could be a physical RAM issue... But it does only
 ever happen when I am actually using eclipse - so it is a little
 strange.
 
 Thanks - Gavin.,
 
 -- 
 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.



Re: [cfaussie] Re: Eclipse Settings on Mac OS X

2010-08-21 Thread Gavin Beau Baumanis
Hi Steve,

Yeah I have completely re-installed eclipse from a completely new download.
Deleted all workspaces and projects and recreated everything from scratch.

And it still crashes.
 
I have a couple of other plug-ins loaded;
Sub-clipse (Subversion)
MX Unit

But like I said in the first post - it doesn't crash (with the same plug-ins) 
if I use CFEcipse.

And while I note the error log I posted mentions FlashBuilder, it was crashing 
without FlashBuilder added into the mix.



As always, please contact me if I can be of any futher assistance.

Gavin Beau Baumanis
Senior Application Developer
PalCare Pty. Ltd.

P: +61 -3 9380 3513
M: +61 -438 545 586
E: b...@palcare.com.au
W: http://palcare.com.au



On 21/08/2010, at 9:06 PM, Steve Onnis wrote:

 Has it always crashed?  Maybe try create a different workbench 
 
 -Original Message-
 From: Gavin Beau Baumanis [mailto:b...@palcare.com.au] 
 Sent: Saturday, 21 August 2010 8:21 PM
 To: cfaussie@googlegroups.com
 Subject: Re: [cfaussie] Re: Eclipse Settings on Mac OS X
 
 Hi Chong, 
 And thanks for the suggestion. I had no idea where the logs were;
 
 I don;t know how it helps but here is the relevant part of the log at the
 time of the crash.
 
 
 !ENTRY org.eclipse.core.net 1 0 2010-08-20 11:14:44.010
 !MESSAGE System property http.nonProxyHosts has been set to
 local|*.local|169.254/16|*.169.254/16 by an external source. This value will
 be overwritten using t
 he values from the preferences
 !SESSION 2010-08-20 11:14:51.366
 ---
 eclipse.buildId=unknown
 java.version=1.6.0_20
 java.vendor=Apple Inc.
 BootLoader constants: OS=macosx, ARCH=x86, WS=carbon, NL=en_US
 Framework arguments:  -product org.eclipse.epp.package.jee.product -keyring
 /Users/gavinb/.eclipse_keyring -showlocation
 Command-line arguments:  -os macosx -ws carbon -arch x86 -product
 org.eclipse.epp.package.jee.product -keyring /Users/gavinb/.eclipse_keyring
 -showlocation
 
 !ENTRY org.eclipse.equinox.p2.repository 4 0 2010-08-20 11:14:52.410
 !MESSAGE ProvisioningEventBus could not be obtained. Metadata caches may not
 be cleaned up properly.
 
 !ENTRY org.eclipse.core.resources 2 10035 2010-08-20 11:14:53.325
 !MESSAGE The workspace exited with unsaved changes in the previous session;
 refreshing workspace to recover changes.
 
 !ENTRY org.eclipse.ui 4 4 2010-08-20 11:14:56.552
 !MESSAGE Unable to find Action Set:
 com.adobe.ide.coldfusion.ui.ExternalToolsSet
 
 !ENTRY org.eclipse.jface 2 0 2010-08-20 11:14:59.163
 !MESSAGE Keybinding conflicts occurred.  They may interfere with normal
 accelerator operation.
 
 !SUBENTRY 1 org.eclipse.jface 2 0 2010-08-20 11:14:59.163
 !MESSAGE A conflict occurred for COMMAND+SHIFT+F12:
 Binding(COMMAND+SHIFT+F12,
 
 ParameterizedCommand(Command(com.adobe.flexbuilder.flashbridge.export.publis
 h.movie,Publish Movie,
Publish in Flash Professional,
 
 Category(com.adobe.flexbuilder.flashbridge.flashProCommands,Flash
 Professional,null,true),
,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,carbon,system)
 Binding(COMMAND+SHIFT+F12,
 
 ParameterizedCommand(Command(org.eclipse.mylyn.tasks.ui.command.searchForTas
 k,Search Repository for Task,
,
 
 Category(org.eclipse.ui.category.navigate,Navigate,null,true),
 
 org.eclipse.mylyn.internal.tasks.ui.search.SearchTaskHandler,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,,system)
 
 !ENTRY org.eclipse.core.net 1 0 2010-08-20 11:14:59.278
 !MESSAGE System property http.nonProxyHosts has been set to
 local|*.local|169.254/16|*.169.254/16 by an external source. This value will
 be overwritten using the values from the preferences
 
 !ENTRY org.eclipse.ui 4 0 2010-08-20 11:15:48.434
 !MESSAGE Unhandled event loop exception
 !STACK 0
 org.eclipse.swt.SWTException: Failed to execute runnable
 (java.lang.NullPointerException)
at org.eclipse.swt.SWT.error(SWT.java:3884)
at org.eclipse.swt.SWT.error(SWT.java:3799)
at
 org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:137)
at
 org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3342)
at
 org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3071)
at
 org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
at
 org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at
 org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
at
 org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149

Re: [cfaussie] CFUG Melbourne August 2010: New features in Adobe ColdFusion Server 9 by Steve Onnis

2010-08-17 Thread Gavin Beau Baumanis
Hi Peter / Steve,

I'll be there and most likely will have our intern with me again.



As always, please contact me if I can be of any futher assistance.

Gavin Beau Baumanis
Senior Application Developer
PalCare Pty. Ltd.

P: +61 -3 9380 3513
M: +61 -438 545 586
E: b...@palcare.com.au
W: http://palcare.com.au



On 17/08/2010, at 12:21 PM, Peter Robertson wrote:

 This presentation will cover some of the new functionality introduced
 in the new version of the Adobe ColdFusion Server 9
 
 - ColdFusion 9 Goodies include:
 - CFSCRIPT enhancements
 - ColdFusion Component enhancements
 - UI Components
 - New Tags
 - Lucene Solr (Verity Replacement)
 
 Also we will be handing out bags of goodies with t-shirts, stubby
 holders, stickers, note pads and other stuff and of course pizzas.
 
 I think all of the Melbourne regulars will know Steve as our UG
 manager and provider of fine pizzas.  Anyone who frequents CFAussie
 will also be aware of his regular contributions to the list.  As a
 developer and CF hosting provider, Steve has spent years exploring
 ColdFusion Server and CFML, so don't miss this opportunity for a deep
 dive into all that is new and good in CF9.
 
 Date: Thursday 19 August 2010
 Time: 6:30 PM
 Location:
CogState
Level 2
255 Bourke Street
Melbourne, VIC, 3000
A note on the door will provide a number to ring for access.
 
 RSVP:  Please reply to this post if you are planning to attend so we
 know how many pizzas to order.
 
 As always, many thanks to Dale Fraser and CogState for their
 hospitality.  We look forward to seeing you all there.
 
 Peter Robertson
 Co-Manager
 Melbourne CFUG
 
 Steve Onnis
 Manager
 Melbourne CFUG
 
 -- 
 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.



Re: [cfaussie] Re: Security update: Hotfix available for ColdFusion

2010-08-12 Thread Gavin Beau Baumanis
Hi Andrew,


There is a link for signing up for email notification here;
http://www.adobe.com/support/security/



Gavin Beau Baumanis

On 12/08/2010, at 4:38 PM, Andrew wrote:

 Thanks Guys.  I would have been unaware of this had it not been for
 the cfaussie list.
 
 Is there an official announcements list I can join?
 
 Regards,
 Andrew.
 
 On Aug 12, 10:52 am, charlie arehart charlie_li...@carehart.org
 wrote:
 Well, no, because that would then expose to bad guys how they could use the
 vulnerability for ill.
 
 Really, every shop should apply it, but as it notes, the key is an exposure 
 via the CF
 Admin, so if you have your CF Admin available to the public, you're 
 vulnerable. If you
 require web server authentication, or have IP restrictions, etc, that 
 certainly limits
 your exposure, but really, everyone should apply the fix. (To be clear, it's 
 NOT
 enough that your Admin requires a password as defined within the CF Admin!)
 
 I will say this, Pete Frietag has said he will be updating his HackMyCF 
 service to
 check for this vulnerability, which will be the best way for people to check 
 (without
 the exploit being exposed). It's a FREE web-based service where you point it 
 to your
 site, it runs its checks, and emails you a report. More at hackmycf.com. If 
 I hear
 that he has updated it, I'll pass it on.
 
 /charlie
 
 
 
 -Original Message-
 From: cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] On 
 Behalf Of
 Steve Onnis
 Sent: Wednesday, August 11, 2010 8:22 PM
 To: cfaussie@googlegroups.com
 Subject: RE: [cfaussie] Security update: Hotfix available for ColdFusion
 
 They couldn't give more information about the actual security issue??
 
 -Original Message-
 From: Kai Koenig [mailto:k...@koeni.de]
 Sent: Thursday, 12 August 2010 8:39 AM
 To: cfugauckl...@googlegroups.com; cfaussie@googlegroups.com
 Subject: [cfaussie] Security update: Hotfix available for ColdFusion
 
 Sorry for the crosspost to the NZ and AU lists, but you might want to
 install this one rather sooner than later:
 
 http://www.adobe.com/support/security/bulletins/apsb10-18.html
 
 Cheers
 Kai
 
 --
 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.
 
 --
 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.

-- 
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.



Re: [cfaussie] Re: Comsume https webservice

2010-08-08 Thread Gavin Beau Baumanis
Hi Everyone,

And thanks to you all -  for all of your ongoing help.

I can confirm the full hierarchy of certs has been imported into the java 
keystore for the JVM used by CF9.
The command line and the certman CFIDE plug-in both conform all certs installed 
correctly.

I can confirm our code is correct and that the web-service can indeed be 
consumed correctly by our code.
I can use the code unchanged on my local machine (without the requirement for 
https / client certificate authentication.

Moving on from this;
I removed the client certificate authentication requirement and the SSL 
requirement from the directory used to house the service on the staging server.
I then got some odd error about not finding a required library - another Google 
search later i have installed the missing libraries and can indeed consume the 
web-service correctly upon our staging server.

So I guess that leaves me with the issue now of;
What hoops do I need to ump through in order to have the calling application 
successfully present a client certificate to the web-service?

As always - thanks for any insight you might be able to share.

Gavin.





On 08/08/2010, at 11:26 PM, Phil Haeusler wrote:

 Hi Gavin
 
 Have you imported the eClinic root certificate into the JVM as well?
 
 I recall on a older (cf7 perhaps, may be older?) server i had to import a 
 root certificate when i was having trouble with a particular EV cert.  In 
 this case the latest root certificate from the issuing registry wasn't in the 
 JVM, and even tho i had imported the EV cert, it refused to work without the 
 root certificated being imported also so the certificate chain could be 
 validated
 
 I think i had to do something like view the certificate in a browser and then 
 walk up the certificate chain, saving the parent certificates and importing 
 them in.
 
 Then again, it's late on a Sunday evening, so i could have some of the 
 details wrong.
 
 Phil
 
 
 
 On 8/08/10 10:38 PM, Gavin Baumanis wrote:
 
 On Aug 6, 10:39 pm, MrBuzzymrbu...@gmail.com  wrote:
 Maybe we can take a step back and get some more details. Because I'm semi 
 confident we're all trying to help Gavin find a solution, preferably before 
 he has to shell out more cash for a different cert.
 
 - what sort of certificate is it?
 Ummm dunno - we create all of our own certifcates and self-sign them
 too.
 
 - where did it come from?
 Us!
 
 - does the cert match the host name?
 Yup sure does.
 
 - is the cert issued from one of the 'pre trusted' authorities.
 Nope.
 
 - is it just an SSL cert or are we talking about client certs too?
 The directories on the server are protected by certifcate
 authentication that are required by the clients to use the
 application.
 
 - etc
 Our parent company is eClinic. They are an encryption / SSL / PKI
 Specialist. They perform millions of encrypted medical messaging
 transactions.
 
 Our certs are provided to us by their infrastructure.
 There is nothing wierd or odd about the certs  they work in IE and
 Mozilla browsers, the command line tells me they are imported
 correctly into the java keystore as does the certman plug in.
 
 I am sure it wil be something simple... but I'll be damned if I can
 work it out.
 
 Gavin.
 
 
 -- 
 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.



Re: [cfaussie] Comsume https webservice

2010-08-05 Thread Gavin Beau Baumanis

On 05/08/2010, at 7:26 PM, MrBuzzy wrote:

 Annoying isn't it :)
 
Yup sure is.


 When you view the https wsdl in a browser what warnings (if any) do you get?
 
None.

The WSDL looks identical to that produced when using a non-https URL.
Apart from the namespace addresses etc being different because of the different 
URL



 Also if you're going commando (command line hehe) just check that you are 
 working on the same jvm or jdk that is specified in ColdFusion's jvm.config 
 file. 
 
Ahh righteo
I didn't consider that but thanks.

It still doesn't work though bummer

Anyone got anything further I could try?
Or is it simply a fact that importing the server cert into the java keystore - 
should see it working?
And if that is the case - does the alias used when importing the cert, matter 
any?

Thanks again



 Sent from my iPhone
 
 On 05/08/2010, at 4:50 PM, Gavin Baumanis beauecli...@gmail.com wrote:
 
 Hi Everyone,
 
 I have been trying to get this to work for the past few days and have
 finally decided I should ask for some help.
 I have a service that runs on a server using the https protocol.
 
 Sunsequently - when I try to use that service I get the folling error;
 Unable to read WSDL from URL: blah/blah.cfc?wsdl. Error:
 javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated.
 
 All the items I read seemed to say that all I needed to do was to add
 the certificate to java keystore.
 Which have done using this;
 http://certman.riaforge.org/
 
 I even tried using the command line - just in case there was some
 odd issue with the Certificate Manager extension to CF Admin.
 
 But still no dice.
 
 I have added the server cert and also tried by adding in the client
 cert too - but I still receive that error.
 Interestingly enough - I can successfully see the WSDL via the browser
 and https.
 
 If I place the code on a non-ssl connection - everything works as
 expected - so I know that my CFCs/code etc is working correctly.
 
 If anyone has any ideas - I would be most appreciative.
 
 
 Gavin.
 
 -- 
 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.

-- 
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.



Re: [cfaussie] Comsume https webservice

2010-08-05 Thread Gavin Beau Baumanis
I don't get a cert warning in the browser because I have that cert  and only 
that cert installed in the browser already.

Our staging sites have all been confired to allow the same developer's client 
cert - thus one cert for all staging sites.

Thus only have one cert installed means you don't even get the prompt for the 
cert it's just automatically applied by firefox - after the first run of 
course...

Well - at least that's what I am putting it (the working in the browser) down 
to anyway.

As for the JVM that we're using - to be honest - I wouldn't have a clue... but 
since we're running CF9  - would it not be using whatever CF9 gets bundled with?


Gavin.



On 05/08/2010, at 10:38 PM, MrBuzzy wrote:

 What I find interesting is your browser does not give any certificate 
 warnings when viewing the wsdl over https. That usually means you wont need 
 to import the certificate or issuing authority in to the JVM. 
 
 Is it possible you are using any early-ish JVM, like version 1.4.2? 
 If you can, upgrade the CF JVM to the latest 1.6.x. verslon. You will need to 
 modify jvm.config once you have installed the new JVM and give CF a restart. 
 
 On 5 August 2010 20:29, Gavin Beau Baumanis b...@palcare.com.au wrote:
 
 On 05/08/2010, at 7:26 PM, MrBuzzy wrote:
 
  Annoying isn't it :)
 
 Yup sure is.
 
 
  When you view the https wsdl in a browser what warnings (if any) do you get?
 
 None.
 
 The WSDL looks identical to that produced when using a non-https URL.
 Apart from the namespace addresses etc being different because of the 
 different URL
 
 
 
  Also if you're going commando (command line hehe) just check that you are 
  working on the same jvm or jdk that is specified in ColdFusion's jvm.config 
  file.
 
 Ahh righteo
 I didn't consider that but thanks.
 
 It still doesn't work though bummer
 
 Anyone got anything further I could try?
 Or is it simply a fact that importing the server cert into the java keystore 
 - should see it working?
 And if that is the case - does the alias used when importing the cert, matter 
 any?
 
 Thanks again
 
 
 
  Sent from my iPhone
 
  On 05/08/2010, at 4:50 PM, Gavin Baumanis beauecli...@gmail.com wrote:
 
  Hi Everyone,
 
  I have been trying to get this to work for the past few days and have
  finally decided I should ask for some help.
  I have a service that runs on a server using the https protocol.
 
  Sunsequently - when I try to use that service I get the folling error;
  Unable to read WSDL from URL: blah/blah.cfc?wsdl. Error:
  javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated.
 
  All the items I read seemed to say that all I needed to do was to add
  the certificate to java keystore.
  Which have done using this;
  http://certman.riaforge.org/
 
  I even tried using the command line - just in case there was some
  odd issue with the Certificate Manager extension to CF Admin.
 
  But still no dice.
 
  I have added the server cert and also tried by adding in the client
  cert too - but I still receive that error.
  Interestingly enough - I can successfully see the WSDL via the browser
  and https.
 
  If I place the code on a non-ssl connection - everything works as
  expected - so I know that my CFCs/code etc is working correctly.
 
  If anyone has any ideas - I would be most appreciative.
 
 
  Gavin.
 
  --
  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.
 
 --
 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.

-- 
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

Re: [cfaussie] Comsume https webservice

2010-08-05 Thread Gavin Beau Baumanis
Okay some more news... but it is still not working.

When I try to delete a certificate from the Java KeyStore using the certman 
CFIDE extension it throws an error.
Subsequently I have reverted to using the command line to do the KeyStore 
maintenance.

Here is what I have done;

Imported into the KeyStore the public key used to access our SSL secured 
website. (I.e the key we would issue to a client so that they could access the 
site.

in code this following line;
cfset remoteLoginService = createObject(component,

my.path.to.cfc.Service).init(https://mydomain/my/path/to/cfc/Service.cfc?wsdl;)

causes this error;
Unable to read WSDL from URL: https://mydomain/my/path/to/cfc/Service.cfc?wsdl. 
Error: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated. 

Now I don't know if this is the same thing or not, but I exported (via Firefox 
- by clicking on the padlock icon and choosing EXPORT) the certificate at the 
website.
Imported THAT certificate in the Java KeyStore  - get the same error as above.


I then read on a blog - something about requiring the certificate used to sign 
the public key and since we signed the key ourselves I added that to the Java 
KeyStore too.
But unfortunately - I still get the same error.

The command line confirms that the certs are indeed in the KeyStore - as does 
the CertMan CFIDE extension.
I have restarted the CF service after each certificate installation.

It would seem I have done everything required - but it still doesn't work.

And let me also say that if I place the exact same CFCs and calling code onto a 
non-SSL path - then the web service is consumed correctly - so am really 
confident it is not a CFML coding issue.


If anyone has any ideas at all - I would be most appreciative - Of course - if 
I do get it working - I will let everyone know what I did.

Gavin.


On 05/08/2010, at 11:50 PM, MrBuzzy wrote:

 Yeah I agree the default CF9 jvm should be a-o-k. But ya never know. 
 
 I guess you're back to the challenge of importing it correctly. Or there's 
 some other issue going on.  
 
 Sent from my iPhone
 
 On 05/08/2010, at 11:21 PM, Gavin Beau Baumanis b...@palcare.com.au wrote:
 
 I don't get a cert warning in the browser because I have that cert  and 
 only that cert installed in the browser already.
 
 Our staging sites have all been confired to allow the same developer's 
 client cert - thus one cert for all staging sites.
 
 Thus only have one cert installed means you don't even get the prompt for 
 the cert it's just automatically applied by firefox - after the first run of 
 course...
 
 Well - at least that's what I am putting it (the working in the browser) 
 down to anyway.
 
 As for the JVM that we're using - to be honest - I wouldn't have a clue... 
 but since we're running CF9  - would it not be using whatever CF9 gets 
 bundled with?
 
 
 Gavin.
 
 
 
 On 05/08/2010, at 10:38 PM, MrBuzzy wrote:
 
 What I find interesting is your browser does not give any certificate 
 warnings when viewing the wsdl over https. That usually means you wont need 
 to import the certificate or issuing authority in to the JVM. 
 
 Is it possible you are using any early-ish JVM, like version 1.4.2? 
 If you can, upgrade the CF JVM to the latest 1.6.x. verslon. You will need 
 to modify jvm.config once you have installed the new JVM and give CF a 
 restart. 
 
 On 5 August 2010 20:29, Gavin Beau Baumanis b...@palcare.com.au wrote:
 
 On 05/08/2010, at 7:26 PM, MrBuzzy wrote:
 
  Annoying isn't it :)
 
 Yup sure is.
 
 
  When you view the https wsdl in a browser what warnings (if any) do you 
  get?
 
 None.
 
 The WSDL looks identical to that produced when using a non-https URL.
 Apart from the namespace addresses etc being different because of the 
 different URL
 
 
 
  Also if you're going commando (command line hehe) just check that you are 
  working on the same jvm or jdk that is specified in ColdFusion's 
  jvm.config file.
 
 Ahh righteo
 I didn't consider that but thanks.
 
 It still doesn't work though bummer
 
 Anyone got anything further I could try?
 Or is it simply a fact that importing the server cert into the java 
 keystore - should see it working?
 And if that is the case - does the alias used when importing the cert, 
 matter any?
 
 Thanks again
 
 
 
  Sent from my iPhone
 
  On 05/08/2010, at 4:50 PM, Gavin Baumanis beauecli...@gmail.com wrote:
 
  Hi Everyone,
 
  I have been trying to get this to work for the past few days and have
  finally decided I should ask for some help.
  I have a service that runs on a server using the https protocol.
 
  Sunsequently - when I try to use that service I get the folling error;
  Unable to read WSDL from URL: blah/blah.cfc?wsdl. Error:
  javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated.
 
  All the items I read seemed to say that all I needed to do was to add
  the certificate to java keystore.
  Which have done using this;
  http

Re: [cfaussie] Comsume https webservice

2010-08-05 Thread Gavin Beau Baumanis
Hi Kai,

Here is what CFAdmin tells me;

JVM Details 
Java Version 1.6.0_14   
 Java Vendor Sun Microsystems Inc.   
 Java Vendor URL http://java.sun.com/ 
 Java Home /opt/coldfusion9/runtime/jre   

Java VM Specification Version 1.0   
 Java VM Specification Vendor Sun Microsystems Inc.   
 Java VM Specification Name Java Virtual Machine Specification   
 Java VM Version 14.0-b16  
  Java VM Vendor Sun Microsystems Inc.   
 Java VM Name Java HotSpot(TM) Server VM   
 Java Specification Version 1.6   
 Java Specification Vendor Sun Microsystems Inc.   
 Java Specification Name Java Platform API Specification   
 Java Class Version 50.0
 

So I am going to go with - we're using the normal / standard CF install version.

Gavin


On 06/08/2010, at 12:58 PM, Kai Koenig wrote:

 Just to double check and a random idea - are you running this on the standard 
 JVM that comes with CF or has it been upgraded to 1.6.20+?
 
 Cheers
 Kai
 
 
 Okay some more news... but it is still not working.
 
 When I try to delete a certificate from the Java KeyStore using the certman 
 CFIDE extension it throws an error.
 Subsequently I have reverted to using the command line to do the KeyStore 
 maintenance.
 
 Here is what I have done;
 
 Imported into the KeyStore the public key used to access our SSL secured 
 website. (I.e the key we would issue to a client so that they could access 
 the site.
 
 in code this following line;
 cfset remoteLoginService = createObject(component,
  
 my.path.to.cfc.Service).init(https://mydomain/my/path/to/cfc/Service.cfc?wsdl;)
 
 causes this error;
 Unable to read WSDL from URL: 
 https://mydomain/my/path/to/cfc/Service.cfc?wsdl. Error: 
 javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated. 
 
 Now I don't know if this is the same thing or not, but I exported (via 
 Firefox - by clicking on the padlock icon and choosing EXPORT) the 
 certificate at the website.
 Imported THAT certificate in the Java KeyStore  - get the same error as 
 above.
 
 
 I then read on a blog - something about requiring the certificate used to 
 sign the public key and since we signed the key ourselves I added that to 
 the Java KeyStore too.
 But unfortunately - I still get the same error.
 
 The command line confirms that the certs are indeed in the KeyStore - as 
 does the CertMan CFIDE extension.
 I have restarted the CF service after each certificate installation.
 
 It would seem I have done everything required - but it still doesn't work.
 
 And let me also say that if I place the exact same CFCs and calling code 
 onto a non-SSL path - then the web service is consumed correctly - so am 
 really confident it is not a CFML coding issue.
 
 
 If anyone has any ideas at all - I would be most appreciative - Of course - 
 if I do get it working - I will let everyone know what I did.
 
 Gavin.
 
 
 On 05/08/2010, at 11:50 PM, MrBuzzy wrote:
 
 Yeah I agree the default CF9 jvm should be a-o-k. But ya never know. 
 
 I guess you're back to the challenge of importing it correctly. Or there's 
 some other issue going on.  
 
 Sent from my iPhone
 
 On 05/08/2010, at 11:21 PM, Gavin Beau Baumanis b...@palcare.com.au wrote:
 
 I don't get a cert warning in the browser because I have that cert  and 
 only that cert installed in the browser already.
 
 Our staging sites have all been confired to allow the same developer's 
 client cert - thus one cert for all staging sites.
 
 Thus only have one cert installed means you don't even get the prompt for 
 the cert it's just automatically applied by firefox - after the first run 
 of course...
 
 Well - at least that's what I am putting it (the working in the browser) 
 down to anyway.
 
 As for the JVM that we're using - to be honest - I wouldn't have a clue... 
 but since we're running CF9  - would it not be using whatever CF9 gets 
 bundled with?
 
 
 Gavin.
 
 
 
 On 05/08/2010, at 10:38 PM, MrBuzzy wrote:
 
 What I find interesting is your browser does not give any certificate 
 warnings when viewing the wsdl over https. That usually means you wont 
 need to import the certificate or issuing authority in to the JVM. 
 
 Is it possible you are using any early-ish JVM, like version 1.4.2? 
 If you can, upgrade the CF JVM to the latest 1.6.x. verslon. You will 
 need to modify jvm.config once you have installed the new JVM and give CF 
 a restart. 
 
 On 5 August 2010 20:29, Gavin Beau Baumanis b...@palcare.com.au wrote:
 
 On 05/08/2010, at 7:26 PM, MrBuzzy wrote:
 
  Annoying isn't it :)
 
 Yup sure is.
 
 
  When you view the https wsdl in a browser what warnings (if any) do you 
  get?
 
 None.
 
 The WSDL looks identical to that produced when using a non-https URL.
 Apart from the namespace addresses etc being different because of the 
 different URL
 
 
 
  Also if you're going commando (command line hehe) just check that you 
  are working on the same jvm or jdk

Re: [cfaussie] Comsume https webservice

2010-08-05 Thread Gavin Beau Baumanis
Now remember how I said EVERYTHING was working correctly for straight hhtp?


Well that hasn't changed - but I have to wonder how?

Here is the code I am using;
cfset remoteLoginService = createObject(component,

my.path.to.cfc.Service).init(https://mydomain/my/path/to/cfc/Service.cfc?wsdl;)

should it not be?;
cfset remoteLoginService = createObject(webservice, 
https://mydomain/my/path/to/cfc/Service.cfc?wsdl;)

I did try this by the way - and I still get the unauthenticated peer error 
message but I just thought it odd that thew previous version worked at all.

I also a . (period) used instead of the ? in CFLIVEDOCS - which I also 
tried - without success.
Once again I got the authentication error. so it would seem my underlying 
issue is still a certificate error - 
but if someone could shoot me the correct code to use when invoking a web 
service (perhaps you have one in your code already??) - that would be most 
handy.


Gavin.


On 06/08/2010, at 1:01 PM, Gavin Beau Baumanis wrote:

 Hi Kai,
 
 Here is what CFAdmin tells me;
 
 JVM Details 
 Java Version 1.6.0_14   
Java Vendor Sun Microsystems Inc.   
Java Vendor URL http://java.sun.com/ 
Java Home /opt/coldfusion9/runtime/jre   
 
 Java VM Specification Version 1.0   
Java VM Specification Vendor Sun Microsystems Inc.   
Java VM Specification Name Java Virtual Machine Specification   
Java VM Version 14.0-b16  
   Java VM Vendor Sun Microsystems Inc.   
Java VM Name Java HotSpot(TM) Server VM   
Java Specification Version 1.6   
Java Specification Vendor Sun Microsystems Inc.   
Java Specification Name Java Platform API Specification   
Java Class Version 50.0
  
 
 So I am going to go with - we're using the normal / standard CF install 
 version.
 
 Gavin
 
 
 On 06/08/2010, at 12:58 PM, Kai Koenig wrote:
 
 Just to double check and a random idea - are you running this on the 
 standard JVM that comes with CF or has it been upgraded to 1.6.20+?
 
 Cheers
 Kai
 
 
 Okay some more news... but it is still not working.
 
 When I try to delete a certificate from the Java KeyStore using the certman 
 CFIDE extension it throws an error.
 Subsequently I have reverted to using the command line to do the KeyStore 
 maintenance.
 
 Here is what I have done;
 
 Imported into the KeyStore the public key used to access our SSL secured 
 website. (I.e the key we would issue to a client so that they could access 
 the site.
 
 in code this following line;
 cfset remoteLoginService = createObject(component,
 
 my.path.to.cfc.Service).init(https://mydomain/my/path/to/cfc/Service.cfc?wsdl;)
 
 causes this error;
 Unable to read WSDL from URL: 
 https://mydomain/my/path/to/cfc/Service.cfc?wsdl. Error: 
 javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated. 
 
 Now I don't know if this is the same thing or not, but I exported (via 
 Firefox - by clicking on the padlock icon and choosing EXPORT) the 
 certificate at the website.
 Imported THAT certificate in the Java KeyStore  - get the same error as 
 above.
 
 
 I then read on a blog - something about requiring the certificate used to 
 sign the public key and since we signed the key ourselves I added that to 
 the Java KeyStore too.
 But unfortunately - I still get the same error.
 
 The command line confirms that the certs are indeed in the KeyStore - as 
 does the CertMan CFIDE extension.
 I have restarted the CF service after each certificate installation.
 
 It would seem I have done everything required - but it still doesn't work.
 
 And let me also say that if I place the exact same CFCs and calling code 
 onto a non-SSL path - then the web service is consumed correctly - so am 
 really confident it is not a CFML coding issue.
 
 
 If anyone has any ideas at all - I would be most appreciative - Of course - 
 if I do get it working - I will let everyone know what I did.
 
 Gavin.
 
 
 On 05/08/2010, at 11:50 PM, MrBuzzy wrote:
 
 Yeah I agree the default CF9 jvm should be a-o-k. But ya never know. 
 
 I guess you're back to the challenge of importing it correctly. Or there's 
 some other issue going on.  
 
 Sent from my iPhone
 
 On 05/08/2010, at 11:21 PM, Gavin Beau Baumanis b...@palcare.com.au 
 wrote:
 
 I don't get a cert warning in the browser because I have that cert  and 
 only that cert installed in the browser already.
 
 Our staging sites have all been confired to allow the same developer's 
 client cert - thus one cert for all staging sites.
 
 Thus only have one cert installed means you don't even get the prompt for 
 the cert it's just automatically applied by firefox - after the first run 
 of course...
 
 Well - at least that's what I am putting it (the working in the browser) 
 down to anyway.
 
 As for the JVM that we're using - to be honest - I wouldn't have a 
 clue... but since we're running CF9  - would it not be using whatever CF9 
 gets bundled with?
 
 
 Gavin

Re: [cfaussie] Comsume https webservice

2010-08-05 Thread Gavin Beau Baumanis
Yup - most certainly - after every change.
All this work is on our staging server - so we're free to restart services as 
often as required.


Gavin.


On 06/08/2010, at 3:15 PM, skateboard.com.au wrote:

 have you restarted cf after adding the cert into the keystore? 
 
 Drew Peacock
 
 
 
 -Original Message-
 From: Gavin Beau Baumanis b...@palcare.com.au
 To: cfaussie@googlegroups.com
 Date: Fri, 6 Aug 2010 15:10:42 +1000
 Subject: Re: [cfaussie] Comsume https webservice
 
 Now remember how I said EVERYTHING was working correctly for straight
 hhtp?
 
 
 Well that hasn't changed - but I have to wonder how?
 
 Here is the code I am using;
 cfset remoteLoginService = createObject(component,
  my.path.to.cfc.Service).init(https://mydomain/my/path/to/cfc/Servic
 e.cfc?wsdl)
 
 should it not be?;
 cfset remoteLoginService = createObject(webservice,
 https://mydomain/my/path/to/cfc/Service.cfc?wsdl;)
 
 I did try this by the way - and I still get the unauthenticated peer
 error message but I just thought it odd that thew previous version
 worked at all.
 
 I also a . (period) used instead of the ? in CFLIVEDOCS - which I
 also tried - without success.
 Once again I got the authentication error. so it would seem my
 underlying issue is still a certificate error - 
 but if someone could shoot me the correct code to use when invoking a
 web service (perhaps you have one in your code already??) - that would
 be most handy.
 
 
 Gavin.
 
 
 On 06/08/2010, at 1:01 PM, Gavin Beau Baumanis wrote:
 
 Hi Kai,
 
 Here is what CFAdmin tells me;
 
 JVM Details 
 Java Version 1.6.0_14   
  Java Vendor Sun Microsystems Inc.   
  Java Vendor URL http://java.sun.com/ 
  Java Home /opt/coldfusion9/runtime/jre   
 
 Java VM Specification Version 1.0   
  Java VM Specification Vendor Sun Microsystems Inc.   
  Java VM Specification Name Java Virtual Machine Specification   
  Java VM Version 14.0-b16  
  Java VM Vendor Sun Microsystems Inc.   
  Java VM Name Java HotSpot(TM) Server VM   
  Java Specification Version 1.6   
  Java Specification Vendor Sun Microsystems Inc.   
  Java Specification Name Java Platform API Specification   
  Java Class Version 50.0
 
 
 So I am going to go with - we're using the normal / standard CF
 install version.
 
 Gavin
 
 
 On 06/08/2010, at 12:58 PM, Kai Koenig wrote:
 
 Just to double check and a random idea - are you running this on the
 standard JVM that comes with CF or has it been upgraded to 1.6.20+?
 
 Cheers
 Kai
 
 
 Okay some more news... but it is still not working.
 
 When I try to delete a certificate from the Java KeyStore using the
 certman CFIDE extension it throws an error.
 Subsequently I have reverted to using the command line to do the
 KeyStore maintenance.
 
 Here is what I have done;
 
 Imported into the KeyStore the public key used to access our SSL
 secured website. (I.e the key we would issue to a client so that they
 could access the site.
 
 in code this following line;
 cfset remoteLoginService = createObject(component,
 
  my.path.to.cfc.Service).init(https://mydomain/my/path/to/cfc/Servic
 e.cfc?wsdl)
 
 causes this error;
 Unable to read WSDL from URL:
 https://mydomain/my/path/to/cfc/Service.cfc?wsdl. Error:
 javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated. 
 
 Now I don't know if this is the same thing or not, but I exported
 (via Firefox - by clicking on the padlock icon and choosing EXPORT) the
 certificate at the website.
 Imported THAT certificate in the Java KeyStore  - get the same
 error as above.
 
 
 I then read on a blog - something about requiring the certificate
 used to sign the public key and since we signed the key ourselves I
 added that to the Java KeyStore too.
 But unfortunately - I still get the same error.
 
 The command line confirms that the certs are indeed in the KeyStore
 - as does the CertMan CFIDE extension.
 I have restarted the CF service after each certificate
 installation.
 
 It would seem I have done everything required - but it still
 doesn't work.
 
 And let me also say that if I place the exact same CFCs and calling
 code onto a non-SSL path - then the web service is consumed correctly -
 so am really confident it is not a CFML coding issue.
 
 
 If anyone has any ideas at all - I would be most appreciative - Of
 course - if I do get it working - I will let everyone know what I did.
 
 Gavin.
 
 
 On 05/08/2010, at 11:50 PM, MrBuzzy wrote:
 
 Yeah I agree the default CF9 jvm should be a-o-k. But ya never
 know. 
 
 I guess you're back to the challenge of importing it correctly. Or
 there's some other issue going on.  
 
 Sent from my iPhone
 
 On 05/08/2010, at 11:21 PM, Gavin Beau Baumanis
 b...@palcare.com.au wrote:
 
 I don't get a cert warning in the browser because I have that
 cert  and only that cert installed in the browser already.
 
 Our staging sites have all been confired to allow the same
 developer's client cert - thus

Re: [cfaussie] CFObjective ANZ

2010-08-04 Thread Gavin Beau Baumanis

On 04/08/2010, at 6:19 PM, Barry Beattie wrote:

 and to back you up in what you say, Gavin, a classic case is formal
 study. When I was teaching, I tried to impress on the students, that
 although all the info was - in theory - out there ready to tap into,
 what was lost was structure and context. Sometimes it needed the
 expert to deliver it in a way for people to have the epiphany.
 
 and of course, there's the followup questions that are sometimes invaluable.
 

I find that at the CFUGs.
It's the questions after the presentation where it really clicks for me.


 I heard a story of a guest lecturer traveling around giving guest
 spots, who had a driver/PA on tour with him.
 
 After a while the driver said what you do is easy! I reckon I can do
 that - I've heard the same lecture enough times.
 
 so they made a pact that the next stop they would swap roles and the
 driver would give the lecture.
 
 Sure enough the driver did a good job regurgitating the same script
 ... until someone in the audience asked a pointed question. The guy
 kept his cool, trying to hide he wasn't the guest lecturer.
 
 what a silly question he said. So, silly that, in fact, I'm going
 to let my driver answer that question!
 

Ha ha ha... That is quite funny... I'll have to try and remember that one!

Gavin.

-- 
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.



Re: [cfaussie] CFUG Melbourne for 2010 (Post CFDrinks 3 Feb)

2010-02-04 Thread Gavin Beau Baumanis
Hi Everyone,

Ok lets Kick start thing off then
I really don't mind which venue we attend this year.
Now that I am no longer Public Transport reliant... I can get anywhere that it 
might be held.

I don't know the first thing about Flex - so selfishly I would love to have 
them included - I could certainly learn from them.

A for speakers and topics... I would truly like to give a presentation about 
using CF Debugger...
It would be the shot in the arm I need to get off my butt and learn about it.

Other topics that I would like to learn about are;
Using Selenium / testing in general
Frameworks.. I currently use Fusebox - but would love to learn about ColdBox.
I use ColdSpring at the moment and while I understand the fundamentals... I 
could always do with a greater in-depth knowledge, particularly AOP.
Server configuration / Monitoring / Java configuration
Flex / Lifecycle...

I am just a topic sponge. 


As always, please contact me if I can be of any futher assistance.

Gavin Beau Baumanis
Senior Application Developer
PalCare Pty. Ltd.

P: +61 -3 9380 3513
M: +61 -438 545 586
E: b...@palcare.com.au
W: http://palcare.com.au



On 04/02/2010, at 3:06 PM, Peter Robertson wrote:

 As planned (9 of us if I can count) gathered last night for CFDrinks
 at Fad Gallery in Melbourne.
 Thanks to all who attended and to Rocket Boots for picking up the bar
 tab.
 
 By the way, for those of you who missed this piece of news, Mark
 Mandel has stepped down from co-managing the Melbourne CFUG and I have
 stepped in to work with Steve Onnis for this year.  Mark, thanks for
 all your hard work, and we look forward to seeing you as often as
 you're able to make it to the CFUGs.
 
 Steve and my roles will be very roughly divided between communication,
 booking speakers, etc (me) and general logistics and sponsorship
 (Steve).
 
 Aside from drinking, we discussed where the Melbourne CFUG might go
 this year and resolved that there will not be a formal CFUG this
 month, and that we'll kick off in earnest for March.
 Other than that, no hard-and-fast decisions were made as we'd like to
 involve as many of you as possible in shaping the group.
 Included in the things we tossed around were:
 
 - VENUE:
 Dale on behalf of Cog State once again generously offered
 their board room.
 Cog State will be moving into the CBD later in the year,
 so this would satisfy centrality.
 Would people prefer a room at a bar (provided noise
 levels, suitable projection, etc could be managed)?
 
 - SCOPE:
 Given the demise of both the Adobe and Flex UGs here in
 Melbourne, should we provide coverage across the Adobe dev space and
 incorporate at least Flex?
 There was a general feeling that this would bring
 benefits to both camps.
 
 - FORMAT:
 Various formats were kicked around, including 1 main
 presentation plus discussion, 2 presentations, 1 main plus 1 small
 presentation, etc.
 Some of us would also like a casual, social opportunity
 to have a drink and talk afterward.
 
 - SPEAKERS / TOPICS:
 As always, we'll be looking for people prepared to
 present on a topic of interest.  Please put yourself forward if you'd
 like to offer.
 We'll also be asking you what sorts of topics you'd all
 like covered.
 
 Steve Onnis and I will be organising a survey shortly to get a clear
 handle on what people want.  In the meantime, your input here would be
 very welcome.
 
 Cheers
 
 
 
 Peter
 
 -- 
 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.



Re: [cfaussie] ColdFusion 9 Upgrade

2010-01-25 Thread Gavin Beau Baumanis
Hi Dale,

You can try Dimension Data
We got it from there a little while ago and I am pretty sure we paid about 50 
dollars less than that...and that was before I got emails from Adobe US that 
they were going to do something with respect to pricing parity in Australia.
I haven;'t actually chased up whether or not thtey have actually done 
anything... since we got  the license we needed at the time.
But we will require another soon, so I'll post again when I have found 
something out.

Gavin Beau Baumanis


On 25/01/2010, at 8:45 PM, Dale Fraser wrote:

 ColdFusion 9 Standard Upgrade is $893 inc GST on store.
  
 Anyone sell it cheaper than that?
  
 Regards
 Dale Fraser
  
 http://dale.fraser.id.au
 http://learncf.com
 http://flexcf.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.