Though it is not directly related to the problem mentioned here, there is an
interesting post by Simon on cflock
http://www.horwith.com/index.cfm/2008/4/28/cflock-explained
~|
Adobe® ColdFusion® 8 software 8 is the most
Hi,
I have a similar combination which works fine for me.
What are you doing in the cfc exactly?
If you can give me the entire repro case it will be easier to fix the issue.
Thanks,
Bhakti
From: Raymond Camden [mailto:[EMAIL PROTECTED]
Sent: Wed 5/14/2008
I am querying a text file and getting some annoying behaviour, when I
have a field containing the value 692619037803123 for example it is
reading it as a float value and then converting it into
6.92619037803E+013 for storage in my MSSQL database as a varchar. I
need it to be a varchar because
Hi,
Setup - Win2k server, IIS 5 CFMX 7
Maybe someone can help shed some light on a frustrating problem with CF i have,
the windows services (CFMX AS) keep randomly stopping. I've deleted one of the
instances and recreated a new one which seemed to stabilize that particular
windows service
Anyone know if CFGrid in CF8 is 508 compliant or not?
-Phi
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k
Archive:
Its not. There are no wai-roles present which means that while it
definitely isn't 508 compliant now because of the javascript and inability
to use it without a mouse, that even with the 508 refresh that is coming up,
it still isn't compatible.
The only grid that I know that will be compatible
I'm running multiple instances of CF on my Mac with Apache and haven't been
able to successfully use the line debugger. I can get all the tests to pass
and the debugger even starts but when I set a break point and try to run a
page the debugger doesn't show me anything.
I have several virtual
Myself and two of my coworkers are going to be at Webmaniacs next week. I'm
just wondering if any of you are planning on attending.
Andy Matthews
Senior ColdFusion Developer
Office: 615.627.9747
Fax: 615.467.6249
www.dealerskins.com
I don't have the code right now. I do know it was hitting a CFC that
returned a query object. Can you perhaps post your code for now, and
later on I'll compare to mine?
On Wed, May 14, 2008 at 2:21 AM, Bhakti Pingale [EMAIL PROTECTED] wrote:
Hi,
I have a similar combination which works fine for
Hi Ben,
Yes, you do need to use separate jvm.config files for debugging to work
on the CF instances, and start them from command line as:
jrun -config path_to_jvm_config -start server_name
If you launch a server instance from CF admin, it will use one
jvm.config (user specified). But if you
Recently, someone has posted how to check image sizes using java in
CF. I have hundreds of images to check on one page where the images
are entered by users. On the code that was posted, a java object is
created and then a pict is assigned to it. It would seem that since
I am doing lots
Myself and two of my coworkers are going to be at Webmaniacs
next week. I'm just wondering if any of you are planning on
attending.
I'll be there, of course.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
Fig Leaf Training: Adobe/Google/Paperthin Certified Partners
Recently, someone has posted how to check image sizes using java in CF.
This was not posted by me, but it was in response to my query. Works
great. My thanks to the person who first posted it.
!--- function to get the properties of the image file ---
cfscript
function
I know some time ago I found a table that matched up hot fixes with the code
that is returned from issuing jrun -info.
Can anyone point me to it?
thanks!
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic
Wow... that looks eerily familiar to this...
/*
* Returns image height, width and file size (kb, kB, mB)
*
* @param imgfile Absolute path to a valid image file
(Required)
* @param appname Application name. (Required)
* @return Returns a struct.
*
Russ wrote:
Basically I'd like to have two IIS servers each using a separate CF
instance, and have a software load balancer distribute the requests to each
(maintaining sticky sessions), and if one instance stops responding (due to
failure or high load), force requests onto the available
Jason Durham wrote:
I agree with your comment about focusing on the application over the
protocol. Thanks for setting me straight.
We are not using IMF and the message tracking center returns 'The
tracking db on is not available or the message has left the
Exchange Organization'.
Ok, so I created a new jvm.config file named jvm_js.config I added
-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5006 to the
config file, started up CF via command line pointing to this new config file
and changed the port in the CF Admin to 5006.
I now get this error in
If set_size needs a reference to the image object, return the image object
from init_image and then pass it to the set_size function.
Adrian
http://www.adrianlynch.co.uk/
-Original Message-
From: Daniel Kessler [mailto:[EMAIL PROTECTED]
Sent: 14 May 2008 15:18
To: CF-Talk
Subject: image
I'm going to be there - speaking.
On Wed, May 14, 2008 at 9:29 AM, Dave Watts [EMAIL PROTECTED] wrote:
Myself and two of my coworkers are going to be at Webmaniacs
next week. I'm just wondering if any of you are planning on
attending.
I'll be there, of course.
Dave Watts, CTO, Fig Leaf
Great. I'm really looking forward to this conf. It looks to be a good deal.
-Original Message-
From: Raymond Camden [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 14, 2008 10:05 AM
To: CF-Talk
Subject: Re: Anyone going to Webmaniacs next week?
I'm going to be there - speaking.
On Wed,
The port number you specify in the admin is for the JVM. The JVM listens
at this port for debugger command from debugger server. The port number
that you can specify in Java JVM options in CF Admin using
-DDEBUGGER_SERVER_PORT is for the debugger server. This is the port
number at which debugger
I'm not sure how it was fixed, but it's working properly now. I *may*
have been because I was connecting to the public interface on Exchange
and didn't have my gateway's IP address allowed to relay. However, that
doesn't explain why I could relay to a single recipient but not multiple
Thanks for the help Dipanwita. It works now!.
Ben
On Wed, May 14, 2008 at 11:21 AM, Dipanwita Sarkar [EMAIL PROTECTED]
wrote:
The port number you specify in the admin is for the JVM. The JVM listens
at this port for debugger command from debugger server. The port number
that you can specify
-Original Message-
From: Nate Willard [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 14, 2008 1:47 AM
To: CF-Talk
Subject: Re: DateCompare or Diff? To determine if the Current Date is
the Weekend or a Weekday
Dave James.
This is for a time tracker tool, so I would like the
I am going. Very excited as it is my first CF conference.
Myself and two of my coworkers are going to be at Webmaniacs
next week. I'm just wondering if any of you are planning on
attending.
I'll be there, of course.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
Fig Leaf
I'm going to. I'm doing a session on using SQLite in AIR (HTML and Javascript.)
Terrence Ryan
I.T. Director
Wharton Computing and Information Technology
E-mail: [EMAIL PROTECTED]
-Original Message-
From: Michael Brennan-White [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 14,
I'm creating an ER Diagram for a legacy database here.
I have a serious of tables that are different versions of the same
data. One is a 'Raw' copy of the current data, i.e. what the exact data
as it was received and input into the system. Another is the live data
after the raw data has been
Oooh...
Very cool. I'll bet I might have your session.
-Original Message-
From: Ryan, Terrence [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 14, 2008 11:16 AM
To: CF-Talk
Subject: RE: Anyone going to Webmaniacs next week?
I'm going to. I'm doing a session on using SQLite in AIR
These tables are not a child-parent relationship. They are
basically the same data with some variations of fields as
time goes on. Is there an ER standard to express this type
of relationship?
No, because there is no relationship between them, as relationships are
defined within a
Andy Matthews wrote:
Myself and two of my coworkers are going to be at Webmaniacs next week. I'm
just wondering if any of you are planning on attending.
If you take a look at the speaker list you might recognize a name or two.
Jochem
Dave Watts wrote:
These tables are not a child-parent relationship. They are
basically the same data with some variations of fields as
time goes on. Is there an ER standard to express this type
of relationship?
No, because there is no relationship between them, as relationships are
I keep getting this error that has me stumped. I have code that resembles
this on a page:
cfif Not IsDefined(application.cfcs.google)
cfobject type=component name=application.cfcs.google
component=path.cfcs.Google
/cfif
cftry
cfinvoke component=#application.cfcs.google#
Do you have a suggestion how one could document this type of
data model? I've since learned I may be making more of an 'data
model|diagram' rather then an entity relationship diagram even though
that is what Visio wants to call it.
I am trying to create documentation that shows how one
I am going Frameworks and Test Unit shopping.
since I'm footing the bill, I am staying at the Harrington instead of the
conference hotel. Much cheaper. Hopefully it will be good. It had decent
reviews from tripadvisor.
Myself and two of my coworkers are going to be at Webmaniacs next
It may be that CF isn't making the structure right. Try adding this first:
cfif not structKeyExists(application, cfcs)
cfset application.cfcs = structNew()
/cfif
On Wed, May 14, 2008 at 11:33 AM, Rob Sherman
[EMAIL PROTECTED] wrote:
I keep getting this error that has me stumped. I have code
boy was I proud when I built a function for
determining leap year to CF
Jim I am still waiting on CF_GimmieABeer, CF_WashCar and isWasteOfTime()
;)
On Wed, May 14, 2008 at 11:55 AM, Jim Davis [EMAIL PROTECTED]
wrote:
-Original Message-
From: Nate Willard [mailto:[EMAIL PROTECTED]
The biggest problem with this approach is that it offers nothing in the way
of actual enforcement of data. It takes about 2 seconds to bypass that kind
of validation either by frame hacks or form substitution.
As long as you still implement the server-side aspect, the choices you have
to notify
Thank you everyone - it's working now.
I have a related question, though it's not about referencing. It seems that
now that I'm going through java, the images often can't be read because their
title contains odd characters - characters that are fine in CF, for example
joe_smiling (small).jpg.
Ian Skinner wrote:
Dave Watts wrote:
These tables are not a child-parent relationship. They are
basically the same data with some variations of fields as
time goes on. Is there an ER standard to express this type
of relationship?
No, because there is no relationship between them,
Why not use a real loadbalancer - either hardware or software like
LVS?
Because sometimes you should give people the solution they ask for
instead of the solution you would build for yourself.
===
Then why did you suggest NLB + JRun/JBoss cluster when
The below is querying a SQL Server VIEW.
I'm trying to return distinct atty_id, but I'm still getting some
records returned multiple times.
SELECT DISTINCT(atty_id),
first_name,
last_name,
COALESCE(atty_rank, ) as atty_rank
FROM get_attypa
WHERE isACTIVE = 'y'
ORDER
I should add to this - the RANK table has a many to one relationship
with the ATTY table - an attorney may be ranked multiple times,
depending on what area of law they practice ... high rank for one area
of law, low for another.
SELECT DISTINCT(atty_id),
first_name,
A safe bet would be rereplace [^a-zA-Z0-9-_]
..:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
http://cf4em.com
-Original Message-
From: daniel kessler [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 14, 2008 1:25 PM
To: CF-Talk
Subject: Re: image size setup
Thank you
DISTINCT works across all the columns, so if first names are different
you'll get two rows back for a given atty_id.
Adrian
-Original Message-
From: Les Mizzell [mailto:[EMAIL PROTECTED]
Sent: 14 May 2008 18:57
To: CF-Talk
Subject: Distinct on just ONE column in a CFQUERY
The below is
Announcement: Eric Meyer to give Key Note at Spring br / Conference 2008
===
Spring br / Conference 2008
Tuesday, June 3rd
Baker University Center - Athens, OH
Produced by the Southeast Ohio Creative Adobe Technologies User Group [
SEOCATS] and Ohio University's
A safe bet would be rereplace [^a-zA-Z0-9-_]
Thank you very much.
I want to just implement it without getting it, but I can't. What would that
clear out? My guess is that it only allows a-z (and caps) and 0 to 9 (and
maybe dash).
I do appreciate the help.
Adrian Lynch wrote:
DISTINCT works across all the columns, so if first names are different
you'll get two rows back for a given atty_id.
OK - how to force only *one* unique ID per returned results?
~|
Adobe® ColdFusion® 8
Sorry, yes... it removes anything that isn't a letter, number, underscore or
hyphen
You could add dots to it as well if you want to run it against the whole
name including the extenstion...
[^a-zA-Z0-9-_\.]
So this:
Rereplace('joe_smiling (small).jpg', '[^a-zA-Z0-9-_\.]', '_', 'all')
Would
Sorry, yes... it removes anything that isn't a letter, number, underscore or
hyphen
Very nice = thank you very much
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
The biggest problem with this approach is that it offers nothing in the way
of actual enforcement of data. It takes about 2 seconds to bypass that kind
of validation either by frame hacks or form substitution.
Ok, for frame hacks, it shouldn't be applicable to a page that does not frame.
On form
If you're trying to avoid doing a group (loop) from the cfoutput tag
to create that atty_rank, in your view, you could create a table
variable (with SQL Server), and populate with unique atty info and
rank list (your coalesce column), then return from that table
variable. Probably faster on the
I recently upgraded to CF8 and I noticed when I dump a Query there is something
called SQLPARAMETERS and it display an Array.
What is this?
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
I recently upgraded to CF8 and I noticed when I dump a Query
there is something called SQLPARAMETERS and it display an Array.
What is this?
If I recall correctly, it's your bound parameters, which are created when
you use the CFQUERYPARAM tag.
Dave Watts, CTO, Fig Leaf Software
Don, As Kevin eluded to, building a rock-solid server side validation should
always be the first step. I typically reserve ajax/js validation as input
helpers for just enhancing the form's data entry user experience- such as
autosuggest, auto-fill drop downs, etc. (I always think that the user
DISTINCT works across all the columns, so if first names
are different you'll get two rows back for a given atty_id.
OK - how to force only *one* unique ID per returned results?
You can't. How would it show the additional results?
You can, however, use the GROUP attribute of the CFOUTPUT
If you don't care about the case where first and last names differ, I'm not
sure why you're including them in the query, but you can try this:
SELECT atty_id,
MAX(first_name) AS first_name,
MAX(last_name) AS last_name,
MIN(COALESCE(atty_rank, )) AS atty_rank
FROM
Do you have the services setup to restart on failure or anything else
specific to your setup?
!k
-Original Message-
From: Steve Avey [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 14, 2008 6:46 AM
To: CF-Talk
Subject: CFMX AS windows services
Hi,
Setup - Win2k server, IIS 5 CFMX 7
I would like to leave my Query open to take in any number of where statements.
IE:
cfset arguments.clause = JobID = 1
cfquery name=getJobs datasource=#application.dsn#
SELECT *
FROM Jobs
WHERE 1=1
cfif len(arguments.clause)AND #arguments.clause#/cfif
/cfquery
Of course the problem with
cfqueryparam the variables in the where statement ???
-Original Message-
From: Chad Gray [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 14, 2008 1:45 PM
To: CF-Talk
Subject: any ideas
I would like to leave my Query open to take in any number of where
statements.
IE:
cfset
Also.. if you are using SQL server...
Create a user in SQL server with the least amount of rights. NEVER USE THE
SA ACCOUNT!
Allow only select.
Deny delete, insert, update if it is not needed. (Technically, you should
never delete a record. Just mark it no show or something of that nature.)
(Technically, you should never delete a record. Just mark it
no show or something of that nature.)
That's not true. There are cases where you want to soft delete records,
and (many other) cases where you want to actually delete the record.
Dave Watts, CTO, Fig Leaf Software
Jochem van Dieten wrote:
If you want something better you should start with the data and put it
in a better schema:
That is the purpose of this documentation. I'm trying to document what
is so that I can start creating a better design.
You are effectively throwing open the door to any hacker, then asking
how to stop them from coming in and stealing your stereo. :)
Why do you want to do this? Perhaps there is a better way?
On Wed, May 14, 2008 at 1:44 PM, Chad Gray [EMAIL PROTECTED] wrote:
I would like to leave my Query open
That is the purpose of this documentation. I'm trying to
document what is so that I can start creating a better design.
Well, what is is essentially this (warning: ASCII art):
| table 1 | | table 2 | | table 3 |
|__|
I have done this with a function for type that keeps my cfqueryparams
intact... Instead of building the where clause as a string (usually a kind
of a tricky proposition and not a great idea) put your logic inside the
cfquery and do something like this.
cfquery ...
SELECT
Anyone have a good way of doing this and keep safe from SQL injection?
Do you have any information at all about the field types/columns being
included? There are certainly ways to handle this if you just have something
like a string of words you want to search on or known phrases, such that you
Something like this maybe?
cfscript
dataObject[1][1] = myField; // field name
dataObject[1][2] = myValue; // value
dataObject[1][3] = myDataType // data type
/cfscript
cfloop from=1 to=#arrayLen(dataObject)# index=i
and #dataObject[i][1]# = cfqueryparam
Russ, I think Rick already basically answered the question of why he
isn't using something more advanced when he said I don't have a setup
that warrants having multiple physical servers and a hardware load
balancer. Even LVS would not only require him to use Linux, but have
an additional
This is all covered in the documentation by the way.
http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html
On Wed, May 14, 2008 at 2:55 PM, Chad Gray [EMAIL PROTECTED] wrote:
I recently upgraded to CF8 and I noticed when I dump a Query there is
something called SQLPARAMETERS and it display
After a reboot, JRUN grows to 600MB without even starting one of my
apps. When I do launch an app, my initial request is timing out (60
secs). The only application that I've worked on today has been renamed
and moved out of my web root. Also, the same code that I'm running on
my PC is running
Post your jvm.config file so we can see the start up args.
-mark
Mark A. Kruger, CFG, MCSE
(402) 408-3733 ext 105
www.cfwebtools.com
www.coldfusionmuse.com
www.necfug.com
-Original Message-
From: Jason Durham [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 14, 2008 5:32 PM
To:
So if money was not object, what would be the perfect set up for a
ColdFusion Environment?
Do other vendor's provide a better J2EE server that has better clustering
that JRun?
When it comes to connecting to the JRun (CF) cluster, does IIS work
differently than Apache?
(for clustering) is one
I'm using cfajaxproxy with cfc and js class call to process a form. The form's
hidden field wasn't passed on because the cfc's arguments list does not contain
it.
Does this tag's ajax part fail to recognize the hidden field within a form or
am I missing something?
Thanks.
Hi everyone,
Is it just me or does everyone agree that the CF-Talk digest email should NOT
repeat the subject names at the top of the email so that it's easy to skim
through to see if there is anything of interest? I like the way Google Groups
digest comes through where you just get the subject
post your js ad cfc fucntions.
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/
Don L wrote:
I'm using cfajaxproxy with cfc and js class call to process a form. The
form's hidden field wasn't passed on because the cfc's arguments list does
not contain it.
Does this tag's ajax part
AFAIK, this should be unchanged from the default settings. Thanks -J
# Arguments to VM
java.args=-server -Xmx512m -Dsun.io.useCanonCaches=false
-XX:MaxPermSize=192m -XX:+UseParallelGC
-Dcoldfusion.rootDir={application.home}/../
Yep... That's the default all right. Did you make any changes to the JVM
files - upgrade to a new version for example?
Mark A. Kruger, CFG, MCSE
(402) 408-3733 ext 105
www.cfwebtools.com
www.coldfusionmuse.com
www.necfug.com
-Original Message-
From: Jason Durham [mailto:[EMAIL
Any chance the JVM would update itself? I haven't intentionally altered
it. I uninstalled everything I could find with 'Java' in the name
before reinstalling CF for the second time. I believe there was JVM,
JDK and two updates.
-Original Message-
From: Mark Kruger [mailto:[EMAIL
Here is a link to the error I receive when trying to load the index.
The fusebox files haven't been altered except for a couple of variable
values.
http://www.durhamcons.com/error.htm
-Original Message-
From: Mark Kruger [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 14, 2008 8:34 PM
Any chance the JVM would update itself?
Not if you're using the one that comes with CF.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
Fig Leaf Training: Adobe/Google/Paperthin Certified Partners
http://training.figleaf.com/
WebManiacs 2008: the ultimate conference for CF/Flex/AIR
According to CFAdmin, I'm running 1.6.0_04.
-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 14, 2008 8:54 PM
To: CF-Talk
Subject: RE: JRun 600MB+ shortly after boot up
Any chance the JVM would update itself?
Not if you're using the one that comes
It might be a classic case of the Java 6 classlaoder bug. Try the 1.5_13 JVM.
On Thu, May 15, 2008 at 9:48 AM, Jason Durham [EMAIL PROTECTED] wrote:
Here is a link to the error I receive when trying to load the index.
The fusebox files haven't been altered except for a couple of variable
post your js ad cfc fucntions.
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/
Ok, problem resolved. My hidden field was using ID only, e.g.
input type=hidden id=magicID // the object and id thing got me now ...
instead, it should be input type=hidden id=magicID name=magicID for
I have tried 1.5_13 and 1.5_14 with the same results.
-Original Message-
From: James Holmes [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 14, 2008 9:11 PM
To: CF-Talk
Subject: Re: JRun 600MB+ shortly after boot up
It might be a classic case of the Java 6 classlaoder bug. Try the 1.5_13
85 matches
Mail list logo