RE: SVN in Production - back to the original question

2008-08-12 Thread Andrew Scott
Ant is very handy, the one thing I got to do with one of my applications was
to template certain aspects of the site. Pain at times if you are not aware
of it, but the point is that I used ant and the build file to package the
war file up for me.

The steps where get the template, grab the revision number and build number
from SVN. This then replaces the file in the site, to reflect these small
changes. Nothing special, but it does show how ant can be very handy,
because once that happened. The ant script then encrypted the code, and
produced a deployable package.

The template system is nothing new, but it shows that even we in the
ColdFusion arena can also make a script to modify code on the fly based on a
condition. For example, we need to build for development the database
location and details might be different to the production server, and those
allow for us to build depending on whether we select development or
production the template is then converted to the normal file and its
location and has the changes requested.

Certainly not the only way to do it, but it shows an example of another way
most wouldn't know you could.

However there are still times when automation doesn't work.



-- 
Senior Coldfusion Developer
Aegeon Pty. Ltd.
www.aegeon.com.au
Phone: +613 9015 8628
Mobile: 0404 998 273




-Original Message-
From: denstar [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 12 August 2008 3:21 PM
To: CF-Talk
Subject: Re: SVN in Production - back to the original question

With gigs of data, and it's possible, something incremental seems like
a good idea.

A nice bit about SVN (and some other version control systems) is the
binary difference stuff, so only the changes are transmitted, not the
entire file.  Sweet for large data files, neh?

I'm thinking a nice setup would be a ANT managed build process that
triggers some unit tests, which trigger an svnant tag/branch, which
triggers the deployment to the appropriate places.

Yes, something like that sounds dandy, personally.  One of many, many
ways to do it, but it sounds like fun.

Know, that a lot of this stuff I talk about, I probably practice
about-- well, not as much.  I'm a hypocrite, truth be known.
Piecemeal is all I can manage.  Add a build file for this project
here, a customized repository hook there...

*Totally* unrelated, but there is a plugin for Thunderbird that does a
colored diff compare of a diff file (there's an example perl hook for
subversion that will email you the diff when a commit is made), which
is pretty super.

On Mon, Aug 11, 2008 at 8:39 PM, Kym Kovan [EMAIL PROTECTED] wrote:
.
 I find it interesting, we have been hosting CF for 11 years and still
 are finding new things to think over...

I lovesiz it!  :-)

-- 
For a man to conquer himself is the first and noblest of all victories.
Plato



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310838
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: SVN in Production

2008-08-12 Thread Jochem van Dieten
Andrew Scott wrote:
 Don't put words into my mouth.

I was not aware I did so. Perhaps you could quote me?


 As for xml changes that are not related to your source code is generally
 handled by daily backups anyway, and most people prefer that as it can put
 the machine into a state quicker than your method. But hey thats your
 choice, you want to create extra work for you then go for it.

Daily backups don't provide the ability to do diffs.


 As for the actual content of the source files, DID I EVER MENTION ANYTHING
 about that?
 
 NO, I did not and I wouldn't like to have you tell me otherwise.

Up until now I only stated my opinion on the content of the source 
files. Up until now I didn't tell what you wrote.

Now you invite me however, I am going to. You did write:
   SVN was created for one purpose and one purpse only, that was to
   provide a revision control system for you to roll back, and manage
   different versions of your code.

So yes, you did write that SVN is for code.

Jochem

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310839
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: SVN in Production

