[cfaussie] Re: ColdFusion/Railo on Java PaaS

2013-07-09 Thread Pat
We have had good success with cloudbees.com and not so much Heroku. 

However, this was a play framework scala app (not a CF app) and the issue 
we had with Heroku is that it didn't have a local repository of libs

On Wednesday, 10 July 2013 00:01:26 UTC+10, Geoff Bowers wrote:
>
> Anyone out there been working with a Java PaaS (platform as a service)?
>
> Been having some great success tinkering with CloudBees (
> http://www.cloudbees.net).  Was wondering if anyone had good experiences 
> on other platforms as well.
>
> Trying to work out if its viable or not to consider these deployment 
> environments for client CF apps, and move to the whole NoOPS Nirvana.
>
> -- geoff
> http://www.daemon.com.au/
> twitter. @modius 
>

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/groups/opt_out.




[cfaussie] Re: MAD! Melbourne Adobe Developers: Apache Flex: The way forward. June 21st, 2012

2012-06-19 Thread Pat
I can't make it but would love to see some artefacts from the presentation 
- screencast, powerpoints etc..

On Tuesday, 19 June 2012 13:45:12 UTC+10, Peter Robertson wrote:
>
> *Justin Mclean has more than 15 years experience in developing web based 
> applications and over that time has worked on hundreds of web applications, 
> database driven web sites, multimedia applications and semiconnected 
> desktop applications.
>
> Justin has managed his own consulting company Class Software for 15 years 
> and has a long history with Adobe/Macromedia/Allaire products in particular 
> ColdFusion (still has the 3 floppies it originally came on) and Flex (now 
> Apache Flex). Justin is also a Apache Flex board member and committer, an 
> Adobe Community Professional, a certified Adobe trainer for ColdFusion and 
> Flex and is an international conference speaker.
>
> Apache Flex: The way forward
> An inside look of the Apache Flex project, it current status, what has 
> (and hasn't) been achieved, it's future direction and what you can do to 
> get involved.
>
> Date: Thursday 21st June 2012
> 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 Adobe Developers
>
> Steve Onnis
>
> Manager
> Melbourne Adobe Developers* 
>

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/cfaussie/-/0E2invzXLB0J.
To post to this group, send email to cfaussie@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



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

2010-11-24 Thread Pat
Good clarifications Kai. Always nice to cut through some of the
marketing spin.

Carl, swapping out your JDBC drivers would be a fairly small amount of
effort to see if it gives you any performance improvements. You could
just run your regression tests over your app after the swap and see
the footprint is lower.

On Nov 24, 2:25 pm, Kai Koenig  wrote:
> Just a quick note to make a few things clear:
>
> - the type doesn't reflect on the quality. E.g. a type 4 driver is not better 
> than a type3 driver and a type5 driver not necessary better than a type4 
> driver. They just do things in different ways. I just want to avoid that the 
> type is seen as a quality indicator.
>
> - there is no such thing as jdbc type5 drivers. The product Carl is pointing 
> to is nothing but a vendor-specific implementation of a type4-driver with a 
> few new and different features that Data Direct have decided to give as much 
> marketing spin as they can and call it "type5".
>
> - the features in that "type5" driver that appear to make them be miles ahead 
> are mostly irrelevant from a CF point of view imho. For Java developers - 
> looks certainly interesting. But a lot of the stuff this driver promises to 
> fix is dealt with within CF anyway so that I think it won't be relevant for 
> CF devs.
>
> - I haven't looked at the price tag, but I assume the DD drivers don't come 
> free of charge.
>
> Happy to be proven wrong in all of my points though :-)
>
> Cheers
> Kai
>
>
>
> > Hello Pat,
>
> > I use the divers built in CF. The JDBC divers in CF8/9 are type4. I
> > see datadirect has released jdbc type5 drivers:
>
> >http://web.datadirect.com/products/jdbc/index.html
>
> > Regards, Carl.
>
> >> I haven't checked in a while but the jtds driver (http://
> >> jtds.sourceforge.net/) used to be faster than default JDBC driver CF
> >> come's with for MSSQL
>
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "cfaussie" group.
> > To post to this group, send email to cfaus...@googlegroups.com.
> > To unsubscribe from this group, send email to 
> > cfaussie+unsubscr...@googlegroups.com.
> > For more options, visit this group 
> > athttp://groups.google.com/group/cfaussie?hl=en.
>
> --
> Kai Koenig - Ventego Creative Ltd
> ph: +64 4 476 6781 - mob: +64 21 928 365 /  +61 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.



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

2010-11-23 Thread Pat
I haven't checked in a while but the jtds driver (http://
jtds.sourceforge.net/) used to be faster than default JDBC driver CF
come's with for MSSQL

On Nov 24, 7:13 am, BarryC  wrote:
> Hi,
>
> We have an issue currently where our Microsoft SQL server runs close
> to 100% CPU for a lot of the time. There also seems to be a lack of
> memory cache hits (we would expect a reasonable amount given the
> traffic for our site).
>
> Our website generates a lot of small queries (approximately 200odd
> queries a second on average, which includes all our cluster servers),
> most of these queries complete in under 2 or 3 milliseconds.
>
> Has anyone had anything similar to this, or may know of any related
> issues to do with the servers / software versions we are running? this
> is our configuration;
>
> Microsoft SQL server 2008, single CPU on VMWare.
> Coldfusion 9 (no updaters) - runs on Linux Red Hat servers with JRun
> 4.
> Our Coldfusion datasource driver is the Microsoft SQL server drvier
> that ships with CF 9.
>
> Our datasource configuration parameters are:
>
> Driver: MSSQLServer
> JDBC URL:  jdbc: macromedia:sqlserver://ourservername:
> 1433;databaseName=dbprod;SelectMethod=direct;sendStringParametersAsUnicode=true;querytimeout=0;MaxPooledStatements=1000
> Login timeout: 30 seconds
> Long text buffer size: 256000
> Timeout: 1200 seconds
> Maintain connections: Yes
> Interval: 420 seconds
> Restricted SQL operations:
> Disable connections: No
> CLOB is enabled (as well as High ASCII characters)
>
> I know this isn't an SQL group, but someone might have run into this
> before :)
>
> It is possible we just need to add another CPU to our DB server, but
> we are trying to eliminate other possible issues first.
>
> Thanks
> Barry

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



[cfaussie] Re: Serving of large files over the web - performance impact, issues?

2010-10-28 Thread Pat
Had a fairly similar issue on OLT Barry (remember that chestnut?) and
the consensus was to move all the downloading outside the CF app onto
an entirely different webserver (IIS at the time) to isolate load.

On Oct 29, 7:48 am, BarryC  wrote:
> Hi all,
>
> This isn't really a coldfusion specific question, but I thought some
> people here might have dealt with this sort of thing.
>
> We are looking at serving of large files (e.g. 4GB) from our web
> servers. We run Apache web servers, but I haven't been able to find
> any useful general information about the impact of serving out large
> files and what performance problems there might be when serving out
> large files in terms of server performance, does one need to be
> running a separate service all together to be dishing out large files
> from a web server? I know there are a limited number of http
> connections that can be made to a server, and these can be tied up if
> someone is spending several hours downloading one file. Obviously
> bandwidth of the server and client is a factor, but I'm not so worried
> about that at the moment.
>
> If anyone has experience serving large files any info would be very
> handy :)
>
> Thanks
> Barry Chesterman.

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



[cfaussie] Re: CF Contractor Rates

2010-09-15 Thread Pat
I'd also think that if you are contracting in the US, you have make up
for the health package you would get on salary? Hence rates would be
more?

On Sep 15, 11:54 pm, "M@ Bourke" 
wrote:
> I'd say Oz isn't very far behind Europe,
>
> I'm from oz but now in the for the last UK 4.5 years
> avg for the UK is £35ph,
> £35 = $58aud
> the Aussie $ is quite high, 4 years ago
> £35 = $91aud
>
> during the recession (we had one here, a proper one) some good developers I
> know had to take lower rates like £30
> 95% of all cf devs wouldn't be able to get over £40
> £40 = $66aud
> even now £40 would be quite high,
> Most good devs that I've worked with here that have gone over to mainland
> europe aren't on much more.
> If anything I'd say Australia is a much more cheaper place to live and has
> higher wages (due to the strong $AUD)

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



[cfaussie] Re: Eclipse Settings on Mac OS X

2010-08-22 Thread Pat
Have you installed Eclipse and then the Adobe CF plug-in OR is the
plug-in part of the Eclipse installation?

This may be completely unrelated, but I know with the Flex Builder
plug-in, the base version of Eclipse that you add the plug-in to MUST
be exact version that the Adobe doco states - otherwise you have
problems.


On Aug 20, 11:12 am, Gavin Baumanis  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.



[cfaussie] Re: Database Changes

2010-08-19 Thread Pat
"which is why the best consultants get paid the big bucks"

Without mentioning any company names, I'm still yet to see the
intersection between "best consultants" and "big bucks" :)

On Aug 19, 11:48 am, Barry Beattie  wrote:
> "but from my experience, auditing is a feature requirement that is
> included quite late..."
>
> which is a shame because that and handling data collisions are
> straightforward things to tackle if factored in at the beginning, not
> hacked together after the fact.
>
> which is why the best consultants get paid the big bucks - it saves
> money in the long run.
>
> well, my opinion anyway.
>
> On Thu, Aug 19, 2010 at 11:37 AM, Pat  wrote:
> > AOP would be nice... but if the code your are running your PointCuts
> > on isn't quite set-up for it, its not the right solution.
>
> > Do you have versioning on your records? This would make it a lot
> > easier but from my experience, auditing is a feature requirement that
> > is included quite late...
>
> > On Aug 19, 10:19 am, Mark Mandel  wrote:
> >> Here here!
>
> >> Mark
>
> >> On Thu, Aug 19, 2010 at 8:37 AM, Barry Beattie 
> >> wrote:
>
> >> > This is one of the reasons I like the concept of AOP - squeeze in
> >> > there to add auditing/logging without mucking up too much code.
>
> >> --
> >> E: mark.man...@gmail.com
> >> T:http://www.twitter.com/neurotic
> >> W:www.compoundtheory.com
>
> >> cf.Objective(ANZ) - Nov 18, 19 - Melbourne 
> >> Australiahttp://www.cfobjective.com.au
>
> >> Hands-on ColdFusion ORM Trainingwww.ColdFusionOrmTraining.com
>
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "cfaussie" group.
> > To post to this group, send email to cfaus...@googlegroups.com.
> > To unsubscribe from this group, send email to 
> > cfaussie+unsubscr...@googlegroups.com.
> > For more options, visit this group 
> > athttp://groups.google.com/group/cfaussie?hl=en.

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



[cfaussie] Re: Database Changes

2010-08-18 Thread Pat
AOP would be nice... but if the code your are running your PointCuts
on isn't quite set-up for it, its not the right solution.

Do you have versioning on your records? This would make it a lot
easier but from my experience, auditing is a feature requirement that
is included quite late...

On Aug 19, 10:19 am, Mark Mandel  wrote:
> Here here!
>
> Mark
>
> On Thu, Aug 19, 2010 at 8:37 AM, Barry Beattie wrote:
>
>
>
> > This is one of the reasons I like the concept of AOP - squeeze in
> > there to add auditing/logging without mucking up too much code.
>
> --
> E: mark.man...@gmail.com
> T:http://www.twitter.com/neurotic
> W:www.compoundtheory.com
>
> cf.Objective(ANZ) - Nov 18, 19 - Melbourne 
> Australiahttp://www.cfobjective.com.au
>
> Hands-on ColdFusion ORM Trainingwww.ColdFusionOrmTraining.com

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



[cfaussie] Re: Coding Standards

2010-08-03 Thread Pat
I think that if you really want code standard adoption, it has to be
built into the tools you are using (ie. eclipse) and also your build
environments (ie. hudson) or some other way to automate and report on
adherence.

I'd also think it would work best on a greenfield project as forcing
code standards on legacy code (or even more recent code) could be
quite time consuming and (if automated) my loose some of the original
developer's layout that provided semantic meaning.

On Aug 3, 3:22 pm, Brett Payne-Rhodes  wrote:
> I've been looking at published CF coding standards and guidelines and just
> thought I would share this gem...
>
> Which do you think came first?
>
> http://cf.etisbew.com/home.cfm?file=codingstandards.htm
>
> or
>
> http://www.brevardcounty.us/is/webdevguide/codingstandards/cfml/cfmlg...
>
> Blatant plagarism like this makes me wonder what else they might be
> borrowing...
>
> If you have a public coding standard that you would like to share I'd been
> to hear about it. So far Sean Corfield's old CFMX coding standard 
> athttp://livedocs.adobe.com/wtg/public/coding_standards/contents.htmllooks
> like the best place to start...
>
> B)

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



[cfaussie] Re: CFHTTP to invalid SSL host

2010-06-29 Thread Pat
http://jxplorer.org/ has a fairly nifty GUI for importing certificates
into a truststore.

I would think that CF would use the truststore of the JRE/JDK that it
sits on. The truststore file that java uses is usually contained in a
file called "cacerts". Open this up with JXplorer and you'll see a
complete list of the trusted certs with the ability to add and delete.

