[cfaussie] Comsume https webservice

2010-08-04 Thread Gavin Baumanis
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.



Re: [cfaussie] How good is the lock on Access databases?

2010-08-04 Thread Chris Velevitch
On Thu, Aug 5, 2010 at 08:50, Mike Kear  wrote:
> Here's my issue ... how to make sure that while I'm processing the updates,
> and preparing the package for download  no one can upload a new access
> database that will be over-written when I complete my processing.

Move the file to a "staging area" and process the file from there and
when you're done, move it to a "processed area" and then you can check
to see if there's a new file in the "ftp area" and then repeat.


Chris
--
Chris Velevitch
Manager - Adobe Platform Users Group, Sydney
m: 0415 469 095
www.apugs.org.au

Adobe Platform Users Group, Sydney
August 2010: Tell Us About Your Favourite Eclipse Plugin
Date: 30th August, 6pm for 6:30 start
Details and RSVP at
http://apugs.groups.adobe.com/index.cfm?event=post.display&postid=29530.

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

2010-08-04 Thread Mark Drew
That story really made my day :)

Mark Drew
Railo Technologies UK
Professional Open Source
skype:  mark_railo
email:  m...@getrailo.com
gtalk:  m...@getrailo.com
tel:+44 7971 85  22 96
web:http://www.getrailo.com

On 4 Aug 2010, at 09:19, Barry Beattie wrote:

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

-- 
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] How good is the lock on Access databases?

2010-08-04 Thread Mike Kear
I need to prevent people uploading an access database for a few minutes at a
time, and I want to know if locking it while using it as a DSN will do that.
   And it has to happen without human intervention.   Here's my scenario ...

I have users uploading an access database from legacy systems, containing
update information for my online database.   Their systems gather the
changes, put them into the access database, then automatically FTP that to a
central server  (Yes, i know but for now I'm stuck with that - rewriting
their legacy systems is on the agenda but it's a big job with LOTS of
ramifications so for now it's not an option!) So my CF9 system has to
read that access database,  and use the data contained within to update my
SQLServer2005 data that serves the online database.

So far so good.  But there are updates that need passing back the other way
too.  So I have to gather updates for the remote systems from the online
database,  package them up into an access database and put them into the FTP
Folder for the remote systems to download when they get round to it.

Here's my issue ... how to make sure that while I'm processing the updates,
and preparing the package for download  no one can upload a new access
database that will be over-written when I complete my processing.

I need to lock the FTP Folder  (ideally i'd like to lock out all FTP access
while this is going on but since i am using shared hosting i dont have
access to that) or in other ways prevent people uploading while i'm
processing  (shouldn't be more than a minute at a time) then write a new
Access database for them to download,  then open access to the FTP again.

At the moment the only way i can think to achieve this is
to programmatically make the database a dsn,  then unlock it again when I'm
done processing.   That doesnt seem very elegant to me, but then this whole
scenario isnt very elegant.   But does anyone have any better ideas?

-- 
Cheers
Mike Kear
Windsor, NSW, Australia
Adobe Certified Advanced ColdFusion Developer
AFP Webworks
http://afpwebworks.com
ColdFusion 9 Enterprise, PHP, ASP, ASP.NET hosting from AUD$15/month

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

2010-08-04 Thread charlie arehart
Thanks for the support, guys. I look forward to trying to meet your 
expectations! :-)

/charlie


> -Original Message-
> From: cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] On Behalf 
> Of
> Terry Sasaki
> Sent: Wednesday, August 04, 2010 4:33 AM
> To: cfaussie@googlegroups.com
> Subject: Re: [cfaussie] CFObjective ANZ
> 
> I have booked Charlie's one. I want to learn that topic in kinda structured 
> way.
> 
> - Terry
> 
> >


-- 
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: Coding Standards

2010-08-04 Thread Robin Hilliard
On 04/08/2010, at 8:09 PM, Toby Tremayne wrote:

> I have to disagree on that one Robin :) 

Well probably no point getting into a debate about Cairngorm on cfaussie - I'll 
be at the Flex UG tomorrow night anyway (at a Mate presentation no less) if 
anyone's interested in talking about Flex frameworks.

Cheers,
Robin

-- 
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: Coding Standards

2010-08-04 Thread Toby Tremayne
I have to disagree on that one Robin :)  I personally think Adobe  
pushed cairngorm because it was the only available framework at the  
time, and it died because it's over complicated and doesn't really  
play to Flex's strengths.  Frameworks like Mate etc that use an event  
bus and cater for use of modules etc are much more appropriate, and  
require less development effort.


While I believe that the prejudice against cairngorm is correct :) I  
think some of it also came from the fact that a lot of people started  
looked at cairngorm and started building flex apps as if they were  
J2EE apps.  I'm working on one now for example that was built  
incredibly inflexibly with enormous amounts of inheritance and J2EE  
style architecture when it's both completely unnecessary and actually  
detrimental to the ongoing development of the application.


Of course it all comes down to personal preference, but I loathe  
cairngorm because it takes too much work to get anything happening,  
and lends itself to very bad architecture.  These are of course my own  
heavily opinionated views ;)


Toby
On 04/08/2010, at 7:06 PM, Robin Hilliard wrote:


On 04/08/2010, at 2:56 PM, Steve Onnis wrote:

"that's like saying that the manufacturer of a rivet gun should  
determine

airworthiness standards for aircraft assembled with their products."

Fair call but the manufacturer of a rivet gun should give the user  
of said

rivet gun guidelines on how best to use the rivet gun true?