2008-08-12 Thread Andrew Scott
:-( 

Took me to literal..



-- 
Senior Coldfusion Developer
Aegeon Pty. Ltd.
www.aegeon.com.au
Phone: +613 9015 8628
Mobile: 0404 998 273




-Original Message-
From: Jochem van Dieten [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 12 August 2008 4:17 PM
To: CF-Talk
Subject: Re: SVN in Production

Now you invite me however, I am going to. You did write:
   SVN was created for one purpose and one purpse only, that was to
   provide a revision control system for you to roll back, and manage
   different versions of your code.

So yes, you did write that SVN is for code.

Jochem



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310840
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Lean, 'mean' cf8

2008-08-12 Thread Jochem van Dieten
Gerald Guido wrote:
 I doubt Don is talking about CPU usage. My biggest issue with Adobe CF Jrun
 server instances is RAM. Compared to a lot of other App servers Adobe's JRun
 app server is a glutton.

The memory doesn't go to JRun, it goes to ColdFusion.


 My CF 8 JRun instances eats 200 megs on a 1.28 gig
 ram box just sitting there (345 megs on my 3 gig laptop).  GlassFish and
 Jboss are RAM intensive but CF on JRun is right up there.

You can do something about that. For instance, if you remove the 
JIntegra bits your RAM usage will go down by about 10 MB. Of course you 
can't do COM anymore in that case.


 Last time I looked BD hovered at ~30-40 megs RAM and Railo 3 was at ~70-80
 megs sitting on top of Tomcat.

But since I don't think these can do COM at all (right?) you may not 
care about that.

Jochem

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310841
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: cfexecute batch file not working

2008-08-12 Thread Jochem van Dieten
Marcus Goedeker wrote:
 I have a very simple batch file that i can run fine on its own, but can't 
 seem to get it to work using cfexecute.  I used cfexecute a couple years ago 
 and had no problems, but i can't seem to get it to work with this particular 
 batch file.  The cfexecute code is very simple...cfexecute 
 name=C:\test.bat outputfile=C:\output.txt/cfexecute

Try:
cfexecute name=c:\windows\system32\cmd.exe
   arguments=c:\test.bat
   outputfile=c:\output.txt /

Jochem

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310842
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: SVN in Production

2008-08-12 Thread Jochem van Dieten
Brian Kotek wrote:
 All of this can (and should) be automated with ANT. That means at the click
 of my mouse I can execute the entire deployment process in exactly the same
 way every single time. That might mean:
- Zip the current code, timestamp it, and copy it to a back folder for
easy retrieval.
- Delete the current code
- Copy a site maintenance file into the site folder
- Pull latest from SVN
- Perform export to site folder
- Run a reinit HTTP request to reload the application
- Send an email to notify stakeholders of success

I agree with the need for scripting part. What you do in your scripting 
however can be very different if you have different requirements. In my 
case the scripting does:
- export the sources
- export externals
- export the buildfiles
- spawn an Ant task to package an EAR
- remove all unit tests
- compile the code
- spawn an Ant task to package another EAR
- calculate MD5 checksums of both EARs

Then the non-compiled EAR with unit tests goes to the test environment 
and if approved there the compiled EAR without unit tests goes to QA so 
the customer can approve it. Test, QA and production do not have access 
to source control for CFML sources (only for configuration files), they 
get EAR files with MD5 checksums and test reports of the previous step 
in the cycle.

This approach is very different from most approaches but the reason for 
that is that quite a bit of the software we develop is not deployed on 
infrastructure we control. We have had too much trouble with people 
messing around with things they didn't understand and with deployment 
instructions that were only partially followed. And we just don't want 
to deploy any sources at all, just compiled code.

Jochem

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310843
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: SVN in Production

2008-08-12 Thread Jochem van Dieten
Andrew Scott wrote:
 There is no way to automatically merge changes, I mean even SVN can't do
 that between developers and its a manual process to update and merge
 changes.

That is correct. Which is why it is a best practice to always tag your 
code and deploy a tag. Deployment scripts should not do merging, they 
should only deploy what has already been merged, tagged and tested.

Jochem

PS I would appreciate it if you would limit your messages to the 
technical aspects of software development and were to leave out the 
personal slurs.

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310844
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Verity - Error in search engine library

2008-08-12 Thread Bart Buijze
I hava a couple of collections on a CF8-machine. Since a couple of months I 
regularly get the message Error opening a workspace.: 
com.verity.organize.WorkSpaceOpenException: All available workers are allocated 
to open workspaces. Increase ODK Sync Threads to allow more active workspaces. 
[K2IdxErr_TooManyOpenWorkSpaces]. Most of the time an optimize collection does 
the trick and everything is back to normal; sometimes only a CF Search Service 
restart helps.
I have tried to fiddle with the Verity-setting (although nog really fool-proof) 
of the ODK Sync Threads but kept getting this error. I don't have a clue what's 
creating this...Anyone had this before? Cant find anything on this errormessage.

thanks!
Bart 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310845
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Verity - Error in search library - all available workers allocated

2008-08-12 Thread Bart Buijze
I hava a couple of collections on a CF8-machine. Since a couple of months I 
regularly get the message Error opening a workspace.: 
com.verity.organize.WorkSpaceOpenException: All available workers are allocated 
to open workspaces. Increase ODK Sync Threads to allow more active workspaces. 
[K2IdxErr_TooManyOpenWorkSpaces]. Most of the time an optimize collection does 
the trick and everything is back to normal; sometimes only a CF Search Service 
restart helps.
I have tried to fiddle with the Verity-setting (although nog really fool-proof) 
of the ODK Sync Threads but kept getting this error. I don't have a clue what's 
creating this...Anyone had this before? Cant find anything on this errormessage.

thanks!
Bart 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310846
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: SVN in Production

2008-08-12 Thread Jochem van Dieten
Andrew Scott wrote:

 Or in a more common example, as most Coldfusion developers are single team
 developers. The client has requested a complete change to their system, when
 finished he approved 60% of the changes and wants them to go live right now.
 I can't just export now can I? So again I have to either tell the client no,
 which will upset them.. Or make an eyeball sync to production to make the
 client happy, while they get me to finalise the remaining 40% of the
 changes.
 
 Under these circumstances, you can't just do an export from SVN.

But you could do an eyeball merge to a new branch, tag it, deploy the 
tag to QA and when the client approves it deploy the tag to production.

Jochem


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310847
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: SVN in Production

2008-08-12 Thread denstar
On Mon, Aug 11, 2008 at 11:56 PM, Andrew Scott wrote:
 :-( Yes, I understand about commit early and commit often. But I don't see
 how that solves the problem? That really has nothing to do with branches,
 though does it?

Well I guess a real-world example would be, what, 4 tickets, 3 of
which are higher priority than the 4th?

Any ticketing system worth it's salt integrates quite nice with
version control, and yes, why not use branches?  Copies are cheap!
Keep 'em in sync with trunk, and you're good to go.  Taking advantage
of the ticketing system, you've got the specs for the changes, the
code for the changes, and a spoken word history about the changes
all in one place.
You don't have to leave the branches around forever, although they've
got their forever history.  Branch, merge, merge, ... , delete.  You
can always go back, if you need to, but that way things are organized
in a manner where deployment of approved tickets could probably be
automated, depending on your routine.

How you branch and tag depend a lot on your software and development
cycle, so varies, but I think the important theme here is organized
consistency.

Like I said (sorta) earlier tho, nothing covers all the bases (it's
related to Gödel, somehow ;]), and sometimes it's frustrating, but
what do you do?

Learn, adapt, continue on-- could be my motto. =]

-- 
[Comment on List]: I still find it hard to believe that it is
impossible to prove i am real. I can only believe I am Real.
I didn't arrive at my understanding of the fundamental laws of the
universe through my rational mind - A. Einstein

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310848
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: SQL injection attack on House of Fusion

2008-08-12 Thread denstar
On Mon, Aug 11, 2008 at 9:01 PM, Andrew Scott wrote:

 But one can dream. Like you said, I also doubt it will become open
 source this release... Or even the next, but it will happen... Mark those
 words...

While I don't think we'll get away from SQL anytime soon, I have
managed to get most of hibernate's functionality to work with CF.

I've gone so far as to use it to reverse engineer the database and
create POJO CFCs (oh, that would be a bad buzzword to start!), in line
with the source generation hibernate can do.

And, this seemed pretty cool: you can annotate cfcs, which are used
to build your DB schema, and it will try to update the schema as you
update the model (the cfcs).

You can run queries based on objects and whatnot, sorta, but I'm still
playing with a lot of the implementation, and want to run some load
tests as part of that, etc..

With what I've got so far, you can also drive your model and your DB
with the hibernate HBM mapping files, since I, once again, sorta
followed what hibernate already had, and mostly, I wanted to take
advantage of the nifty eclipse hibernate plugin (nice: auto-completes,
GUI relationship editor, query builder/runner, etc.).

My code is all still like, pre-alpha, but it appears to be sorta a
workable idea.

Hibernate is very robust!  Color me impressed.

Railo and BlueDragon are both entering the open source arena, there's
nothing preventing us from doing whatever we want, really.  That's a
wonderful feeling!

With MG3 (maybe with some more fleshing out of it's scaffolding), and
hibernate, we're about where you want to be, already.

I'm way on board for the idea of having some tight integration with
hibernate in the next release tho-- if it ties in with half the stuff
hibernate can do, I'd be stoked.


I'm not sure about the ethical ramifications of cfc annotation, though.

Should ColdFusion components really drive your model?  HBM mappings, even?

Eh, it's cool as fuck anyways.  =]

-- 
The earth laughs in flowers.
 E. E. Cummings

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310849
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: cfqueryparam and bit field (was:Re: CF 8 Built in SQL Server drivers vs. MS SQL Server 2000 SP3 Driver)

2008-08-12 Thread Craig Dudley
Set your queryparam to sqltype 'CF_SQL_TINYINT' ?

It's cheating I know, but should work.

To be honest I have a bad habit of using tinyint's in the database too
instead of bit fields, just so I can group by that field if I really have
to.

Hope that helps.

Craig.

-Original Message-
From: Scott Stewart [mailto:[EMAIL PROTECTED] 
Sent: 11 August 2008 19:14
To: CF-Talk
Subject: cfqueryparam and bit field (was:Re: CF 8 Built in SQL Server
drivers vs. MS SQL Server 2000 SP3 Driver)

The cfqueryparam tags work fine with the character fields, but they're 
returning true or false as opposed to 1 or 0, even though 1 or 0 is 
passed to it from the form.

Any ideas?

Scott Stewart wrote:
 That's cool, I appreciate the input.

 thanks

 sas

 Craig Dudley wrote:
   
 Had a good look but can't find the examples, it's fairly easy to set up
 anyway.

 The MS SQL Server JDBC driver is three/jar fiels I think? Just drop them
 into \ColdFusion8\runtime\jre\lib\ext and restart CF, the .jar should
then
 appear in the big CF Server Java Class Path box in settings summary in CF
 Admin.

 When you add a datasource, elect other from the driver dropdown it will
ask
 you for a JDBC URL, Driver Class and Driver Name. All of which is
standard
 JDBC stuff but there are docs in the MS download package I think, it's
not
 complex either way but sorry I couldn't find my examples as it might have
 saved some time.

 Craig.

 -Original Message-
 From: Scott Stewart [mailto:[EMAIL PROTECTED] 
 Sent: 11 August 2008 17:14
 To: CF-Talk
 Subject: Re: CF 8 Built in SQL Server drivers vs. MS SQL Server 2000 SP3
 Driver

 Thanks Craig

 The higher ups have deemed this a last resort... so if it comes to 
 this I'll put up some results.
 I'm pursuing what could be an issue with cfqueryparam

 Craig Dudley wrote:
   
 
 Not for a while, from memory you just drop the three MS .jar's somewhere
 
   
 in
   
 
 CF's classpath and restart CF to install and creating datasources
becomes
 
   
 a
   
 
 bit more dificult, I'll see if I can dig up an example for you.

 I seem to remember that performance wasn't all that great, in fact,
CF7's
 built in drivers were faster in most of my test cases. Sorry I haven't
 
   
 tried
   
 
 them on CF8.

 The MS drivers don't cause any issues with CF's built in drivers though
so
 why not give it a try on your dev box?

 Craig.

 -Original Message-
 From: Scott Stewart [mailto:[EMAIL PROTECTED] 
 Sent: 11 August 2008 15:10
 To: CF-Talk
 Subject: CF 8 Built in SQL Server drivers vs. MS SQL Server 2000 SP3
 
   
 Driver
   
 
 Hey all,

 I've run into an issue that I need opinions on. We've run into some SQL 
 server issues, where MS is saying patch the driver.
 Has anyone used the MS SQL Server 2000 SP3 JDBC driver in place of the 
 one shipped with CF8?
 Has it cleared up 8180 errors?
 Any performance gains/losses?
 Any gotchas?

 thanks

 sas

   
 
   
   
 

   

-- 
--
Scott Stewart
ColdFusion Developer

Office of Research Information Systems
Research amp; Economic Development
University of North Carolina at Chapel Hill

Phone:(919)843-2408
Fax: (919)962-3600
Email: [EMAIL PROTECTED]





~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310850
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: CFEclipse code folding; not working

2008-08-12 Thread Kevan Stannard
Hi Dominic

In the version of CFEclipse we are using the code folding does not work in
files that have nested CF comments. Once the nested comments have been
removed then the fold icons show up.

Kevan


-Original Message-
From: Dominic Watson [mailto:[EMAIL PROTECTED] 
Sent: Monday, 11 August 2008 6:36 PM
To: CF-Talk
Subject: CFEclipse code folding; not working

Hi all, i've just installed eclipse ganymede with aptana and then
cfeclipse and code folding just isn't happening (no little grey fold
icons). I have checked all the cfeclipse code folding preferences and
no clues.

Anyone experienced this?

Thanks in advance,

Dominic

-- 
Blog it up: http://fusion.dominicwatson.co.uk



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310851
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Coldfusion Flex app help?!

2008-08-12 Thread David Wilson
Use the Timer class and run your security call every X minutes on an
interval.

!k

We do something similar to Brad. When the user is doing things we have a
function that updates a login_security table to show they are still active.
We have a Scheduled task that checks the table and clears it once their last
active reaches x amount of mins.

To combat the Lockout we used our security question and username in a form
,like a reset password, to allow the user to clear his entry in the
login_security.

Not sure how you would handle the Flex app making calls with HTTPService or
just create the last_active function in CF and tie it into the CF functions
supporting the flex app

Eric

Just want to say thanks for all the replies.

Dave




~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310852
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Lean, 'mean' cf8

2008-08-12 Thread Larry Lyons
Point being Install Adobe CF on Win and it eats tons of ram, on Apache
or IIS, on Jrun.

You could always try an alternative J2EE engine like Tomcat, Jetty or JBoss. If 
Jrun is being the resource hog, there should be a difference using an 
alternative JAS.

regards,
larry 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310853
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


ReFind - help with regex (ColdfusionMX 7)

2008-08-12 Thread cf coder
Hello everybody,

I need your help with regular expressions. I want to loop through a directory 
in my codebase and return a list of href tags. The href value for ex must be in 
this format. #request.udf.geturl(NUMERIC VALUE,STRING)#

a href=#request.udf.geturl(111,pagename)# class=btn title=FreeFREE/a

Here's what I have for now:

cfset thisPath = ExpandPath( \view)
cfdirectory action=list directory=#thisPath# name=viewDir recurse=true 
filter=dsp_*.cfm /

Processing #viewDir.recordcount# files.. br/

cfloop query=viewDir
#viewDir.name#
cffile action=read file=#viewDir.directory#\#viewDir.name# 
variable=contents charset=utf-8
!--- Regex goes here! ---
/cfloop

Can someone do me a big favour and send me the regular expression to match the 
string in the way I have mentioned? Many thanks in advance.

Regards,

John 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310854
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: CFEclipse code folding; not working

2008-08-12 Thread Dana Kowalski
I had the exact same issue once on a laptop. CFEclipse worked fine everywhere 
else but this one machine. Europa fixed the problem in this case. I have no 
idea why, never bothered to figure it out hah. Good luck!


p.s. the same machine slowed to a crawl the first time I put aptana on there. 
yikes.


Ah I see, thank you. Frustrating, the line numbers are all working
perfectly. I'll try installing europa and see if I have any luck
there.

Dominc



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310855
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: ColdFusion8 silent installation

2008-08-12 Thread Dave Watts
 The AdminAPI did exist in 6.1 - they just didn't tell anyone 
 about it, hence it was unsupported (and no, I don't mean the 
 ServiceFactory), which means backwards compatibility for 7 
 was never an issue.

I don't see any of the admin API CFCs on a CF 6.1 server. Where are they?

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310856
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CFEclipse code folding; not working

2008-08-12 Thread Dominic Watson
Thanks folks,

The nested comments was not an issue in this case (though I'm sure it
would be if there were, thanks for the tip). I've gone back to europa
with just cfelcipse and now the ftp won't work for me (we have a
horrid setup at work that requires me to do all code via ftp).

I then ran out of energy and allowable time so have gone back to DW8
for now; again, not by choice. I will let you know the outcome of
europa on my issue when I have 5 mins.

Thanks for your help,

Dominic

2008/8/12 Dana Kowalski [EMAIL PROTECTED]:
 I had the exact same issue once on a laptop. CFEclipse worked fine everywhere 
 else but this one machine. Europa fixed the problem in this case. I have no 
 idea why, never bothered to figure it out hah. Good luck!


 p.s. the same machine slowed to a crawl the first time I put aptana on there. 
 yikes.


Ah I see, thank you. Frustrating, the line numbers are all working
perfectly. I'll try installing europa and see if I have any luck
there.

Dominc



 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310857
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


[Macromedia][SQLServer JDBC Driver]Invalid parameter binding(s).

2008-08-12 Thread Scott Stewart
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

I'm posting values to a ColdFusion component from a form via an action page

action page code: http://cfm.pastebin.com/d573539dd

When the function receives the data it throws one of two errors: If I 
set a type for group_id (as int) it throws an error saying that group_id 
is not of type int. (I've since discovered that ColdFusion passes almost 
all form values as strings). If I remove the type from the CFArgument  I 
get [Macromedia][SQLServer JDBC Driver]Invalid parameter binding(s).

I need to get an answer and move past this.. what am I missing?

http://cfm.pastebin.com/m5279dcb4


-- 
--
Scott Stewart
ColdFusion Developer

Office of Research Information Systems
Research amp; Economic Development
University of North Carolina at Chapel Hill

Phone:(919)843-2408
Fax: (919)962-3600
Email: [EMAIL PROTECTED]



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310858
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: [Macromedia][SQLServer JDBC Driver]Invalid parameter binding( s).

2008-08-12 Thread Dave Watts
 When the function receives the data it throws one of two 
 errors: If I set a type for group_id (as int) it throws an 
 error saying that group_id is not of type int. (I've since 
 discovered that ColdFusion passes almost all form values as 
 strings). If I remove the type from the CFArgument  I get 
 [Macromedia][SQLServer JDBC Driver]Invalid parameter binding(s).
 
 I need to get an answer and move past this.. what am I missing?
 
 http://cfm.pastebin.com/m5279dcb4

In your query, you have a single quote directly before the line containing
group_id.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310859
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: SVN in Production

2008-08-12 Thread Brian Kotek
Sure, that makes perfect sense Jochem. I was just outlining how I've done
this and how I think most people would probably approach it. Obviously you
need to do it in the way that makes sense for your application and your
environment. Whatever the steps involved, the key is to make it as automatic
and repeatable as possible. Thanks.

On Tue, Aug 12, 2008 at 3:25 AM, Jochem van Dieten
[EMAIL PROTECTED]wrote:

 Brian Kotek wrote:
  All of this can (and should) be automated with ANT. That means at the
 click
  of my mouse I can execute the entire deployment process in exactly the
 same
  way every single time. That might mean:
 - Zip the current code, timestamp it, and copy it to a back folder for
 easy retrieval.
 - Delete the current code
 - Copy a site maintenance file into the site folder
 - Pull latest from SVN
 - Perform export to site folder
 - Run a reinit HTTP request to reload the application
 - Send an email to notify stakeholders of success

 I agree with the need for scripting part. What you do in your scripting
 however can be very different if you have different requirements. In my
 case the scripting does:
 - export the sources
 - export externals
 - export the buildfiles
 - spawn an Ant task to package an EAR
 - remove all unit tests
 - compile the code
 - spawn an Ant task to package another EAR
 - calculate MD5 checksums of both EARs

 Then the non-compiled EAR with unit tests goes to the test environment
 and if approved there the compiled EAR without unit tests goes to QA so
 the customer can approve it. Test, QA and production do not have access
 to source control for CFML sources (only for configuration files), they
 get EAR files with MD5 checksums and test reports of the previous step
 in the cycle.

 This approach is very different from most approaches but the reason for
 that is that quite a bit of the software we develop is not deployed on
 infrastructure we control. We have had too much trouble with people
 messing around with things they didn't understand and with deployment
 instructions that were only partially followed. And we just don't want
 to deploy any sources at all, just compiled code.

 Jochem




~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310860
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: SVN in Production

2008-08-12 Thread Brian Kotek
On Tue, Aug 12, 2008 at 3:29 AM, Jochem van Dieten
[EMAIL PROTECTED]wrote:


 That is correct. Which is why it is a best practice to always tag your
 code and deploy a tag. Deployment scripts should not do merging, they
 should only deploy what has already been merged, tagged and tested.


Thanks, Jochem, that's exactly what I was saying as well but in response I
got a face full of curse words and insults about my professional abilities.



 Jochem

 PS I would appreciate it if you would limit your messages to the
 technical aspects of software development and were to leave out the
 personal slurs.


I couldn't agree more. I had a rather scathing reply to Andrew typed out but
I deleted it because it just isn't worth it to fuel that fire. :-)


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310861
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Apache with coldfusion, using seo urls

2008-08-12 Thread Stephen Adams
Hi,

I'm trying to set up my laptop with Apache and CF, so far I have everything 
working the only problem is that the site I'm working on uses SEO url's e.g. 
mysite/myaccount and this will load the index.cfm page of the my account folder.
This also means that all the includes and links to stylesheets are like this:

CFINCLUDE TEMPLATE=/includes/modules/myaccount/act_default.cfm or link  
type=text/css href=/styles/print.css rel=stylesheet media=print / 

Now at work we are using IIS and these links work fine, but on my laptop I'm 
using Apache (I couldn't get IIS to work on the laptop), but on Apache url 
written this way are not working I have to amend them to 

CFINCLUDE TEMPLATE=../includes/modules/myaccount/act_default.cfm or link  
type=text/css href=../styles/print.css rel=stylesheet media=print / 

Is there a way in Apache I can get all url's to work the same as IIS?

Thanks 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310862
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: ColdFusion8 silent installation

2008-08-12 Thread Dave Watts
 If a case does not demand creating some datasource on the 
 fly, would I not have opted for the easily available admin 
 API for that?

I'm not sure I understand the question. But if a case doesn't demand
creating a datasource on the fly, you could presumably just do it manually
within the CF Administrator.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310863
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: cfexecute batch file not working

2008-08-12 Thread Marcus Goedeker
 Try:
 cfexecute name=c:\windows\system32\cmd.exe
   
 arguments=c:\test.bat
   
 outputfile=c:\output.txt /
 
Jochem

Thanks for the reply.  I tried it and it doesn't work.  It doesn't output 
anything in the file either.

Marcus 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310864
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: cfexecute batch file not working

2008-08-12 Thread Craig Dudley
Is CF logged in as a service or a user?


-Original Message-
From: Marcus Goedeker [mailto:[EMAIL PROTECTED] 
Sent: 12 August 2008 14:42
To: CF-Talk
Subject: Re: cfexecute batch file not working

 Try:
 cfexecute name=c:\windows\system32\cmd.exe
   
 arguments=c:\test.bat
   
 outputfile=c:\output.txt /
 
Jochem

Thanks for the reply.  I tried it and it doesn't work.  It doesn't output
anything in the file either.

Marcus 



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310865
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Redirection old ID values to new ID values

2008-08-12 Thread Claude Schneegans
 I have a client whos old site (in ASP) is converting over to our CF 
storefront.  We have the old ID values for their products and have 
stored them alongside the new ID values for the new store.

If you are not running other ASP applications on this server, you could
also set IIS to send ASP requests to CF and make the conversion in the 
CF-ASP page.

-- 
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310866
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: cfexecute batch file not working

2008-08-12 Thread Claude Schneegans
  I have a very simple batch file

Don't forget that the default directory used by the bat file is not the 
one the bat file resides,
but the on from which it is run. In this occurrence, it is the CF directory.
Then you may have to set the  working directory from inside the bat file 
itself.

-- 
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310867
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: cfexecute batch file not working

2008-08-12 Thread Marcus Goedeker
Is CF logged in as a service or a user?



Thanks for the reply.  I tried it and it doesn't work.  It doesn't output
anything in the file either.

Marcus

A service. 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310868
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: cfexecute batch file not working

2008-08-12 Thread Marcus Goedeker
 I have a very simple batch file

Don't forget that the default directory used by the bat file is not the 
one the bat file resides,
but the on from which it is run. In this occurrence, it is the CF directory.
Then you may have to set the  working directory from inside the bat file 
itself.

-- 
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.

If I run the output in the CF directory, it works also, so that doesn't seem to 
be the issue.

Thanks. 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310869
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: ReFind - help with regex (ColdfusionMX 7)

2008-08-12 Thread cf coder
Is someone willing to help me with my problem? I would very much appreciate 
your help.

Regards,
J

 Hello everybody,
 
 I need your help with regular expressions. I want to loop through a 
 directory in my codebase and return a list of href tags. The href 
 value for ex must be in this format. #request.udf.geturl(NUMERIC VALUE,
 STRING)#
 
 a href=#request.udf.geturl(111,pagename)# class=btn 
 title=FreeFREE/a
 
 Here's what I have for now:
 
 cfset thisPath = ExpandPath( \view)
 cfdirectory action=list directory=#thisPath# name=viewDir 
 recurse=true filter=dsp_*.cfm /
 
 Processing #viewDir.recordcount# files.. br/
 
 cfloop query=viewDir
   #viewDir.name#
   cffile action=read file=#viewDir.directory#\#viewDir.name# 
 variable=contents charset=utf-8
 !--- Regex goes here! ---
 /cfloop
 
 Can someone do me a big favour and send me the regular expression to 
 match the string in the way I have mentioned? Many thanks in advance.
 
 Regards,
 
 John 


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310870
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Apache with coldfusion, using seo urls

2008-08-12 Thread Ryan Stille
Stephen Adams wrote:
 Hi,

 I'm trying to set up my laptop with Apache and CF, so far I have everything 
 working the only problem is that the site I'm working on uses SEO url's e.g. 
 mysite/myaccount and this will load the index.cfm page of the my account 
 folder.
 This also means that all the includes and links to stylesheets are like this:

 CFINCLUDE TEMPLATE=/includes/modules/myaccount/act_default.cfm or link  
 type=text/css href=/styles/print.css rel=stylesheet media=print / 

 Now at work we are using IIS and these links work fine, but on my laptop I'm 
 using Apache (I couldn't get IIS to work on the laptop), but on Apache url 
 written this way are not working I have to amend them to 

 CFINCLUDE TEMPLATE=../includes/modules/myaccount/act_default.cfm or link 
  type=text/css href=../styles/print.css rel=stylesheet media=print / 

 Is there a way in Apache I can get all url's to work the same as IIS?

   

This doesn't sound like an Apache issue at all, if you are having to 
change your cfinclude paths.  cfinclude works at the ColdFusion server 
level, not on the web server level.

It looks like you may be missing a ColdFusion mapping, and may need to 
adjust your web server's web root and/or add an alias/virtual dir.

-Ryan


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310871
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: ReFind - help with regex (ColdfusionMX 7)

2008-08-12 Thread Will Tomlinson
Is someone willing to help me with my problem? I would very much appreciate 
your help.

Regards,
J

I'll tell you what I do in situations like this. I read info/books about Regexs 
and try to solve it myself. 

I may work on a problem for hours without finding a solution. 

Then, if I can't figure it out, I'll post the non-working code I've been 
working on to the list. Other folks on the list know I've at least ATTEMPTED to 
solve my own problem and may be more inspired to help out. If you simply want 
someone else to write code for you, you're on the wrong list 

Shoot, Regexs are just too cool not to learn anyway.  :)

Will 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310872
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: cfexecute batch file not working

2008-08-12 Thread Craig Dudley
Did you try it logged in as Admin?


-Original Message-
From: Marcus Goedeker [mailto:[EMAIL PROTECTED] 
Sent: 12 August 2008 15:25
To: CF-Talk
Subject: Re: cfexecute batch file not working

Is CF logged in as a service or a user?



Thanks for the reply.  I tried it and it doesn't work.  It doesn't output
anything in the file either.

Marcus

A service. 



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310873
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: ReFind - help with regex (ColdfusionMX 7)

2008-08-12 Thread Claude Schneegans
 I want to loop through a directory in my codebase and return a list 
of href tags

This could be easily handled by CF_Reextract.
You can get all your hrefs in a query using simple regExps.
See http://www.contentbox.com/claude/customtags/REextract/testREextract.cfm

-- 
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310874
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: [Macromedia][SQLServer JDBC Driver]Invalid parameter binding( s).

2008-08-12 Thread Scott Stewart
Thanks Dave, 

I just found this myself...been looking at the same damn code for too long. 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310875
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: cfexecute batch file not working

2008-08-12 Thread Marcus Goedeker
Did you try it logged in as Admin?



A service.

Yes, i am the admin. 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310876
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Apache with coldfusion, using seo urls

2008-08-12 Thread J.J. Merrick
Is the site in a local folder such as:


http://localhost/mysite/ ?


and on the production IIS server is it set to:

http://mysite ?

If that is the case then / on the IIS server and Localhost are going
to be different locations... hence the reason you need ../ on the
apache box.


I usually just create a virtual host called something like
localhost.mysite and add that to apache and you end up with

http://localhost.mysite/

which will be more like your production environment.



J.J.

On Tue, Aug 12, 2008 at 8:35 AM, Stephen Adams [EMAIL PROTECTED] wrote:
 Hi,

 I'm trying to set up my laptop with Apache and CF, so far I have everything 
 working the only problem is that the site I'm working on uses SEO url's e.g. 
 mysite/myaccount and this will load the index.cfm page of the my account 
 folder.
 This also means that all the includes and links to stylesheets are like this:

 CFINCLUDE TEMPLATE=/includes/modules/myaccount/act_default.cfm or link  
 type=text/css href=/styles/print.css rel=stylesheet media=print /

 Now at work we are using IIS and these links work fine, but on my laptop I'm 
 using Apache (I couldn't get IIS to work on the laptop), but on Apache url 
 written this way are not working I have to amend them to

 CFINCLUDE TEMPLATE=../includes/modules/myaccount/act_default.cfm or link 
  type=text/css href=../styles/print.css rel=stylesheet media=print /

 Is there a way in Apache I can get all url's to work the same as IIS?

 Thanks

 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310877
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: ReFind - help with regex (ColdfusionMX 7)

2008-08-12 Thread cf coder
Hi Will,

I sincerely apologise to you and to anyone else who got the impression that I 
was someone who jsut wanted a quick solution. I began working on this yesterday 
evening, I have spent all of today trying out different things but have not had 
any luck yet.

This is what I've managed so far:

 cfset tmp = ReFind('(a href=(.+?).*?)(.+?)(\/a)', contents, 1, true) /

I think I'm right in saying that I don't have to match the a href, I'm only 
interested in #request.udf.geturl(NUMERIC VALUE,STRING)#


 Is someone willing to help me with my problem? I would very much 
 appreciate your help.
 
 Regards,
 J
 
 I'll tell you what I do in situations like this. I read info/books 
 about Regexs and try to solve it myself. 
 
 I may work on a problem for hours without finding a solution. 
 
 Then, if I can't figure it out, I'll post the non-working code I've 
 been working on to the list. Other folks on the list know I've at 
 least ATTEMPTED to solve my own problem and may be more inspired to 
 help out. If you simply want someone else to write code for you, 
 you're on the wrong list 
 
 Shoot, Regexs are just too cool not to learn anyway.  :)
 
 Will 


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310879
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: cfexecute batch file not working

2008-08-12 Thread Marcus Goedeker
One thing i have noticed is that the output file has a line break before and 
after the actual command output.  I don't think this would make a difference, 
but I guess you never know. 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310878
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: cfexecute batch file not working

2008-08-12 Thread Craig Dudley
Umm, just to be clear, I meant with Coldfusion logged in as Administrator,
not sure if it will help but it certainly might.


-Original Message-
From: Marcus Goedeker [mailto:[EMAIL PROTECTED] 
Sent: 12 August 2008 16:20
To: CF-Talk
Subject: Re: cfexecute batch file not working

Did you try it logged in as Admin?



A service.

Yes, i am the admin. 



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310880
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


cfhttp and Google Search Appliance

2008-08-12 Thread [EMAIL PROTECTED] [EMAIL PROTECTED]
Does anybody know how to use CFHTTP to talk to the Google Search Appliance?

I can't find anything on the Web that mentions this.

I am not talking about CSE.

Thanks,
Jo-Anne 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310881
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Learning advanced Coldfusion - ideas??

2008-08-12 Thread Jeff Becker
Good morning folks,

I'm curious to get this groups ideas on ideas, conferences, books, training, 
etc.. etc.. for learning the more advanced topics of Coldfusion.. mainly 
encapsulating code in CFCs and possibly frameworks. more CFC but also 
frameworks would be nice.

I'm aware of the main conferences.. MAX, CFUNITED, CFOBJECTIVE.

I've mainly used Ray's RIAFORGE examples as to playing around with CFCs, 
caching them in the APPLICATION scope to gain efficiencies, etc..  It would be 
great to learn more about the beginning design of CFCs to be created.. Almost 
design patterns around beginning your CF project.

Can anyone recommend good books on Amazon that are mainly CFC focused? Hal 
Helms' book Discovering CFCs: ColdFusion MX Components seems a bit old as its 
from 2002.

Hal's personal site 
(http://www.halhelms.com/index.cfm?fuseaction=training.detail ) has the 
training course of Object Oriented Design and Development with CFCs: which 
might be what I'm topics wise after.

Again CFCs and even frameworks. Any Ideas? Thanks!
  

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310882
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: cfhttp and Google Search Appliance

2008-08-12 Thread Scott Stewart
Joanne,

I've got a function that I wrote a couple of years ago that would talk 
to a google appliance.

http://www.sstwebworks.com/apps/parseGoogle.zip

It's old code but it might help you out.

sas

[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 Does anybody know how to use CFHTTP to talk to the Google Search Appliance?

 I can't find anything on the Web that mentions this.

 I am not talking about CSE.

 Thanks,
 Jo-Anne 

 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310883
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: cfhttp and Google Search Appliance

2008-08-12 Thread Dave Watts
 Does anybody know how to use CFHTTP to talk to the Google 
 Search Appliance?

Yes. There isn't much to it, frankly. Do you have any specific questions?
I'm a Google Enterprise certified instructor, so feel free to ask whatever
GSA questions you like.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310884
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: SQL injection attack on House of Fusion

2008-08-12 Thread Dave Watts
 You of all people have been around long enough to know, that 
 if we as a developer could have our jobs made easier. Makes 
 me wonder why you made your comment?

I don't see it as Adobe's place to tell me how to write code, which is
essentially what a framework of any type does. In the same way that Sun
doesn't distribute frameworks for Java, I don't see this as a job for Adobe.
I would be ok with them making CF more friendly to Hibernate-like
frameworks - compiling CFCs as discrete Java classes rather than a bunch of
classes, one for each function, for example.

 Grails is built on top of Java, just as much as ColdFusion 
 is. So what is your point?

While CF is a Java application, from the CF developer's perspective it's a
programming language. Frameworks aren't incorporated in programming
languages for a very good reason - people have different opinions about
which frameworks to use.

 But one can dream. Like you said, I also doubt it will 
 become open source this release... Or even the next, but it 
 will happen... Mark those words...

Not while it's offered for sale by Adobe.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310885
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Learning advanced Coldfusion - ideas??

2008-08-12 Thread Dave Watts
 Can anyone recommend good books on Amazon that are mainly CFC 
 focused? Hal Helms' book Discovering CFCs: ColdFusion MX 
 Components seems a bit old as its from 2002.

Unfortunately, while that book was good at the time, it is no longer
applicable. I'm not aware of any other books that focus specifically on
CFCs.

 Hal's personal site 
 (http://www.halhelms.com/index.cfm?fuseaction=training.detail 
 ) has the training course of Object Oriented Design and 
 Development with CFCs: which might be what I'm topics wise after.

I haven't taken Hal's course myself, but he's certainly very knowledgeable
and I've heard nothing but good things about his training.

You might find it useful to learn OO using another language, like Java or
Python. There are all sorts of wonderful resources out there for that, and
you can then easily apply that stuff to CF or any other language that
supports OO concepts.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310886
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


CF8 JVM options

2008-08-12 Thread Cutter (CFRelated)
Looking to explore other JVM options, and wondering what JVM (other than 
Sun) anyone else is having success with CF8?
-- 
Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer
_
http://blog.cutterscrossing.com


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310887
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Submit ASP form using CFHTTP

2008-08-12 Thread Billy Cox
I want to submit a zipcode to a form on another website and then manipulate
the results using cfhttp.filecontent. When I run the code below, it churns
for awhile and then gives me an ASP runtime error.
 
cfhttp url=http://www.thesite.com/default.aspx; resolveurl=yes
method=post
 cfhttpparam name=__EVENTTARGET value= type=formfield encoded=no
 cfhttpparam name=__EVENTARGUMENT value= type=formfield encoded=no
cfhttpparam type=formfield name=__VIEWSTATE
value=/wEPDwULLTIwMjUyMTc5NjdkZA== encoded=no
 cfhttpparam type=formfield name=TxtBox value=77083
 cfhttpparam type=formfield name=Btn value=Find
 cfhttpparam name=__EVENTVALIDATION
value=/wEWBwLBnPWtDgLJr7rmBQK7v+jaBALM9PumDwKGyM+UAgLI5IvWAQLTq+asCA==
type=formfield encoded=no
/cfhttp
 
cfoutput#cfhttp.FileContent#/cfoutput
 
I copied the values for  __VIEWSTATE and __EVENTVALIDATION form fields from
the 'view source', but they seem to be server-generated values aimed at
preventing what I'm trying to do. Is there any way around this?
 
I don't think that __EVENTTARGET and __EVENTARGUMENT are required.
 
 
Billy Cox
Old World Spices
[EMAIL PROTECTED]
 
 
 




~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310888
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Submit ASP form using CFHTTP

2008-08-12 Thread Dave Phillips
They might be setting some cookies initially and also a session id of sorts.
What you may need to do is hit their 'form' page once and capture the
cookies (just dump the cfhttp scope after an initial hit and you can find
them there - I think http-cookie scope, not sure).  Then you will need to
include those when you make the call to the form processor page.  It will
take some finagling, but you should be able to do it.

Dave

-Original Message-
From: Billy Cox [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 11, 2008 2:38 PM
To: CF-Talk
Subject: Submit ASP form using CFHTTP

I want to submit a zipcode to a form on another website and then manipulate
the results using cfhttp.filecontent. When I run the code below, it churns
for awhile and then gives me an ASP runtime error.
 
cfhttp url=http://www.thesite.com/default.aspx; resolveurl=yes
method=post
 cfhttpparam name=__EVENTTARGET value= type=formfield encoded=no
 cfhttpparam name=__EVENTARGUMENT value= type=formfield encoded=no
cfhttpparam type=formfield name=__VIEWSTATE
value=/wEPDwULLTIwMjUyMTc5NjdkZA== encoded=no
 cfhttpparam type=formfield name=TxtBox value=77083
 cfhttpparam type=formfield name=Btn value=Find
 cfhttpparam name=__EVENTVALIDATION
value=/wEWBwLBnPWtDgLJr7rmBQK7v+jaBALM9PumDwKGyM+UAgLI5IvWAQLTq+asCA==
type=formfield encoded=no
/cfhttp
 
cfoutput#cfhttp.FileContent#/cfoutput
 
I copied the values for  __VIEWSTATE and __EVENTVALIDATION form fields from
the 'view source', but they seem to be server-generated values aimed at
preventing what I'm trying to do. Is there any way around this?
 
I don't think that __EVENTTARGET and __EVENTARGUMENT are required.
 
 
Billy Cox
Old World Spices
[EMAIL PROTECTED]


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310889
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Learning advanced Coldfusion - ideas??

2008-08-12 Thread Nathan Strutz
It looks like you're on the right path. Conferences are great for learning.
I've noticed a number of good classes around my town, ymmv. On your own
time, there are a number of things you can do as well.

There's only a few things going on in the CF book space these days. The
Classic WACK is now a 3-part weightlifting experience (
http://www.forta.com/blog/index.cfm/Books). I learned on these books back in
the day, and they will make you better, guaranteed.

Sort of like Dave Watts said, the way to learn CFCs is really learning
object oriented development. For that, I'd recommend the Head First series
(eather Java or Object Oriented Analysis and Design). Books like Code
Complete or The Pragmatic Programmer are pretty language agnostic and
fantastic. I have long said that learning another language is probably the
best thing you can do to be a better CF programmer. Mine was classic ASP
(yuck!), but it did make me better.

If you like podcasts, Helms  Peters have a great archive of their
conversations that are worth a couple listens (helmsandpeters.com). Hal has
a great way of describing OO principals. Also the old CF Weekly (
coldfusionweekly.com) podcast archives are out there, Matt  Peter have a
lot of experience with Mach-II and hit on that and other related topics.
Note that both of these are old and closed down, but the content is good.
The current CF world podcast is CFConversations (cfconversations.com) and
has been great so far.

If you're into presentations, nothing beats Charlie's UGTV (
carehart.org/ugtv/) - it's a collection of all the recorded CF usergroup and
conference presentations over the last few years that he could find. Use the
search to find the right subjects and also the presenters you like. I know
there are a number of general framework conversations and good OO stuff.

Finally, get a good feed reader or aggregator and subscribe to blogs.
There's a lot of good information out there. Read as many as you can.

Dang, thought I had one more thing to say... meh.

nathan strutz
http://www.dopefly.com/


On Tue, Aug 12, 2008 at 9:01 AM, Jeff Becker [EMAIL PROTECTED] wrote:

 Good morning folks,

 I'm curious to get this groups ideas on ideas, conferences, books,
 training, etc.. etc.. for learning the more advanced topics of Coldfusion..
 mainly encapsulating code in CFCs and possibly frameworks. more CFC but also
 frameworks would be nice.

 I'm aware of the main conferences.. MAX, CFUNITED, CFOBJECTIVE.

 I've mainly used Ray's RIAFORGE examples as to playing around with CFCs,
 caching them in the APPLICATION scope to gain efficiencies, etc..  It would
 be great to learn more about the beginning design of CFCs to be created..
 Almost design patterns around beginning your CF project.

 Can anyone recommend good books on Amazon that are mainly CFC focused? Hal
 Helms' book Discovering CFCs: ColdFusion MX Components seems a bit old as
 its from 2002.

 Hal's personal site (
 http://www.halhelms.com/index.cfm?fuseaction=training.detail ) has the
 training course of Object Oriented Design and Development with CFCs: which
 might be what I'm topics wise after.

 Again CFCs and even frameworks. Any Ideas? Thanks!


 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310890
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: ColdFusion/IIS7

2008-08-12 Thread Matthew Small
It sounds like you're running into a Kerberos double-hop issue.  Just use 
search that term and you'll get a lot of information that will help.

 Hello, I am running Windows Server 2008 and I get this Error when I 
 test the connection (under Basic Settings)
 The server is configured to use pass-through authentication with a 
 built-in account to access the specified physical path. However, IIS 
 Manager cannot verify whether the built-in account has access. Make 
 sure that the application pool identity has Read access to the 
 physical path. If this server is joined to a domain, and the 
 application pool identity is NetworkService or LocalSystem, verify 
 that domain\computer_name$ has Read access to the physical path. 
 Then test these settings again.
 
 Now the site works fine, except some URL when navigated to throw an 
 Internal Server 500 Error. However, when I use the IE that is on 
 Windows Server I can navigate to the Url and everything works so 
 obviously it is a Permission Error. I spent 3 days on the problem 
 trying every possible permission to the accounts and nothing works. It 
 is a public website and not an intranet. Anyone know how to fix it or 
 if there is a guide. 
 
 
 
  


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310891
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Submit ASP form using CFHTTP

2008-08-12 Thread Matthew Small
You can't pass these values directly... think of it as a series of steps.  
Request the page, parse out the necessary information (viewstate, event 
validation), pass them into the next request.  

Get a fiddler trace of an actual request that you make in a browser, and use 
the event target, event argument values from that trace to pass in your second 
request.



I want to submit a zipcode to a form on another website and then manipulate
the results using cfhttp.filecontent. When I run the code below, it churns
for awhile and then gives me an ASP runtime error.
 
cfhttp url=http://www.thesite.com/default.aspx; resolveurl=yes
method=post
 cfhttpparam name=__EVENTTARGET value= type=formfield encoded=no
 cfhttpparam name=__EVENTARGUMENT value= type=formfield encoded=no
cfhttpparam type=formfield name=__VIEWSTATE
value=/wEPDwULLTIwMjUyMTc5NjdkZA== encoded=no
 cfhttpparam type=formfield name=TxtBox value=77083
 cfhttpparam type=formfield name=Btn value=Find
 cfhttpparam name=__EVENTVALIDATION
value=/wEWBwLBnPWtDgLJr7rmBQK7v+jaBALM9PumDwKGyM+UAgLI5IvWAQLTq+asCA==
type=formfield encoded=no
/cfhttp
 
cfoutput#cfhttp.FileContent#/cfoutput
 
I copied the values for  __VIEWSTATE and __EVENTVALIDATION form fields from
the 'view source', but they seem to be server-generated values aimed at
preventing what I'm trying to do. Is there any way around this?
 
I don't think that __EVENTTARGET and __EVENTARGUMENT are required.
 
 
Billy Cox
Old World Spices
[EMAIL PROTECTED] 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310892
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


annotations? (was: anotherThread)

2008-08-12 Thread denstar
On Tue, Aug 12, 2008 at 10:32 AM, Dave Watts wrote:
[...]
 I would be ok with them making CF more friendly to Hibernate-like
 frameworks - compiling CFCs as discrete Java classes rather than a bunch of
 classes, one for each function, for example.

Thanks for the idea, Dave!  I knew there were ways to be more java
friendly, but was drawing a blank...

That seems like a huge change, but maybe not.

Now if only I could figure out a flawless classloader...  J

[...]
 While CF is a Java application, from the CF developer's perspective it's a
 programming language. Frameworks aren't incorporated in programming
 languages for a very good reason - people have different opinions about
 which frameworks to use.

So, this sorta got me thinking, or, well, added spin to a thought I
already had, about annotated CFCs.

It seems like there is some pretty easy stuff that could be done to
make working with, well, at least an ORM easier, using the annotation
idea.  Basically adding metadata to functions and whatnot for things
that are outside the programming language, per say.  That's not a
good metaphor at all but anyways--

I could see taking this to other levels, like UI elements and whatnot
(maxlengths, etc.?)-- sorta sticking all the related* information for
the component right there.
*here's the rub... is it really related?

I'm wondering what other people think of the idea of annotations, or,
really, using metadata to, like, add hooks (or whatever analogy you'd
use).

It does seem sorta fast, which I like (FAST GOOD! /Lars), but there's
also, well... I don't know.

I think something like UML has more flexibility, since it was aimed at
describing things (or whatever).

Eh, this was probably like wading through a morass of molasses, but,
well, it's over.
=]
-- 
Good actions give strength to ourselves and inspire good actions in others.
Plato

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310893
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Submit ASP form using CFHTTP

2008-08-12 Thread Gerald Guido
Dump out the responseHeader to see if any cookies are being set.

cfdump var=#cfhttp.responseHeader#

You can see the cookie(s) using this:

cfoutput
 #cfhttp.responseHeader[Set-Cookie]#
/cfoutput


On Mon, Aug 11, 2008 at 3:38 PM, Billy Cox [EMAIL PROTECTED] wrote:

 I want to submit a zipcode to a form on another website and then manipulate
 the results using cfhttp.filecontent. When I run the code below, it churns
 for awhile and then gives me an ASP runtime error.

 cfhttp url=http://www.thesite.com/default.aspx; resolveurl=yes
 method=post
  cfhttpparam name=__EVENTTARGET value= type=formfield encoded=no
  cfhttpparam name=__EVENTARGUMENT value= type=formfield
 encoded=no
 cfhttpparam type=formfield name=__VIEWSTATE
 value=/wEPDwULLTIwMjUyMTc5NjdkZA== encoded=no
  cfhttpparam type=formfield name=TxtBox value=77083
  cfhttpparam type=formfield name=Btn value=Find
  cfhttpparam name=__EVENTVALIDATION
 value=/wEWBwLBnPWtDgLJr7rmBQK7v+jaBALM9PumDwKGyM+UAgLI5IvWAQLTq+asCA==
 type=formfield encoded=no
 /cfhttp

 cfoutput#cfhttp.FileContent#/cfoutput

 I copied the values for  __VIEWSTATE and __EVENTVALIDATION form fields from
 the 'view source', but they seem to be server-generated values aimed at
 preventing what I'm trying to do. Is there any way around this?

 I don't think that __EVENTTARGET and __EVENTARGUMENT are required.


 Billy Cox
 Old World Spices
 [EMAIL PROTECTED]







 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310894
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: ColdFusion8 silent installation

2008-08-12 Thread Andy Allan
cfide.administrator.components

I don't have CFMX6.1 installed any more so I can't confirm what's in
there exactly, but I know that administrator.cfc and datasource.cfc
certainly exist.

I blogged about it ... yikes, 4 years ago.

http://tinyurl.com/6bzy6

Andy

2008/8/12 Dave Watts [EMAIL PROTECTED]:
 The AdminAPI did exist in 6.1 - they just didn't tell anyone
 about it, hence it was unsupported (and no, I don't mean the
 ServiceFactory), which means backwards compatibility for 7
 was never an issue.

 I don't see any of the admin API CFCs on a CF 6.1 server. Where are they?

 Dave Watts, CTO, Fig Leaf Software
 http://www.figleaf.com/

 Fig Leaf Software provides the highest caliber vendor-authorized
 instruction at our training centers in Washington DC, Atlanta,
 Chicago, Baltimore, Northern Virginia, or on-site at your location.
 Visit http://training.figleaf.com/ for more information!

 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310895
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Configuring Apache Web Server 2.2.9 and CFMX 7.02

2008-08-12 Thread Chris Montgomery
Bump. Still looking for a little help installing the Apache hot fix 
(wsconfig.jar) on WinXP. Anyone? Thanks.

Cutter (CFRelated) said the following on 8/6/2008 11:49 AM:
 Slightly older Apache, but this might help:
 
 http://blog.cutterscrossing.com/index.cfm/2007/1/16/CFMX7-and-Apache-224

Cutter,

Thanks for that. To clarify my original post, I guess what I am having 
difficulty with at this point is installing the new wsconfig.jar 
connector (downloaded from the cited hotfix web page). This would be 
Step 2 that you mentioned (go to the command line to 'install' the new 
connector). The code I previously provided was my attempt to do that but 
it errored when I ran it at the command line.

Does anyone have a working example of code to do this that I can look at 
and tailor to my local setup?

Thanks.

-- 
Best regards,

Chris Montgomery 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310896
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Learning advanced Coldfusion - ideas??

2008-08-12 Thread Dave l
a new book 
http://www.amazon.com/ColdFusion-Developer-Tutorial-John-Farrar/dp/1847194125/ref=pd_bbs_sr_4?ie=UTF8s=booksqid=1218574159sr=8-4

it's fairly good, cuts out the bs and hits the code running a lot more than the 
wack books. Chapter 2 is cfcs, it puts you in there that fast and has a bit 
more advanced feel to it than the the others. 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310897
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Configuring Apache Web Server 2.2.9 and CFMX 7.02

2008-08-12 Thread Cutter (CFRelated)
(Backup your JRun folder, prior to any of these actions)

I would:
a) Stop all CF instances. Open the connect util, 
C:\JRun4\bin\wsconfig.exe, and remove all connections (Note their settings)
b) backup the current wsconfig.jar in your C:\JRun4\lib folder
c) drop the new one in
d) In the C:\JRun4\lib\wsconfig folder, remove the sub-folders (but not 
the files in the wsconfig root)
e) Re-run the server connector utility

Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer
_
http://blog.cutterscrossing.com


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310898
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: ColdFusion8 silent installation

2008-08-12 Thread Dave Watts
 cfide.administrator.components
 
 I don't have CFMX6.1 installed any more so I can't confirm 
 what's in there exactly, but I know that administrator.cfc 
 and datasource.cfc certainly exist.

Good catch! I wasn't aware of that.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310899
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: cfexecute batch file not working

2008-08-12 Thread Chris Blackwell
have you tried setting a timeout for the cfexecute 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310900
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: SQL injection attack on House of Fusion

2008-08-12 Thread David Lakein
 1) It protects only against known threats. In order to be excluded we 
 have
 to be a step far enough ahead to make sure the pattern is included.
 2) It will produce false positives.
 3)  It is not role or user based.
 4) Tend to give a false sense of security.
 
 
 Just to add to this, in my own testing of the RegEx, I definitely was 
 getting false positives, with just normal text strings (no other 
 characters needed). So I do have some concerns about any long-term use 
 of it, and would caution anyone using it to be aware that it may block 
 more than you intend it to. In my own software, I've modified how it 
 is called so it's only used on the front-end, open-to-the-world part 
 of my software, as if someone gets through the back-end security 
 checks, they certainly don't need to bother with a SQL injection to 
 mess with the database! ;-) The goal here is just mainly to block the 
 request as soon as the invalid strings in any vulnerable scope are 
 detected, and that's essentially what it does, scanning the url, form, 
 cookie and cgi scopes. 
 
 --- Mary Jo
 