On Jun 30, 9:30 am, Barry Chesterman 
wrote:
> I could be wrong, but I seem to remember seeing something that you can add a
> certificate as a 'trusted cert' on the coldfusion server that is doing the
> cfhttp call, so maybe have a google for that too?
>
> On Wed, Jun 30, 2010 at 10:19 AM, Mark Mandel  wrote:
> > I think you're stuck with what Dale is saying, or use keytool to import it
> > into the JDK.
>
> > Putting an exception into browsers is pretty straight forward.
>
> > Mark
>
> > On Tue, Jun 29, 2010 at 7:26 PM, MrBuzzy  wrote:
>
> >> Dear Brains-trust,
>
> >> I'd like to make a CFHTTP request over SSL to one of our dev servers.
>
> >> The dev server has a normal SSL certificate, from a trusted root
> >> authority.
>
> >> However the host name does not match the name registered to
> >> the certificate (because it's a dev host). CFHTTP fails to make the
> >> connection.
>
> >> Any thoughts on how to achieve this?
>
> >> While I haven't done much googling, I'm thinking about generating an
> >> untrusted certificate and using this instead.
> >> The downside being the certificate needs to be imported to each JVM and
> >> browser, as required.
>
> >> Cheers.
>
> >>  --
> >> You received this message because you are subscribed to the Google Groups
> >> "cfaussie" group.
> >> To post to this group, send email to cfaus...@googlegroups.com.
> >> To unsubscribe from this group, send email to
> >> cfaussie+unsubscr...@googlegroups.com
> >> .
> >> For more options, visit this group at
> >>http://groups.google.com/group/cfaussie?hl=en.
>
> > --
> > E: mark.man...@gmail.com
> > T:http://www.twitter.com/neurotic
> > W:www.compoundtheory.com
>
> > cf.Objective(ANZ) - Nov 18, 19 - 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 cfaus...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > cfaussie+unsubscr...@googlegroups.com
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/cfaussie?hl=en.

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



[cfaussie] Re: cfcache / ehcache in a cluster

2010-03-25 Thread Pat Branley
Hi Rob

Got your email, thanks heaps.

We found that the CFFILE ram:// isn't using ehcache ?! so our need to
cluster the ehcace went away. we resorted back to Ye old UNC paths.

also, in my tests i was trying to cache the 'default' cache and not
creating a new cache like in your XML file example.

Pat

On Mar 19, 3:00 pm, Rob Brooks-Bilson 
wrote:
> Mark,
>
> I followed up with Pat via email. I haven't heard back from him yet,
> but I do have working examples showing how to use Ehcache in a
> clustered configuration with multiple instances.
>
> Pat, if you aren't able to get it working with the ehcache file I sent
> you, let me know and I'll get you the more complete examples (with CF
> source) with a more detailed explanation.
>
> -Rob
>
> On Mar 16, 4:44 pm, Mark Mandel  wrote:
>
> > I *believe* Rob Brooks Bilson has got it to work, from my conversations with
> > him, and I'm pretty sure he demo'd it at MAX last year (I think I was in the
> > session with technical difficulties).
>
> >http://www.brooks-bilson.com/blogs/rob/index.cfm/Ehcache
>
> > You can view his presentations here:http://tv.adobe.com/search/?q=cache
>
> > Let me know if that helps you out.
>
> > Mark
>
> > On Wed, Mar 17, 2010 at 9:03 AM, Pat Branley  wrote:
> > > Hi All
>
> > > has anyone managed to get CFCACHE to cluster ?
>
> > > Below is my ehcache.xml - from what i understand this is all you
> > > should need to make it replicate the cache across the cluster. but its
> > > not working
>
> > > Im testing this locally on my win vista x64 laptop with 2 x cf9
> > > instances running out of the same Jrun (but obviously separate JVM's)
> > > - im wondering if this only works if the instances are on different
> > > boxes altogether - something to do with multicast perhaps ?
>
> > > Theres lots of information about how to use CFCACHE, just not alot
> > > about on how you actually configure it. I found something on Ray
> > > Camdens blog, but nothing about how you catually configure the
> > > multicast stuff on the NIC
>
> > >http://www.coldfusionjedi.com/index.cfm/2009/7/18/ColdFusion-9-and-Ca...
>
> > > Cheers
> > > Pat
>
> > > 
> > > class="net.sf.ehcache.distribution.RMICacheManagerPeerProviderFactory"
> > >            properties="peerDiscovery=automatic,
> > >                        multicastGroupAddress=230.0.0.1,
> > >                        multicastGroupPort=4446"/>
>
> > > 
> > > class="net.sf.ehcache.distribution.RMICacheManagerPeerListenerFactory"/
>
> > >  > >        maxElementsInMemory="1"
> > >        eternal="false"
> > >        timeToIdleSeconds="86400"
> > >        timeToLiveSeconds="86400"
> > >        overflowToDisk="false"
> > >        diskSpoolBufferSizeMB="30"
> > >        maxElementsOnDisk="1000"
> > >        diskPersistent="false"
> > >        diskExpiryThreadIntervalSeconds="3600"
> > >        memoryStoreEvictionPolicy="LRU"
>
> > >                        
> > >  class="net.sf.ehcache.distribution.RMICacheReplicatorFactory"
> > >                                properties="replicateAsynchronously=true,
> > > replicatePuts=true,
> > > replicateUpdates=true,
> > >                                replicateUpdatesViaCopy=false,
> > > replicateRemovals=true "/>
>
> > > 
>
> > > --
> > > You received this message because you are subscribed to the Google Groups
> > > "cfaussie" group.
> > > To post to this group, send email to cfaus...@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > cfaussie+unsubscr...@googlegroups.com
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/cfaussie?hl=en.
>
> > --
> > E: mark.man...@gmail.com
> > T:http://www.twitter.com/neurotic
> > W:www.compoundtheory.com
>
> > Hands-on ColdFusion ORM Training @ cf.Objective() 
> > 2010www.ColdFusionOrmTraining.com/

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



[cfaussie] Flex builder source code

2010-03-24 Thread Pat
Hi All,

I know this is a bit off the CF topic, but this group is just so much
more active than aussie flex group.

Anyway, has anyone had a play with the Flex builder source code
(http://kb2.adobe.com/cps/243/4b243413.html) to make anything usable
as a Flex IDE?

Thanks in advance.

-- 
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] cfcache / ehcache in a cluster

2010-03-16 Thread Pat Branley
Hi All

has anyone managed to get CFCACHE to cluster ?

Below is my ehcache.xml - from what i understand this is all you
should need to make it replicate the cache across the cluster. but its
not working

Im testing this locally on my win vista x64 laptop with 2 x cf9
instances running out of the same Jrun (but obviously separate JVM's)
- im wondering if this only works if the instances are on different
boxes altogether - something to do with multicast perhaps ?

Theres lots of information about how to use CFCACHE, just not alot
about on how you actually configure it. I found something on Ray
Camdens blog, but nothing about how you catually configure the
multicast stuff on the NIC
http://www.coldfusionjedi.com/index.cfm/2009/7/18/ColdFusion-9-and-Caching-Enhancements

Cheers
Pat











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



[cfaussie] Re: Eclipse Memory Analyzers

2010-01-04 Thread Pat
VisualVM (that comes with jdk 1.6 and up) provides similar
functionality as well.

On Jan 5, 10:37 am, Mark Ireland  wrote:
> Can this be used with a Coldfusion snapshot?
>
> http://java.sys-con.com/node/1230460
>
> _
> Get more out of Hotmail Check out the latest features 
> todayhttp://windowslive.ninemsn.com.au/hotmail/article/878466/your-hotmail...

--

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




[cfaussie] Re: Persistent Scopes and Memory

2009-11-10 Thread Pat Branley
Hi Guys

I was having a JVM problem with an app that was partially (MG/Reactor/
ColdSpring) and paritally old-school CF this last week and did 3
things

1. update to the latest JVM - JVM 1.6 update 16
http://corfield.org/blog/index.cfm/do/blog.entry/entry/Java_6_and_ColdFusion_8

2. set the garbage collection to run every 10 minutes
http://www.cfwhisperer.com/post.cfm/sun-jvm-1-6-heap-memory-behavior-with-coldfusion-frameworks
http://www.webapper.com/blog/index.php/2006/06/08/20060606021131/

3. Update to CF 8.0.1 updater 3
http://fusiongrokker.com/archives/category/coldfusion-8

The first 2 seemed to stop the 'out of memory' errors every night, but
no. 3 made the server actually run at a lower memory usage.

Seems like there needs to be a special fullasagoog/mxna category for
ColdFusion/JVM 'stuff'.

Pat

ps. while i could have used it last week, looking fwd to Cfobjective
talk on JVM tuning this week!



On Nov 8, 3:00 pm, Barry Beattie  wrote:
> @Steve
>
> catch up with this guy
>
> http://cfobjective.com.au/index.cfm?objectID=27C7E0B3-1AA0-353A-5AF4E...
>
> he'll be in your neighborhood
>
> http://cfobjective.com.au/index.cfm?objectID=27CD659B-1AA0-353A-5ABF2...
>
> my 2c
>
> On Sun, Nov 8, 2009 at 12:44 PM, Steve Onnis  wrote:
> > yep. put them all in, restarted the server and it wouldnt start
> > 
> > From: Mark Ireland [mailto:markinc...@hotmail.com]
> > Sent: Sunday, 8 November 2009 12:43 PM
> > To: cfaussie@googlegroups.com
> > Subject: [cfaussie] Re: Persistent Scopes and Memory
>
> > You tried everything he suggested, all at once?
>
> > 
> > From: st...@cfcentral.com.au
> > To: cfaussie@googlegroups.com
> > Subject: [cfaussie] Re: Persistent Scopes and Memory
> > Date: Sun, 8 Nov 2009 05:17:12 +1100
>
> > I tried this on my CF8.01 64 Bit server and the server wouldn't restart..had
> > to roll it back
> > 
> > From: Kevin Pepperman [mailto:chorno...@gmail.com]
> > Sent: Saturday, 7 November 2009 11:21 AM
> > To: cfaussie@googlegroups.com
> > Subject: [cfaussie] Re: Persistent Scopes and Memory
>
> > I believe he is referring to:
>
> >  standard garbage collector can't collect in the permanent generation
>
> >http://www.shadocms.com/shadozoom/company/blog/2009/jvm-perm-out-of-m...
> > Adding the info in this post to our jvm config solved our perm gen memory
> > issues.
>
> >  CF is doing 'small' garbage collection and 'large' garbage collection.
>
> > /K
> > 
> > 
> > Head to the Daily Blob on Windows Live For more of what happens online

--

You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaus...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=.




[cfaussie] Re: CF8 "file not found" strangeness

2009-07-09 Thread Pat

I had a mate work at said company doing CF stuff - said it was a bunch
of cowboys running it.

On Jul 3, 4:01 pm, Mike Kear  wrote:
> G'day Ryan,
>
> Dare I be so bold as to suggest next time you're looking for shared
> hosing you consider using a hosting company run by someone who's a
> ColdFusion developer hisself.   Like for example .  me?
>
> 
>
> Cheers
> Mike Kear
> Windsor, NSW, Australia
> Adobe Certified Advanced ColdFusion Developer
> AFP Webworkshttp://afpwebworks.com
> ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month
>
> On Fri, Jul 3, 2009 at 2:51 PM, Ryan Sabir wrote:
>
> > Hi all,
>
> > Finally got this issue worked out.
>
> > It turns out that they didn't have modify permissions for my user on
> > c:\coldfusion8\wwwroot\web-inf\cfclasses\
>
> > Not a word of apology for wasting my time telling me it was my
> > problem. I don't understand how a company claiming to offer a standard
> > shared hosting package would have such a basic issue come up.
>
> > Thanks for everyones help here, it really set my mind at ease that I
> > hadn't forgotten how to write a 3 line CF page.
>
> > bye!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Verity vs SQL Server Full-text index

2008-11-19 Thread Pat Branley

Thanks for the responses everyone.

I think i might choose verity over SQL just on the ability to index
PDF files and other content.

Cheers

Pat



On Nov 19, 9:57 pm, "Chris Velevitch" <[EMAIL PROTECTED]>
wrote:
> Perhaps you might also consider looking at using Lucene 
> (seehttp://goat.riaforge.org/).
>
> Chris
> --
> Chris Velevitch
> Manager - Adobe Platform Users Group, Sydney
> m: 0415 469 095www.apugs.org.au
>
> Adobe Platform Users Group, Sydney
> November meeting: What's New In Flash Player 10?
> Date: Mon 24th November 6pm for 6:30 start
> Details and RSVP onhttp://apugs2008november.eventbrite.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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Verity vs SQL Server Full-text index

2008-11-18 Thread Pat Branley

Thanks steve, the PDF one is a good point.

>From what i read about google mini is you don't have all the
restrictions of the API because the results are served from the mini
box. You then style the results page with XSLT. But that does mean
linking out the some other URL like 'search.mysite.com' and
duplicating nav HTML etc etc



On Nov 19, 12:37 pm, "Steve Onnis" <[EMAIL PROTECTED]> wrote:
> If the google appliance is runs anything like google does you are going to
> have restrictions on the number of records you can return as the google API
> only lets you return 10 records at a time.
>
> If the SQL Full Text search is set up correctly with should be pretty good
> as it will give you result ranking and all that.  Also the SQL way wont
> restrict you regards to descriptions and stuff as both Verity and Google
> return a trimmed down description based on what you are indexing.
>
> The main advantage of using the Google appliance and Verity is that it can
> index all your documents like pdfs and that sort of thing which you wont be
> able to do (as far as i know) using SQL.
>
> Food for thought...
> Steve
>
> -Original Message-
> From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
>
> Of Pat Branley
> Sent: Wednesday, 19 November 2008 12:11 PM
> To: cfaussie
> Subject: [cfaussie] Verity vs SQL Server Full-text index
>
> Hi Guys
>
> I'm working on a website redevelopment that has a database using SQL
> server full-text index. Ive never used it before and have always
> worked with verity. I would be interested to hear about the advantages/
> disadvantages of using each.
>
> I'm also evaluating google mini and Lucene if you have any thoughts on
> those too.
>
> why im finding it hard to choose is theres no data i can find telling
> me which is faster or produces more relevant results. My gut tells me
> verity should be better, but i don't really know for sure. Does anyone
> know of stats they could point me to ?
>
> The other problem is that this will deploy on CF Enterprise servers in
> a cluster.
>
> Cheers
>
> Pat
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Verity vs SQL Server Full-text index

2008-11-18 Thread Pat Branley

Hi Guys

I'm working on a website redevelopment that has a database using SQL
server full-text index. Ive never used it before and have always
worked with verity. I would be interested to hear about the advantages/
disadvantages of using each.

I'm also evaluating google mini and Lucene if you have any thoughts on
those too.

why im finding it hard to choose is theres no data i can find telling
me which is faster or produces more relevant results. My gut tells me
verity should be better, but i don't really know for sure. Does anyone
know of stats they could point me to ?

The other problem is that this will deploy on CF Enterprise servers in
a cluster.

Cheers

Pat


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



[cfaussie] Re: CF SMS Gateway

2008-10-26 Thread Pat Branley

Hi All

This is an interesting thread. Ive been thinking about building
'reply' SMS features into some websites lately myself.

So basically what you are saying is the Coldfusion SMS gateway isn't
really of any use for most providers since they use HTTP Get to reply
anyways ?

Is the coldfusion sms gatway an SMPP gatway listener ? and from what i
read its complicated to get working ?

Pat



On Oct 27, 10:57 am, "Simon Haddon" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> We don't use any web connection from the mobile. As long as they can send an
> SMS then they are right.  The email part of it is so that the consultants
> with email can send an SMS via their email which gets picked up and then
> ships it off as SMS via ValusSMS. Once we have 3000+ calls/month then we
> will probably go back to Mobile365. The SMS providers only accept GET and
> the post back via GET as well.  Not much of an option there as that is how
> they all appear to accept it unless they provide an SMPP gateway.
>
> Cheers,
> Simon
>
> On 27/10/2008, Chris Ellem <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > Hi Claude,
>
> > Simon's approach is probably the best if it is workable.
>
> > Send an email with the job parametershit that link in the email to
> > hit the cfm page that sends the sms reply to notify the job status.
>
> > Of course this solution is only workable from your mobile if you have
> > email and internet browsing.
>
> > tipkeep the cfm page well hidden and secure as you run the risk of
> > hackers running scripts that continually hit this page.
>
> > Not exactly what you are afterbut much better than going throught
> > the expense of setting up SMPP and testing event gateways.
>
> > Use POST not GET where possible to send your request to your sms
> > providers.(basic security)
>
> > You would use SMPP if you were up around the 5000+ messages a month
> > usage. (reliable global provider: Clickatell)
>
> > Hope that helps.
>
> > Chris
>
> > On Oct 23, 1:14 pm, "Simon Haddon" <[EMAIL PROTECTED]> wrote:
> > > Hi,
>
> > > My company develops a system to keep travellers aware of their flight
> > > details and other associated information. The communication is 2 way.
> > from
> > > server to mobile and visa versa.  we also have developed an email to sms
> > > gateway on top of the main messaging system. We hav euse Mobile365 and
> > are
> > > now using Street Data as they are alot cheaper.  The actual sending and
> > > receiving is done via a GET url request and is encapsulated so that
> > changing
> > > service providers isn't too much of a pain.
>
> > > Having said that. Every service provider has their own quircks and these
> > are
> > > not always documented which makes programming interesting.  Things like
> > > unicode, message length, message length for multi part messages, etc.
>
> > > It is certainly possible. The main thign about your situation is making
> > sure
> > > that anyone replying to your system sends some soft of identifier to
> > ensure
> > > that the right job is closed off.  Also, you want to put transparent
> > > security in place as other people migh try and hack through your SMS
> > system.
> > > One thign we do is not allow a SMS to be received unless it it in receipt
> > to
> > > a sent SMS or a registered user.  There are oter things that can also be
> > > done.
>
> > > I hope that helps a bit.
>
> > > Cheers,
> > > Simon
>
> > > On 22/10/2008, Claude Raiola <[EMAIL PROTECTED]> wrote:
>
> > > > Hi,
>
> > > > I have created a facility within my CF application to have messages
> > sent to
> > > > maintenance staff via sms, the sms containing the details of a
> > maintenance
> > > > request.
>
> > > > When the maintenance request is logged into the system the details of
> > the
> > > > request are added to the sql database table and given a job pending
> > status
>
> > > > I have been asked whether its possible to have the receiver of the sms
> > > > reply to the maintenance request received once the job is complete
> > sending a
> > > > sms containing the words "Done" and then have that data communicated
> > back to
> > > > the cf application so the cf application can then change the status of
> > the
> > > > specific job from pending to done.
>
> > > > Any thoughts on the p

[cfaussie] Re: Google-type keyword search terms to array (as a UDF)?

2008-09-25 Thread Pat



You can do the key word tokenizing in lucene (look up QueryTerm) and
then pass this back to SQLserver for the searching. Just rip the bits
out of the lucene api that you need wrote:
 thanks anyway Chris, but this is just part of the query the simple
> part, not the advanced.
>
> Lucene isn't being used here but we _are_ going to
>
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Flex Builder Question

2008-09-17 Thread Pat

Thanks all to your speedy responses.

Looks like an issue across the board that most flex builder users are
experiencing... ie. get yourself a cup of tea after clicking "build"


On Sep 16, 2:43 pm, "Andrew Muller" <[EMAIL PROTECTED]> wrote:
> Hi Pat
>
> There is but honestly I reckon that you'll get your best response out
> of FlexCoders.
>
> http://tech.groups.yahoo.com/group/flexcoders/
>
> Regards
>
> Andrew
>
> 2008/9/16 Pat <[EMAIL PROTECTED]>:
>
>
>
> > Hi All,
>
> > Does anybody know if there is an equivalent group to CFAUSSIE that is
> > specifically targeted towards Flex users?
>
> > I have a few questions about the (lack of) performance of the Flex
> > Builder perspective vs the Java perspective in Eclipse.
>
> > Patrick.
>
> --
> ---
> Andrew Muller
>
> linkedin:http://www.linkedin.com/pub/1/151/905
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: default missing template error file

2008-09-11 Thread Pat Branley

I *think* thats the friendly HTTP error messages setting in IE rather
than anything IIS does.

Also, that 'check that file exists' thingo in IIS is usefull when you
get issues with CFCHART, flash remoting, spikes friendly URL servlet,
or servlets served from CF in general. Basically just turn it off
people! :)

Pat


On Sep 12, 3:52 pm, "Andrew Scott" <[EMAIL PROTECTED]> wrote:
> I actually like the way grails sets it up, an urlMapping file with all that
> info so you can run any event passed on any of the errors 500,401,402,403
> etc..
>
> But the one question I am going to ask, is why does IIS deliver to IE a page
> 404 yet in firefox with the same site it generates the correct missing
> template?
>
> That one has me stumped!! Well so far it has, I guess with MS nothing is
> simple!!
>
> --
> Senior Coldfusion Developer
> Aegeon Pty. Ltd.www.aegeon.com.au
> Phone: +613 9015 8628
> Mobile: 0404 998 273
>
> -Original Message-----
> From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
>
> Of Pat Branley
> Sent: Friday, 12 September 2008 3:42 PM
> To: cfaussie
> Subject: [cfaussie] Re: default missing template error file
>
> This is what i do for the missing template handler.
>
> The handler will kick in 'per instance' not 'per site' as it says. So
> if you have 2 IIS sites pointing to the same cf instance, when
> the .cfm requests get passed to coldfusion (assuming you have 'check
> that file exists' turned off on your web server in IIS) then the
> missing template handler will run. If you have the check file exists
> thingo switched on, then you get the IIS 404 handler instead. I have
> no idea if there is an eqivalent thing for apache.
>
> So what i do is put a template  called missingTemplate.cfm in
>
> C:\JRun4\bin\server\cfusion\cfusion-ear\cfusion-war\
>
> Then in CF Admin i set the missing template hander to '/
> missingTemplate.cfm'
>
> In this file i put some code like this:
>
> 
>
> 
>         
> 
>         Page Not Found
> 
>
> So you have a default missing template handler (the h2 bit) otherwise
> you serve them the /404.cfm page in the particular site they are
> viewing. eg.www.a.com/404.cfmorwww.b.com/404.cfm
> Then, if 404.cfm hapens to not exist inwww.c.com, then the
> missingTemplateHandler.cfm kicks in again and you get the H2 part.
>
> You could proly do some CFHTTP calls so you don't do lots of double
> HTTP 302 redirections, but it works pretty well for me.
>
> Pat
>
> On Sep 12, 1:10 pm, "Steve Onnis" <[EMAIL PROTECTED]> wrote:
> > where did you put the template?
>
> >   _  
>
> > From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On
> Behalf
> > Of Andrew Scott
> > Sent: Friday, 12 September 2008 1:06 PM
> > To: cfaussie@googlegroups.com
> > Subject: [cfaussie] Re: default missing template error file
>
> > Actually I take that back.
>
> > Browsing 127.0.0.1:84/index.cfm when generating an error works, but
> missing
> > template generates a 404 error in IE, but in firefox it generated the
> custom
> > template when I browsedhttp://127.0.0.1:84/index1.cfmasit doesn't exist I
> > got the missing handler been run.
>
> > Is that what you are trying to do?
>
> > For IE to throw an 404 page error mystifies me though, when firefox
> worked.
>
> > --
> > Senior Coldfusion Developer
> > Aegeon Pty. Ltd.
> >  <http://www.aegeon.com.au/>www.aegeon.com.au
> > Phone: +613 9015 8628
> > Mobile: 0404 998 273
>
> > From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On
> Behalf
> > Of Steve Onnis
> > Sent: Friday, 12 September 2008 12:58 PM
> > To: cfaussie@googlegroups.com
> > Subject: [cfaussie] Re: default missing template error file
>
> > I wanting to control the Missing Template Handler, not the Error Template
>
> >   _  
>
> > From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On
> Behalf
> > Of Andrew Scott
> > Sent: Friday, 12 September 2008 12:56 PM
> > To: cfaussie@googlegroups.com
> > Subject: [cfaussie] Re: default missing template error file
>
> > Steve,
>
> > Did a quick test.
>
> > 1)      Created a mapping in CFIDE /coldfusionErrorHandling and pointed it
> > to a directory I created
>
> > 2)      Enter that info into the admin section,
> > /coldfusionErrorHandling/andrewError.cfm
>
> > 3)      Run 3 sites on different ports
>
> > 4)      Create an index.cfm that will throw an error
>
> > 5)      Sit back and watch the error template get exe

