OT: mod_gzip on apache 1.3.x

2006-07-19 Thread Jon Block
Does anybody know how to make mod_gzip work? I'm using apache 1.3.x and
I've got some questions about its proper use.
 
Thanks,
Jon


This electronic message transmission contains information from Collegiate 
Funding Services, LLC or its subsidiaries or affiliates that may be 
confidential or privileged. The information is intended to be for the use of 
only the individual or entity named above. If you are not the intended 
recipient, be aware that any disclosure, copying, distribution or use of the 
contents of this information is strictly prohibited. If you have received this 
electronic transmission in error, please notify the sender by reply e-mail 
@cfsloans.com immediately and delete this e-mail and any attachments from your 
system and any copies you may have made, electronic or otherwise.




~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:247035
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Can CF prepare xml for the ISO-8859 char set?

2006-07-17 Thread Jon Block
I have a big string that I need to put into a valid ISO-8859 xml file.
How do I convert all of the characters to that char set?
 
Jon


This electronic message transmission contains information from Collegiate 
Funding Services, LLC or its subsidiaries or affiliates that may be 
confidential or privileged. The information is intended to be for the use of 
only the individual or entity named above. If you are not the intended 
recipient, be aware that any disclosure, copying, distribution or use of the 
contents of this information is strictly prohibited. If you have received this 
electronic transmission in error, please notify the sender by reply e-mail 
@cfsloans.com immediately and delete this e-mail and any attachments from your 
system and any copies you may have made, electronic or otherwise.




~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:246755
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Can CF prepare xml for the ISO-8859 char set?

2006-07-17 Thread Jon Block
The characters could be any character set ... I have web application
where end users post content into my database. Later, I need to create
an xml file that syndicates the content via a iso-8859-1 xml file. How
can I make sure all of the characters are iso-8859-1 compliant when I
build my xml output?

Jon