I also had a concern about thread safety; it's caching the 
java.util.regex.Matcher object in Application scope, and calling 
Application.injChecker.reset(testvar) for each url/form/etc variable -- seems 
like Matcher.reset() changes state of the cached Matcher object? 

It might be safer to cache the Pattern, then get the rePattern.matcher('') on 
each request.

Looks cool otherwise, though I might remove some of the keywords from the regex 
before using here.

Thanks,

- David 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310901
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: ColdFusion8 silent installation

2008-08-12 Thread Don L
Andy, beautiful, thank you.
For anyone else who might also be interested in it, look for Nasir Ghaznavi's 
comment as well. One more, getDatasource method does not seem to be available 
any more.

Andy Allan -- cf8 ds
cfide.administrator.components

I don't have CFMX6.1 installed any more so I can't confirm what's in
there exactly, but I know that administrator.cfc and datasource.cfc
certainly exist.

I blogged about it ... yikes, 4 years ago.

http://tinyurl.com/6bzy6

Andy
Andy Allan -- cf8 ds


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310902
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


CF8 Verity problems

2008-08-12 Thread Michael Grove
I have three separate indexes on my server each indexing a different table in 
our database. For some reason the indexes keep getting messed up on a near 
nightly basis.

One index just refuses to work giving back an error