[cfaussie] Re: default missing template error file

2008-09-11 Thread Pat Branley

This is what i do for the missing template handler.

The handler will kick in 'per instance' not 'per site' as it says. So
if you have 2 IIS sites pointing to the same cf instance, when
the .cfm requests get passed to coldfusion (assuming you have 'check
that file exists' turned off on your web server in IIS) then the
missing template handler will run. If you have the check file exists
thingo switched on, then you get the IIS 404 handler instead. I have
no idea if there is an eqivalent thing for apache.

So what i do is put a template  called missingTemplate.cfm in

C:\JRun4\bin\server\cfusion\cfusion-ear\cfusion-war\

Then in CF Admin i set the missing template hander to '/
missingTemplate.cfm'

In this file i put some code like this:






Page Not Found


So you have a default missing template handler (the h2 bit) otherwise
you serve them the /404.cfm page in the particular site they are
viewing. eg. www.a.com/404.cfm or www.b.com/404.cfm
Then, if 404.cfm hapens to not exist in www.c.com , then the
missingTemplateHandler.cfm kicks in again and you get the H2 part.

You could proly do some CFHTTP calls so you don't do lots of double
HTTP 302 redirections, but it works pretty well for me.

Pat


On Sep 12, 1:10 pm, "Steve Onnis" <[EMAIL PROTECTED]> wrote:
> where did you put the template?
>
>   _  
>
> From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
> Of Andrew Scott
> Sent: Friday, 12 September 2008 1:06 PM
> To: cfaussie@googlegroups.com
> Subject: [cfaussie] Re: default missing template error file
>
> Actually I take that back.
>
> Browsing 127.0.0.1:84/index.cfm when generating an error works, but missing
> template generates a 404 error in IE, but in firefox it generated the custom
> template when I browsedhttp://127.0.0.1:84/index1.cfmas it doesn't exist I
> got the missing handler been run.
>
> Is that what you are trying to do?
>
> For IE to throw an 404 page error mystifies me though, when firefox worked.
>
> --
> Senior Coldfusion Developer
> Aegeon Pty. Ltd.
>  <http://www.aegeon.com.au/>www.aegeon.com.au
> Phone: +613 9015 8628
> Mobile: 0404 998 273
>
> From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
> Of Steve Onnis
> Sent: Friday, 12 September 2008 12:58 PM
> To: cfaussie@googlegroups.com
> Subject: [cfaussie] Re: default missing template error file
>
> I wanting to control the Missing Template Handler, not the Error Template
>
>   _  
>
> From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
> Of Andrew Scott
> Sent: Friday, 12 September 2008 12:56 PM
> To: cfaussie@googlegroups.com
> Subject: [cfaussie] Re: default missing template error file
>
> Steve,
>
> Did a quick test.
>
> 1)      Created a mapping in CFIDE /coldfusionErrorHandling and pointed it
> to a directory I created
>
> 2)      Enter that info into the admin section,
> /coldfusionErrorHandling/andrewError.cfm
>
> 3)      Run 3 sites on different ports
>
> 4)      Create an index.cfm that will throw an error
>
> 5)      Sit back and watch the error template get executed
>
> Was that what you were trying to do? Notice I ran this on 3 sites, running
> on different ports and even though YOU and CF claim sitewide, the
> Administrator as indicated runs when ColdFusion throws an exception.
>
> Hope that helps anyone else understand this as well.
>
> --
> Senior Coldfusion Developer
> Aegeon Pty. Ltd.
>  <http://www.aegeon.com.au/>www.aegeon.com.au
> Phone: +613 9015 8628
> Mobile: 0404 998 273
>
> From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
> Of Steve Onnis
> Sent: Friday, 12 September 2008 12:48 PM
> To: cfaussie@googlegroups.com
> Subject: [cfaussie] Re: default missing template error file
>
> See the dumb thing is when you set the setting in the CF admin, when it
> check to see if the file exists it checks the relative path of where you are
> accessing the cfadmin, which is not normally where the sites are set up, so
> that makes it even more confusing because you may set it up but then you
> need to copy the template you are using into every site for it to work.
>
>   _  
>
> From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
> Of Andrew Scott
> Sent: Friday, 12 September 2008 12:44 PM
> To: cfaussie@googlegroups.com
> Subject: [cfaussie] Re: default missing template error file
>
> Well that's why I got confused, I read the settings and the title says site
> wide. Yet the descriptive text mentions a relative path to the template. And
> even though you may be right, with the mapping may not evaluate at that
> point. However, if you have 

[cfaussie] Re: CF8 clustering - adding new instance

2008-03-28 Thread Pat Branley

Hi George

Every coldfusion instance regardless of if wether its in a cluster or
not will have a HTTP port in the 8300 range. eg. 8300 cfusion, 8301
instance1 and 8302 instance2. This is the port for the built in web
server thats part of the coldfusion instance's libraries.

when you create a cluster, you need a 3rd party web server like IIS or
apache to connect to your CF cluster. In this scenario its actually
the web server connector program (wsconfig) that connects to the
cluster.

I do not beleive you can make the built in web server of a cfusion
instance serve up pages in a clustered manner they are hard-wired to
serve up cf pages using their own instance.

This is my understanding of the situation. I normally have my servers
set up so the web server is visible outside the firewall and the the
two 8300 range web servers are running on each instance behind the
firewall. This set up lets me monitor if one of the two instances has
gone down.

hth

pat



On Mar 28, 4:45 pm, Andrew Scott <[EMAIL PROTECTED]> wrote:
> George,
>
> I am assuming as you really didn't say, and I am no expert at this so I am
> guessing.
>
> When you log into the cfide/administrator you can control the instances and
> clustering in there, I assume this is what you are doing and not the jrun
> management console!
>
> When you create a new instance this will run from a different port, when you
> cluster I strongly believe that it will share the port for the cluster
> (this is the bit I am not sure on).
>
> The clusters that you are trying to do, are they on the same VPS or machine?
> Or are you creating other VPS / servers for this. I strongly recommend
> multiple VPS or machines for clustering, but not critical for development
> though.
>
> There is also another mailing list on house of fusion that is dedicated to
> Coldfusion Servers, it might pay to post on there as well. Sorry I am not
> with it, I am only guessing as I have no real experience in clustering
> Coldfusion as yet.
>
> Andrew Scott
> Senior Coldfusion Developer
> Aegeon Pty. Ltd.www.aegeon.com.au
> Phone: +613  9015 8628
> Mobile: 0404 998 273
>
> From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
> Of George Lu
> Sent: Friday, 28 March 2008 4:28 PM
> To: cfaussie@googlegroups.com
> Subject: [cfaussie] Re: CF8 clustering - adding new instance
>
> What I try to say is I was intend to create a cluster for load-balancing and
> fail over with default server cfusion. If I create a cluster with just
> instance1 and instance2 which will have different http ports such as 8301 Is
> that mean I need to access my CF app via port 8301 not 80? 
> e.g.http://servername:8301/
>
> On 28/03/2008, MrBuzzy <[EMAIL PROTECTED]> wrote:
>
> Sorry mate, I'm not completely following you on that one...?
>
> I think the answer is yes
>
>
>
> On Fri, Mar 28, 2008 at 3:42 PM, George Lu <[EMAIL PROTECTED]> wrote:
> > Thank you MrBuzzy. So can I still do load balance and fail-over with
> > instance1 and instance2 (cluster)? And can I still use cfusion as default
> > server to access my CF pages?
>
> > On 28/03/2008, MrBuzzy <[EMAIL PROTECTED]> wrote:
>
> > > Hi George,
>
> > > The 'cfusion' instance isn't seen in the Enterprise/Cluster Manager.
>
> > > You *might* be able to cluster cfusion and instance1 using the JRun
> > > Admin Console, but I wouldn't do it.
>
> > > Instead I'd recommend creating another instance (instance2) and then
> > > clustering that with instance1.
>
> > > The 'cfusion' instance is cloned to create other instances. So it
> > > might be a good idea to leave it in it's original state.
>
> > > Cheers.
>
> > > On Fri, Mar 28, 2008 at 2:57 PM, George Lu <[EMAIL PROTECTED]> wrote:
> > > > Hi,
>
> > > > I've just installed CF8 and want to utilise the multi-server
> clustering
> > on
> > > > the same physical server. In CF Admin Instance Manager, I can see
> there
> > is a
> > > > "samples" instance already there but I can't find the default instance
> > > > "cfusion". If I add a new instance (e.g. Instance1) I can add
> > "Instance1" to
> > > > a cluster in the Cluster Manager. As I can't find "cfusion" instance
> in
> > the
> > > > Cluster Manager, how can I add "cfusion" to the cluster which already
> > have
> > > > "Instance1" in it?
>
> > > > Please help.
>
> > > > Regards,
> > > > George
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: CF_RunActiveContent.js

2008-02-17 Thread Pat Branley

should be in CFIDE\scripts

which could be:
wherever you put it when installing CF eg. c:\wwwroot\cfide
C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\CFIDE\scripts on
multi-instance or
C:\CfusionMX\wwwroot\ on standalone

Pat


On Feb 17, 9:37 pm, "Taco Fleur" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> does anyone know where I can download a copy of *CF_RunActiveContent.js ?*
> I can't find the file anywhere, even updated to 7.02 as the KB says, still
> can't find the file.
>
> Thanks in advance.
>
> --
> Try advertising on the new Australian Business Directorywww.clickfind.com.au
> blog:http://australiansearchengine.wordpress.com/
> Web Designers >http://www.web-designers-australia.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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: how to manually configure CF8 web server connectors

2007-12-12 Thread Pat Branley

I have managed to get this going on a dev server by upgrading my CF7
install to Jrun updater 6 then putting a cf8 instance onto that
server. These blog posts helped me out heaps:


http://www.alagad.com/go/blog-entry/running-cf8-and-cf-7-on-jrun-with-apache
http://www.alagad.com/go/blog-entry/cf7-cf8-jrun-and-the-jvm

Pat


On Dec 13, 12:00 am, "Chris Velevitch" <[EMAIL PROTECTED]>
wrote:
> On Dec 12, 2007 11:01 PM, Kai Koenig <[EMAIL PROTECTED]> wrote:
>
> > instance and deploy CF 8 into that instance. The requirements
> > for CF 8 are Jrun 4 Updater 6 - make sure you are on this patch
>
> Would updater 7 be OK?
>
> Chris
> --
> Chris Velevitch
> Manager - Sydney Flash Platform Developers Group
> m: 0415 469 095www.flashdev.org.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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: debug slow loading pages

2007-12-11 Thread Pat Branley

Taco

Im wondering if its because of the way the images are loaded as
background images via CSS with no width / height specified.

In my testing FF2 / IE7 it looks like they are the last things to
load.

