Hello,
I have this call:
cfset APPLICATION.objects.db =
CreateObject('component','components.db').init(dsn_users='users',dsn_guestbook=guestbook,dsn_irama=irama,maxStringLength=25)
This is the method definition:
cffunction name=init access=public output=no returntype=any
cfargument
Try putting cfset THIS.DSN = StructNew() before the other variable
assignments.
On Sun, Apr 20, 2008 at 5:14 PM, marc -- [EMAIL PROTECTED] wrote:
Hello,
I have this call:
cfset APPLICATION.objects.db =
I think one requirement for session replication is to turn on J2EE
sessions - do you have that on?
On Sat, April 19, 2008 13:30, WebSite CFtalk wrote:
Hello,
I'm struggling with a cluster setup. (IIS6/CF8, 2 servers with 2
instances each)
The problem is session replication - tons of errors
If that was the problem an error would be thrown at the line where
THIS.DSN.USERS is set... Anyway, I tried it and it's not making a difference.
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
If that was the problem an error would be thrown at the line where
THIS.DSN.USERS is set... Anyway, I tried it and it's not making a difference.
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
I'm having a problem with charts not displaying in IE and I saw there is a
hotfix.
Has anyone here had experience of using this hotfix? Did you have any side
effects?
TIA, Jenny
~|
Adobe® ColdFusion® 8 software 8 is the most
Did you reset the Application scope afterwards?
On Sun, Apr 20, 2008 at 7:23 PM, marc -- [EMAIL PROTECTED] wrote:
If that was the problem an error would be thrown at the line where
THIS.DSN.USERS is set... Anyway, I tried it and it's not making a difference.
You also need to name your instances uniquely. Even if you just copied
the ear/war file, the instance names in the Enterprise Admin (JRun
admin) cannot match. Just another thing to check.
Matthew Williams
Geodesic GraFX
www.geodesicgrafx.com/blog
Oops, sorry for the doubleposting...
I thought I'd add the line that produces the actual error:
cffunction name=getRequests access=public returntype=struct
cfargument name=orderby required=false default=dateaccess
cfargument name=orderdir required=false default=DESC
cfquery name=qLog datasource=#VARIABLES.dsn.users#
That says, VARIABLES.dsn.users, not THIS.dsn.users correct?
They are two different scopes. The VARIABLES scope is private to the
component, the this scope is public. Chances are you want to set everything
in the VARIABLES scope rather than
Ok, that was the problem!
Just before where I do a call to the function in the cfc I did a cfinvoke and
called on the resultvar of that operation. The init() method had not been
invoked.
I did this because Godaddy is not supporting Createobject() so I had to rewrite
parts of the app and
marc,
I always init() my cfc's like this:
cffunction name=init access=public returntype=someDAO output=false
hint=Returns an instance of the CFC initialized with the correct
settings.
cfargument name=dsn
cfset variables.dsn = arguments.dsn
cfreturn this
/cffunction
VARIABLES.dsn
Yes,
It's on,
I've been through every setting on the servers that I can think of - and
everything I've found on different blogs.
Have also tried to tweak TCP settings as described on some forums:
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/c
we have unique ports per server (that is port 8301 8302 is used on two
server), but we are having issues adding a third server to the cluster - I
too would be interested in hearing a authoritative view on this question.
On Sun, Apr 20, 2008 at 1:30 AM, WebSite CFtalk [EMAIL PROTECTED] wrote:
All,
To see the cfdump, first go to ...
http://209.41.164.253/store_finder/application/zip.cfm
or see cfdump below
I need to pass the zipcodes info from a cfc to another query that looks up
stores that contain these
zip codes. I need multiple value returned from the CFC that creates this
I need to pass the zipcodes info from a cfc to another query that looks up
stores that contain these
zip codes. I need multiple value returned from the CFC that creates this
result. How do I do this?
When I try to return the cfc values for zip I get a single zip code. How
do I get all the
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Sunday, April 20, 2008 11:33 AM
To: CF-Talk
Subject: Need to pass multiple value from a CFC - stuck
All,
To see the cfdump, first go to ...
http://209.41.164.253/store_finder/application/zip.cfm
or see
Is this an issue with FireBug or FireFox?
Rey...
Good question. I tend to think on the FireBug side (disabling it everything
works fine) but can't nail it down yet. Will try to find FireFox related forum
for a solution as well. Thks.
Happy Saturday!
I created an SSIS package and deployed it to my SQL Server, but what I am
trying to figure out is how to trigger it using ColdFusion. Do I need to
create an SP or a trigger to do this? I know in the past with DTS packages
we would use the CFOBJECT tag to invoke it.
Thanks,
Bruce
You should be able to run it using CFEXECUTE to run an app called DTEXEC.exe.
Check out the docs here:
http://msdn2.microsoft.com/en-us/library/ms162810.aspx
--Bob
Happy Saturday!
I created an SSIS package and deployed it to my SQL Server, but what I am
trying to figure out is how to trigger
Thanks Bob.
Bruce
On Sun, Apr 20, 2008 at 10:25 AM, Bob Clingan wrote:
You should be able to run it using CFEXECUTE to run an app called
DTEXEC.exe. Check out the docs here:
http://msdn2.microsoft.com/en-us/library/ms162810.aspx
--Bob
I've been having trouble sending opt-in posts to a local university. They cite
that each post on my website results in 250 unique smtp sessions to their mail
server, and that they'd prefer one session per post. This is a reasonable
request, and would probably help with Yahoo and AOL, as well as
I am trying to figure out how to remove all characters from a string besides
numbers, letters and spaces.
Can anyone point me in the right direction.
Thanks in advance for any help.
~|
Adobe® ColdFusion® 8 software 8 is the
ReReplace() would work.
-Mike Chabot
On Sun, Apr 20, 2008 at 4:57 PM, Steve Sequenzia [EMAIL PROTECTED] wrote:
I am trying to figure out how to remove all characters from a string besides
numbers, letters and spaces.
Can anyone point me in the right direction.
Thanks in advance for any
The regex to use would look like this [A-Za-z0-9 ]
-Mike Chabot
On Sun, Apr 20, 2008 at 5:17 PM, Mike Chabot [EMAIL PROTECTED] wrote:
ReReplace() would work.
-Mike Chabot
On Sun, Apr 20, 2008 at 4:57 PM, Steve Sequenzia [EMAIL PROTECTED] wrote:
I am trying to figure out how to remove all
rereplace(str, '[^\w ]', '', 'all')
-or-
rereplace(str, '[^a-zA-Z0-9 ]', '', 'all')
-or-
rereplace(str, '[^[:alnum:] ]', '', 'all')
..:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
http://cf4em.com
-Original Message-
From: Steve Sequenzia [mailto:[EMAIL PROTECTED]
Thanks for the help. I am trying to do it like this:
cfset d2 = rereplace(lcase(d1) , '[A-Za-z0-9 ]', '','all') /
but (understandably) it is doing the reverse of what I want. It is replacing
all the numbers and letters. How do I change it so it only picks characters
that are not numbers and
Got it now.
Thanks guys for the help.
I am trying to figure out how to remove all characters from a string
besides numbers, letters and spaces.
Can anyone point me in the right direction.
Thanks in advance for any help.
Actually that regex says to replace all of the characters that the poster
wants to keep. It should be [^A-Za-z0-9 ]
or one of the others that I posted
..:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
http://cf4em.com
-Original Message-
From: Mike Chabot
29 matches
Mail list logo