There was a problem executing the cfSearch tag with the following collections.  
Collection (status code): products (-1706)  

another one shows 48 items in the table which is what is there but when you 
search it show that it searched 708 items which is the amount in another table. 
It does also retrieve the data that it is supposed to, but with allot of bad 
links as well.

IS there a cache issue with verity and CF8 or any known bugs. I did not have 
this problem until we had more than one index.

Thanks for any help you can give me. 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310903
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Jr CF Developer needed for small company in Norcross (Atlanta)

2008-08-12 Thread Monique Boea
Jr CF programmer needed for small, fast paced company in Norcross, GA to assist 
with QA, fixing errors and other tasks.

Please send resumes and salary requirements to [EMAIL PROTECTED]

Thank you.



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Jobs-Talk/message.cfm/messageid:3955
Subscription: http://www.houseoffusion.com/groups/CF-Jobs-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.11


Re: Telecommute Question

2008-08-12 Thread Phillip M. Vector
No first hand knowledge and my comments are pure speculation,

But I would think there wouldn't be extra work for the company to hire a 
non-us resident if they are just doing telecommuting work. After all, 
they don't have to be in the country to do the work, so I would suspect 
that all the laws involved with that are for those who do live near the 
workplace.

Then again, I will restate. I'm only guessing here.