On Dec 12, 11:55 am, "Taco Fleur" <[EMAIL PROTECTED]> wrote:
> Hi Mark,
>
> yes, have run some load testing on it, and its all good. Its just when it
> hits the browser.
>
> Love to hear about your sugestion that might help.
>
> On 12/12/07, Mark Mandel <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > Taco,
>
> > Have you run any load testers on the application?
>
> > Sounds like it may be a CSS rendering issue maybe? There is a Yahoo
> > firefox plugin I think that can help with that.
>
> > Mark
>
> > On Dec 11, 2007 7:51 PM, Taco Fleur <[EMAIL PROTECTED]> wrote:
> > > Hmm, ok, so you are the first one (besides me) who experienced the
> > > slowness... So there must be something going on.
>
> > > I can't really see a pattern either, so its darn hard to debug..
>
> > > On 12/11/07, Andrew Scott <[EMAIL PROTECTED]> wrote:
>
> > > > Yeah,
>
> > > > The reason I mentioned it is that I did browse your site, in both and
> > > under firefox it was slow. However in IE it was fairly quick to load,
> > having
> > > said that it was IE7.0 that I used as well, so IE6.0 might be something
> > > different.
>
> > > > Andrew Scott
> > > > Senior Coldfusion Developer
> > > > Aegeon Pty. Ltd.
> > > >www.aegeon.com.au
> > > > Phone: +613  8676 4223
> > > > Mobile: 0404 998 273
>
> > > > From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On
> > > Behalf Of Taco Fleur
> > > > Sent: Tuesday, 11 December 2007 2:51 PM
>
> > > > To: cfaussie@googlegroups.com
> > > > Subject: [cfaussie] Re: debug slow loading pages
>
> > > > Hi Andrew,
>
> > > > the browser is both internet explorer and fire fox.
>
> > > > I've sort of given up on this, and assume its internal, as no one else
> > > says the pages load slow.
>
> > > > thanks
>
> > > > On 12/11/07, Andrew Scott <[EMAIL PROTECTED]> wrote:
>
> > > > Taco,
>
> > > > You do not state what browser you are using either, in Firefox the
> > pages
> > > can sometimes be slow depending on what plugins you have installed as
> > well.
>
> > > > We have a site here that we use, and under firefox it takes 3 secs to
> > do
> > > what it has to do and under IE it is immediate. When we use a plain
> > vanilla
> > > firefox installation it is instant as well.
>
> > > > Andrew Scott
> > > > Senior Coldfusion Developer
> > > > Aegeon Pty. Ltd.
> > > >www.aegeon.com.au
> > > > Phone: +613  8676 4223
> > > > Mobile: 0404 998 273
>
> > > > From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On
> > > Behalf Of Taco Fleur
> > > > Sent: Saturday, 8 December 2007 8:26 PM
> > > > To: cfaussie@googlegroups.com
> > > > Subject: [cfaussie] Re: debug slow loading pages
>
> > > > Must just be our internal network giving issues then... hmm, wonder
> > what
> > > it could be.
>
> > > > On 12/8/07, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote:
>
> > > > All pages on your site are quite snappy for me.  (I'm using Bigpond
> > > > Cable).  Peter R
>
> > > > On Dec 8, 6:16 pm, "Taco Fleur" < [EMAIL PROTECTED]> wrote:
> > > > > That is weird, it takes sometimes 6 or more seconds for me. But
> > other
> > > pages
> > > > > on the internet load fast.
>
> > > > > Was this the index page that loaded quick?
>
> > > > > On 12/8/07, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote:
>
> > > > > > What is slow for you?  Looks quite fast to me.  From pointing the
> > > > > > browser to full load took less than 3 seconds, very first time
> > > > > > visited.  Tested in both IE 6 and Firefox.
>
> > > > > > Peter R
>
> > > > > > On Dec 8, 12:49 pm, "Taco Fleur" < [EMAIL PROTECTED]> wrote:
> > > > > > > Still having trouble with very slow loading pages, at first I
> > > thought it
> > > > > > was
> > > > > > > just the frontpage, but its any page I load first into the
> > browser.
> > > > > > > So I close the browser call up any page, and there is this 5+
> > second
> > > > > > delay.
> > > > > > > Pages from then on are pretty fast in loading.
>
> > > > > > > For example:http://www.clickfind.com.au/about-clickfind.cfm
>
> > > > > > > close the browser and openhttp://www.clickfind.com.au
>
> > > > > > > I've moved the google analytics code to the bottom of the page,
> > so
> > > that
> > > > > > > should be ok and not causing any issues.
>
> > > > > > > I just can't figure it out. Thinking it might be the DNS or
> > > something??
> > > > > > > I'm not really loading anything to big into session scope
> > either,
> > > even
> > > > > > if I
> > > > > > > would, upon returning the session is still active - so it would
> > not
> > > have
> > > > > > to
> > > > > > > recreate it...
>
> > > > > > > Does anyone have any ideas? And most importantly, is anyone able
> > to
> > > > > > > replicate this, or could it just be my connection and machine?
>
> > > > > > > -->>>http://www.clickfind.com.au
>
> > > > > > > Looking for a business, product

[cfaussie] oo.com.au

2007-12-11 Thread Pat Branley

Hey All

Just wondering (if someone wants to admit to it) who built OO.com.au ?
chances are its someone on this list..

Its been all over the TV lately, nice to see a high profile site being
built in CF.

anyways, nice work whoever built it.

Pat
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Derby Embeded Database (CF8) and Eclipse/FlexBuilder

2007-12-03 Thread Pat

You may need to get the jdbc drivers from the Apache Derby site
instead of those bundled in to the CF8 install. (chances are they
would be later release and perform better).

Derby is a pretty robust RDMS system (out performs MySQL in some
instances) but certainly doesn't have as much tooling support as other
opensource DB's. (I'd love to be corrected on this point) No right
click and add index for you! :)

Charlie points to SQuirrel in his links as a good interface into the
guts of Derby and I must agree. (I've used SQuirrel to move a MSSQL DB
more succesfully than the MS tools).

Must have been some good reasons why Adobe dropped MS Access for their
example apps in CF8.

On Nov 28, 1:25 pm, "Barry Beattie" <[EMAIL PROTECTED]> wrote:
> Hi all
>
> I'm trying to use the embeded Derby database as a scratch db, try out
> some ideas, do simple stuff, etc.
>
> I'm also trying to get a visual editor/schema explorer going for it -
> using the "Data Tools Platform" plug-ins for Eclipse.
>
> The Data Tools Platform have a configuration for Derby, but when I
> point it to the Derby JDBC library, it doesn't "take" (the Derby
> Client JDBC jar is in /ColdFusion8/lib )
>
> Has anyone used the Derby database, and more importantly been able to
> do more than throw "create table" scripts at it via CF and a DSN?
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: ColdFusion and Lucene searches

2007-11-30 Thread Pat

cflucene works but last time I checked it only worked against lucene
1.4 (not version 2.0 which is where the project is up to now).

For the actual indexing phase, I recommend doing it all in java
because you won't have to write wrappers for all the classes AND it
can take a LONG time to index and (IMHO) I don't think a web based
language is your best choice for tasks like that. This was my
experience with cfmx and lucene.

In your lucene index you can add whatever field you want to any record
or item within it. So adding security will simply work like adding a
security column in a database.

To look at your lucene index, I highly recommend LUKE (http://
www.getopt.org/luke/) - this will let you open and search an index
without  having to write your own app.

Its probably worth mentioning that php can now view and interrogate
lucene indexes (built by java) by using the Zend Framework (http://
framework.zend.com/manual/en/zend.search.lucene.html)

I'm happy to push you code to index pdf's and the office suite.


On Nov 30, 4:52 pm, "Barry Beattie" <[EMAIL PROTECTED]> wrote:
> Just shouting out to anyone actively working with CF and Lucene,
> wondering what the state of play is so far.
>
> I've been all over Ray Camden's posts on the subject...
>
> http://www.coldfusionjedi.com/index.cfm/2007/9/30/ColdFusion-Lucene-Test
>
> and sadly the CFLucene project seems to have fallen off the Interwebs.
>
> I know some people who are using Lucene for database indexing but I've
> got a ton of PDF and word docs to add into the mix. and about 5-6
> different sources to munge together as a searchable collection, some
> having different permissions (depending on their source) to compare
> with the user's permissions.
>
> anyone done anything like this with Lucerne?
>
> thanx
> barry.b
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Friday arvo O.T - thinking of giving up Apple and going back to Windows.

2007-11-27 Thread Pat

what about the BSD guy on the adds?

http://www.youtube.com/watch?v=08E9Pk5cXrY

On Nov 19, 10:16 am, "Dale Fraser" <[EMAIL PROTECTED]> wrote:
> How many reasons do you really need to give up a Mac?
>
> That annoying guy on the adds is enough for me.
>
> Regards
>
> Dale Fraser
>
> http://learncf.com
>
> From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
> Of Robin Hilliard
> Sent: Monday, 19 November 2007 10:50 AM
> To: cfaussie@googlegroups.com
> Subject: [cfaussie] Re: Friday arvo O.T - thinking of giving up Apple and
> going back to Windows.
>
> On 17/11/2007, at 7:38 PM, MrBuzzy wrote:
>
> So you won't name these products,,,?
>
> I know some of the video capture and processing products rely very heavily
> on specific Windows video hardware.
>
> Robin Hilliard
>
> CEO - RocketBoots Pty Limited
>
> Consulting . Recruitment . Software Licensing . Training
>
>  http://www.rocketboots.com.au
>
> switch+61 (0)2 9323 2500
>
> fax   +61 (0)2 9323 2501
>
> direct+61 (0)2 9323 2507
>
> mobile+61 (0)418 414 341
>
> email [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: CF8 on Solaris's?

2007-11-23 Thread Pat

Theoretically, I would expect you could get more performance on
Solaris running CF8 than most other OSes due to the lack of memory
restrictions of the JVM (that is if OpenSolaris 11 is run on 64 bit).

Also, if you choose to run CF8 within a j2ee container (tomcat, bea,
jboss etc...) then you just need to get your hands on the war or ear
file. (off the top of my head you can install CF8 on any other machine
and choose the option to have the installer create the .war file for
you - this you should be able to deploy on any other j2ee container -
regardless of the hosting OS)

Java and Solaris are Sun products so the chips are stacked in your
favour.

On Nov 23, 10:37 am, MrBuzzy <[EMAIL PROTECTED]> wrote:
> I've been looking at the system requirements for CF8;
>
> http://www.adobe.com/products/coldfusion/pdfs/cf8_systemsupportmatrix...
>
> I was hoping to install it on OpenSolaris 11 - but it's not supported.
>
> Any suggestions? Would there be a way to make it happen? Maybe I could
> deploy it inside Tomcat...
>
> 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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: CFCAMP is this week!

2007-11-22 Thread Pat

Hi All,

I remember at cfcamp in Brisbane, the adobe guys mentioned a URL that
should be used to advise on any feature requests for CF9? Can anybody
remember this?

Also, was there a URL mentioned to report bugs in CF8?

I have honestly tried to wade through the adobe pages but without any
success.

Patrick.

On Nov 19, 8:45 am, Geoff Bowers <[EMAIL PROTECTED]> wrote:
> Folks,
>
> Just a quick reminder that CFCAMP is this week!
>
>  * Tuesday 20-Nov-2007: Sydney at Rydges World Square
>  * Wednesday 21-Nov-2007: Brisbane at the Brisbane Convention &
> Exhibition Centre
>  * Thursday 22-Nov-2007: Melbourne at the Crown Promanade
>  * Tuesday 27-Nov-2007: Perth at the Hyatt Regency
>
> The day starts at 9.00am sharp -- so you might want to plan on being
> there around 8.30am for a cup of coffee and a chin wag before things
> kick off.  The day closes up officially around 4.30pm, but bars open
> much earlier so go figure.
>
> The final agenda for each city is available online:
>  http://cfcamp.pbwiki.com/
>
> Plus there'll be plenty of opportunities to catch up with colleagues
> in the hall way.
>
> Did I mention Adobe are giving away 2 copies of ColdFusion 8
> (Standard) at each CFCAMP?  You'll have to be officially registered to
> be in with a chance.
>
> Still plenty of space left so tell your friends:
>  http://cfcamp.eventbrite.com/
>
> See you there,
>
> -- geoff bowers
> Director
> Daemon Internet Consultants
> Sydney, Australia
> p.+612 9380 4162
> f.+612 9380 4204
> w.http://www.daemon.com.au/
> e. [EMAIL PROTECTED]
>
> PS. Well OK, Perth is really next week but saying "CFCAMP is this week
> and next week" didn't sound as good.
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: CFINDEX document titles

2007-10-26 Thread Pat Branley

our standard practice is to never use the 'title' or 'summary' results
from verity searches on documents or spidered pages because you never
know what the results will be and usually they are crappy.

My suggestion is to manually set the title via the 'custom' fields
when you CFIndex. If you are lucky enough to have the document also
set up as a record in a database you can just put the ID to the record
in the custom field and then link the CFSEARCH query with a query of
your database table using query of queries on the results page.

Pat


On Oct 26, 5:16 pm, "Steve Onnis" <[EMAIL PROTECTED]> wrote:
> anyone?
>
>   _
>
> From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
> Of Steve Onnis
> Sent: Thursday, 25 October 2007 5:51 PM
> To: cfaussie@googlegroups.com
> Subject: [cfaussie] CFINDEX document titles
>
> Anyone know if you can force a document title in an index?  I am indexing
> PDFs and i want to define the title regardless of if the pdf has a title or
> not.  The docs say its "optional" and "Provides a title for the document if
> one cannot be extracted from the document." but i want to define it
> regardless with my own value using the title attribute of the tag.
>
> <http://www.inevative.com.au/images/email-stationary/inevativeLogo_sma...
>
>
>
> Steve Onnis
>
> Director / Head Developer
>
>   <http://www.inevative.com.au/images/email-stationary/email.jpg>
> [EMAIL PROTECTED]
>
>   <http://www.inevative.com.au/images/email-stationary/phone.jpg> Australia
> : 1300 856 623
> International : +61 3 9882 5875
>
>   <http://www.inevative.com.au/images/email-stationary/mobile.jpg> 0401 667
> 996
>
>   
> <http://www.inevative.com.au/images/email-stationary/web.jpg>www.inevative.com.au
>
>  <http://www.novahost.com.au>   <http://www.threesquares.com.au>
> <http://www.smsonline.com.au>
>
>  inevativeLogo_small.jpg
> 3KViewDownload
>
>  email.jpg
> 1KViewDownload
>
>  phone.jpg
> 1KViewDownload
>
>  mobile.jpg
> 1KViewDownload
>
>  web.jpg
> 1KViewDownload
>
>  novahost.gif
> 3KViewDownload
>
>  threesquares.gif
> 3KViewDownload
>
>  smsonline.gif
> 5KViewDownload


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



[cfaussie] Re: Anyone seen this error before?

2007-10-21 Thread Pat Branley

Anyone who has run int issues with AXIS and log4J jar conflicts is
someone who'd want multiple JVM configs. Id recommend anyone using
multiple instances (for distinct applications) to use a separate
jvm.config pointing to a separate install of JRE.

This allows you to independantly run different versions of JRE. For
example, 1.6 for cf8 and 1.4 for cf7 instanes. It also lets you have
an independant lib\ext folder in each JRE setup to resolve any JAR
conflicts with CF built in classes.

Pat


On Oct 22, 12:17 pm, "Charlie Arehart \(lists account\)"
<[EMAIL PROTECTED]> wrote:
> Andrew (and others), you don't want to say that this isn't a problem on
> Windows. It'll bite anyone using the multiserver (multiple instance)
> configuration.
>
> As MrBuzzy hinted, it is that the default setup of the multiserver config is
> to have all instance share on jvm.config, and that's where you tell CF what
> port to use for the new CF8 debugger.
>
> The problem is that if any of the instances are up when another instance
> tries to come up, the other instances won't come up because the port is
> already in use.  It can be tricky knowing what's happening and why. A real
> common example of this is that the cfusion instance goes down but the admin
> instance stays up. In this case, you only have 1 CF instance, but it doesn't
> matter.
>
> So MrBuzzy indicates that you need to create a separate jvm.config for each
> instance, but adds "who'd wannna do that[?]" Well, anyone who wants to use
> the debugger in multiserver mode will need to. No way around it (well, at
> least if one instance may ever go down).
>
> A couple blog entries discuss setting that up (not specific to the problem
> of the debugger but just for those who wanted to do it in general, such as
> perhaps to have other different JVM settings):
>
> http://mkruger.cfwebtools.com/index.cfm/2006/4/17/multiserverhttp://www.alagad.com/go/blog-entry/cf7-cf8-jrun-and-the-jvm
>
> HTH
>
> /charlie
>
>   _
>
> From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
> Of Andrew Scott
> Sent: Thursday, October 18, 2007 7:41 PM
> To: cfaussie@googlegroups.com
> Subject: [cfaussie] Re: Anyone seen this error before?
>
> Actually under windows it isn't a problem, but under Linux for some reason
> it is a problem. The thing is that it works fine if you first change the
> setting, and restart ./jrun -start cfusion but once the server is rebooted
> the admin and cfusion refuse to start at all because of this error.
>
> There is just not enough documentation to get this to work at the moment,
> hopefully Adobe can shed some light at some point.
>
> Andrew Scott
> Senior Coldfusion Developer
> Aegeon Pty. Ltd.www.aegeon.com.au
> Phone: +613  8676 4223
> Mobile: 0404 998 273
>
> From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
> Of MrBuzzy
> Sent: Thursday, 18 October 2007 6:51 PM
> To: cfaussie@googlegroups.com
> Subject: [cfaussie] Re: Anyone seen this error before?
>
> This one is a bit of a pain when using the default multi-server setup.
>
> There's only one jvm.config to edit, making the debug port the same for all
> CF instances.
>
> There are ways to have more than one jvm.config but bah, who'd wannna do
> that.
>
> On 10/18/07, Andrew Scott <[EMAIL PROTECTED]> wrote:
>
> Yeah it was the debugger, apparently something else had taken over that
> port.
>
> Andrew Scott
> Senior Coldfusion Developer
> Aegeon Pty. Ltd.www.aegeon.com.au
> Phone: +613  8676 4223
> Mobile: 0404 998 273
>
> From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
> Of Dale Fraser
> Sent: Thursday, 18 October 2007 3:23 PM
> To: cfaussie@googlegroups.com
> Subject: [cfaussie] Re: Anyone seen this error before?
>
> Its related to the debugger, google that second line and there are lots of
> references.
>
> Regards
>
> Dale Fraser
>
> http://learncf.com
>
> From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
> Of Andrew Scott
> Sent: Thursday, 18 October 2007 2:55 PM
> To: cfaussie@googlegroups.com
> Subject: [cfaussie] Anyone seen this error before?
>
> This is a multi server configuration, jrun is running fine, cfusion is not
> and the error in the logs are.
>
> FATAL ERROR in native method: JDWP No transports initialized,
> jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)
>
> ERROR: transport error 202: bind failed: Address already in use
>
> ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
>
> JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized
> [../../../src/share/back/debugInit.

[cfaussie] Re: AES decryption problem

2007-10-16 Thread Pat Branley

Duncan

What I think is happening is that CF expects the key to be Base64
encoded, hence the problems with &, ^ and the need for == at the end.
Try using the 'sun.misc.BASE64Encoder' class to encode the key before
passing it to the decrypt / encrypt functions.

Pat

On Oct 17, 10:22 am, Duncan <[EMAIL PROTECTED]> wrote:
> I am waiting on the third party to redo the encryption with a key that
> doesn't have any required padding i.e. they provide a full 24 char
> string) and doesn't have any of the identified dodgy chars & and ^
>
> 'It works fine' means encrypting and decrypting within CF using an
> example such as Pete Freitags entryhttp://www.petefreitag.com/item/222.cfmAnd 
> substituting the
> GenerateSecretKey() with a hand written key.
>
> So far I have only established that CF has some issues with the key he
> provided. I have no idea if we will be able to decrypt it properly
> yet.
>
> I will update with some more info once I get a new key from the .NET guy!
>
> On 10/16/07, MrBuzzy <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > Hi Duncan, you had a lot of stuff going on there :)
>
> > When you say 'it works fine'... have you soled your problem? Or only part?
>
> > Perhaps you could post the updated source code.
>
> > Cheers.
>
> >  On 10/16/07, Duncan <[EMAIL PROTECTED]> wrote:
>
> > > So far in my investigation and trial and error, I have discovered that
> > > the AES key you use cannot have ^ or & in it. The key we were provided
> > > by the .NET side did have these in. Another thing is that padding to
> > > 24 characters renders the error " The key specified is not a valid key
> > > for this encryption: Invalid AES key length: 7 bytes" - 7 bytes? Its
> > > like CF doesnt even see the extra spaces. So I replaced the spaces
> > > with 3's and I get an 18 byte string? What in the wierd?
>
> > > Replace the last 2 characters with == and it works fine, my manually
> > > generated key is 7+8sh+dWEf==
>
> > > I am putting this out there because its causing me no end of problems,
> > > and I cant find anything out in google land or on blogs about this.
>
> > > On 10/16/07, Duncan <[EMAIL PROTECTED]> wrote:
> > > > I hope someone with a little knowledge of Encryption and AES stuff can
> > > > help me out with how to  use a provided key to decrypt some info.
>
> > > > Your time here would be greatly appreciated. Details below.
>
> > > > On 10/15/07, Duncan < [EMAIL PROTECTED]> wrote:
> > > > > Hi all,
>
> > > > > I have a token that is being passed in via the URL, that is generated
> > > > > in a .NET program. I am having trouble decoding it in CF 8 so I was
> > > > > hoping that someone could give me a hand. I am very frustrated with
> > > > > this as this is my first dive into AES.
>
> > > > > The .NET developer gave me the following instructions:
>
> > > > > These are the steps needed to return the key in the email back to it's
> > > > > original state
>
> > > > > 1.   URLDecode the key
> > > > > 2.   Convert result to decoded base64 binary
> > > > > 3.   Remove chr(0) from end of string
> > > > > 4.   Decrypt from  AES192 (requires a 24 character Key).  Hence
> > > > > make sure you pad the hash  key with spaces at the end up to 24
> > > > > characters
>
> > > > > And here is what I have code wise now (I changed the key to keep it
> > private):
>
> > > > > 
> > > > > 
> > > > >  > forDec="OTg4MTc6NjcmOEpoXmRXRWY0JSVHWUcqb2xpa3VqZGxveHRvbkByZWQ1LmNvbS5hdQ%­3D%3D">
> > > > > 
> > > > > 
> > > > > #forDec#
> > > > > 
> > > > > 
> > > > > #forDec#
> > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > > 
>
> > > > > 
> > > > > 
> > > > > 
>
> > > > > This results in a bytearray cannot be converted to strings error. So I
> > > > > tried forDec.toString(), but every request this generates a different
> > > > > value - how can this be?
>
> > > > >  > Decrypt(BinaryEncode(forDec,"base64"),BinaryDecode(key,"base64"),"AES","bas­e64")>
>
> > > > > Results in getting an error that " The input and output encodings are
> > > > > not same."
>
> > > > > I am at a loss and tearing my hair out - can anyone help me out
> > here???
>
> > > > > --
> > > > > Duncan I Loxton
> > > > > [EMAIL PROTECTED]
>
> > > > --
> > > > Duncan I Loxton
> > > > [EMAIL PROTECTED]
>
> > > --
> > > Duncan I Loxton
> > > [EMAIL PROTECTED]
>
> --
> Duncan I Loxton
> [EMAIL PROTECTED] Hide quoted text -
>
> - Show quoted text -


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