-Original Message-
From: Paul Hastings [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 17, 2006 10:31 AM
To: CF-Talk
Subject: Re: Can CF prepare xml for the ISO-8859 char set?

Jon Block wrote:
 I have a big string that I need to put into a valid ISO-8859 xml file.

what exactly is ISO-8859 encoding? never heard of that before. do you
mean
iso-8859-1 (latin-1)? or do you mean windows codepage-1252? or what?

 How do I convert all of the characters to that char set?

depends on what encoding they are in  where they are coming from.



~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:246766
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


MySpace - How they do it: Staff, Software Servers

2006-07-10 Thread Jon Block
Does anybody know of an overview page of the myspace technical setup.
I've heard they have a huge software team, that they are moving to .net,
and a few other random things. I'm curious to how their operation runs
day to day in the web development department. URL's make it look like
fusebox 3 requests. Anybody actually *know* whats going on over there?
 
Jon


This electronic message transmission contains information from Collegiate 
Funding Services, LLC or its subsidiaries or affiliates that may be 
confidential or privileged. The information is intended to be for the use of 
only the individual or entity named above. If you are not the intended 
recipient, be aware that any disclosure, copying, distribution or use of the 
contents of this information is strictly prohibited. If you have received this 
electronic transmission in error, please notify the sender by reply e-mail 
@cfsloans.com immediately and delete this e-mail and any attachments from your 
system and any copies you may have made, electronic or otherwise.




~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:245915
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: How do I set client variables timeout?

2006-07-10 Thread Jon Block
Right, but I'm interested in having the user's session timeout after 60
minutes of inactivity.

Jon

-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 07, 2006 3:16 PM
To: CF-Talk
Subject: RE: How do I set client variables timeout?

 Why the *heck* doesn't cfapplication have a clienttimeout attribute?

 None of the programmers here can guess as to why there would be a 
 sessiontimeout but no clienttimeout. *sigh*...

Session variables are stored in memory, which is very fast but
relatively limited. So, you don't want to persist sessions longer than
you have to.
Client variables, on the other hand, persist on disk somewhere, and
there's no significant cost to keeping them for a long time - often
across multiple visits from a user. You can get rid of Client variables
by purging them periodically, which is the rough equivalent to the time
out you're looking for.

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!




~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:245916
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


OT: Which open source license says free to use but you can't redistribute

2006-07-10 Thread Jon Block
I'm not a lawyer and I've been skimming through the open source licenses
at 
 
http://www.opensource.org/licenses/afl-3.0.php
 
Can someone help me figure this out? Which is th license that says 
 
You can use this and change it for yourself, but you can't redistribute
it.
 
Thank you,
Jon


This electronic message transmission contains information from Collegiate 
Funding Services, LLC or its subsidiaries or affiliates that may be 
confidential or privileged. The information is intended to be for the use of 
only the individual or entity named above. If you are not the intended 
recipient, be aware that any disclosure, copying, distribution or use of the 
contents of this information is strictly prohibited. If you have received this 
electronic transmission in error, please notify the sender by reply e-mail 
@cfsloans.com immediately and delete this e-mail and any attachments from your 
system and any copies you may have made, electronic or otherwise.



~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:245919
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: How do I set client variables timeout?

2006-07-07 Thread Jon Block
Why the *heck* doesn't cfapplication have a clienttimeout attribute?
None of the programmers here can guess as to why there would be a
sessiontimeout but no clienttimeout. *sigh*...

I'll just write my own implementation for that...

Jon

-Original Message-
From: Snake [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 05, 2006 9:57 AM
To: CF-Talk
Subject: RE: How do I set client variables timeout?

The purge interval is actually how often the schedule runs to do the
purging, not how ten they purged.

The timeout is specified by choosing your client storage Mechanism  and
setting it there. 

Purge data for clients that remain unvisited for

And specify how many days the client variables should remain active for.

-
Snake

-Original Message-
From: Peterson, Chris [mailto:[EMAIL PROTECTED]
Sent: 05 July 2006 14:52
To: CF-Talk
Subject: RE: How do I set client variables timeout?

Its called 'Purge Interval' and is under Server Settings  Client
Variables, at the bottom of the page.

Chris

-Original Message-
From: Jon Block [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 05, 2006 9:45 AM
To: CF-Talk
Subject: RE: How do I set client variables timeout?

Clearly I'm missing something.. On which cfide admin page do I set the
timeout for client variables?

Jon 



-Original Message-
From: Snake [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 29, 2006 4:36 PM
To: CF-Talk
Subject: RE: How do I set client variables timeout?

That's because a sessiontimeout is for session variables as the name
implies not client variables.
Client variables will expire as pe rthe settings in the coldfusion
administrator.

Snake 

-Original Message-
From: Jon Block [mailto:[EMAIL PROTECTED]
Sent: 29 June 2006 20:08
To: CF-Talk
Subject: How do I set client variables timeout?

My CFApplication tag looks like this:
 
cfapplication
 name= example
 sessionmanagement = yes
 clientmanagement = yes
 sessiontimeout  = #CreateTimeSpan(0, 1, 0, 0)#
 setclientcookies = no /
 
However, my client variables do not seem to timeout after 1 hour. 
 
Any ideas?
Jon


This electronic message transmission contains information from
Collegiate Funding Services, LLC or its subsidiaries or affiliates that
may be confidential or privileged. The information is intended to be for
the use of only the individual or entity named above. If you are not the
intended recipient, be aware that any disclosure, copying, distribution
or use of the contents of this information is strictly prohibited. If
you have received this electronic transmission in error, please notify
the sender by reply e-mail @cfsloans.com immediately and delete this
e-mail and any attachments from your system and any copies you may have
made, electronic or otherwise.













~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:245719
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: How do I set client variables timeout?

2006-07-05 Thread Jon Block
Clearly I'm missing something.. On which cfide admin page do I set the
timeout for client variables?

Jon 



-Original Message-
From: Snake [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 29, 2006 4:36 PM
To: CF-Talk
Subject: RE: How do I set client variables timeout?

That's because a sessiontimeout is for session variables as the name
implies not client variables.
Client variables will expire as pe rthe settings in the coldfusion
administrator.

Snake 

-Original Message-
From: Jon Block [mailto:[EMAIL PROTECTED]
Sent: 29 June 2006 20:08
To: CF-Talk
Subject: How do I set client variables timeout?

My CFApplication tag looks like this:
 
cfapplication
 name= example
 sessionmanagement = yes
 clientmanagement = yes
 sessiontimeout  = #CreateTimeSpan(0, 1, 0, 0)#
 setclientcookies = no /
 
However, my client variables do not seem to timeout after 1 hour. 
 
Any ideas?
Jon


This electronic message transmission contains information from
Collegiate Funding Services, LLC or its subsidiaries or affiliates that
may be confidential or privileged. The information is intended to be for
the use of only the individual or entity named above. If you are not the
intended recipient, be aware that any disclosure, copying, distribution
or use of the contents of this information is strictly prohibited. If
you have received this electronic transmission in error, please notify
the sender by reply e-mail @cfsloans.com immediately and delete this
e-mail and any attachments from your system and any copies you may have
made, electronic or otherwise.







~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:245392
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


How do I set client variables timeout?

2006-06-29 Thread Jon Block
My CFApplication tag looks like this:
 
cfapplication
 name= example
 sessionmanagement = yes
 clientmanagement = yes
 sessiontimeout  = #CreateTimeSpan(0, 1, 0, 0)#
 setclientcookies = no /
 
However, my client variables do not seem to timeout after 1 hour. 
 
Any ideas?
Jon


This electronic message transmission contains information from Collegiate 
Funding Services, LLC or its subsidiaries or affiliates that may be 
confidential or privileged. The information is intended to be for the use of 
only the individual or entity named above. If you are not the intended 
recipient, be aware that any disclosure, copying, distribution or use of the 
contents of this information is strictly prohibited. If you have received this 
electronic transmission in error, please notify the sender by reply e-mail 
@cfsloans.com immediately and delete this e-mail and any attachments from your 
system and any copies you may have made, electronic or otherwise.



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:245089
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Best Multipart File Upload Tool? Recommendation Needed

2006-06-06 Thread Jon Block
I've been using the default web form upload technique with my cold
fusion application for a long time. I want to use something more
advanced that will show the user upload % completed so that the user
knows what is going on during the upload. What's the best tool for doing
this?

Thank you,
Jon


This electronic message transmission contains information from Collegiate 
Funding Services, LLC or its subsidiaries or affiliates that may be 
confidential or privileged. The information is intended to be for the use of 
only the individual or entity named above. If you are not the intended 
recipient, be aware that any disclosure, copying, distribution or use of the 
contents of this information is strictly prohibited. If you have received this 
electronic transmission in error, please notify the sender by reply e-mail 
@cfsloans.com immediately and delete this e-mail and any attachments from your 
system and any copies you may have made, electronic or otherwise.



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:242588
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


I think I've discovered a bug in CFMX

2006-05-22 Thread Jon Block
Reading this I know it might sound like an Apache bug, but I only get
the undesired behavior when I request certain types of CFM pages. Please
read and help me!.

SYMPTOM
-
Web browser seems to lose connection with the web server when making CFM
requests that take a long time (over 10 seconds) to process.

FIREFOX SIDE EFFECT

When the apparent connection with the web server breaks, Firefox prompts
me to download my index.cfm file.

INTERNET EXPLORER SIDE EFFECT
--
When the apparent connection with the web server breaks, Internet
Explorer makes a second request passing all of the same data a second
time.

OTHER CLUES
---
- This problem has surfaced in two unrelated parts (meaning there is no
shared code) of one web application and in another web application as
well.
- This problem has occurred in a simple 3 page site that I wrote.
- The problem seems to occur when CFMX is busy doing something like
looping over a file write or trying to cache a large query object.
- I could not reproduce this behavior when testing requests to a page
that did a 45 second pause.
- Although the web server seems to cut the connection with the browser,
the CFML requests appear to finish because I'm usually able to verify
that the thread finished what it was supposed to do on the server

SERVER SOFTWARE
---
Windows 2003 Server
Apache 1.3.33
CFMX 7,0,1,116466

WHAT I'VE ALREADY TRIED
---
- I check the Windows Event Log, Apache error and access log, and the
ColdFusion logs, and the Jrun logs. I'm not able to find any information
that seems to be related to this problem in any of these logs.
- I have a copy of SeeFusion that I've recently installed (after the
problem had started) and it's not able to reveal any clues
- I did an HTTP trace with HttpLook and I'm able to verify IE is
making a second POST at the server action page 15-20 seconds after I've
pushed the submit button. I'm talking about forms that have no special
javascript submit functionality.

HELP!
Thank you,
Jon


This electronic message transmission contains information from Collegiate 
Funding Services, LLC or its subsidiaries or affiliates that may be 
confidential or privileged. The information is intended to be for the use of 
only the individual or entity named above. If you are not the intended 
recipient, be aware that any disclosure, copying, distribution or use of the 
contents of this information is strictly prohibited. If you have received this 
electronic transmission in error, please notify the sender by reply e-mail 
@cfsloans.com immediately and delete this e-mail and any attachments from your 
system and any copies you may have made, electronic or otherwise.



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:241154
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


interesting th read

2006-05-15 Thread Jon Block
http://houseoffusion.com/cf_lists/messages.cfm/forumid:4/threadid:45931
 


This electronic message transmission contains information from Collegiate 
Funding Services, LLC or its subsidiaries or affiliates that may be 
confidential or privileged. The information is intended to be for the use of 
only the individual or entity named above. If you are not the intended 
recipient, be aware that any disclosure, copying, distribution or use of the 
contents of this information is strictly prohibited. If you have received this 
electronic transmission in error, please notify the sender by reply e-mail 
@cfsloans.com immediately and delete this e-mail and any attachments from your 
system and any copies you may have made, electronic or otherwise.




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:240602
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


retraction: interesting thread

2006-05-15 Thread Jon Block
sorry everybody.. meant to send that to someone else! 
 
:-)
 
Jon



From: Jon Block 
Sent: Monday, May 15, 2006 8:39 PM
To: 'cf-talk@houseoffusion.com'
Subject: interesting th read


http://houseoffusion.com/cf_lists/messages.cfm/forumid:4/threadid:45931
 


This electronic message transmission contains information from Collegiate 
Funding Services, LLC or its subsidiaries or affiliates that may be 
confidential or privileged. The information is intended to be for the use of 
only the individual or entity named above. If you are not the intended 
recipient, be aware that any disclosure, copying, distribution or use of the 
contents of this information is strictly prohibited. If you have received this 
electronic transmission in error, please notify the sender by reply e-mail 
@cfsloans.com immediately and delete this e-mail and any attachments from your 
system and any copies you may have made, electronic or otherwise.




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:240603
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Hype 2.0

2006-05-12 Thread Jon Block
What do you cf developers think of this web 2.0 chatter in our
industry? Do you feel like you need to use asynchronous JavaScript and
other current widgets and services just to tell people that you are web
2.0 compliant? This seems like a silly buzzword ... do we need to
embrace it to be considered to be competitive?


This electronic message transmission contains information from Collegiate 
Funding Services, LLC or its subsidiaries or affiliates that may be 
confidential or privileged. The information is intended to be for the use of 
only the individual or entity named above. If you are not the intended 
recipient, be aware that any disclosure, copying, distribution or use of the 
contents of this information is strictly prohibited. If you have received this 
electronic transmission in error, please notify the sender by reply e-mail 
@cfsloans.com immediately and delete this e-mail and any attachments from your 
system and any copies you may have made, electronic or otherwise.




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:240391
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Can I see line feed vs. carriage return?

2006-03-27 Thread Jon Block
What is a text editor I can use to turn on a feature that will let me
see the difference between a CR and LF?
 
Thanks!
Jon


This electronic message transmission contains information from Collegiate 
Funding Services, LLC or its subsidiaries or affiliates that may be 
confidential or privileged. The information is intended to be for the use of 
only the individual or entity named above. If you are not the intended 
recipient, be aware that any disclosure, copying, distribution or use of the 
contents of this information is strictly prohibited. If you have received this 
electronic transmission in error, please notify the sender by reply e-mail 
@cfsloans.com immediately and delete this e-mail and any attachments from your 
system and any copies you may have made, electronic or otherwise.



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236237
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Version control - how to?

2006-03-27 Thread Jon Block
Subversion is the most useful software tool I've used in the last 3
years I've found that it works *very* well with my coldfusion web
projects...

Jon 


-Original Message-
From: Brian Kotek [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 27, 2006 8:25 AM
To: CF-Talk
Subject: Re: Version control - how to?

SVN also plugs directly into Eclipse in addition to the Windows File
Explorer integration.

On 3/27/06, Kevin Roche [EMAIL PROTECTED] wrote:

 We use WinCVS and are very happy with it.

 CVS also has the ability to link directly with Eclipse.

 Kevin Roche

 -- Original Message --
 From: Michel Deloux [EMAIL PROTECTED]
 Reply-To: cf-talk@houseoffusion.com
 Date: Sun, 26 Mar 2006 14:08:34 -0300

 Does anybody have any suggestions for somebody who's never used any
 source
 control? We use DW8 as our primary IDE, CF 6.1 in dev/prod server.
 Subversion is a good application? Works in WindowsXP and 
 CF/IIS(without
 Apache) with application server? Any example with this settings?
 
 Cheers
 
 MD
 
 
 

 



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236238
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


OT: Why can't web browsers view JPG's with exif data?

2006-03-10 Thread Jon Block
In one of the web systems I operate, we just imported a bunch of JPG's.
The JPG's are viewable with programs like windows picture viewer, but
when embeded in a web page, they appear as broken graphics. What's the
best way for me to make these JPG's work when used in web pages?
 
Thank you,
Jon


This electronic message transmission contains information from Collegiate 
Funding Services, LLC or its subsidiaries or affiliates that may be 
confidential or privileged. The information is intended to be for the use of 
only the individual or entity named above. If you are not the intended 
recipient, be aware that any disclosure, copying, distribution or use of the 
contents of this information is strictly prohibited. If you have received this 
electronic transmission in error, please notify the sender by reply e-mail 
@cfsloans.com immediately and delete this e-mail and any attachments from your 
system and any copies you may have made, electronic or otherwise.



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235057
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


I still use HomeSite+ 5.5 - Should I Upgrade to something else?

2006-03-09 Thread Jon Block
Not trying to fire off a crazy debate but this seems like a fantastic
editor... it's got all of the keystore shortcuts I need to be really
productive. However, this editor is 3 years old. Any reason I should use
some other tool? Opinions?
 
Jon


This electronic message transmission contains information from Collegiate 
Funding Services, LLC or its subsidiaries or affiliates that may be 
confidential or privileged. The information is intended to be for the use of 
only the individual or entity named above. If you are not the intended 
recipient, be aware that any disclosure, copying, distribution or use of the 
contents of this information is strictly prohibited. If you have received this 
electronic transmission in error, please notify the sender by reply e-mail 
@cfsloans.com immediately and delete this e-mail and any attachments from your 
system and any copies you may have made, electronic or otherwise.




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234796
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


How do I prevent stuck threads?

2006-02-27 Thread Jon Block
I just installed See Fusion... it's totally nasty. It shows me what ColdFusion 
is doing at runtime. I'm able to tell that I occasionally get some threads that 
become stuck. For example:
 
/home/index.cfm?event=displaySectionpageid=292803 
http://www.collegepublisher.com/home/index.cfm?event=displaySectionpage§ion_id=292803
 
 72.30.103.96 -- 334,650,985 -- -- --ms,-- rows
 
/home/index.cfm?event=displaySectionpagecode=20060222Sports 
http://www.collegepublisher.com/home/index.cfm?event=displaySectionpage§ionfile=20060222Sports
 
 204.6.201.196 -- 334,649,860 -- -- --ms,-- rows
 
As you can see there are two requests that have been hung for over 300,000 
seconds. Usually those requests take very little time to process... maybe 5 
seconds at most. What is the best way to ensure that this don't happen?
 
In my ColdFusion Administrator, I've set the setting for Timeout requests 
after (seconds) to 300 and I've checked the box too.
 
CFMX: 7,0,1,116466
Windows 2003 Server SP 2
Apache 1.3.33
 
Thank you,
Jon


This electronic message transmission contains information from Collegiate 
Funding Services, LLC or its subsidiaries or affiliates that may be 
confidential or privileged. The information is intended to be for the use of 
only the individual or entity named above. If you are not the intended 
recipient, be aware that any disclosure, copying, distribution or use of the 
contents of this information is strictly prohibited. If you have received this 
electronic transmission in error, please notify the sender by reply e-mail 
@cfsloans.com immediately and delete this e-mail and any attachments from your 
system and any copies you may have made, electronic or otherwise.




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233532
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


How much server memory can CF/Jrun use?

2005-12-08 Thread Jon Block
I have a super load intensive app that I'm working on. I'm using tons of
cached queries and other types of CFC's etc. My server has 2GB of memory
on it. I want CF to be able to gobble up all the memory it possibly
would need to accomplish all of the stuff I've got it doing. Do I need
to specify somewhere that it can use up to 2GB or memory??

 

Thanks,

Jon

 



This electronic message transmission contains information from Collegiate 
Funding Services, LLC or its subsidiaries or affiliates that may be 
confidential or privileged. The information is intended to be for the use of 
only the individual or entity named above. If you are not the intended 
recipient, be aware that any disclosure, copying, distribution or use of the 
contents of this information is strictly prohibited. If you have received this 
electronic transmission in error, please notify the sender by reply e-mail 
@cfsloans.com immediately and delete this e-mail and any attachments from your 
system and any copies you may have made, electronic or otherwise.




~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:226578
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


How can i remove all non-ascii characters from a string?

2005-11-21 Thread Jon Block
Would this work?

 

cfset newstring = reReplaceNoCase(crazyString, [^-a-zA-Z0-9
@`!##$%'()*+,-./:;\[{\|=\]}^~?_],  , All) /

 

There has to be some better way of doing this...

 

Thank you,

Jon



This electronic message transmission contains information from Collegiate 
Funding Services, LLC or its subsidiaries or affiliates that may be 
confidential or privileged. The information is intended to be for the use of 
only the individual or entity named above. If you are not the intended 
recipient, be aware that any disclosure, copying, distribution or use of the 
contents of this information is strictly prohibited. If you have received this 
electronic transmission in error, please notify the sender by reply e-mail 
@cfsloans.com immediately and delete this e-mail and any attachments from your 
system and any copies you may have made, electronic or otherwise.



~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224806
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: A ColdFusion Templating Language

2005-11-17 Thread Jon Block
I don't think you are coming across as negative... the problem I'm
solving for is that I have written systems where the end user wants to
access various variables and queries in my CF based system. I don't
want to let the user edit ColdFusion code becuase they'd be able to
access just about anything in my application. Using this tool, I can
tell them sure - here's the directions how to do it. That allows me to
not have to worry about the user trying to access my coldfusion
resources or writing infinite loops... and the user is happy because
they are able to pick and choose which variables they tap into and can
write custom templates that assemble data that I've exposed in my
system

I guess it's a very specific problem to have. I'm sure most people use
CF to just write a pretty simple site where there aren't users who want
to access what's under the hood. In that case, this tool isn't of much
use. When you're users are saying I want to customize the output of the
queries in your system... this is a great tool.

Jon

-Original Message-
From: Hugo Ahlenius [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 17, 2005 11:31 AM
To: CF-Talk
Subject: RE: A ColdFusion Templating Language

|I've just posted a free CFML templating engine and I was wondering if I

|could get some feedback on. I'm using this template engine for a 
|current project and I thought that it would probably be useful to other

|developers... so please have a look and your feedback would be 
|appreciated!!!

Cool... but you have to sell it harder to me -- why would I need this? I
can maybe see some point with this if this in use/implemented in other
technologies. Wouldn't it be possible to use xml/xsl for similar things?
Or that block level language called cfml (i see cfml's origins as
mimicing html to do minor manipulations within the html in a similar
syntax, like we did SSI at one point).

I hope I am not coming across as too negative!

/hugo
###

This message has been scanned by F-Secure Anti-Virus for Microsoft
Exchange.
For more information, connect to http://www.f-secure.com/



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224516
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: A ColdFusion Templating Language

2005-11-17 Thread Jon Block
Ferg,

This is similar to the Smarty templating system, which I think is just
great by the way. The thing is that since ColdFusion, is itself, a
templating language, why would anybody have ever created a templating
language for ColdFusion? It's totally redundant. Doing web templates in
plain PHP totally sucks but using Smarty, templating is just like
ColdFusion - easy.

The thing is that in ColdFusion, we have no way to securely allow
someone the ability to design a template without giving them full access
to the CFML language in which they can for example...

- Dump out the request variables
- Run queries against your data sources
- Write infinite loops
- Read files in the file system
- Delete things...

The list goes on and on. Using a CFML abstraction, we can eliminate the
possibility of this happening... it's a safe tool for users who want
to create design templates in your system.

Jon

-Original Message-
From: Ken Ferguson [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 17, 2005 3:45 PM
To: CF-Talk
Subject: Re: A ColdFusion Templating Language

It seems to me as if it's supposed to be similar to the Smarty template 
engine used by so many PHP apps. I've used a couple apps built around 
the Smarty template engine and have been rather impressed. I've yet to 
research this CF version very much, but I plan to take a look at it as 
soon as I can get a chance.

--Ferg


This electronic message transmission contains information from Collegiate 
Funding Services, LLC or its subsidiaries or affiliates that may be 
confidential or privileged. The information is intended to be for the use of 
only the individual or entity named above. If you are not the intended 
recipient, be aware that any disclosure, copying, distribution or use of the 
contents of this information is strictly prohibited. If you have received this 
electronic transmission in error, please notify the sender by reply e-mail 
@cfsloans.com immediately and delete this e-mail and any attachments from your 
system and any copies you may have made, electronic or otherwise.


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224548
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


cfcache adds comment on first line of cfcache'd page.. my css doesn't work now.

2005-11-16 Thread Jon Block
I need help trying to find out how to make my doctype work right with
cfcache. Take a look at the following comment I found on the CFCACHE
docs. I need to find out how to circumvent this problem.
-
http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/tags-pa8.htm

jsm said on Aug 9, 2005 at 7:04 AM : 
CfCache adds an html comment on the first line of the page being cached
(server side cached). However, the first line is reserved for the
DOCTYPE declaration. With the comment generated by CF, it cancels out
the basis of having a doctype declaration, and therefore does not allow
standards based, css websites to be integrated with server caching. 

In short, MSIE goes into quirks mode and ignores your CSS. 
-

Jon



This electronic message transmission contains information from Collegiate 
Funding Services, LLC or its subsidiaries or affiliates that may be 
confidential or privileged. The information is intended to be for the use of 
only the individual or entity named above. If you are not the intended 
recipient, be aware that any disclosure, copying, distribution or use of the 
contents of this information is strictly prohibited. If you have received this 
electronic transmission in error, please notify the sender by reply e-mail 
@cfsloans.com immediately and delete this e-mail and any attachments from your 
system and any copies you may have made, electronic or otherwise.



~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224387
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


A ColdFusion Templating Language

2005-11-16 Thread Jon Block
Hello everyone,

I've just posted a free CFML templating engine and I was wondering if I
could get some feedback on. I'm using this template engine for a current
project and I thought that it would probably be useful to other
developers... so please have a look and your feedback would be
appreciated!!!

Project Home Page
http://www.jonathanblock.com/Members/admin/blockml

Blurb:
BlockML is an abstract templating language for ColdFusion web
applications. In the model-view-controller software design pattern,
BlockML can be thought of as the view engine which can integrate with
popular frameworks like Mach-II, Fusebox and Model-Glue, but is also
easy to implement into custom sites.

Thank you,
Jon


This electronic message transmission contains information from Collegiate 
Funding Services, LLC or its subsidiaries or affiliates that may be 
confidential or privileged. The information is intended to be for the use of 
only the individual or entity named above. If you are not the intended 
recipient, be aware that any disclosure, copying, distribution or use of the 
contents of this information is strictly prohibited. If you have received this 
electronic transmission in error, please notify the sender by reply e-mail 
@cfsloans.com immediately and delete this e-mail and any attachments from your 
system and any copies you may have made, electronic or otherwise.



~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224458
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Best way to unix crypt() on windows cfmx?

2005-11-14 Thread Jon Block
Whats the best way to use the unix crypt() function on windows cfmx 7?

 

Jon

 



This electronic message transmission contains information from Collegiate 
Funding Services, LLC or its subsidiaries or affiliates that may be 
confidential or privileged. The information is intended to be for the use of 
only the individual or entity named above. If you are not the intended 
recipient, be aware that any disclosure, copying, distribution or use of the 
contents of this information is strictly prohibited. If you have received this 
electronic transmission in error, please notify the sender by reply e-mail 
@cfsloans.com immediately and delete this e-mail and any attachments from your 
system and any copies you may have made, electronic or otherwise.




~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224145
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


What's this mean?? : 500 Invalid method signature: (Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/Object;

2005-10-07 Thread Jon Block
500 Invalid method signature:
(Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/Object;


Invalid method signature:
(Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/Object;

 

 



This electronic message transmission contains information from Collegiate 
Funding Services, LLC or its subsidiaries or affiliates that may be 
confidential or privileged. The information is intended to be for the use of 
only the individual or entity named above. If you are not the intended 
recipient, be aware that any disclosure, copying, distribution or use of the 
contents of this information is strictly prohibited. If you have received this 
electronic transmission in error, please notify the sender by reply e-mail 
@cfsloans.com immediately and delete this e-mail and any attachments from your 
system and any copies you may have made, electronic or otherwise.



~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220367
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


David Gassner's email address?

2005-10-06 Thread Jon Block
Anybody know david gassner's email address? 

 

I've just read his XML article at:

 

http://coldfusion.sys-con.com/read/41633.htm

 

And he mentions some of the limitations of his cfmx xml creation are:

 

Limitations 

Both methods of creating XML files have these limitations: 

 

UTF-8 encoding only: While the toString() function has an encoding
attribute, it doesn't work for the XML document object. And while CFFile
now has a charset attribute to output in other encoding formats, it
doesn't affect the resulting XML declaration's encoding attribute. You
can easily end up with a file in UTF-16 format, but an XML declaration
that claims the file is in UTF-8. 

...

I'll describe workarounds for both of these problems in the next
article. (If you need either of them right away, e-mail me.)

 

However, in the next article, he doesn't seem to answer this question. I
need the answer! 

 

Thanks,

Jon

 



This electronic message transmission contains information from Collegiate 
Funding Services, LLC or its subsidiaries or affiliates that may be 
confidential or privileged. The information is intended to be for the use of 
only the individual or entity named above. If you are not the intended 
recipient, be aware that any disclosure, copying, distribution or use of the 
contents of this information is strictly prohibited. If you have received this 
electronic transmission in error, please notify the sender by reply e-mail 
@cfsloans.com immediately and delete this e-mail and any attachments from your 
system and any copies you may have made, electronic or otherwise.



~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220228
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


OT: Load Balancing/Filtering?

2005-05-02 Thread Jon Block
I have a pool of servers managed by an F5. I'm trying to figure out how I
can separate out my traffic such that all CFM requests are delivered to
server A and all other types of requests (graphics etc) are sent to server
B. What is the best way to do this?


Thank you,
Jon


~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205224
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


CF5: Can recordset field names somehow maintain case?

2005-04-15 Thread Jon Block
In a CF5 application, I need to write XML such that the case of the field
names exactly matches the XML elements I need to write. CF5 seems to
capitalize all of the field names. What can I do to get the case of the
fields coming from SQL server?

Jon


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:203057
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


No Response from CFMX - Super Frustrated.. Help!

2005-03-25 Thread Jon Block
I'm running 

Windows Server 2003 Standard
CFMX 6.1 Updater 3

I've enabled the default webserver. I start CFMX and request:

http://127.0.0.1:8500/CFIDE/administrator/index.cfm

I get a Document contains no data error in the web browser. What should I
do???

The default web server is running because it gives me directory listings and
stuff... It just doesn't process cfm pages.

Jon


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:15
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Server doesn't start: How do I debug this problem?

2005-03-07 Thread Jon Block
Running CFMX 6.1 with Apache 2. The server was working for a few weeks and
now I get this. I'm not sure what caused it. 

Although the ColdFusionMX Application Server service starts, Apache logs the
following in the error.log file:
--
[Mon Mar 07 10:51:30 2005] [notice] jrApache[32270] could not initialize
Server_1:127.0.0.1:51010
[Mon Mar 07 10:51:30 2005] [notice] jrApache[32270] Couldn't initialize from
remote server, JRun server(s) probably down.
[Mon Mar 07 10:51:30 2005] [notice] jrApache[32270] JRun will not accept
request.  Check JRun web server configuration and JRun mappings on JRun
server.
--

What is the correct course of action?

Jon


~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:197688
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Whats up with this: No jndi.properties file was found in samples's SERVER-INF directory. The JRun kernel requires JNDI information.

2005-03-04 Thread Jon Block
My server is messed up. My server jrun is logging:

No jndi.properties file was found in samples's SERVER-INF directory. The
JRun kernel requires JNDI information.

I'm running CMFX 6.1 standard with apache 2. 

What should I do?

Jon

-Original Message-
From: Ali Awan [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 04, 2005 5:35 PM
To: CF-Talk
Subject: Re: OT: SQL Case Question?

I apologize if this is a double post, but it didn't go through the first
time.

There is a function in SQL called IsNull which replaces a NULL result with
whatever value you specify.

Try doing this in the first line of your statement:
SELECT IsNull(Count(OrderDate),0) AS TotalOrdersPerDay

That way if the result set is NULL it will output a 0.

Ali
-Original Message-
From: Che Vilnonis [mailto:[EMAIL PROTECTED]
Sent: Friday, March 04, 2005 2:23 PM
To: CF-Talk
Subject: OT: SQL Case Question?

This code works great, for the most part. How would I change this code so
that if there were NO orders for a particular day, the query would return a
result of zero [0] and not null or whatever it returns when there is no
result? Does this make sense? I just don't want to have td cells with
nothing in them.

Thanks, Che





~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:197548
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Zip code radius database?

2005-02-18 Thread Jon Block
I need to be able to find all zip codes within x miles of a given zip code.
What' the best (perhaps free) way to do this?

Gracias!
Jon Block


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:195390
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Simple exponent math question: How do I resolve this number?

2005-02-07 Thread Jon Block
Someone is giving me an xml feed where I have to use this number:

1.79769313486232E+308

How do I turn that into a regualr numeric number in coldfusion?

Jon


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:193350
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Check out this error from my apache error log...

2005-02-03 Thread Jon Block
What is the best debug process for the following entries in my apache error
log?

I'm running apache 1.3.333 with the newest version of cfmx

[Wed Feb 02 22:00:02 2005] [notice] jrApache[4660:40939] JRun is busy.
[2096] dropped while sending command
[Wed Feb 02 22:05:03 2005] [notice] jrApache[4660:1058] JRun is busy. [432]
dropped while sending command
[Wed Feb 02 22:10:03 2005] [notice] jrApache[4660:1059] JRun is busy. [740]
dropped while sending command
[Wed Feb 02 22:12:16 2005] [error] forcing termination of child #0 (handle
268)
[Wed Feb 02 22:12:22 2005] [notice] jrApache[init] JRun 4.0 (Build 81731)
Apache module - Jul 22 2004 11:53:59
[Wed Feb 02 22:12:22 2005] [notice] jrApache[init] JRun 4.0 (Build 81731)
Apache module - Jul 22 2004 11:53:59
[Wed Feb 02 22:15:28 2005] [error] forcing termination of child #0 (handle
268)
[Wed Feb 02 22:20:16 2005] [notice] jrApache[init] JRun 4.0 (Build 81731)
Apache module - Jul 22 2004 11:53:59
[Wed Feb 02 22:20:18 2005] [notice] jrApache[init] JRun 4.0 (Build 81731)
Apache module - Jul 22 2004 11:53:59
[Wed Feb 02 22:20:32 2005] [notice] jrApache[1748:2493] could not initialize
proxy for 127.0.0.1:51010
[Wed Feb 02 22:20:32 2005] [notice] jrApache[1748:2493] initialized proxy
for 127.0.0.1:51010
[Wed Feb 02 22:20:32 2005] [notice] jrApache[1748:2493] could not initialize
proxy for 127.0.0.1:51010
[Wed Feb 02 22:20:32 2005] [notice] jrApache[1748:2493] Couldn't initialize
from remote server, JRun server(s) probably down.
[Wed Feb 02 22:20:32 2005] [notice] jrApache[1748:2493] initialized proxy
for 127.0.0.1:51010
[Wed Feb 02 22:20:32 2005] [notice] jrApache[1748:2493] could not initialize
proxy for 127.0.0.1:51010
[Wed Feb 02 22:20:32 2005] [notice] jrApache[1748:2493] Couldn't initialize
from remote server, JRun server(s) probably down.
[Wed Feb 02 22:20:32 2005] [notice] jrApache[1748:2493] JRun will not accept
request.  Check JRun web server configuration and JRun mappings on JRun
server.
[Wed Feb 02 22:20:44 2005] [notice] jrApache[1748:2494] initialized proxy
for 127.0.0.1:51010
[Wed Feb 02 22:20:44 2005] [notice] jrApache[1748:2494] initialized proxy
for 127.0.0.1:51010

Around this time, the web server was totally unresponsoiove.

Thank you,
Jon


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:192886
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


What do these Jrun errors mean?

2005-02-02 Thread Jon Block
I'm using the current production release of apache 2 and a just-downloaded
copy of cfmx 6.1.

I'm setting up two servers with the same configuration and both of them have
demonstrated the same problem. Please take a look at my Jrun default error
log and tell me what could be causing this.

http://www.jonathanblock.com/default-err.log

Lately, I've noticed that when this problem occurs, the CFMX service gets
hung up and becomes unresponsive.

I've also noticed that, if I downgrade to apache 1.3.33, I don't get this
problem.

Please help!

Thank you,
Jon


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:192751
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Why is the Jrun error log filling up??

2005-02-02 Thread Jon Block
Hello CF-Talk Users,

I'm using the current production release of apache 2 and a just-downloaded
current copy of coldfusion cfmx 6.1.

I'm setting up two servers with the same configuration and both of them have
demonstrated the same problem. Please take a look at my Jrun default error
log and tell me what could be causing this.

http://www.jonathanblock.com/default-err.log

Lately, I've noticed that when this problem occurs, the CFMX service gets
hung up and becomes unresponsive.

I've also noticed that, if I downgrade to apache 1.3.33, I don't get this
problem.

Please help!

Thank you,
Jon


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:192790
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Why is the Jrun error log filling up??

2005-02-02 Thread Jon Block
I'm using the current production release of apache 2 and a just-downloaded
current copy of coldfusion cfmx 6.1.

I'm setting up two servers with the same configuration and both of them have
demonstrated the same problem. Please take a look at my Jrun default error
log and tell me what could be causing this.

http://www.jonathanblock.com/default-err.log

Lately, I've noticed that when this problem occurs, the CFMX service gets
hung up and becomes unresponsive.

I've also noticed that, if I downgrade to apache 1.3.33, I don't get this
problem.

Please help!

Thank you,
Jon


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:192803
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Why is the Jrun error log filling up??

2005-02-02 Thread Jon Block
Steven,

Thank you very much for your help. My situation is that when the server
starts logging all of this stuff, CFMX became completely unresponsive.
Restarting the CFMX service didn't fix the problem. I had to reboot the
whole server.

I also noticed that even after it came back up, the service only held up for
so long before it became unresponsive again. I am not having this problem
with apache 1.3.33.

Did you happen to look at the log entries that reference the Apache
enviornment variables? I think that there may be a problem with the way
apache 2 passes requests to the JRun connector. What do you think?

Jon 

-Original Message-
From: Steven Erat [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 02, 2005 4:00 PM
To: CF-Talk
Subject: RE: Why is the Jrun error log filling up??

The connection reset and Error while reading header are from the end
user clicking STOP or REFRESH in their browser, or browsing to another site
away from yours.  The browser sends a reset to the server.

If they occur at a high frequency then that is a symptom of a slow server.
Generating thread dumps will provide a means to introspect what the server
is doing, so find the technote on Debugging Stack Traces for CFMX.  An
example is provided on how to read a given stack for a jrpp (web) thread.
Specific cfms are mentioned in the stack traces, and the lines being
executed, and the specific action occuring.  

Also, turn on Log slow pages and monitor server.log for entries of slow
pages. This doesn't give you the detail that a stack trace in a thread dump
does, but its a quick summary of the parent page that runs slow.

-Steven Erat


 -Original Message-
 From: Jon Block [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, February 02, 2005 2:11 PM
 To: CF-Talk
 Subject: Why is the Jrun error log filling up??
 
 I'm using the current production release of apache 2 and a 
 just-downloaded current copy of coldfusion cfmx 6.1.
 
 I'm setting up two servers with the same configuration and both of 
 them have demonstrated the same problem. Please take a look at my Jrun 
 default error log and tell me what could be causing this.
 
 http://www.jonathanblock.com/default-err.log
 
 Lately, I've noticed that when this problem occurs, the CFMX service 
 gets hung up and becomes unresponsive.
 
 I've also noticed that, if I downgrade to apache 1.3.33, I don't get 
 this problem.



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:192827
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Restart CFMX with CFML?

2005-01-31 Thread Jon Block
What's the way in which you can restart CFMX service with CFML code
natively?

Jon


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:192347
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


What's the newest version of Apache supported by CFMX?

2005-01-31 Thread Jon Block
I've been having trouble with a server where the CFMX process gets hung up
and it logs all kinds of bizarre error messages in the Jrun default log
file. I think its because I was using the newest version of apache 2 which,
I'm assuming, must not be compatible with the newest version of CFMX. Since
I started running apache 1.3.33, everything seems much better.

Jon


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:192348
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: What's the newest version of Apache supported by CFMX?

2005-01-31 Thread Jon Block
I only download stable releases but I downloaded the latest stable release
of apache 2 and I had big time problem swhere the cfmx process would seize,
log errors in the default jrun error log, and I haid to restart the whole
machine to get it to begin to work again. Downgrading to apache 1.3.33 fixed
it.

Jon 

-Original Message-
From: Jordan Michaels [mailto:[EMAIL PROTECTED] 
Sent: Monday, January 31, 2005 12:09 PM
To: CF-Talk
Subject: Re: What's the newest version of Apache supported by CFMX?

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jon Block wrote:

| I've been having trouble with a server where the CFMX process gets 
| hung up and it logs all kinds of bizarre error messages in the Jrun 
| default log file. I think its because I was using the newest version 
| of apache 2 which, I'm assuming, must not be compatible with the 
| newest version of CFMX. Since I started running apache 1.3.33, 
| everything seems much better.
|
| Jon
|
Is the version of apache that you were using the latest stable
release or one of the betas?

- --
Warm regards,
Jordan Michaels
Vivio Technologies
http://www.viviotech.net/
[EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFB/mY6/G4NWP5tBHcRAoDcAJwONh1SHxhMuW5agzIeeptejDdHYACgu5w5
0kPy5jDXIvh3LW/aT9xrh1E=
=v8NV
-END PGP SIGNATURE-



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:192355
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


OT: Reccomendation mail server reccomendation

2005-01-18 Thread Jon Block
This one is off topic... Sorry but thank you!

I have about 100 domains that I'm doing mail forwarding for. I provide email
forwarding for each of the domains with my current mail server by hand :=(

I'm constantly getting request to do things like:

Please forward [EMAIL PROTECTED] to [EMAIL PROTECTED]

...where example.com is a domain where the MX directs mail to my mail
server.

Can someone please show me the magic software I could use where I could go
into a mail server and define a virtual host like:

example.com

And then create a master username and password for that domain admin and
1234, for example.

Then, the admin (my client) can log into a web interface and configure all
the forwards on their own?

I don't want to operate POP or IMAP accounts for people.. I just want to
offer simple mail forwarding that the end user can setup without my help.

Any help is appreciated!!!

Jon


~|
Logware: a new and convenient web-based time tracking application. Start 
tracking and documenting hours spent on a project or with a client with Logware 
today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:190942
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Beginner web service question

2005-01-17 Thread Jon Block
I'm trying to use a weather forecast web service with CFINVOKE. Here's the
WSDL file and the directions:

http://weather.gov/forecasts/xml/ (look under how to use the web service)
http://weather.gov/forecasts/xml/DWMLgen/wsdl/ndfdXML.wsdl

.. Here's my code

cfinvoke 
 webservice=http://weather.gov/forecasts/xml/DWMLgen/wsdl/ndfdXML.wsdl;
 method=NDFDgen
 returnvariable=aString
cfinvokeargument name=latitude value=42.3485/
cfinvokeargument name=longitude value=-71.0733/
cfinvokeargument name=product value=time-series/
cfinvokeargument name=startTime value=2005-01-17T12:00/
cfinvokeargument name=endTime value=2005-01-17T12:00/
cfinvokeargument name=weatherParameters value=maxt = TRUE/
/cfinvoke
cfdump var=#aString#
-

This doesn't work. :=( I get:

Could not perform web service invocation NDFDgen because
java.lang.IllegalArgumentException: argument type mismatch

Can someone help me get started with this??

Thank you,
Jon


~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:190757
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Solution - NOAA Weather Forcast via CFMX Web Service

2005-01-17 Thread Jon Block
CF'ers,

I figured out the problem that everybody was talking about in a previous
thread from earlier in the month. This email describes how to make it work.

The problem that (I think) everybody was having is that they forgot that web
services are strongly typed but ColdFusion is not. That means you can't pass
a string into an array of bits. You can use my simple CFC interface to all
of this at (http://www.jonathanblock.com/pineapple/noaa.html) or you can do
it yourself like I have in the example below...

(example.cfm)

CFPARAM NAME=WAVEH   DEFAULT=false type=boolean
CFPARAM NAME=maxtDEFAULT=true  type=boolean
CFPARAM NAME=mintDEFAULT=true  type=boolean 
CFPARAM NAME=tempDEFAULT=false type=boolean 
CFPARAM NAME=dew DEFAULT=false type=boolean 
CFPARAM NAME=pop12   DEFAULT=false type=boolean 
CFPARAM NAME=qpf DEFAULT=false type=boolean 
CFPARAM NAME=snowDEFAULT=false type=boolean 
CFPARAM NAME=sky DEFAULT=false type=boolean 
CFPARAM NAME=wspdDEFAULT=false type=boolean 
CFPARAM NAME=wdirDEFAULT=false type=boolean 
CFPARAM NAME=wx  DEFAULT=false type=boolean 
CFPARAM NAME=icons   DEFAULT=false type=boolean 
CFPARAM NAME=waveh   DEFAULT=false type=boolean
CFPARAM NAME=startDate   DEFAULT=#CreateDate(2005, 1, 17)#
type=date
CFPARAM NAME=numDays DEFAULT=2
type=numeric
CFPARAM NAME=format  DEFAULT=24 hourly
type=string
cfset strWeatherParameters = STRUCTNEW() /
cfset strWeatherParameters.WAVEH   = WAVEH /
cfset strWeatherParameters.maxt= maxt /
cfset strWeatherParameters.mint= mint /
cfset strWeatherParameters.temp= temp /
cfset strWeatherParameters.dew = dew /
cfset strWeatherParameters.pop12   = pop12 /
cfset strWeatherParameters.qpf = qpf /
cfset strWeatherParameters.snow= snow /
cfset strWeatherParameters.sky = sky /
cfset strWeatherParameters.wspd= wspd /
cfset strWeatherParameters.wdir= wdir /
cfset strWeatherParameters.wx  = wx /
cfset strWeatherParameters.icons   = icons /
cfset strWeatherParameters.waveh   = waveh /
cfinvoke   
webservice  =
http://weather.gov/forecasts/xml/DWMLgen/wsdl/ndfdXML.wsdl;
method  = NDFDgenByDay
returnvariable  = xmlWeatherData 
cfinvokeargument name=latitude
value=42.3485/
cfinvokeargument name=longitude
value=-71.0733/
cfinvokeargument name=startDate
value=#startDate#/
cfinvokeargument name=numDays
value=#numDays#/
cfinvokeargument name=format
value=#format#/
/cfinvoke
cfset weatherXMLobject = XMLParse(xmlWeatherData) /
CFDUMP VAR=#weatherXMLobject#


Jon Block


~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:190847
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


User Documentation - Any suggestions?

2005-01-14 Thread Jon Block
We're trying to come up with a better way to document how our web
application works for our end users. Can anyone suggest a good tool or
software I should look at for creating and maintaining end user
documentation?

Jon


~|
Purchase Homesite Plus with Dreamweaver from House of Fusion, a Macromedia 
Authorized Affiliate and support the CF community.
http://www.houseoffusion.com/banners/view.cfm?bannerid=55

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:190451
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


CFMX 6.1 + Apache2... where is CGI.request_uri???

2005-01-07 Thread Jon Block
Help.

 

I am having this problem where I don't have request.uri on my list of
variables in the CGI scope. What should I do? This is a fresh installation
on Windows 2003 AND on Windows XP with the newest version of
apache.Apache/2.0.52 (Win32) JRun/4.0.

 

Help? 

 

 



~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:189697
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


J2EE Sessions - Can CFMX Set a domain cookie?

2004-10-24 Thread Jon Block
I want to use J2EE sessions but I want my session (governed by the
jsessionid set by cfmx j2ee sessions) cookie value accessable on all
subdomains. For example, instead of a cookie domain of:

a.b.c.d.com

I want the CFMX J2EE jsession id cookie domain value to just be:

.d.com

That way, I can use the session on all subdomains.

How can I do this???

Thanks,
Jon


~|
Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF 
community.
http://www.houseoffusion.com/banners/view.cfm?bannerid=37

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182448
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


OT: Best Windows FTP Server with Text Based Config File?

2004-09-28 Thread Jon Block
I've got a CF application with tons of users. Each of the users is supposed
to have their own FTP account and their own directory on the server. The CF
application creates the users and the ftp home directories. Are there any
Windows based FTP servers that use a text based config file like Apache's
conf file to set up the users and home directories???

Thanks,

Jon
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Writing a message board using OOP and Components - how?

2004-07-20 Thread Jon Block
Here's a really general question for your advanced OOP coders...

 
I may have to write a message board and I'm wondering how one would create a
standard message board using best practices and OOP style. To see the type
of message board I'm talking about, take a look at:

 
http://www.tivocommunity.com/tivo-vb/

 
I'm just hoping a few of you can recommend to me how one would best
implement this type of product using CF components. My skill level with
components is intermediate.

 
Thanks,
Jon
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: dynamically generate page content without refresh a page

2004-07-08 Thread Jon Block
I think that is such a bad idea... why not just use the web like its meant
to be used? That stuff over complicates life for little reward. Just my
opinion.

 
I wish web browsers supported some type of templating that hooked into XML
files natively. That would be neat... but then again the web would become a
big FileMaker Pro database. :0)

 
Jon

_

From: Dave Watts [mailto:[EMAIL PROTECTED] 
Sent: Sunday, October 21, 2001 4:04 PM
To: CF-Talk
Subject: RE: dynamically generate page content without refresh a page

 juat a question here, not so much on CF, but will like to do 
 it on a CF page, how I can make a page dynamically generate 
 its content without refresh a page as i have see this on some 
 web site. for example, if i click on a button then the page 
 will display a table with some data on it (of course without 
 refresing the whole page again). is it possible? if yes, how 
 technical is it?

You can use _javascript_ to do this. You can't use CF, by itself. You can
rewrite parts of a page using DHTML, or all of a page using document.write.
If you need to exchange data with the server, you can use frames or pipes:

http://www.depressedpress.com/DepressedPress/Content/ColdFusion/Essays/GIFAs
Pipe/ (originally pointed out to the list by Dick Applebaum, if I recall
correctly)

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[EMAIL PROTECTED]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists 
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: easiest way to grab server's internal ip?

2004-07-07 Thread Jon Block
Wow Spike,

 
That's perfect! Thank you!

 
Jon

_

From: Stephen Milligan [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 06, 2004 5:56 PM
To: CF-Talk
Subject: RE: easiest way to grab server's internal ip?

Depending on exactly why you want the ip address you could do something like
this:

cfset IPAddresses = arrayNew(1)

cfset net = createObject('java','java.net.NetworkInterface')
cfset interfaces = net.getNetworkInterfaces()

cfloop condition=#interfaces.hasMoreElements()#
cfset interface = interfaces.nextElement()
cfset addresses = interface.getInetAddresses()
cfloop condition=#addresses.HasMoreElements()#
cfset address = addresses.nextElement()
cfset arrayAppend(IPAddresses,address.toString())
/cfloop
/cfloop

cfdump var=#IPAddresses#

That will probably come out with a '/' in front of each address, but you
should be able to sort that out easily enough.

Spike


Stephen Milligan
Code poet for hire
http://www.spike.org.uk

Do you cfeclipse? http://cfeclipse.tigris.org 

-Original Message-
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of S.Isaac Dealey
Sent: Tuesday, July 06, 2004 1:27 PM
To: CF-Talk
Subject: Re: easiest way to grab server's internal ip?

 What's the most simple CFMX way to grab the app server's
 IP address internal
 to the firewall? Is there some type of
 server.getSystemIP() or something
 like that?

 Jon

There's nothing native. You could execute ipconfig with the cfexecute
tag tho.


s. isaac dealey214.823.9345

new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework
http://www.sys-con.com/story/?storyid=44477DE=1




 
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: easiest way to grab server's internal ip?

2004-07-07 Thread Jon Block
The reason is because I'm writing an error handler for an app I'm working
on. I want it to mail me all of the variables that were in use when the
error was thrown including which of my servers it was. We use load balancing
so there isn't any CGI variables that will tell me which of my servers threw
up

 
Jon

_

From: Jordan Michaels [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 06, 2004 5:16 PM
To: CF-Talk
Subject: Re: easiest way to grab server's internal ip?

Any particular reason you must have the server's IP instead of using the
cgi.server_name or cgi.http_host variables?

Curious mostly, but if it's for session security reasons you could do a
redirect to the required URL during the log in sequence.

Just a thought...

-- 
Warm regards,
Jordan Michaels
Vivio Technologies
http://www.viviotech.net/
[EMAIL PROTECTED]

Jon Block wrote:

 What's the most simple CFMX way to grab the app server's IP address 
 internal
 to the firewall? Is there some type of server.getSystemIP() or something
 like that?


 Jon
 
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: I'm so frustrated - Can somebody make my day? (cfexecute)

2004-07-06 Thread Jon Block
Dave,

 
Apparently the new security model of Windows 2003 doesn't allow Services to
access mapped network drives. I'm now forced to create ColdFusion
application scoped variables that reference UNC paths which is a pain. I
wish the ColdFusion mappings worked with all types of directory access and
not just includes and cfmodule. :-\

 
Thanks,
Jon

_

From: Dave Watts [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 02, 2004 2:55 PM
To: CF-Talk
Subject: RE: I'm so frustrated - Can somebody make my day? (cfexecute)

 I'm running one project in command line mode because we're 
 using mapped network drives which are not available to 
 services in Windows 2003. What a pain in my *ss. I know there 
 are other work arounds for services, but I'm using this for 
 now... but maybe not for long if I have more problems like 
 this. Grr!

You can easily configure a service to run as any user you like. As for drive
mappings, I usually just use UNC paths instead, but you can log in as the
user in question, create persistent drive mappings, then run CF as that user
and they should work fine.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444 
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




easiest way to grab server's internal ip?

2004-07-06 Thread Jon Block
What's the most simple CFMX way to grab the app server's IP address internal
to the firewall? Is there some type of server.getSystemIP() or something
like that?

 
Jon
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




I'm so frustrated - Can somebody make my day? (cfexecute)

2004-07-02 Thread Jon Block
This is on a machine with windows 2003 server ... we're currently running CF
in command line mode... here's what's ruining my day... please help...

 cfexecute name=echo 1234  jonyay.txt timeout=10 / 
--
Detail	 The cause of this exception was that: java.io.IOException:
CreateProcess: echo 1234  jonyay.txt error=2. 	
Message	 An exception occurred when invoking an external process. 	
RootCause	 
struct	
Message	 CreateProcess: echo 1234  jonyay.txt error=2 	
StackTrace	 java.io.IOException: CreateProcess: echo 1234  jonyay.txt
error=2 at java.lang.Win32Process.create(Native Method) at
java.lang.Win32Process.init(Win32Process.java:66) at
java.lang.Runtime.execInternal(Native Method) at
java.lang.Runtime.exec(Runtime.java:566) at
java.lang.Runtime.exec(Runtime.java:428) at
java.lang.Runtime.exec(Runtime.java:364) at
java.lang.Runtime.exec(Runtime.java:326) at
coldfusion.tagext.lang.ExecuteTag.doStartTag(ExecuteTag.java:138) at
cftest2ecfm1550559480.runPage(Z:\alcp\jon\test.cfm:14) at
coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:147) at
coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:357) at
coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:62) at
coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:107) at
coldfusion.filter.PathFilter.invoke(PathFilter.java:80) at
coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:47) at
coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistence
Filter.java:28) at
coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:35) at
coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:43) at
coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22) at
coldfusion.CfmServlet.service(CfmServlet.java:105) at
jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91) at
jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42) at
jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:252) at
jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527) at
jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:192)
at
jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:
348) at
jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:451
) at
jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:29
4) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: I'm so frustrated - Can somebody make my day? (cfexecute)

2004-07-02 Thread Jon Block
Dave,

 
When I do it that way, I don't get any errors but it just doesn't work at
all Any ideas?

 
Jon

_

From: Dave Watts [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 02, 2004 11:42 AM
To: CF-Talk
Subject: RE: I'm so frustrated - Can somebody make my day? (cfexecute)

 This is on a machine with windows 2003 server ... we're 
 currently running CF in command line mode... here's what's 
 ruining my day... please help...

cfexecute name=echo 1234  jonyay.txt timeout=10 /

The program you want to run is cmd.exe. The echo command is part of the
command processor itself.

So, you might try something like this:

cfexecute name=c:\windows\system32\cmd.exe arguments=echo 1234 
jonyay.txt ...

Personally, I usually screw CFEXECUTE commands up the first time I try them,
so I may have done the same above as well.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444 
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: I'm so frustrated - Can somebody make my day? (cfexecute)

2004-07-02 Thread Jon Block
What I'm really trying to do is encrypt a file like this:

 
C:\C:\pgp\pgp.exe -e O:\temp\abc.txt MYTESTKEY

This command works on the command line... but now matter what I've tried, I
just won't work. I've tried about 25 variations of cfexecute calls ...
calling the tag in various ways. I've also tried cfx_execute, but still,
it doesn't work.

 
I think that this has to do with the fact that I'm running CFMX in command
line mode... not as a service.

 
What should I do?

 
Jon

_

From: Stephen Milligan [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 02, 2004 12:02 PM
To: CF-Talk
Subject: RE: I'm so frustrated - Can somebody make my day? (cfexecute)

I don't think that will work either.

I've found that cmd.exe doesn't play well with CFMX. I'm not quite sure why,
but it could have something to do with it being a shell for other commands.

What exactly was it that you wanted to do with cfexecute?

The example you gave doesn't look like it does anything useful, so I'm
assuming you were using it to try to get the command line working.

If you really do need to use echo, you can use cfexecute to run a batch file
and pass the arguments to that.

For some reason that seems to work, but directly accessing cmd.exe doesn't. 

I've also found that passing arguments as an array usually works better than
passing them as a string, so you would have something like this:

cfset args = arrayNew(1)

cfset arrayAppend(args,'1234')

cfset arrayAppend(args,'jonyay.txt')

cfexecute name=c:\echo.bat arguments=#args# timeout=10 /

And put this in echo.bat

echo %1  %2

You'll probably want to put a full path to the output file, because
otherwise it will end up somewhere inside the ColdFusion directories
JRun\bin on my machine

HTH

Spike


Stephen Milligan
Code poet for hire
http://www.spike.org.uk

Do you cfeclipse? http://cfeclipse.tigris.org 

-Original Message-
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of Dave Watts
Sent: Friday, July 02, 2004 7:42 AM
To: CF-Talk
Subject: RE: I'm so frustrated - Can somebody make my day? (cfexecute)

 This is on a machine with windows 2003 server ... we're 
 currently running CF in command line mode... here's what's 
 ruining my day... please help...

cfexecute name=echo 1234  jonyay.txt timeout=10 /

The program you want to run is cmd.exe. The echo command is 
part of the
command processor itself.

So, you might try something like this:

cfexecute name=c:\windows\system32\cmd.exe arguments=echo 1234 
jonyay.txt ...

Personally, I usually screw CFEXECUTE commands up the first 
time I try them,
so I may have done the same above as well.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444


 
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: I'm so frustrated - Can somebody make my day? (cfexecute)

2004-07-02 Thread Jon Block
Dave,

 
Tried that... it doesn't work...

 
Jon

_

From: Dave Watts [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 02, 2004 12:12 PM
To: CF-Talk
Subject: RE: I'm so frustrated - Can somebody make my day? (cfexecute)

 When I do it that way, I don't get any errors but it just 
 doesn't work at all Any ideas?

How do you know it doesn't work?

You might want to specify the file location you're piping to:

echo 1234  c:\jonyay.txt

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444 
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: I'm so frustrated - Can somebody make my day? (cfexecute)

2004-07-02 Thread Jon Block
Jochem,

 
I scanned the whole hard drive... it didn't create any files.

 
Jon

_

From: Jochem van Dieten [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 02, 2004 12:02 PM
To: CF-Talk
Subject: Re: I'm so frustrated - Can somebody make my day? (cfexecute)

Jon Block wrote:

 When I do it that way, I don't get any errors but it just doesn't work at
 all Any ideas?

Probably it works, but the file is created in a directory 
different from the one you expect.

Jochem 
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: I'm so frustrated - Can somebody make my day? (cfexecute)

2004-07-02 Thread Jon Block
The .bat file did the trick. Thanks everybody.

 
(i wish it worked like the way that the documentation says it should work)
grrr

 
Jon

_

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 02, 2004 1:41 PM
To: CF-Talk
Subject: RE: I'm so frustrated - Can somebody make my day? (cfexecute)

have you tried the batch file approach mentioned earlier?Should work dandy
that way

Doug

-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]
Sent: Friday, July 02, 2004 1:42 PM
To: CF-Talk
Subject: RE: I'm so frustrated - Can somebody make my day? (cfexecute)

 What I'm really trying to do is encrypt a file like this:

 C:\C:\pgp\pgp.exe -e O:\temp\abc.txt MYTESTKEY
 
 This command works on the command line... but now matter what 
 I've tried, I just won't work. I've tried about 25 variations 
 of cfexecute calls ...
 calling the tag in various ways. I've also tried 
 cfx_execute, but still, it doesn't work.

Have you tried specifying c:\pgp\pgp.exe as the CFEXECUTE NAME attribute?

 I think that this has to do with the fact that I'm running 
 CFMX in command line mode... not as a service.

Out of curiosity, why are you doing this? I don't see why it would make a
difference, though, except that you might be running CFMX within your own
user account rather than within a different user account.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444 
_ 
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: I'm so frustrated - Can somebody make my day? (cfexecute)

2004-07-02 Thread Jon Block
Dave,

 
I've tried passing eveything into the name attribute ... it doesn't work.

 
I'm running one project in command line mode because we're using mapped
network drives which are not available to services in Windows 2003. What a
pain in my *ss. I know there are other work arounds for services, but I'm
using this for now... but maybe not for long if I have more problems like
this. Grr!

 
Jon

_

From: Dave Watts [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 02, 2004 1:42 PM
To: CF-Talk
Subject: RE: I'm so frustrated - Can somebody make my day? (cfexecute)

 What I'm really trying to do is encrypt a file like this:

 C:\C:\pgp\pgp.exe -e O:\temp\abc.txt MYTESTKEY
 
 This command works on the command line... but now matter what 
 I've tried, I just won't work. I've tried about 25 variations 
 of cfexecute calls ...
 calling the tag in various ways. I've also tried 
 cfx_execute, but still, it doesn't work.

Have you tried specifying c:\pgp\pgp.exe as the CFEXECUTE NAME attribute?

 I think that this has to do with the fact that I'm running 
 CFMX in command line mode... not as a service.

Out of curiosity, why are you doing this? I don't see why it would make a
difference, though, except that you might be running CFMX within your own
user account rather than within a different user account.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444 
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




I'm in a jam - CFHTTP w/ an SSL Certificate - Guru Help Needed

2004-06-30 Thread Jon Block
I need to use CFHTTP (or something similar) to talk to a web page that
some other company is hosting. They have provided me with a certificate file
(PFX file) and a password.

 
When I go to their web page directly, my browser prompts me for a
certificate or else I'm not able to see the page.

 
When I manually install the PFX file into Internet Explorer, I use the
wizard, enter my password, and then I'm able to see the page no problem.

 
How am I supposed to get this to work with CFMX and CFHTTP?? I found
directions at:

 
http://www.bpurcell.org/blog/index.cfm?mode=entry
http://www.bpurcell.org/blog/index.cfm?mode=entryentry=843 entry=843

 
However, I've tried this and the CFHTTP request still fails. Can someone
please contact me through the list, or via direct email? I'm really in a
crunch and I need to get this working asap.

 
Thank you!!!
Jon
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




DES Encryption Decryption w/ CFML?

2004-06-22 Thread Jon Block
I need to encrypt and decrypt with CF in order to be able to work with
someone else's system. What's the best tool for DES encryption in in CF??
I'm using CFMX, by the way.

 
Thanks,
Jon
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: DES Encryption Decryption w/ CFML?

2004-06-22 Thread Jon Block
I don't know yet ... i'm supposed to pass some data to someone else's system
encrypted with DES... what DES tools can / should I use?

 
Jon

_

From: Adrocknaphobia [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 22, 2004 10:14 AM
To: CF-Talk
Subject: Re: DES Encryption  Decryption w/ CFML?

What are you trying to encrypt? Source code? Data transmission? URL
variables?

-Adam

- Original Message -
From: Jon Block [EMAIL PROTECTED]
Date: Tue, 22 Jun 2004 10:02:18 -0400
Subject: DES Encryption  Decryption w/ CFML?
To: CF-Talk [EMAIL PROTECTED]

I need to encrypt and decrypt with CF in order to be able to work with
someone else's system. What's the best tool for DES encryption in in CF??
I'm using CFMX, by the way.

Thanks,
Jon 
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Any good with DE() ??

2004-04-19 Thread Jon Block
I've got some really cool code that is based upon a technique that works
like this...

 
cfsavecontent variable=displayFieldFormat
b#summary#/b
/cfsavecontent

 cfoutput query=exampleQuery
 #evaluate(de(#displayFieldFormat#))# 
 /cfoutput

 
(Don't ask why I'm doing it this way.. it's required based on the other
things going on in my code).

 
I'm getting the results I want BUT once in a while, one of the variables,
summary for example, will itself contain a pound sign (#), which is
causing a problem and giving me a ...

 
An error occurred while evaluating the _expression_: 

 
Can someone please give me the fix for this?

 
Thanks,
Jon
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




OT: Can someone recommend a really good *hosted* classifieds system?

2004-03-31 Thread Jon Block
I've got a client who wants online classifieds and for a few reasons, the
classifieds feature that I can provide doesn't exactly suit their needs. Any
ideas? Doesn't have to be CF... I just need something hosted that I can help
them get signed up with.

 
Jon
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Windows CF5 Custom Tags Bug?

2004-03-26 Thread Jon Block
Dave,

I understand how paired tags work, but apparently I wasn't clear enough in
describing what the symptom is...let me try to draw it out...

myFile.cfm
---cf_makeSomeFiles
 --- cf_makeSomeHTML

In other words, the myFile.cfm calls the cf_makeSomeFiles custom tag
ONCE (without a slash at the end). Then, the cf_makeSomeFiles calls the
CF_makeSomeHTML once without a slash at the end.

When I call cf_makeSomeHTML, the end result is that the myFile.cfm
template is getting invoked twice!!!

What is that all about?

-Jon
-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 25, 2004 12:29 PM
To: CF-Talk
Subject: RE: Windows CF5 Custom Tags Bug?

 The problem is that when, and only when, I call cf_makesomehtml,
 the ENTIRE http request appears to be running two times! I can't
 understand why that would possibly happen. In other words, in my
 little tree of nested custom tags, a very simple tag which
 generates some text is causing the entire request to be evaluated
 by the server a second time.

If you have an opening and closing CF_MAKESOMEHTML tag, and you don't
explicitly write code within that tag to prevent it from running twice,
it'll run twice.

cf_foo -- runs once

cf_foo/cf_foo -- runs twice

cf_foo/ -- runs twice

To avoide this, within the custom tag, you can enclose all the other code
within this:

cfif ThisTag.ExecutionMode is start
...
/cfif

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Windows CF5 Custom Tags Bug?

2004-03-25 Thread Jon Block
Symptom (watered down):

My application uses lots of custom tags. At one point in the code, I have a
.CFM page called myfile.cfm which calls a custom tag is called that
generates some text files called cf_makefiles. That works great. Within
the cf_makefiles tag, I am calling an additional custom tag that generates
some HTML for me called cf_makesomehtml.

The problem is that when, and only when, I call cf_makesomehtml, the
ENTIRE http request appears to be running two times! I can't understand why
that would possibly happen. In other words, in my little tree of nested
custom tags, a very simple tag which generates some text is causing the
entire request to be evaluated by the server a second time.

The result is I'm getting two sets of files created, rather than just the
one that I want.

What do I do? Has anybody ever seen this before? I monitored the HTTP
traffic and it almost seems like the browser is somehow induced to re-submit
the URL somehow. I'm so confused.. I've been working with CF for years but I
have never seen anything like this...

Jon
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




OT: CSS Question... is this possible?

2004-03-09 Thread Jon Block
I have a situation where I have a content display page that is quite long. I
want to split up the content into multiple pages. In other words, rather
than having a really really long page, I'd like to break it up and use
next/previous buttons for navigation.

Let's pretend that the following table is my HTML display code..

table
	tr
		td

		/td
	/tr
/table

The following is what should appear on pages 1 and on page 2

Page 1
--
This is an example.

Page 2
--
This is another example. In other words, this is the second page. This is
another example. In other words, this is the second page. This is another
example. In other words, this is the second page. This is another example.
In other words, this is the second page. This is another example. In other
words, this is the second page. This is another example. In other words,
this is the second page. This is another example. In other words, this is
the second page. This is another example. In other words, this is the second
page. This is another example. In other words, this is the second page.

Clearly, the content on page 2 is longer. That means that it would require
that the HTML table that the content is enclosed within needs to be longer.
Here's my question: I need to have the content and display code all live on
a single page. I'm going to use a link and a little bit of _javascript_ to
reload the page and div tags to mark off each page worth of content, and
then toggle the visibility property of the div to flip between pages...
something like this:

table
	tr
		td
			div id=page1
This is an example.
			/div
			div id=page2
This is another example. In other words, this is the second page. This
is another example. In other words, this is the second page. This is another
example. In other words, this is the second page. This is another example.
In other words, this is the second page. This is another example. In other
words, this is the second page. This is another example. In other words,
this is the second page. This is another example. In other words, this is
the second page. This is another example. In other words, this is the second
page. This is another example. In other words, this is the second page.
			/div
		/td
	/tr
/table

Although I've got this working on a basic level, the real problem I'm having
is I don't know how to get the html table that surrounds the div's to
adjust so that it is an appropriate height. For example, when I set the
visible of the second page to TRUE (and the first page to FALSE) and I look
at the web page, the content spills over the end of the HTML table. It's as
if I need to somehow inform the HTML table to expand itself so that it looks
like it integrates with the rest of the page.

One approach would obvioiusly be to simply set the base table to use a
really long height value so that its always longer than the content, but
that means that on my page #1, there would be a bunch of empty space below
the content and the bottom of the HTML table. Not good.

Well, I hope someone out there had the time to read this and understands CSS
well enough to steer me in the right direction...

Jon
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Help - Can't run CFMX's Installer - InstallAnywhere error

2004-03-06 Thread Jon Block
When I try to run the installer, InstallAnywhere throws up a message that
says Please select another location to extract the installer to, but no
matter where I try to install it, its just throw the same message up. I've
tried to install to different drives with tons of space but I still get the
same thing no matter what.. what should I do?

(CFMX 6.1 on Windows 2000 Server)
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




help - CFMX creates class files... my C:\ drive is filling up!

2004-03-05 Thread Jon Block
My C:\ drive doesn't have lots of space and I see that CFMX wants to store
lots of .class files in..

C:\CFusionMX\wwwroot\WEB-INF\cfclasses\

Is there somewhere where I can tell CFMX to store them in D:\cfclasses
instead?

Thanks,
Jon
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Can someone recommend a good web development browser?

2004-03-04 Thread Jon Block
I usually develop with IE on a PC, but I would really like a browser that
shows me the *time* taken to request each object in a web request. Also, if
it could show me the http headers of the request and response, that would be
sweet. I've currently got a page thats slow and I think its network latency,
but I'm not sure what the best tool is for timing the response. There's got
to be some good software out there for this task.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




CFX_EXECUTE for CFMX?

2004-03-04 Thread Jon Block
In CF5, I used CFX_Execute to execute commands that were really long.
Apparently, the ColdFusion CFEXECUTE tag has some kind of limitation as to
the length of the command line command you can pass. I therefore used
CFX_execute to call the command. How can I execute the command in qeustion
in CFMX?
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: CFX_EXECUTE for CFMX?

2004-03-04 Thread Jon Block
Hey Min,

Okay I realized that the problem was not your tag, but something about cfmx.
I am doing something like this...

cfx_execute name=cmd.exe and so on...

in CFMX, I need to do it like this:

cfx_execute name=C:\winnt\system32\cmd.exe.. and so on...

Thanks,
Jon
-Original Message-
From: Lewis Sellers [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 04, 2004 2:33 PM
To: CF-Talk
Subject: Re: CFX_EXECUTE for CFMX?

At 01:45 PM 3/4/2004, you wrote:
In CF5, I used CFX_Execute to execute commands that were really long.
Apparently, the ColdFusion CFEXECUTE tag has some kind of limitation as
to
the length of the command line command you can pass. I therefore used
CFX_execute to call the command. How can I execute the command in
qeustion
in CFMX?

My CFX_Execute? (The C++ CFX from intrafoundation.com?)

It's not working for you under CFMX?

--min
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




del * C:\CFusionMX\wwwroot\WEB-INF\cfclasses\

2004-03-04 Thread Jon Block
Sometimes I make updates to my source code that I want to have applied
against my production cluster of servers. If I simply remove the class files
in C:\CFusionMX\wwwroot\WEB-INF\cfclasses, will that cause the application
server to re-compile the missing source code? The reason I am considering
doing this is because I periodically update dozens of files that are used by
several machines. It is not feasible for me to attempt to manually invoke
the updated files through a web page. I need the cache to drop really...

Jon
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: del * C:\CFusionMX\wwwroot\WEB-INF\cfclasses\

2004-03-04 Thread Jon Block
Barney -

Since my source code is on mapped network drives, *I keep trusted cache on*.
So how about this sequence of events:

1) I turn the ColdFusionMX Service OFF
2) I delete all of the class files (del *
C:\CFusionMX\wwwroot\WEB-INF\cfclasses\)
3) I turn the ColdFusionMX Service ON

What I am looking to accomplish is I want to make sure that all of the
source code gets recompiled and there is no chance any updated files don't
get picked up. This is slightly confusing because I keep trusted cache on.

Thanks,
Jon
-Original Message-
From: Barney Boisvert [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 04, 2004 4:10 PM
To: CF-Talk
Subject: RE: del * C:\CFusionMX\wwwroot\WEB-INF\cfclasses\

That won't work.CF maintains a copy of as many templates as you let it
in
memory.The files in that directory are only used if the requested
template
is not already in the memory cache (notably on server startup).You'll
have
to either let the templates refresh themselves as needed (it'll happen on
the first request, if trusted cache isn't enabled), or just cycle each
server after applying the updates.If you're running in a cluster, then
it's a snap to do the latter.

Cheers,
barneyb

 -Original Message-
 From: Jon Block [mailto:[EMAIL PROTECTED]
 Sent: Thursday, March 04, 2004 12:57 PM
 To: CF-Talk
 Subject: del * C:\CFusionMX\wwwroot\WEB-INF\cfclasses\

 Sometimes I make updates to my source code that I want to have applied
 against my production cluster of servers. If I simply remove
 the class files
 in C:\CFusionMX\wwwroot\WEB-INF\cfclasses, will that cause
 the application
 server to re-compile the missing source code? The reason I am
 considering
 doing this is because I periodically update dozens of files
 that are used by
 several machines. It is not feasible for me to attempt to
 manually invoke
 the updated files through a web page. I need the cache to
 drop really...

 Jon



 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




CFMX - How do i end client variable state at browser close?

2004-03-01 Thread Jon Block
(Software: CFMX)

I use CLIENT variables to maintain state in an application for when a user
logs in, for example. I want the variable state to be lost when the browser
closes. What is the *best* way to ensure that the CFID and CFTOKEN cookies
expire when the browser closes? CFMX seems to be dropping permanent cookies
by default. That means that when the user returns to the site, they are
still logged in even after they quit the browser...

Jon
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: CFMX - How do i end client variable state at browser close?

2004-03-01 Thread Jon Block
Dave,

Thanks I knew that trick... was curious if there was a better CFMX way...

Thanks,
Jon
-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]
Sent: Monday, March 01, 2004 12:31 PM
To: CF-Talk
Subject: RE: CFMX - How do i end client variable state at browser close?

 I use CLIENT variables to maintain state in an application
 for when a user logs in, for example. I want the variable
 state to be lost when the browser closes. What is the *best*
 way to ensure that the CFID and CFTOKEN cookies expire when
 the browser closes? CFMX seems to be dropping permanent cookies
 by default. That means that when the user returns to the
 site, they are still logged in even after they quit the browser...

You'll need to write the cookies yourself:

cfapplication ... setclientcookies=no

cfif not IsDefined(Cookie.CFID)
cfcookie name=CFID value=#Client.CFID#
cfcookie name=CFTOKEN value=#Client.CFTOKEN#
/cfif

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Help - CF5 CFGRAPH - Sorry but the data for this graph has expired

2004-03-01 Thread Jon Block
Trying to use CFGRAPH, i often get:

Sorry but the data for this graph has expired.

Aside from upgrading to CFMX, what is the best way to avoid getting this
stupid message from cfgraph in cf5? I need to get it to work with cf5

Jon
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Help: UTF-16 in ColdFusion 5???

2004-02-24 Thread Jon Block
I'm using the Microsoft XML Services (v4) parser with CF5 on Windows. I'm
getting an error and this page

http://support.microsoft.com/default.aspx?scid=kb;EN-US;q247708

explains that the reason is because I have to convert my ColdFusion 5 string
to UTF-16 before I can pass the string to the Microsoft XML parser. How the
heck can I convert my string to UTF-16 in ColdFusion 5??? Is there an
alternative way to do this? I'm one line of code away from being done with
this hassle...

Jon
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Help: UTF-16 in ColdFusion 5???

2004-02-24 Thread Jon Block
Dave I have no idea which are the invalid characters and thats what is
driving me crazy. I was hoping someone may have had a need to do this in the
past and created some UDF or CFX that would do what I'm looking for... any
ideas?

Jon
-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 24, 2004 2:12 PM
To: CF-Talk
Subject: RE: Help: UTF-16 in ColdFusion 5???

 I'm using the Microsoft XML Services (v4) parser with CF5 on
 Windows. I'm getting an error and this page

 http://support.microsoft.com/default.aspx?scid=kb;EN-US;q247708

 explains that the reason is because I have to convert my
 ColdFusion 5 string to UTF-16 before I can pass the string to
 the Microsoft XML parser. How the heck can I convert my
 string to UTF-16 in ColdFusion 5??? Is there an alternative
 way to do this? I'm one line of code away from being done
 with this hassle...

According to the URL you posted:

Scripting developers have two options available:

1. Convert your XML documents to UTF-16-formatted Unicode, either
automatically or by hand.Escape all non-Unicode character encodings inside
the XML document using XML Unicode entity references. Any XML character
can
be encoded in plain ASCII using the form #, where  is its index
into the Unicode character set.
2. Escape all non-Unicode character encodings inside the XML document
using XML Unicode entity references. Any XML character can be encoded in
plain ASCII using the form #, where  is its index into the
Unicode
character set.

Out of curiosity, have you identified the invalid characters?

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Give me feedback on my custom tag.... CF_RecordSetBrowser

2004-02-17 Thread Jon Block
I just put together a custom tag for the greater good of the community... If
anybody has a free 5 minutes, try it out and let me know if you think it
could be useful. I'll add it to the developer's exchange and give it a
better URL if any of you like it...

Jon

http://www.jonathanblock.com/pineapple/
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Please help - Windows XP Virtual Drives.. I need help

2004-02-06 Thread Jon Block, College Publisher Developer
This is basically a repost but I really need a solution and there have got
to be other developers dealing with this problem... here's the problem - It
seems Windows XP (probably Windows 2003 Server too) does not see my virtual
drives. I'm having the same problem with Apache. By virtual drives, I mean
network mapped drives or local mappings I create with subst. Take a look at
this source code where I try to create a Y: drive and then look at the
result I get I'm totally stuck and I need help!!! The problem seems to
be that services in Windows XP can't see the damn virtual drives. In my code
sample below, it looks like CF is spawning a DOS prompt that runs as the
logged in user rather than the service. I've tried setting the permissions
on both the virtual drive and the physical source directory to be open to
everybody. I've also tried setting the Coldfusion Application Server user
role to run as the local account and the administrator of the machine. I've
also tried toggling the interact with desktop option. Nothing seems to
work.

PLEASE HELP! Thank you!!!
--
cfexecute returns cfexecute name=C:\WINDOWS\SYSTEM32\subst.exe
arguments=Y: C:\virtualdrives\ydrive timeout=6/cfexecutebr
cfoutput
	Here are the drives that I can see...br
	CFLOOP index=i
list=a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z
		directoryExists(#i#:\) = #directoryExists(#i#:\)#br
	/CFLOOP
/cfoutput
--
cfexecute returns Drive already SUBSTed 
Here are the drives that I can see...
directoryExists(a:\) = NO
directoryExists(b:\) = NO
directoryExists(c:\) = YES
directoryExists(d:\) = NO
directoryExists(e:\) = NO
directoryExists(f:\) = NO
directoryExists(g:\) = NO
directoryExists(h:\) = NO
directoryExists(i:\) = NO
directoryExists(j:\) = NO
directoryExists(k:\) = NO
directoryExists(l:\) = NO
directoryExists(m:\) = NO
directoryExists(n:\) = NO
directoryExists(o:\) = NO
directoryExists(p:\) = NO
directoryExists(q:\) = NO
directoryExists(r:\) = NO
directoryExists(s:\) = NO
directoryExists(t:\) = NO
directoryExists(u:\) = NO
directoryExists(v:\) = NO
directoryExists(w:\) = NO
directoryExists(x:\) = NO
directoryExists(y:\) = NO
directoryExists(z:\) = NO
directoryExists(z:/) = NO
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: How do you clear cache in CFMX?

2004-02-05 Thread Jon Block, College Publisher Developer
What if I write a script that turns off the trusted cache, then turns off
the cf server, then deletes all of my compiled (cfm) .class files that I
found in the CfusionMX directory structure, then I turn on the CF service
and turn trusted cache back on? Wouldn't that simulate a complete cache
drop? I *did* want to keep the server running but if this is the next best
way, I'll do it since I've got a cluster of machines...

Jon
-Original Message-
From: Gaulin, Mark [mailto:[EMAIL PROTECTED]
Sent: Friday, January 23, 2004 1:53 PM
To: CF-Talk
Subject: RE: How do you clear cache in CFMX?

Hi Dave
Its the once the files have been run once part that stinks.If I were
implemeting a cache and there was a way to disable the cache I would also
cause that to flush the cache.Or at least provide some other way to do
it.
Then we'd all be happy.
Mark

-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]
Sent: Friday, January 23, 2004 10:50 AM
To: CF-Talk
Subject: RE: How do you clear cache in CFMX?

   cfobjectcache and cfcache aren't the solution for what
   I'm talking about. The problem is that the CF Application
   Server has trusted cache enabled. I do this because its too
   slow for it to continually read the source code off of the
   shared drive it lives on. Sometimes I come up with updates
   to my application. With the server running, I want to be
   able to say.. Dear ColdFusion, please do not stop running
   but simply reparse and recomplie all of my lovely CFM files
   because I have updated a bunch of them. I found a PPT slide
   show by Charlie Arehart which explains that there is a batch
   file that can precompile the CFM templates but I would prefer
   to have the CF appliation software recompile all templates if
   I want it to so that source code updates are reflected...
 
  To get the effect you're describing, you can simply disable
  trusted cache until all of the files have been run once.

 The feature he wants to entirely reasonable and logical. I
 hope MM adds something to make this possible in the future.

I must be missing something, then. As far as I can tell, the feature is
already present. You can currently disable trusted cache in the CF
Administrator. If you want to do that programmatically, I'm sure it's
possible with a little work.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/ http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
 _
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Why can't CF see my mapped or subst'ed drives!?

2004-02-05 Thread Jon Block, College Publisher Developer
Umm... I have a problem... I have a virtual drive that I call S:\. I've
tried setting it is a mapped drive and also set it as a virtual drive with
the subst utility. (I'm on windows xp pro). Anyway, from within my CF page,
when I do a directory exists on it, it doesn't see it... look

directoryExists(S:\) = NO

How do I get this to work? On my old windows 2000 server, this same script
worked fine. They just bought me a new machine running xp pro and these damn
virtual drives are 'driving' me crazy. My scripts need to be able to see
them.

(I'm running ColdFusion v5 and Windows XP Pro I know I know.. I'll be
using CFMX soon but I'm not quite there yet)

Please help!
Jon
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Help me turn trusted cache on/off with a cf script

2004-01-22 Thread Jon Block
In CF5, I had a script to go into the registry and adjust the setting for
trusted cache. It looks like in CFMX, I have to change the value in
C:\CFusionMX\lib\neo-runtime.xml for trusted cache. Is that all there is to
it? Is there some function I have to call to instruct the server to reparse
the xml file for the new setting? Any help is appreciated!

Jon
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Answering my own question... RE: Help me turn trusted cache on/off with a cf script

2004-01-22 Thread Jon Block
Alrighty, I'm going to answer my own question here...

Hi Jon,

You don't need to go into those xml files... in fact.. don't touch them.
Take a look at this code. It creates an instance of a component that handles
all of the server settings for you.

CFOBJECT
 action = "">
 type = JAVA
 class = coldfusion.server.ServiceFactory
 name = factory
CFSET runtimeInstance = factory.getRuntimeService()
cfset runtimeInstance.setTemplateCacheSize(2048)

This example would set the templateCacheSize to 2048. If you want to see the
other methods available, just cfdump var=#runtimeInstance#.

Hope this helps!
Yourself
-Original Message-----
From: Jon Block [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 22, 2004 12:25 PM
To: CF-Talk
Subject: Help me turn trusted cache on/off with a cf script

In CF5, I had a script to go into the registry and adjust the setting for
trusted cache. It looks like in CFMX, I have to change the value in
C:\CFusionMX\lib\neo-runtime.xml for trusted cache. Is that all there is
to
it? Is there some function I have to call to instruct the server to
reparse
the xml file for the new setting? Any help is appreciated!

Jon
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




How do you clear cache in CFMX?

2004-01-22 Thread Jon Block
I keep the trusted cache setting turned on most of the time. Sometimes I
come out with updates that need to go online. It seems like when I turn the
cache off and even set the memory size to zero, and then I turn the trusted
cache back on and put the memory back to 50, the changes I've made to
source code does not update.

What do I need to do???

Thanks,
Jon
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: How do you clear cache in CFMX?

2004-01-22 Thread Jon Block
Ketan,

cfobjectcache and cfcache aren't the solution for what I'm talking
about. The problem is that the CF Application Server has trusted cache
enabled. I do this because its too slow for it to continually read the
source code off of the shared drive it lives on. Sometimes I come up with
updates to my application. With the server running, I want to be able to
say.. Dear ColdFusion, please do not stop running but simply reparse and
recomplie all of my lovely CFM files because I have updated a bunch of
them. I found a PPT slide show by Charlie Arehart which explains that there
is a batch file that can precompile the CFM templates but I would prefer to
have the CF appliation software recompile all templates if I want it to so
that source code updates are reflected...

Thanks,
Jon
-Original Message-
From: Ketan Patel [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 22, 2004 4:25 PM
To: CF-Talk
Subject: RE: How do you clear cache in CFMX?

To Flush cahed queries cfobjectcache action="">
To Flush cached pages cfcache action="">
Ketan Patel

 -Original Message-
 From: Jon Block [mailto:[EMAIL PROTECTED]
 Sent: Thursday, January 22, 2004 4:14 PM
 To: CF-Talk
 Subject: How do you clear cache in CFMX?

 I keep the trusted cache setting turned on most of the time. Sometimes I
 come out with updates that need to go online. It seems like when I turn
the
 cache off and even set the memory size to zero, and then I turn the
trusted
 cache back on and put the memory back to 50, the changes I've made
to
 source code does not update.

 What do I need to do???

 Thanks,
 Jon
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: How do you clear cache in CFMX?

2004-01-22 Thread Jon Block
Dave,

I've got thousands of source code files and there may be hundreds of files
to be updated there is no way that I can think of to reliably request
the files to be updated. What should I do? It was easy in CF5.

Jon
-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 22, 2004 4:28 PM
To: CF-Talk
Subject: RE: How do you clear cache in CFMX?

 I keep the trusted cache setting turned on most of the time.
 Sometimes I come out with updates that need to go online. It
 seems like when I turn the cache off and even set the memory
 size to zero, and then I turn the trusted cache back on and
 put the memory back to 50, the changes I've made to source
 code does not update.

 What do I need to do???

You need to disable trusted cache, run the changed page(s), then reenable
trusted cache.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Suggestion needed - UDF for converting HTML to CRLF formatted plain text?

2003-12-18 Thread Jon Block
Here's a question... I'm working on a database where the user may store
content with HTML p tags and some br tags too. I want the abilty to send
this content in a plain text mail message and still have it look okay. I
think I would need a UDF to not only strip out the p/p and br tags,
but to add the appropriate CRLF's.

Anybody have any suggestions for me?
Thanks,
Jon
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: CF MX and speed issues

2003-12-18 Thread Jon Block
Try turning on trusted cache in your cfmx admin. For me, that makes the
biggest difference in performance since the files live on a mapped drive,
which is slow.
-Original Message-
From: Robert Everland III [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 18, 2003 10:06 AM
To: CF-Talk
Subject: CF MX and speed issues

Ok I am running into a brick wall here and maybe some of you have some
experience with this. We have one server that is a quad Xeon processor box
with 2 GB of ram and this runs CFMX 6.1 perfectly. On the other hand I have
a 1.5 ghz single processor box with 1GB of ram that runs CFMX 6.1 horribly.
What would cause there to be such a lag on a decent machine? It's a brand
new box, going to be the dv box. Everything has just been installed from
scratch. Are there any CF optimizations I can do to get the speed up there?
Any script to precompile the templates? Any help would be appreciated.

Bob
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Suggestion needed - UDF for converting HTML to CRLF formatted plain text?

2003-12-18 Thread Jon Block
I wish someone had a UDF to do it for me... my UDF's won't be as good as a
parser someone has worked on that undestands paired P tags and br tags
and can clean up whats left after the replacements so that there is
attractive paragraphs left over. Remember that raw HTML doesn't care about
whitesapce.

Thanks,
Jon
-Original Message-
From: Tom Kitta [mailto:[EMAIL PROTECTED]
Sent: Friday, January 02, 2004 1:52 PM
To: CF-Talk
Subject: Re: Suggestion needed - UDF for converting HTML to CRLF formatted
plain text?

On CFMX you can use this regular _expression_ to strip all tags:
REReplaceNoCase(your_string,(.+?),,ALL).

TK
 - Original Message -
 From: Joe Eugene
 To: CF-Talk
 Sent: Thursday, December 18, 2003 1:38 PM
 Subject: Re: Suggestion needed - UDF for converting HTML to CRLF
formatted plain text?

 You can pass the text into the UDF and Search  Replace all the
necessary characrter and count
 the no of characters and insert \n or \r where its required.

 HTH

 Joe Eugene
- Original Message -
From: Jon Block
To: CF-Talk
Sent: Thursday, December 18, 2003 10:11 AM
Subject: Suggestion needed - UDF for converting HTML to CRLF formatted
plain text?

Here's a question... I'm working on a database where the user may
store
content with HTML p tags and some br tags too. I want the abilty
to send
this content in a plain text mail message and still have it look okay.
I
think I would need a UDF to not only strip out the p/p and br
tags,
but to add the appropriate CRLF's.

Anybody have any suggestions for me?
Thanks,
Jon
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




CFMX Web Service Client - Complex Objects Hash Tables?

2003-12-09 Thread Jon Block
I'm not the developer working on this but one of my coworkers is having
trouble getting a handle on how to deal with complex objects from some web
service he's trying to use. Apparently the web service returns a complex
object of type hash table. Does anybody have any information on how to
consume such a web service with CFMX that you can send to me?

Thanks...
Jon
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Whats the easiest way to calculate response times of all objects on a web page?

2003-12-08 Thread Jon Block
I'm testing a page that has some _javascript_s which pull various objects from
several servers. I know one of them is slow but I'm looking to find the
easiest way to request a URL and get a spreadsheet with graphs or something
showing me what GET requests are taking the longest amount of time. Remember
there are _javascript_s at work so it probably needs to work in conjunction
with an IE instance. Anybody know of any good tools I can use? My buddy who
works on a Mac showed me a mac screen which does exactly that but I'm
working on a PC. Aside from using a Mac, what can I get for windows?

Thanks,
Jon
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Solved! ... (I think I found a CFMX bug!) - RE: CFMX 6.1 windows problem... This is so simple... why doesn't it work?

2003-11-25 Thread Jon Block
I figured out the problem I was having... it turns out it had to do with one
of the field's in my recordset that was generated with CFQUERY. One of the
fields was called URL because it holds the URL of a web page that needs to
get used on the front end.

The following code fails in CFMX. Looking at it, I can't think of a reason
why this code would fail. Clearly, this code is not useful but it shouldn't
bomb.
---
cfquery name=bling datasource=hooha
	select 'http://neverlandranch.foo' as URL
/cfquery
cfoutput query=bling
	#urldecode(michael jackson)#
/cfoutput
---
-Jon

-Original Message-
From: Jon Block [mailto:[EMAIL PROTECTED]
Sent: Friday, November 21, 2003 11:59 AM
To: CF-Talk
Subject: CFMX 6.1 windows problem... This is so simple... why doesn't it
work?

When I run this page
---
cfquery datasource=bling name=getRec
select .. (bla bla foo)
/cfquery

cfoutput query=getRec
#urlDecode('whytheheckdoesthisthowanerror')#
/cfoutput
---
I get ...
---
Error casting an object of type to an incompatible type. This usually
indicates a programming error in Java, although it could also mean you have
tried to use a foreign object in a different way than it was designed.

The error occurred in X:\x\editRecord1.cfm: line 27
Called from X:\x\x.cfm: line 33
Called from X:\x\xx.cfm: line 93
Called from X:\XX.cfm: line 94
---
Please help! (I watered down the query and the file names just to show you
the root of the problem)

Thanks,
Jon


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Solved! ... (I think I found a CFMX bug!) - RE: CFMX 6.1 wind ows problem... This is so simple... why doesn't it work?

2003-11-25 Thread Jon Block
Hi Dave,

Yes I realize that but I'm uprgrading code from CF5 to CFMX and I'm looking
for broken stuff. This worked in CF5. Whats interesting is that even though
I'm not attempting to use the field titled URL, it still bombs. This just
seems like a bug to me. I didn't create a variable titled URL... I created a
recordset named bling. This means that any projects which access views and
stored procedures which return a URL field will break. Thats too bad.

Gracias!

 -Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 25, 2003 10:12 AM
To: CF-Talk
Subject: RE: Solved! ... (I think I found a CFMX bug!) - RE: CFMX 6.1 wind
ows problem... This is so simple... why doesn't it work?

 I figured out the problem I was having... it turns out it had
 to do with one of the field's in my recordset that was generated
 with CFQUERY. One of the fields was called URL because it
 holds the URL of a web page that needs to get used on the front
 end.

 The following code fails in CFMX. Looking at it, I can't think
 of a reason why this code would fail. Clearly, this code is not
 useful but it shouldn't bomb.
 ---
 cfquery name=bling datasource=hooha
 select 'http://neverlandranch.foo' as URL
 /cfquery
 cfoutput query=bling
 #urldecode(michael jackson)#
 /cfoutput
 ---

URL is a reserved word in CFMX, as it refers to a variable (the URL
scope). It's always a really bad idea to use words in programs when those
words have any significance within that programming language, even if the
language allows it.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Clearing Trusted Cache in CF 5

2003-11-21 Thread Jon Block
Hey guys, I've got a really nifty way of clearing the cache out of all of my
servers in my administrative screens... Its written in fusebox 4 I'll see if
I can email the code as an attachment... When I deploy changes, I can just
click a single button that drop the cache from all servers... heres what
it looks like
---
F5  Trusted Cache Status
What should the timeout be when querying the machines for availability?

MachineTrusted CacheCache SizeF5 FileAction
CF1on40on[turn cache off][flush cache][disable
cfdbtest]
CF2on40on[turn cache off][flush cache][disable
cfdbtest]
CF3on40on[turn cache off][flush cache][disable
cfdbtest]
CF4on40on[turn cache off][flush cache][disable
cfdbtest]
CF5on40on[turn cache off][flush cache][disable
cfdbtest]
CF6on40on[turn cache off][flush cache][disable
cfdbtest]

[refresh this page] [flush cache from all servers]

-Original Message-
From: Lofback, Chris [mailto:[EMAIL PROTECTED]
Sent: Friday, November 21, 2003 9:23 AM
To: CF-Talk
Subject: RE: Clearing Trusted Cache in CF 5

Really?I thought this was a common recommendation for performance
tweaking...

Chris Lofback
Web Administrator
Ceridian Benefits Services
3201 34th Street S.
St. Petersburg, FL 33711
727-395-8881

-Original Message-
From: Doug White [mailto:[EMAIL PROTECTED]
Sent: Friday, November 21, 2003 9:14 AM
To: CF-Talk
Subject: Re: Clearing Trusted Cache in CF 5

On a production server with frequent changes, it is best that you turn off
trusted cache and leave it off.

==
Stop spam on your domain, use our gateway!
For hosting solutions http://www.clickdoug.com
Featuring Win2003 Enterprise, RedHat Linux, CFMX 6.1 and PHP
==
If you are not satisfied with my service, my job isn't done!

- Original Message -
From: Lofback, Chris [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Friday, November 21, 2003 7:55 AM
Subject: Clearing Trusted Cache in CF 5

| Does disabling and then reenabling the Trusted Cache option in CF 5
clear the
template cache?If not, how can I make CF refresh the entire cache?Does
it
require a restart?
|
| Thanks,
| Chris
|


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




  1   2   >