Andrew wrote:
 Hi All,
 
 I live in Canada and I'm considering part time telecommute work.  I'm
 having an issue finding information about what US companies are
 required to do to hire a Canadian telecommuter.
 I'm concerned that there could be a lot of extra work for a company to
 hire a Canadian telecommuter, which in turn would make applying for
 jobs a waste of time.
 
 Does anyone have links or firsthand knowledge about this?
 
 Thanks,
 Andrew
 
 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Jobs-Talk/message.cfm/messageid:3957
Subscription: http://www.houseoffusion.com/groups/CF-Jobs-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.11


Re: Telecommute Question

2008-08-12 Thread Trevor Cole
They, the employer, would be best served NOT hiring you under a W2, but
rather, contracting to you under a 1099. Pretty sure it would be an easier
hoop to jump through for them. However, you would be responsible for filing
your own taxes if they do so. That being the case, make sure you account for
that in your hourly rate negotiations. Good luck!

On Tue, Aug 12, 2008 at 11:49 AM, Andrew [EMAIL PROTECTED] wrote:

 Hi All,

 I live in Canada and I'm considering part time telecommute work.  I'm
 having an issue finding information about what US companies are
 required to do to hire a Canadian telecommuter.
 I'm concerned that there could be a lot of extra work for a company to
 hire a Canadian telecommuter, which in turn would make applying for
 jobs a waste of time.

 Does anyone have links or firsthand knowledge about this?

 Thanks,
 Andrew

 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Jobs-Talk/message.cfm/messageid:3958