[cfaussie] Re: CF + Subversion best practices ?

2007-10-16 Thread Pat Branley

Ive posted to this list before about my opposing view to workstation
driven devlelopment. Its not that I dont think its a good idea, its
great if you have the hardware, tools, and portable applications to
support it. BUT...

you can still get away with using a shared server!

our team (including designers!) currently use SVN controlled sites on
a shared platform and its working reasonably well. a few things i
would note

1. Education is key. We showed the whole team how to use tortiose svn
at a group meeting and the implications of moving folders and then
provided simple documentation on how to use the tool. The standard
help files are way too programmer centric to be helpful

2. Work Managment. The common critisism of shared dev is that you
loose the concurrency of development. this can be overcome by managing
work effectivley so that 2 devs arent in the same file at once. I will
admit this is non-trival, but yet still acheiveable.

3. its better than nothing! you get the advantages of restoring,
comparing, tagging and perhaps even branching with multiple checkouts
on the share.
What you trade off is the concurrency and isolation of development in
workstations vs the instant integration and simpler deployment of
shared servers.

4. is it cost effective to build portability into a legacy site just
so you can install it easily on a workstation ?


Pat


On Oct 15, 3:52 pm, Geoff Bowers <[EMAIL PROTECTED]> wrote:
> Andrea,
>
> On Oct 15, 10:04 am, Andrea <[EMAIL PROTECTED]> wrote:
>
> > any extra ideas/ best practice  I guess everyone has sort of
> > similar issues
>
> Your best bet is to set up a local application environment for your
> designers, and have them commit changes to the repository just like
> your developers.  It's not really that hard, *even* for designers, to
> pick up ;)  Trying to eliminate the designers from committing will
> generate just as much if not more work for someone else.
>
> One of the benefits of a good application architecture is the ability
> to port the solution to many different environments.  The easier it is
> to deploy to local development environments, the easier it will become
> to deploy to production.
>
> At the risk of a gross self-promotion, you might find the following
> blog posts useful:
>
> Working on a Shared Development Server is 
> Badhttp://blog.daemon.com.au/go/blog-post/working-on-a-shared-developmen...
>
> Decentralised Development Approach & Version 
> Controlhttp://blog.daemon.com.au/go/blog-post/decentralised-development-appr...
>
> Moving to a Version Controlled Build 
> Processhttp://blog.daemon.com.au/go/blog-post/moving-to-a-version-controlled...
>
> Subversion: Sorting Out Your Module 
> Structurehttp://blog.daemon.com.au/go/blog-post/subversion-sorting-out-your-mo...
>
> Taming the Code at Web On the 
> Pistehttp://blog.daemon.com.au/go/blog-post/taming-the-code-at-web-on-the-...
>
> Been working on a much larger series of posts in this area, so if you
> have anything that strikes your fancy please feel free to comment.
>
> Hope that helps,
>
> -- geoffhttp://www.daemon.com.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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: UML Tool

2007-10-10 Thread Pat Branley

This is my fav:

http://qse.ifs.tuwien.ac.at/~auer/umlet/

Just lets you draw diagrams and save them to PDF, JPG or SVG. Better
than a napkin, not quite as good as full CASE tool.

If i want anything more formal where im using the CASE tool for
keeping track of the design then i use Visio or argoUML

Pat




On Oct 10, 12:52 pm, "Andrew Scott" <[EMAIL PROTECTED]>
wrote:
> There are many free Eclipse plugins for UML, worth a look.
>
> On 10/10/07, Dale Fraser <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > Any recommendations for a UML tool?
>
> > Preferably free.
>
> > Regards
>
> > Dale Fraser
>
> >http://learncf.com
>
> --
>
> Senior Coldfusion Developer
> Aegeon Pty. Ltd.www.aegeon.com.au
> Phone: +613  8676 4223
> Mobile: 0404 998 273


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



[cfaussie] Re: Memory leak??

2007-08-12 Thread Pat Branley

I think its more a problem with your code - what kind of request
creates 10,000 cfc instances ?

if you see that kind of performance issue in proudction you would have
2 options.
1. refactor the code
2. get better hardware

in this instance (way too many instances junking up memory) id go for
the refactor option, by using caching and pooling to reduce the no. of
instances per request. If i saw too many requests hitting the site id
proly go down the hardware option. If lots of ppl are hitting my site,
hopefully im making money and can afford the hardware upgrade! :)

obviously theres a point that jrun / jvm / java will just grind down
if you create too many of anything in memory. So my response would be
your code isnt a fair test..

also this line of your code looks to be creating a non-scoped object:

ArrayAppend(ret,CreateObject("component","Test").init());

it could be an issue of the garbage collection not working 100% as
expected because of the lack of scope.

I have seen these jrun memory issues in the past and sometimes it will
use heaps of ram to the point the server will fail. However, it doesnt
happen that often in production and when it does its more gradual...

Pat




On Aug 13, 10:04 am, Matthew <[EMAIL PROTECTED]> wrote:
> Hi Andrew,
>
> Did you get an answer to your problem? I can't believe that no one out
> there has an answer! Recently we had a similar problem with JRun using
> up more and more memory until it would crashed. We played around with
> all sorts of things to try to get it fixed. In the end we think it was
> as simple as lowering out simultaneous requests from 20 down to 10.
> Perhaps try that.
>
> Please post your resolution if you find one.
>
> Cheers
> Matthew
>
> On Aug 12, 9:33 am, Andrew Bateman <[EMAIL PROTECTED]>
> wrote:
>
> > Yeah thanks Taco. I have load testing tools available but I was using this 
> > approach to prove a point, ie that ColdFusion was not releasing memory. Not 
> > so much load testing as death testing.


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



[cfaussie] Re: Plug: Australian ColdFusion Channel Pricing Announced

2007-08-01 Thread Pat Branley

Heres some trvia:

According to my dictionary.xml in CFEclipse for CF7 there are 106 CFML
Tags, and 286 functions supported. For the CF8, there are 138 tags and
286 functions. I dont think its been updated with the latest function
list, but working on tags thats 30% more tags for so i hear 25% more
cost.

obviously thats a very simplistic way of looking at it. How much value
do those new tags provide for your dollar ? what else apart from
language enhancements make the purchase worthwhile ? etc. etc. But i
dont think its really suprising the price went up since theres more
'stuff' in the new product.


Pat




On Aug 1, 10:53 pm, "M@ Bourke" <[EMAIL PROTECTED]>
wrote:
> Personally I'd expect every new edition to have more features/advancements
> as that's what you expect in IT when a new product comes along, and Adobe
> has competitors so it should always have new features etc as the competitors
> do.
> So I think the price increase is up for debate.
>
> On 8/1/07, Robin Hilliard <[EMAIL PROTECTED]> wrote:
>
>
>
> > Here you are, fresh from the distributor earlier this afternoon:
>
> >http://www.rocketboots.com.au/blog/index.cfm?mode=entry&entry=213A7FF...
>
> > And to finish (reignite? Please keep your hats on) the pricing thread:
> > Enterprise price increased 28%, Standard 2.5%. If the thread is going to
> > go on, let's at least have a good look at the new Enterprise features and
> > keep the "I think ColdFusion should be free, no dammit they should pay me to
> > use ColdFusion, AND it should be open source" discussion to another thread.
>
> > Thanks,
> > Robin
>
> > Robin Hilliard
>
> > CEO - RocketBoots Pty Limited
> > Consulting . Recruitment . Software Licensing . Training
> >http://www.rocketboots.com.au
>
> > m +61 418 414 341
> > e [EMAIL PROTECTED]


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



[cfaussie] Re: Invalid XML problem...

2007-07-31 Thread Pat Branley

sounds like an encoding problem.

check that theres no UTF-8 BOM marker in the file - you might need a
good txt editor like notepad++ to do this.

check that the response content encoding from cfhttp and the cffile
encoding are the same (should be utf-8) check the  wrote:
> > An invalid character was found in text content
>
> That to me is saying there's something there that IE thinks is incorrect.
>
> Taco Fleur wrote:
> > I thought opening it up in Internet Explorer is enough proof its
> > valid? Happy to be proven wrong.
>
> > 1. while the XML is on the remote server it displays fine in IE
> > 2. when the XML is parsed on local server its fine
> > 3. only when written to another server with cffile is it giving an
> > error in IE and when parsing.
>
> > On 8/1/07, *Haikal Saadh* <[EMAIL PROTECTED]
> > > wrote:
>
> > Try running the resulting output file through an XML validator to
> > see if
> > the XML is in fact, valid?
>
> > Taco Fleur wrote:
> > > Hello all,
>
> > > I have this problem with parsing XML which I hope someone can shed
> > > some light on.
> > > I'm downloading the XML with cfhttp, I then parse it, and it's
> > fine,
> > > no errors. Then I write it to the filesystem on another machine and
> > > when opening in IE I get the following error;
>
> > > The XML page cannot be displayed
>
> > > Cannot view XML input using XSL style sheet. Please correct the
> > error
> > > and then click the Refresh  button, or
> > > try again later.
>
> > 
>
> > > An invalid character was found in text content. Error processing
> > > resource 'file:///X:/Data/au_com_sellmystuff/xmlImport/441...
>
> > 
> > AUYes13<...
>
> > > Following is the CF code that writes the file;
> > >  > >action="write"
> > >addnewline="no"
> > >file="#variables.filePath#"
> > >output="#trim( cfhttp.fileContent )#"
> > >fixnewline="no">
>
> > > Obviously something goes wrong in the process of saving the file to
> > > the other server, but I can't figure out what? Anyone???
>
> > > --
> > > ***http://www.clickfind.com.au
> > > The new Australian search engine for businesses, products and
> > services
> > > *** Virtual and Dedicated Servers with registered version of
> > > ColdFusion from $350 a month
> > > *** ColdFusion licenses at the lowest price
>
> > The new Australian search engine for businesses, products and
> > services
> > *** Virtual and Dedicated Servers with registered version of
> > ColdFusion from $350 a month
> > *** ColdFusion licenses at the lowest price


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