Sure, but I see Livedocs as the CF analog to those guidelines - tags/ 
functions = rivets



Adobe should be saying things like


Can I add Cairngorm to Sean's list of frameworks promoted (gently)  
by Adobe that got a very
poor reception from the community - people really seem to resent  
Adobe handing out

development guidelines for some reason - see

http://flexblog.faratasystems.com/2010/05/19/how-the-flex-framework-cairngorm-2-died

And my response (among others) in the comments.

Cheers,
Robin



ROBIN HILLIARD
Chief Technology Officer
ro...@rocketboots.com.au

RocketBoots Pty Ltd
Level 11
189 Kent Street
Sydney NSW 2001
Australia
Phone +61 2 9323 2507
Facsimile +61 2 9323 2501
Mobile +61 418 414 341
www.rocketboots.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] Re: Coding Standards

2010-08-04 Thread Robin Hilliard
On 04/08/2010, at 2:56 PM, Steve Onnis wrote:

> "that's like saying that the manufacturer of a rivet gun should determine
> airworthiness standards for aircraft assembled with their products."
> 
> Fair call but the manufacturer of a rivet gun should give the user of said
> rivet gun guidelines on how best to use the rivet gun true?

Sure, but I see Livedocs as the CF analog to those guidelines - tags/functions 
= rivets

> Adobe should be saying things like 

Can I add Cairngorm to Sean's list of frameworks promoted (gently) by Adobe 
that got a very
poor reception from the community - people really seem to resent Adobe handing 
out 
development guidelines for some reason - see

http://flexblog.faratasystems.com/2010/05/19/how-the-flex-framework-cairngorm-2-died

And my response (among others) in the comments.

Cheers,
Robin


 
ROBIN HILLIARD
Chief Technology Officer
ro...@rocketboots.com.au

RocketBoots Pty Ltd
Level 11
189 Kent Street
Sydney NSW 2001
Australia
Phone +61 2 9323 2507
Facsimile +61 2 9323 2501
Mobile +61 418 414 341
www.rocketboots.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 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] CFObjective ANZ

2010-08-04 Thread Terry Sasaki
I have booked Charlie's one. I want to learn that topic in kinda structured way.

- Terry

On 4 August 2010 18:19, 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 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!"
>
> context, and expert advice, is everything.
>
>
>
>
> On Wed, Aug 4, 2010 at 5:16 PM, Gavin Baumanis  wrote:
>> So,
>>
>> Anyone here planning on going to any of the pre-conference workshops?
>>
>> I'm still trying to get the powers to be - to agree to send me to
>> Charlie's CF Server admin workshop.
>> While most of charlie's information is available on his website and on
>> the mailing lists he loiters upon there's nothing quite like being
>> able to ask specfic questions and get specific answers on the spot.
>>
>> 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] CFObjective ANZ

2010-08-04 Thread Barry Beattie
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 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!"

context, and expert advice, is everything.




On Wed, Aug 4, 2010 at 5:16 PM, Gavin Baumanis  wrote:
> So,
>
> Anyone here planning on going to any of the pre-conference workshops?
>
> I'm still trying to get the powers to be - to agree to send me to
> Charlie's CF Server admin workshop.
> While most of charlie's information is available on his website and on
> the mailing lists he loiters upon there's nothing quite like being
> able to ask specfic questions and get specific answers on the spot.
>
> 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.



[cfaussie] CFObjective ANZ

2010-08-04 Thread Gavin Baumanis
So,

Anyone here planning on going to any of the pre-conference workshops?

I'm still trying to get the powers to be - to agree to send me to
Charlie's CF Server admin workshop.
While most of charlie's information is available on his website and on
the mailing lists he loiters upon there's nothing quite like being
able to ask specfic questions and get specific answers on the spot.

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] Re: Coding Standards

2010-08-04 Thread Sean Corfield
On Tue, Aug 3, 2010 at 11:38 PM, Steve Onnis  wrote:
> If a coding standard for writing ColdFusion should be developed it should be
> developed by Adobe, maintained distributed by them also. After all they are
> the ones distributing the platform.

Don't you think a coding standard for a language should be written by
people who program in that language?

Adobe's ColdFusion product team have historically been Java developers
(well, since it switched from C++ to Java) and they don't write much
CFML. That *may* have changed recently but last time I talked to the
CF team (at CFUnited, last week) they still seemed to be hard core
Java guys (and gals).

The coding guidelines on livedocs were written by my Web Technology
Group team. We programmed macromedia.com in CFMX 6.0 / 7.0 and that
was our day job, every day. I'm disappointed Web Team didn't keep the
document up to date after I left but I definitely feel that CFML
coding standards should be written by CFML developers :)

Should Adobe pick one set of guidelines out there and promote them? I
don't think so. People didn't seem to like the idea of Macromedia
'picking' a single framework and promoting it (Mach-II... and, to be
honest, we did *not* promote it but people still complained). Or has
the mood changed and people really do want Adobe to tell them the "One
True Way"?

Back when I was developing C++ coding standards for companies for a
living (yup, really, back in early 90's that was big business in
Europe - about £10,000 a pop), there was a certain amount of
commonality across all the standards I developed but most companies
had different needs and wanted different rules enshrined in their
standards. Even "performance" stuff depended on what they were doing
with data (and which compiler they were using). And in my opinion,
coding standards shouldn't be based on performance concerns since
those change with every product version as well as being very
dependent on the type of application and the type of data being
manipulated.
-- 
Sean A Corfield -- (904) 302-SEAN
Railo Technologies, Inc. -- http://getrailo.com/
An Architect's View -- http://corfield.org/

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

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