Subscription: http://www.houseoffusion.com/groups/CF-Jobs-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.11


Re: Telecommute Question

2008-08-12 Thread Bryan Stevenson
Hey Andrew,

Now I don't have any concrete experience, but I do see a lot of
telecommuting posts here.

My trick knee says that it's tough enough for US residents to find
telecommuting work with US companies.  So being a fellow Canuckyou
may find it challenging to say the least.

I would tend to think the further east you are and the further east the
US company may be could help as there is simply a lot of CFers out that
way in both countries (I'm west coastand their ain't many of us
here).

Best of luck in the job search

Cheers
-  


Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com
 
Notice:
This message, including any attachments, is confidential and may contain
information that is privileged or exempt from disclosure. It is intended
only for the person to whom it is addressed unless expressly authorized
otherwise by the sender. If you are not an authorized recipient, please
notify the sender immediately and permanently destroy all copies of this
message and attachments.


On Tue, 2008-08-12 at 11:49 -0400, Andrew wrote:
 Hi All,
 
 I live in Canada and I'm considering part time telecommute work.  I'm
 having an issue finding information about what US companies are
 required to do to hire a Canadian telecommuter.
 I'm concerned that there could be a lot of extra work for a company to
 hire a Canadian telecommuter, which in turn would make applying for
 jobs a waste of time.
 
 Does anyone have links or firsthand knowledge about this?
 
 Thanks,
 Andrew
 
 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Jobs-Talk/message.cfm/messageid:3959