[cfaussie] ColdFusion 8 Release vs Public Beta

2007-07-31 Thread Pat Branley

Hey All

Does any1 know if there is a technote that describes what was fixed
between the public beta and the released product ? Obviously docs have
been added etc. but im talking about any specific issues that would
have been addressed ?

Pat


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



[cfaussie] Re: Code Commenting

2007-07-29 Thread Pat Branley

2 things you should NOT do with commenting

1. state the obvious!

 
or my other fav


...


2. Comment out large blocks of code. For some reason when taught
programming everyone gets the idea you should always comment out code
and not delete it. This is not 100% true. If you have version control,
then just delete it! Its seriously frustrating trying to figure out
why something was removed from the codebase. It also makes things
harder, since not only are you are trying to work out what the code
DOES do, but also why it DOESNT do somehting else.

At the very least, put a comment inside the block to say why it was
removed eg.
 ...


my 1c+1c

Pat





On Jul 28, 9:04 pm, "Barry Beattie" <[EMAIL PROTECTED]> wrote:
> (pls forgive,  gotta be quick)
>
> there's the other parts to it as well, header info on the code files
> explaining date, purpose, revision number, bug fixes, etc. Some people
> build that into their source code control as automated/fill out the
> form commits, etc.
>
> then there's back to basics old fashioned CompSci data dictionaries,
> etc, explaining every variable used, datatype, initialisation value,
> range/out of bounds, etc.
>
> but the biggest thing of all is the ability to track changes, both
> with sensible using of source control and comments within the code
> explaining what was changed and why.
>
> the thing to keep in mind always is maintainability in the future. if
> memory and guesswork (naming format of variables) is the only thing
> left after code is committed then it's failed.
>
> I've got a bloated access database I'm having to migrate data out of
> right this minute. I'm thinking of all sorts of nasty names to the
> people that wrote and maintained it...
>
> my 2c. back to this shocker mdb file...
>
> b
>
> On 7/28/07, M@ Bourke <[EMAIL PROTECTED]> wrote:
>
> > "the thought
> > that the code should be self-explanatory"
>
> > everyone likes to think there code is self explanatory lol.
> > although it should be as self documenting as possible, you can comment so
> > the user doesn't have to view the whole code, like at the top of the page
> > give it a little description and also include its dependencies
> > also if ya got some massive big loop then a one line comment at the top can
> > be easier for the person to read then 100 lines of self explanatory code.


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



[cfaussie] multi-instance setup and Classpaths

2007-07-08 Thread Pat Branley

Hey All

We are about to re-install CF on servers and i was trying to figure
out whats the best way to config 3rd party JAR files ? We run a multi-
instance enterprise installation and as far as i know there are number
of ways to get a jar file into the classpath.

1. drop into WEB-INF\lib folder
2. drop into WEB-INF\cfusion\lib folder
3. edit the java.class.path property in the \bin\jvm.config
file.
4. edit web.xml and change the cf.class.path variable
5. put the file into the \lib\ext folder (usually only when
theres a conflict with built in cf libraries ill do this)
6. Use the classloader method (but this means code changes to existing
apps)

Im thinking that i can set up on my server a 'C:\thirdy_party_apps\'
and then put each JAR i need into this folder. This would mean i only
have to put 1 entry into the cf.class.path setting in web.xml.

Sometimes i have separate instances that use the same JAR, so id like
an external folder if possible rather than copying files into each
instance.

Im just a little confused about the order that the server does the
classpath lookups in I *think* it does it in this order
cf.class.path (which includes the web-inf sub folders)
java.class.path (defined in jvm.config)
\lib\ext

Can someone confirm this ? I cant find much in the docs on it. Any
thoughts on this setup ?

Pat


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



[cfaussie] Re: CFAussie Community Head Count

2007-05-31 Thread Pat Branley

ping!

Pat

Patrick Branley
Senior Application Developer

RedSquare Productions Pty. Ltd.
Level 3, 414 Kent St. Sydney 2000
p: (02) 8289 4966
f: (02) 8289 4901
e: [EMAIL PROTECTED]


On Jun 1, 1:23 pm, Toby Tremayne <[EMAIL PROTECTED]> wrote:
> One more here, from Melbourne.
>
> Toby
>
> ---
>
> Life is poetry, write it in your own words
>
> ---
>
> Toby Tremayne
> Senior Technical Consultant
> Lyricist Software
> 0416 048 090
> ICQ: 13107913


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



[cfaussie] Re: Coldfuson is dead - why did no one tell me

2007-05-27 Thread Pat Branley

>It's like your fav indie band  - you go to the gigs, buy the tee
>shirt, etc. *you* know how good they are but the general public won't
>until they appear on countdown/MMM/Sunrise with Koshy.

Hehehe Koshy.. good point tho. Imagine Ben forta on sunrise :) I can
just picture mel saying 'it looks good, but im a bit of an old
fashioned .NET girl myself'

anyways. now im getting off topic...

Pat


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



[cfaussie] Re: cfindex on CFMX7 with 1 record queries

2007-05-23 Thread Pat Branley

what im saying option A worked in CF6.1 reasonably well (1-2 seconds
per CFINDEX call), but in CF7 this is now 10+ sections per CFINDEX
call. which means that you are almost forced into doing option B.

Pat


On May 23, 10:34 pm, "Raymond Camden" <[EMAIL PROTECTED]> wrote:
> I'm still confused. You compare an update of 1 row to an update of 100
> rows. Normally cfindex is slower when you compare the following:
>
> You have 100 rows to update.
> Option A: Loop over each row and insert one at a time.
> Option B: Insert all at once as a query.
>
> Does this describe what you are doing?
>
> On 5/23/07, Pat Branley <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > when you say not super fast, but fast how long would you expect a 1
> > record index to take ? on our servers this can be 10 seconds and
> > upwards per CFINDEX call. hence the need to call cfindex via a
> > schedule.
>
> > but if i do the same cfindex call with 100 rows it may only take 20-30
> > seconds.
>
> > this causes a problem when i need to re-index a whole site, (which is
> > infrequent i know) because i cant use my schedule with a one-at-a-time
> > cfindex loop like i could in 6.1 to re-index as its waay to slow (a
> > cfindex on 6.1 was like 1-2 seconds for a 1 row query).
>
> > So i guess i need to change my schedules so that i minimise the amount
> > of calls to CFINDEX. eg. if i need to re-index 1 row then i call
> > CFINDEX and take the hit in the scheduled task, but if i need to re-
> > index 100 i still have the same number of cfindex calls because i
> > combine the data into 1 big query. Does that sound like a better
> > solution ?
>
> > Does anyone else on the list notice the performance hit with CFINDEX
> > calls ? maybe its our setup causing the problem...
>
> > Pat
>
> > On May 23, 2:21 pm, "Raymond Camden" <[EMAIL PROTECTED]> wrote:
> > > On 5/22/07, Pat Branley <[EMAIL PROTECTED]> wrote:
>
> > > > So do you know of a 'best practice' methodology for dealing with
> > > > verity indexing of database content ?
>
> > > I'm not aware of such a document. I know that when I teach Verity I
> > > talk about the importance of keeping your index in sync with your db.
> > > So for example, any Create/Edit/Delete operation needs to ensure it
> > > updates th ecollection.
>
> > > > Ive never really seen anywhere that does a mass update of the index
> > > > since most of the time only 1 record changes per cycle of a scheduled
> > > > task.
>
> > > Right, and that _should_  work fine. But you were doing a mass index
> > > one row at a time, right?
>
> > > > normally we would update the index after you have saved a record to
> > > > the database. However, because of the overhead of calling cfindex, its
> > > > too slow to call on page save. So we call it via a scheduled task. the
> > > > schedule normally looks like (abstractly):
>
> > > Again though - didn't you say you were doing _lots_ of updates? If you
> > > update your index with ONE record, it should be fast. Not super fast,
> > > but fast.
>
> > > -r
>
> --
> ===
> Raymond Camden, Camden Media
>
> Email: [EMAIL PROTECTED]
> Blog  : ray.camdenfamily.com
> AOL IM : cfjedimaster


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



[cfaussie] Re: cfindex on CFMX7 with 1 record queries

2007-05-22 Thread Pat Branley

when you say not super fast, but fast how long would you expect a 1
record index to take ? on our servers this can be 10 seconds and
upwards per CFINDEX call. hence the need to call cfindex via a
schedule.

but if i do the same cfindex call with 100 rows it may only take 20-30
seconds.

this causes a problem when i need to re-index a whole site, (which is
infrequent i know) because i cant use my schedule with a one-at-a-time
cfindex loop like i could in 6.1 to re-index as its waay to slow (a
cfindex on 6.1 was like 1-2 seconds for a 1 row query).

So i guess i need to change my schedules so that i minimise the amount
of calls to CFINDEX. eg. if i need to re-index 1 row then i call
CFINDEX and take the hit in the scheduled task, but if i need to re-
index 100 i still have the same number of cfindex calls because i
combine the data into 1 big query. Does that sound like a better
solution ?

Does anyone else on the list notice the performance hit with CFINDEX
calls ? maybe its our setup causing the problem...

Pat

On May 23, 2:21 pm, "Raymond Camden" <[EMAIL PROTECTED]> wrote:
> On 5/22/07, Pat Branley <[EMAIL PROTECTED]> wrote:
>
> > So do you know of a 'best practice' methodology for dealing with
> > verity indexing of database content ?
>
> I'm not aware of such a document. I know that when I teach Verity I
> talk about the importance of keeping your index in sync with your db.
> So for example, any Create/Edit/Delete operation needs to ensure it
> updates th ecollection.
>
> > Ive never really seen anywhere that does a mass update of the index
> > since most of the time only 1 record changes per cycle of a scheduled
> > task.
>
> Right, and that _should_  work fine. But you were doing a mass index
> one row at a time, right?
>
> > normally we would update the index after you have saved a record to
> > the database. However, because of the overhead of calling cfindex, its
> > too slow to call on page save. So we call it via a scheduled task. the
> > schedule normally looks like (abstractly):
>
> Again though - didn't you say you were doing _lots_ of updates? If you
> update your index with ONE record, it should be fast. Not super fast,
> but fast.
>
> -r


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



[cfaussie] Re: cfindex on CFMX7 with 1 record queries

2007-05-22 Thread Pat Branley

Hi Ray,

So do you know of a 'best practice' methodology for dealing with
verity indexing of database content ?

Ive never really seen anywhere that does a mass update of the index
since most of the time only 1 record changes per cycle of a scheduled
task.

normally we would update the index after you have saved a record to
the database. However, because of the overhead of calling cfindex, its
too slow to call on page save. So we call it via a scheduled task. the
schedule normally looks like (abstractly):

 ids of all db records that need
reindexing since last schedule (may be from multiple tables)


   data of the record i want to index,
from a given table, and what we need to do - update or delete based on
the status of the record
  

   update the record to flag its been
indexed ...



But it appears now that i need to alter this to do mass updates
(potentially with multiple calls to CFINDEX for the updates and
deletes). This is also assuming i'm putting it all into the same
collection.

However, even with mass updates i still don't save much processing
time since like i said previously, between cycles maybe only 1 or 2
records have changed.

I can see though this would be a big performance boost if i've made
global changes to my database and i want to completely re-index my
content, but this isn't the normal case for indexing.

do you have any other alternatives for real-time search index
updating ?

Pat


On May 23, 9:51 am, "Raymond Camden" <[EMAIL PROTECTED]> wrote:
> I've done a few presentations on Verity in the past. CF7 had a major
> update, hence the reason there are a lot of new features in CF7 in
> terms on Verity. As for this particular point, I guess I woul dhave
> always assumed that one update versus N would be quicker.
>
> On 5/22/07, Pat Branley <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > Hi All
>
> > After all this time (see my initial post on 22 Nov 2005!) i think i
> > may have discovered why the verity indexing process appears painfully
> > slow in CF7 vs CF6.1. See the thread below:
>
> >http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=14...
>
> > Notice that the post by the team member mentions the 'record-at-a-
> > time' vs bulk processing of verity 5.5. After some initial testing
> > with my indexing schedules i can see this working. For example, in our
> > systems after the user updates a record the system then puts a flag in
> > the table that this record requires re-indexing. The scheduled task
> > then loops over all the records that require re-indexing calling
> >  separately on each row. If i change this process to call
> > CFINDEX only once for all the rows in the whole table, the time taken
> > is slightly slower than that of a cfindex on 1 row, but massively
> > faster than the combined time to process all the rows individually.
>
> > What is slightly annoying is that its taken a year for me to find this
> > information. Nobody seems to blog much about verity and theres no
> > recommended way you should work with CFINDEX listed in the docs.
> > Considering this is a pretty big change from the functionality in
> > CF6.1, I would have thought someone would have documented it
> > somewhere?
>
> > Or i have I just missed some blindly obvious piece of information
> > thats on page 1 of cfdocs ?
>
> > Pat
>
> --
> ===
> Raymond Camden, Camden Media
>
> Email: [EMAIL PROTECTED]
> Blog  : ray.camdenfamily.com
> AOL IM : cfjedimaster


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



[cfaussie] cfindex on CFMX7 with 1 record queries

2007-05-22 Thread Pat Branley

Hi All

After all this time (see my initial post on 22 Nov 2005!) i think i
may have discovered why the verity indexing process appears painfully
slow in CF7 vs CF6.1. See the thread below:

http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=143&threadid=1009996&enterthread=y

Notice that the post by the team member mentions the 'record-at-a-
time' vs bulk processing of verity 5.5. After some initial testing
with my indexing schedules i can see this working. For example, in our
systems after the user updates a record the system then puts a flag in
the table that this record requires re-indexing. The scheduled task
then loops over all the records that require re-indexing calling
 separately on each row. If i change this process to call
CFINDEX only once for all the rows in the whole table, the time taken
is slightly slower than that of a cfindex on 1 row, but massively
faster than the combined time to process all the rows individually.

What is slightly annoying is that its taken a year for me to find this
information. Nobody seems to blog much about verity and theres no
recommended way you should work with CFINDEX listed in the docs.
Considering this is a pretty big change from the functionality in
CF6.1, I would have thought someone would have documented it
somewhere?

Or i have I just missed some blindly obvious piece of information
thats on page 1 of cfdocs ?

Pat


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



[cfaussie] Re: CFDOCUMENT and japanese characters

2007-05-15 Thread Pat Branley

Japanese text doesn't usually have spaces between words in the
paragraph.

Seems that the wrapping built into iText relies on spaces to wrap.

I also noticed that xsl:fo solutions such as AntennaHouse can work out
the wrapping. I haven't tried it with FOP yet.

Pat



On May 16, 2:46 pm, "Dale Fraser" <[EMAIL PROTECTED]> wrote:
> I do,
>
> Most common cause, is there simply aren't any spaces in the Japanese text.
>
> Other than that it should wrap fine.
>
> Regards
> Dale Fraser
>
> http://dale.fraser.id.au/blog
>
> -Original Message-
> From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
>
> Of Pat Branley
> Sent: Wednesday, 16 May 2007 1:39 PM
> To: cfaussie
> Subject: [cfaussie] CFDOCUMENT and japanese characters
>
> Hi All
>
> Does Anyone have experience with CFDOCUMENT and japanese characers ?
> We have an issue were the characters are displaying but the text wont
> wrap. Ive been digging around everywhere for a solution, but i cant
> find anything.
>
> i cant even see anything listed about how iText treats this either.
>
> Pat


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



[cfaussie] CFDOCUMENT and japanese characters

2007-05-15 Thread Pat Branley

Hi All

Does Anyone have experience with CFDOCUMENT and japanese characers ?
We have an issue were the characters are displaying but the text wont
wrap. Ive been digging around everywhere for a solution, but i cant
find anything.

i cant even see anything listed about how iText treats this either.

Pat


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



[cfaussie] getting info on coldfusion bugs

2007-05-14 Thread Pat Branley

hi all

ive got an issue with CFDOCUMENT (running CF 7.02) and the scaling of
images in the header. It appears its a long running issue and has a
logged bug number. See the thread below for info:

http://www.sagewire.org/cfml-discussion/CFDOCUMENT-PDF-image-scaling-problem-after-HotFix-100489.aspx

Does anyone know if there is a way to see what logged bugs exist on
adobe.com ? i cant seem to find anything. Maybe im getting too used to
OSS projects where bugs are publically listed, i suppose thats not
allways the case with commercial software.

Pat


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



[cfaussie] Re: oracle plugin for eclipse

2007-05-02 Thread Pat Branley

The web tools project for eclipse comes with a very basic JDBC based
database browser. I use this + a combo of the RDS plugin.

you cant call DDL (alter table etc) statements from the RDS query
builder. And it only works on windows i understand.

http://www.eclipse.org/webtools/community/tutorials/RDBTutorial/RDBTutorial.html



On May 3, 11:00 am, Geoff Bowers <[EMAIL PROTECTED]> wrote:
> On May 2, 11:25 am, "AJ Mercer" <[EMAIL PROTECTED]> wrote:
>
> > Does anyone know of / recommend an Eclipse plugins for database browsing /
> > running sql type of thing that can connect to Oracle?
>
> You might consider the RDS plugin for Eclipse -- looks like you have
> to have FlexBuilder to get hold of it.  But it works with anything
> your CF server has a datasource for.
>
> -- geoffhttp://www.daemon.com.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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: httpparam encoded value

2007-04-30 Thread Pat Branley

you could always bypass the HTTPPARAM tag and manually create the
query string eg.  wrote:
> Wondering if someone has a workaround for the following:
>
> I'm using a cfhttp - get with a bunch of cfhttpparams to post to an asp form
> page that also uses method="get". Sounds easy enough but the asp page which
> processes the form errors with an invalid formfield value.
>
> I've tracked it down it to the value attribute which is encoded when I don't
> want it to be:
>
>  encoded="false"/>
> 
>
> In Wireshark i see:
>
>  /myResults.asp?my+name=my%2Bvalue&my+term=2%A
>
> The encoding setting of false only affects the name of the field not the
> value. I need:
>
>  /myResults.asp?my+name=my+value&my+term=*
>
> As I understand it a get wants to url encode so CF is handling it properly
> but how can I get the value across to myResults.asp without encoding.
>
> Thanks in advance
> Angus
>
> He who thinks that he has missed something obvious :)


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



[cfaussie] Re: Scott and Andrew have driven me away

2007-04-28 Thread Pat Branley

here here!

if it aint technical and related to CF, dont post it here cos most of
us dont give a rats...

watercooler was created for a reason.

Pat



On Apr 28, 2:03 pm, "Mike Kear" <[EMAIL PROTECTED]> wrote:
> For pete's sake Andrew, havent you got the message yet??
>
> GIVE IT A REST FOR GOD's SAKE
>
> Cheers
> Mike Kear
> Windsor, NSW, Australia
> Adobe Certified Advanced ColdFusion Developer
> AFP Webworkshttp://afpwebworks.com
> ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month
>
> On 4/28/07, Andrew Scott <[EMAIL PROTECTED]> wrote:
>
> > Exactly Toby,
>
> > Scott has no business coming here and preaching M$ in the manner he did.
>
> > I am not alone on that, Scott just didn't see what he did. I have nothing
> > against Scott personally, I respect him as a developer but not as an
> > evangalist, he has gone about it wrong he just want listen.


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



[cfaussie] Re: OT: Subversion

2007-04-26 Thread Pat Branley

not preaching, just offering an alternative. You might not like it,
but it works for us.

and you would have to admit that it is better than NO version control.


On Apr 27, 10:57 am, Andrew Scott <[EMAIL PROTECTED]> wrote:
> Pat,
>
> The downtime is when you try to fix a bug in your code, that was introduced
> by another developer piss farting around in the same code. Trust me, I do
> not care what you think this is the worst way of developing in a team
> environment than you can imagine.
>
> Ok, let's say a developer needs to go in and modify some code that is stored
> in the Application scope. But to reset the application will mean everyone
> has to stop what they are doing or suffer problems, interruptions like this
> is downtime.
>
> Or a developer makes a change to something that works for him, but when it
> comes to you that code breaks before your code can execute, so you either
> have to wait till he fixes that code or you go and fix it yourself, more
> downtime.
>
> If you strongly believe it works, then good for you. But those of us who
> have been around long enough know better, and we know that this is the worst
> thing you can ever do.
>
> Pat don't preach to us, we have been in that scenario and we WILL NOT
> recommend it.
>
> Andrew Scott
> Senior Coldfusion Developer
> Aegeon Pty. Ltd.www.aegeon.com.au
> Phone: +613  8676 4223
> Mobile: 0404 998 273
>
> -Original Message-
> From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
>
> Of Pat
> Sent: Friday, 27 April 2007 10:50 AM
> To: cfaussie
> Subject: [cfaussie] Re: OT: Subversion
>
> in our experience of using shared development the downtime is minimal.
> and who do you have to explain it to ? downtime on testing and
> production servers is another issue, but while your in development if
> someone changes something that breaks what your working on, they will
> know about it very quickly.
>
> The difference is in the time to integrate changes. Your delaying your
> integration to (usally) daily we are doing our integration instantly.
> If your having major integration issues its usually a symptom of
> project management and a problem with work breakdown structure.
>
> maybe this model doesn't work in every development scenario, but it
> appears to work for us. I wouldn't dismiss it just because its not the
> standard approach.
>
> Pat
>
> On Apr 27, 10:18 am, Andrew Scott <[EMAIL PROTECTED]> wrote:
> > Pat,
>
> > That is very bad and here is why!!
>
> > First of all, it isn't very hard to setup up a staging server, and when
> that
> > is done and your happy that the build is stable you can export to the
> > staging server.
>
> > But the biggest headache for this model is down time, every time I have
> come
> > across this development scenario I have quickly changed it there is
> nothing
> > worse than another developer with broken code that effects you from doing
> > your work. And how are you going to explain the downtime due to another
> > developer breaking a stable build?
>
> > There are no excuses for not having a separate development (developer
> > workstation) and a separate staging/testing server.
>
> > Andrew Scott
> > Senior Coldfusion Developer
> > Aegeon Pty. Ltd.www.aegeon.com.au
> > Phone: +613  8676 4223
> > Mobile: 0404 998 273


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



[cfaussie] Re: OT: Subversion

2007-04-26 Thread Pat

in our experience of using shared development the downtime is minimal.
and who do you have to explain it to ? downtime on testing and
production servers is another issue, but while your in development if
someone changes something that breaks what your working on, they will
know about it very quickly.

The difference is in the time to integrate changes. Your delaying your
integration to (usally) daily we are doing our integration instantly.
If your having major integration issues its usually a symptom of
project management and a problem with work breakdown structure.

maybe this model doesn't work in every development scenario, but it
appears to work for us. I wouldn't dismiss it just because its not the
standard approach.

Pat

On Apr 27, 10:18 am, Andrew Scott <[EMAIL PROTECTED]> wrote:
> Pat,
>
> That is very bad and here is why!!
>
> First of all, it isn't very hard to setup up a staging server, and when that
> is done and your happy that the build is stable you can export to the
> staging server.
>
> But the biggest headache for this model is down time, every time I have come
> across this development scenario I have quickly changed it there is nothing
> worse than another developer with broken code that effects you from doing
> your work. And how are you going to explain the downtime due to another
> developer breaking a stable build?
>
> There are no excuses for not having a separate development (developer
> workstation) and a separate staging/testing server.
>
> Andrew Scott
> Senior Coldfusion Developer
> Aegeon Pty. Ltd.www.aegeon.com.au
> Phone: +613  8676 4223
> Mobile: 0404 998 273


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



[cfaussie] Re: OT: Subversion

2007-04-26 Thread Pat

I have another take on this subversion issue...

1. we use a shared development server instead of each developer
having  their own working copy.

why ?
a. designers & project managers have no idea about subversion. they
want to see what the current state of development is by looking at the
dev server.

b. when you work on a large nubmer of sites that can have over 7000
coldfusion templates and integrates with X number of 3rd party web
services, java components and databases, the sheir amount of
configuration required to get developers machines configured is too
large.

its easier to tackle the problem from a project management perspective
and breakdown the work into descrete sections so developers don't work
on the same files.

2. we branch when the change is large enough to span more than a day
and will prevent other devs working on the site at the same time. Our
branches become separate working copies on the same dev server.

once the branch is deployed we merge back into the trunk.

3. we pre and post tag updates to the trunk when bug fixes occour and
when a release is deployed to a testing or production server. testing
and production are not working copies but releases of the codebase.


while this method isnt the traditional svn model, and you may or may
not get all the benefits that SVN offers it still gives you some
version control, it does minimise configuration and merging issues.

my 2c

Pat

ps. does any1 know of any educational institutions that do ANY kind of
version control courses ? tafe, uni, pvt training compaines ? this
seems like such a critical element of being a commercial developer and
i have never heard of it being taught. everyone seems to just have to
pick it up on the run when they start working - its a little sad.



On Apr 26, 7:34 pm, "Andrew Scott" <[EMAIL PROTECTED]> wrote:
> yes that is correct.
>
> On 4/26/07, AJ Mercer <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > If you SWITCH between the trunk and branches with out doing a commit, wont
> > you loose your changes?
>
> > On 4/25/07, Andrew Scott < [EMAIL PROTECTED]> wrote:
>
> > > Peter,
>
> > > At least with my expereince and knowledge I earn more than $21 an hour.
>
> > > I also did say it will open a debate...
>
> > > The reason being is that people do their development differenlty, and I
> > > stand by by my comments on this matter.
>
> > > If I as a developer was to make changes to the code, and its not
> > > finished on what I am doing why would you commit to SVN, that is just not
> > > common sense.
>
> > > We here have deployed strict development methodologies, and believe me
> > > when I say it works. And if a developer commits code that breaks all build
> > > checks etc then they are questioned as to why the code is broken. This has
> > > come from the Java side to make sure that builds are as stable as possible
> > > when commiting to SVN.
>
> > > And Peter, if you want to learn this methodology and practice, you just
> > > might ern yourself more than $21 an hour.
>
> > > I don't claim to be a guru at anything, but when it comes to common
> > > sense SVN is not just to commit into willy nilly, and a developer should
> > > take the care to make sure that the code they are committing is considered
> > > final code is that so hard to understand?
>
> > > What do you think Version Control is all about Peter?
>
> > > On 4/24/07, Peter Tilbrook < [EMAIL PROTECTED]> wrote:
>
> > > > Andrew must be the bees knees and lifelong expert for CFML
> > > > development.
>
> > > > Can I still extend my MyLar sails, catching the solar winds and saving
> > > > the planet?
>
> > > > Aegeon Pty. Ltd.
> > > >www.aegeon.com.au
> > > > Phone: +613  8676 4223
> > > > Mobile: 0404 998 273
>
> > --
> > If you are not living on the edge,
> > You are taking up too much space.
>
> --
>
> Senior Coldfusion Developer
> Aegeon Pty. Ltd.www.aegeon.com.au
> Phone: +613  8676 4223
> Mobile: 0404 998 273


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



[cfaussie] Re: CFMX 7 New Install - Error Occurred While Processing Request

2007-04-23 Thread Pat

looks like whatever JDK you configured has a dodgy security provider
installed...

at javax.crypto.Cipher.getInstance([DashoPro-V1.2-120198])

is your clue... try getting rid of that provider or using a clean JDK
install.

On Apr 24, 3:19 pm, "Scott Thornton"
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> new install of cf mx 7 on a new DELL PC.
>
> getting the above error when attempting to 
> browsehttp://localhost/CFIDE/administrator/index.cfm
>
> IIS is started.
> CF services are started.
>
> I have run the IIS_connector.bat in the bin\connector directory.
>
> rebooted a couple of times.
>
> The IIS website is working.
>
> Application log says:
>
> "Severity","ThreadID","Date","Time","Application","Message"
> "Information","jrpp-3","04/24/07","15:08:36",,"C:\CFusionMX\logs\application.log
>  initialized"
> "Error","jrpp-3","04/24/07","15:08:36",,"null The specific seruence of files 
> included or processed is: null "
> "Error","jrpp-3","04/24/07","15:13:28",,"null The specific seruence of files 
> included or processed is: null "
>
> Exception Log:
>
> "Error","jrpp-3","04/24/07","15:13:28",,"null The specific seruence of files 
> included or processed is: null "
> java.lang.NoClassDefFoundError
> at javax.crypto.Cipher.getInstance([DashoPro-V1.2-120198])
> at coldfusion.compiler.TemplateReader.decrypt(Unknown Source)
> at coldfusion.compiler.TemplateReader.(Unknown Source)
> at coldfusion.compiler.NeoTranslationContext.getPageReader(Unknown 
> Source)
> at coldfusion.compiler.NeoTranslator.translateJava(Unknown Source)
> at coldfusion.compiler.NeoTranslator.translateJava(Unknown Source)
> at coldfusion.runtime.TemplateClassLoader$1.fetch(Unknown Source)
> at coldfusion.util.LruCache.get(Unknown Source)
> at 
> coldfusion.runtime.TemplateClassLoader$TemplateCache.fetchSerial(Unknown 
> Source)
> at coldfusion.util.AbstractCache.fetch(Unknown Source)
> at coldfusion.util.SoftCache.get(Unknown Source)
> at coldfusion.runtime.TemplateClassLoader.findClass(Unknown Source)
> at coldfusion.filter.PathFilter.invoke(Unknown Source)
> at coldfusion.filter.ExceptionFilter.invoke(Unknown Source)
> at coldfusion.filter.ClientScopePersistenceFilter.invoke(Unknown 
> Source)
> at coldfusion.filter.BrowserFilter.invoke(Unknown Source)
> at coldfusion.filter.GlobalsFilter.invoke(Unknown Source)
> at coldfusion.filter.DatasourceFilter.invoke(Unknown Source)
> at coldfusion.CfmServlet.service(Unknown Source)
> at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
> at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
> at 
> jrun.servlet.JRunReruestDispatcher.invoke(JRunReruestDispatcher.java:241)
> at 
> jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527)
> at 
> jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:198)
> at 
> jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:348)
> at 
> jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:451)
> at 
> jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:294)
> at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
>
> Any suggestions? trying to check adobe website now.. running slw.


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



[cfaussie] Re: Question on redirection

2007-04-19 Thread Pat

If you are prepared to accept a solution that only works with JS
enabled (the link still works, just doesnt get recorded) only heres
how ive done it..

go to
external site