Subscription: http://www.houseoffusion.com/groups/CF-Jobs-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.11


Re: Telecommute Question

2008-08-12 Thread Vicky
Speaking of telecommuting, does anyone know of any legitimate sites/sources
for finding telecommuting work (not just for programming, but data entry and
other legit kinds of jobs NOT involving sales calls, etc.)?

On Tue, Aug 12, 2008 at 12:05 PM, Bryan Stevenson 
[EMAIL PROTECTED] wrote:

 Hey Andrew,

 Now I don't have any concrete experience, but I do see a lot of
 telecommuting posts here.

 My trick knee says that it's tough enough for US residents to find
 telecommuting work with US companies.  So being a fellow Canuckyou
 may find it challenging to say the least.

 I would tend to think the further east you are and the further east the
 US company may be could help as there is simply a lot of CFers out that
 way in both countries (I'm west coastand their ain't many of us
 here).

 Best of luck in the job search

 Cheers
 -


 Bryan Stevenson B.Comm.
 VP  Director of E-Commerce Development
 Electric Edge Systems Group Inc.
 phone: 250.480.0642
 fax: 250.480.1264
 cell: 250.920.8830
 e-mail: [EMAIL PROTECTED]
 web: www.electricedgesystems.com

 Notice:
 This message, including any attachments, is confidential and may contain
 information that is privileged or exempt from disclosure. It is intended
 only for the person to whom it is addressed unless expressly authorized
 otherwise by the sender. If you are not an authorized recipient, please
 notify the sender immediately and permanently destroy all copies of this
 message and attachments.


 On Tue, 2008-08-12 at 11:49 -0400, Andrew wrote:
  Hi All,
 
  I live in Canada and I'm considering part time telecommute work.  I'm
  having an issue finding information about what US companies are
  required to do to hire a Canadian telecommuter.
  I'm concerned that there could be a lot of extra work for a company to
  hire a Canadian telecommuter, which in turn would make applying for
  jobs a waste of time.
 
  Does anyone have links or firsthand knowledge about this?
 
  Thanks,
  Andrew
 
 

 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Jobs-Talk/message.cfm/messageid:3960