fRecordClick = function(event)
{
  //put ajax code for hitting your counter logic here. i use
prototype.js
  //if you dont like ajax the same thing works with iFrames.
var elm = Event.element(event)
  new Ajax.request("myrecordingpage.cfm?link='+elm.href);

}


window.onLoad = function()
{
  document.getElementById('externalLink1').click = fRecordClick
}


You could also integrate your window.open code into these functions
too. Putting the script block into an external file will let you hide
the link to the recorder script a little and doesnt clutter up your
page of links.

hth

Pat



On Apr 20, 10:46 am, Ryan Sabir <[EMAIL PROTECTED]> wrote:
> Hi all,
>
>
>
> I pose to you what seems like a simple question.. I'm interested in what 
> people would consider a 'best practice' method for achieving this:
>
>
>
> I have a 'portal' site with many links to other websites. My clients pay me 
> to be on my site, and in return I give them reporting stats on how many 
> people have clicked on their link. Each link to an external site launches in 
> a new window.
>
>
>
> How would you track these clicks?
>
>
>
> I have some ideas on how to do this, I'm interested to see what other people 
> have come up with.
>
>
>
> Thanks!
>
>
>
>
>
> Ryan Sabir
> Technical Directorp:(02) 9274 8030f:(02) 9274 8099m:0411 512 
> 454w:www.newgency.com
>
>
>
> Newgency Pty Ltd
> Web | Multimedia | eMarketing
> 224 Riley St
> Surry Hills NSW 2010
> Sydney, Australia
>
>
>
>
>
>
>
>  image001.gif
> 3KViewDownload
>
>  image002.gif
> 1KViewDownload


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



[cfaussie] Re: Version Controlling a Database

2007-04-16 Thread Pat

you can merge .SQL files. They are just text

On Apr 16, 10:04 pm, Andrew Scott <[EMAIL PROTECTED]> wrote:
> Pat,
>
> This sounds similar to what we do now using redgate, but the only problem I
> see with what your suggesting is that there isn't a method of merging 2
> developers databases:-)
>
> Andrew Scott
> Senior Coldfusion Developer
> Aegeon Pty. Ltd.www.aegeon.com.au
> Phone: +613  8676 4223
> Mobile: 0404 998 273
>
> -Original Message-
> From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
>
> Of Pat
> Sent: Tuesday, 17 April 2007 9:59 AM
> To: cfaussie
> Subject: [cfaussie] Re: Version Controlling a Database
>
> You could achieve a DB Rollback routine with SVN and ANT.
>
> 1. each schema update you make, you export your DB schema again to an
> SQL file. eg
>
> \data\create.sql
>
> this is a few clicks routine for SQL server, not sure about other DB's
> but im sure its possible. For multiple DB's you would have
>
> \data\create_mssql.sql
> \data\create_mysql.sql
> \data\create_oracle.sql
>
> Also you then have some static data or default data (country
> names,product categores etc etc)  you want to populate the DB with so
> you create the eqivalent to your schema 'create' file as an 'insert'
> file
>
> \data\insert_mssql.sql
> \data\insert_mysql.sql
> \data\insert_oracle.sql
>
> you might also want some test data, eg. some products,orders,
> customers etc so you create another test SQL file for those too.
>
> this relies on the fact your db can support exporting such scripts for
> you, cos its a PITA to do them by hand.
>
> 2. you can then use SVN to manage changes as you would with your
> codebase.
>
> 3. when you checkout your codebase use an ANT script that does the SVN
> checkout and at the same time runs the SQL scripts you checkout to a
> given DB. (ANT scripts have an  tag just like cfquery!)
>
> hth
>
> Pat
>
> On Apr 16, 11:36 pm, "Andrew Scott" <[EMAIL PROTECTED]>
> wrote:
> > Ok,
>
> > Now it seems that everyone is getting the wrong end of the stick here, the
> > scenario is going to be simple. This is for development only, and we are
> in
> > the middle of a huge project with many developers working away, we have
> > already introduced TDD with XP Agile development and have everyone using
> SVN
> > for creating different versions.
>
> > But the problem now is the database, if we need to support n versions of
> an
> > application we are finding that the database requires more work and
> > maintenance than it really should when switching between different
> branches
> > of our code.
>
> > So as someone mentioned I would not be looking for a solution for
> > production, come on guys I have been developing long enough to not make a
> > stupid move like that. The problem is that we currently use RedGate as I
> > said earlier and its works well for MS SQL Server, but it doesn't work for
> > mySQL or Oracle or DB2.
>
> > Now if you look at having to switch to a different branch of code to
> > maintain, there really needs to be someway to do this with SQL schemas as
> > well.
>
> > And yes we have daily backups, but this is not the issue.


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



[cfaussie] Re: Version Controlling a Database

2007-04-16 Thread Pat

You could achieve a DB Rollback routine with SVN and ANT.

1. each schema update you make, you export your DB schema again to an
SQL file. eg

\data\create.sql

this is a few clicks routine for SQL server, not sure about other DB's
but im sure its possible. For multiple DB's you would have

\data\create_mssql.sql
\data\create_mysql.sql
\data\create_oracle.sql

Also you then have some static data or default data (country
names,product categores etc etc)  you want to populate the DB with so
you create the eqivalent to your schema 'create' file as an 'insert'
file

\data\insert_mssql.sql
\data\insert_mysql.sql
\data\insert_oracle.sql

you might also want some test data, eg. some products,orders,
customers etc so you create another test SQL file for those too.

this relies on the fact your db can support exporting such scripts for
you, cos its a PITA to do them by hand.

2. you can then use SVN to manage changes as you would with your
codebase.

3. when you checkout your codebase use an ANT script that does the SVN
checkout and at the same time runs the SQL scripts you checkout to a
given DB. (ANT scripts have an  tag just like cfquery!)

hth

Pat



On Apr 16, 11:36 pm, "Andrew Scott" <[EMAIL PROTECTED]>
wrote:
> Ok,
>
> Now it seems that everyone is getting the wrong end of the stick here, the
> scenario is going to be simple. This is for development only, and we are in
> the middle of a huge project with many developers working away, we have
> already introduced TDD with XP Agile development and have everyone using SVN
> for creating different versions.
>
> But the problem now is the database, if we need to support n versions of an
> application we are finding that the database requires more work and
> maintenance than it really should when switching between different branches
> of our code.
>
> So as someone mentioned I would not be looking for a solution for
> production, come on guys I have been developing long enough to not make a
> stupid move like that. The problem is that we currently use RedGate as I
> said earlier and its works well for MS SQL Server, but it doesn't work for
> mySQL or Oracle or DB2.
>
> Now if you look at having to switch to a different branch of code to
> maintain, there really needs to be someway to do this with SQL schemas as
> well.
>
> And yes we have daily backups, but this is not the issue.


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



[cfaussie] Re: OT: Vista Application

2007-04-12 Thread Pat

btw... that is the address for the watercooler list ? is it a google
group ?

Pat

On Apr 13, 9:18 am, "Justin Carter" <[EMAIL PROTECTED]> wrote:
> On Apr 13, 9:01 am, "Andrew Scott" <[EMAIL PROTECTED]> wrote:
>
> > But Scott,
>
> > If your like me you never install into the Programs directory, like Dale
> > just did so how does that protect me?
>
> Well you're doing it wrong :P If nobody followed best practises then
> there would be no sense of security anywhere...
>
> To be honest, if there are machine wide settings in an app they should
> probably be stored under HKLM\Software in the registry, not in a
> local .ini file... The registry was created in Win95, yet here we are
> almost 12 years later :)
>
> --
> Justinhttp://www.madfellas.com/blog


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



[cfaussie] Re: Flash Charts

2007-04-10 Thread Pat

thats funny you want them turned off
that was a selling point for us to move some of our customers on to
cf7. They all went 'oh' when they saw the bars animate :)

On Apr 10, 4:13 pm, "Steve Onnis" <[EMAIL PROTECTED]> wrote:
> Why don't you just make them PNG format?
>
> Otherwise there is a config process where you can turn them off.  You need
> to use the [cfinstall]\charting\webcharts.bat tool to creates an XML file
> and add a style attribute to your chart and load the xml into it.
>
>   _
>
> From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
> Of KNOTT, Brian
> Sent: Tuesday, 10 April 2007 4:09 PM
> To: cfaussie@googlegroups.com
> Subject: [cfaussie] Flash Charts
>
> I'm creating flash charts and they have that nice function where the bar
> graphs grow.  Is there any way to turn this off as its now becoming anoying.
>
> Brian
>
> 
> ---
>
> This e-mail is sent by Suncorp-Metway Limited ABN 66 010 831 722 or one of
> its related entities "Suncorp".
>
> Suncorp may be contacted at Level 18, 36 Wickham Terrace, Brisbane or on 13
> 11 55 or at suncorp.com.au.
>
> The content of this e-mail is the view of the sender or stated author and
> does not necessarily reflect the view of Suncorp. The content, including
> attachments, is a confidential communication between Suncorp and the
> intended recipient. If you are not the intended recipient, any use,
> interference with, disclosure or copying of this e-mail, including
> attachments, is unauthorised and expressly prohibited. If you have received
> this e-mail in error please contact the sender immediately and delete the
> e-mail and any attachments from your system.
>
> If this e-mail constitutes a commercial message of a type that you no longer
> wish to receive please reply to this e-mail by typing Unsubscribe in the
> subject line.


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



[cfaussie] Re: Talking of evaluate()

2006-12-07 Thread Pat

not that its much better than using IsDefined - but structkeyExists is
another alternative for the checkbox  problem.

i prefer to use 

 ...

but you can also do

 ...

at least with this option you are only searching 1 scope rather than
all of them when using isDefined()


Pat



On Dec 8, 12:39 pm, "Andrew Scott" <[EMAIL PROTECTED]> wrote:
> Yes,
>
> I am well aware of your explanation, but let's look at something else for a
> minute.
>
> Forms?
>
> Now although cfparam can be used to handle radio buttons, you might need to
> do something like this
>
> 
>
> . then do sql code
>
> 
>
> But if I do this
>
> 
>
> I still have to do
>
> 
>
>.. Then do sql code
>
> 
>
> And I am sorry, but I find the IsDefined() neater in that case:-)
>
> There are also other cases where I have used it too, but mainly with the
> form and URL scopes as far as variables go they are always declared with the
> var scope or variable scope.
>
> And yes I use MVC, its neater and cleaner in page design.
>
> Andrew Scott
> Senior Coldfusion Developer
> Aegeon Pty. Ltd.www.aegeon.com.au
> Phone: +613  8676 4223
> Mobile: 0404 998 273
>
>   _
>
> From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
> Of Simon Haddon
> Sent: Friday, 8 December 2006 12:31 PM
> To: cfaussie@googlegroups.com
> Subject: [cfaussie] Re: Talking of evaluate()
>
> Hi,
>
> I think that your statement about using cfparam sums it up well.  It is all
> about code design.  If all you variables are declared and initialised at the
> beginning of a template, custom tag, function or cfc then it improves
> readability and maintainability.  It helps to ensure that you have thought
> about each variable you are using and also, I find, that it reduces reuse of
> the same variable for cross purposes.  Imagine if you have some code that
> uses isDefined and you are relying in the fact a variable exists to take
> some action.  Then later some else comes along and uses the same variable
> name in another template.  Woops. Code broken.  If you "parametrise" and
> initialise your variables at the start of your template it is easier to read
> and less chance of conflict with other code.  I would much rather "know"
> that a variable exists and see what values it contains than hope it exists.
>
> It also cuts down you coding as you only have to say
>
> 
>   
> 
>
> rather than
>
> 
>   
> 
>
> Anyway.  That is a very quick reason and something that I could rant on
> about for ages but hopefully gives a little idea about why I don't like
> isDefined.
>
> I have not come across a reason to use isDefined accept in an error handler.


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



[cfaussie] Re: CFFLUSH using script

2006-12-04 Thread Pat

getPageContext().getOut().flush();



On Dec 5, 11:09 am, "Andrew Scott" <[EMAIL PROTECTED]> wrote:
> Only if you write a wrapper for it Steve
>
> Andrew Scott
> Senior Coldfusion Developer
> Aegeon Pty. Ltd.www.aegeon.com.au
> Phone: +613  8676 4223
> Mobile: 0404 998 273
>
> -Original Message-
> From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
>
> Of [EMAIL PROTECTED]
> Sent: Tuesday, 5 December 2006 10:54 AM
> To: cfaussie
> Subject: [cfaussie] CFFLUSH using script
>
> Does anyone know if it is possible to trigger a CFFLUSH using CFSCRIPT?
> 
> Steve


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



[cfaussie] Re: fckEditor Was: Rich text editor for ColdFusion - recomendations

2006-11-29 Thread Pat

tinyMCE is better than FCK. Thats what the latest farcry uses.

http://tinymce.moxiecode.com/

its way easier to extend and configure in my opinion.

Pat


On Nov 30, 12:52 am, "Simon Haddon" <[EMAIL PROTECTED]> wrote:
> Hi Mark,
>
> I am just starting on just that issue.  I am upgrading from fckeditor 1 to 2
> and have to change the method used.  I have to create an xml document and
> pass the StylesXmlPath to the editor.
>
> That is all I know at this time .
>
> Cheers
> Simon
>
> On 29/11/06, Mark Ireland <[EMAIL PROTECTED]> wrote:
>
>
>
> > How would you get css styles (out of a database and) into the fckEditor
> > dropdown?
>
> > --
> > Advertisement: Meet Sexy Singles Today @ Lavalife - Click here
> > <http://g.msn.com/8HMAENAU/2737??PS=47575>--
> Cheers
> Simon Haddon


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



[cfaussie] Re: QuickBooks odbc integration

2006-11-27 Thread Pat

I haven't used this particular system

but in the past ive worked with an ODBC implementation or another
industry-based accounting package. Basically it was crap. Horribly slow
at doing anything other than raw selects from 1 table. some joins could
take up to 30seconds to run.

Our solution was to take nightly dumps of the tables into SQL server
and then query the SQL box from CF. The funny thing was about 6 months
later the company produced a SQL Server export package that did exactly
the same thing.

So be very careful with using propietary ODBC connections. They are
usually implemented to make it easy to dump out to excel or something.
not for robust web-based applications.

my 2c

Pat



On Nov 28, 8:29 am, "Carl Vanderpal" <[EMAIL PROTECTED]> wrote:
> Well according to my assiciate the odbc is a little buggy..so I was
> wondering if any have successfully integrated this one [or another] into a
> system? If another one can you pass on the details..
>
> Thanks
>
> On 11/27/06, ACTCFUG <[EMAIL PROTECTED]> wrote:
>
>
>
> > Try talking to the database - get data dumps - be careful about how you
> > get the data and use it. CF should be quite capable of talking to any
> > ODBC compliant application.--
> 
> Postal: Po Box 3462 Dural, NSW 2158
> Email: mailto:[EMAIL PROTECTED]
> Skype: skype:carlos-amigos?call


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



[cfaussie] Re: javascript question :: select default value

2006-11-16 Thread Pat

heres my attempt at a solution.

hth

Pat


window.onload = function()
{
alert('running')
var oSelect = document.getElementById("mySelect");
oSelect.onchange = myChangeFn;
oSelect.onclick = myFocusFn;
}

getElement = function(event)
{
return event.target || event.srcElement;
}

myChangeFn = function(event)
{
oSelect = getElement(event);

if( confirm('are you sure ?') )
{
return ;
}
else if (oSelect.getAttribute("prevSelected") )
{
oSelect.selectedIndex = 
oSelect.getAttribute("prevSelected");
}
}

myFocusFn = function(event)
{
oSelect = getElement(event);
//alert(oSelect.selectedIndex)
oSelect.setAttribute("prevSelected",oSelect.selectedIndex);

}



1
2
3


On Nov 16, 9:25 pm, "darryl lyons" <[EMAIL PROTECTED]> wrote:
> If you didn't want to use an onload method of persisting this
> information, you could merely store the last selectedIndex against the
> DOM element itself.. It just depends on how the initial default value
> is being set (via DOM or part of the static HTML). That way, you can
> just  set the selectedIndex to the "lastSelectedIndex" stored on the
> DOM element if the user selects 'cancel'.
>
> On 16/11/06, AJ Mercer <[EMAIL PROTECTED]> wrote:
>
>
>
> > I have gone with this for now
> > onchange="if (this.options[this.selectedIndex].value == 0 )  if (
> > !confirm('delete this')) this.value='#RS_ID#';"
>
> > where RS_ID is what is being used to select the correct option in the first
> > place.
>
> > But it means if the select another option, then the first option (value ==
> > 0), and cancel it will go to the original value (as it load time) and not
> > the previous value they selected. But I think I can live with that.
>
> > On 11/16/06, Steve Onnis <[EMAIL PROTECTED]> wrote:
>
> > > Andrew
>
> > > This help you at all?
>
> > ///
>
> > > 
>
> > > 
>
> > > 
>
> > > Untitled
>
> > > 
>
> > > function doConfirm(obj) {
>
> > > if (!confirm("Are you
> > sure you want this one?  ")) {
>
> > obj.outerHTML = selectBoxes[obj.name];
>
> > > }
>
> > > }
>
> > > selectBoxes = new Object();
>
> > > function saveSelectBoxes() {
>
> > > var selects =
> > document.getElementsByTagName("SELECT");
>
> > > var i = 0;
>
> > > for(i=0; i <
> > selects.length; ++i) {
>
> > selectBoxes[selects[i].name] = selects[i].outerHTML;
>
> > > }
>
> > > }
>
> > > 
>
> > > 
>
> > > 
>
> > > 
>
> > > 1
>
> > > 2
>
> > > 3
>
> > > 4
>
> > > 5
>
> > > 
>
> > > 
>
> > > 1
>
> > > 2
>
> > > 3
>
> > > 4
>
> > > 5
>
> > > 
>
> > > 
>
> > > 1
>
> > > 2
>
> > > 3
>
> > > 4
>
> > > 5
>
> > > 
>
> > > 
>
> > > 
>
> > ///
>
> > > Regards
>
> > > Steve Onnis
>
> > > 
>
> > > From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On
> > Behalf Of AJ Mercer
> > > Sent: Thursday, 16 November 2006 7:09 PM
> > > To: cfaussie@googlegroups.com
> > > Subject: [cfaussie] javascript question :: select default value
>
> > > Does anyone have any suggestion on how to do the following
>
> > > I have a select field with onChange event the calls the confirm function.
> > If cancel is selected, the original value (select item) is restored.
> 
> > > TIA.--
> 
> Darrylhttp://www.acheron.org/darryl/


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