Subscription: http://www.houseoffusion.com/groups/CF-Jobs-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.11


RE: Telecommute Question

2008-08-12 Thread Duane
Andrew, my advice would be to file the necessary paperwork to create a
corporation or LLC. That's what I did here in Nova Scotia when I got
started, then you and the company do work corp to corp. No W2s or 1099s to
worry about.

Duane



-Original Message-
From: Andrew [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 12, 2008 12:49 PM
To: CF-Jobs-Talk
Subject: Telecommute Question

Hi All,

I live in Canada and I'm considering part time telecommute work.  I'm
having an issue finding information about what US companies are
required to do to hire a Canadian telecommuter.
I'm concerned that there could be a lot of extra work for a company to
hire a Canadian telecommuter, which in turn would make applying for
jobs a waste of time.

Does anyone have links or firsthand knowledge about this?

Thanks,
Andrew



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Jobs-Talk/message.cfm/messageid:3961
Subscription: http://www.houseoffusion.com/groups/CF-Jobs-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.11


Re: Telecommute Question

2008-08-12 Thread Jeffry Houser
 As a business owner, I'd probably hire someone from Canada w/o too much 
additional thought.  However, DotComIt is only set up to pay in US 
funds; so you'd have to deal with whatever conversions need to be done.  
I haven't spoken to a lawyer about the IP implications of hiring someone 
not based i the US.  I expect that some companies will be interested in 
doing that. 


Phillip M. Vector wrote:
 No first hand knowledge and my comments are pure speculation,

 But I would think there wouldn't be extra work for the company to hire a 
 non-us resident if they are just doing telecommuting work. After all, 
 they don't have to be in the country to do the work, so I would suspect 
 that all the laws involved with that are for those who do live near the 
 workplace.

 Then again, I will restate. I'm only guessing here.

 Andrew wrote:
   
 Hi All,

 I live in Canada and I'm considering part time telecommute work.  I'm
 having an issue finding information about what US companies are
 required to do to hire a Canadian telecommuter.
 I'm concerned that there could be a lot of extra work for a company to
 hire a Canadian telecommuter, which in turn would make applying for
 jobs a waste of time.

 Does anyone have links or firsthand knowledge about this?

 Thanks,
 Andrew


 

 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Jobs-Talk/message.cfm/messageid:3962
Subscription: http://www.houseoffusion.com/groups/CF-Jobs-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.11


Re: Telecommute Question

2008-08-12 Thread Larry C. Lyons
Given the exchange rates, you'd be better off asking to be pain in
Canadian funds than US dollars. Better yet ask for Euros or gold ;)

larry

On Tue, Aug 12, 2008 at 1:59 PM, Jeffry Houser [EMAIL PROTECTED] wrote:
  As a business owner, I'd probably hire someone from Canada w/o too much
 additional thought.  However, DotComIt is only set up to pay in US
 funds; so you'd have to deal with whatever conversions need to be done.
 I haven't spoken to a lawyer about the IP implications of hiring someone
 not based i the US.  I expect that some companies will be interested in
 doing that.


 Phillip M. Vector wrote:
 No first hand knowledge and my comments are pure speculation,

 But I would think there wouldn't be extra work for the company to hire a
 non-us resident if they are just doing telecommuting work. After all,
 they don't have to be in the country to do the work, so I would suspect
 that all the laws involved with that are for those who do live near the
 workplace.

 Then again, I will restate. I'm only guessing here.

 Andrew wrote:

 Hi All,

 I live in Canada and I'm considering part time telecommute work.  I'm
 having an issue finding information about what US companies are
 required to do to hire a Canadian telecommuter.
 I'm concerned that there could be a lot of extra work for a company to
 hire a Canadian telecommuter, which in turn would make applying for
 jobs a waste of time.

 Does anyone have links or firsthand knowledge about this?

 Thanks,
 Andrew






 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Jobs-Talk/message.cfm/messageid:3963
Subscription: http://www.houseoffusion.com/groups/CF-Jobs-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.11