Re: CF9 Air Server Manager

2010-04-21 Thread krishna reddy

If you see Duplicate Session exception in the errors view,I believe following 
could be the reason for flickering.

In Server Manager AIR application, when you register two ColdFusion server 
instances running on the same machine with same hostname, you might experience 
issues while fetching the settings from the server resulting in 
DuplicateSessionException on the server. This can happen even when you edit the 
host name to something else rather than removing and adding.

Workaround is to register different aliases to the same IP in the hosts file 
and associating each alias with one CF server instance when there are multiple 
instances running.
Eg: In the machine where Server Manager AIR application is running, add the 
multiple hostnames to the servers
Say on the machine  10.101.25.22 ,  3 ColdFusion instances are running and on 
the machine where Server Manager AIR application (say 10.28.272.28) add as 
follows in the hosts file 
10.101.25.22prod-1
10.101.25.22prod-2
10.101.25.22prod-3
And while registering the CF server instances use prod-1 for one instance, 
prod-2 for second  instance & prod-3 for 3rd instance as host names.
This resolves the issue. 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333081
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF9 Air Server Manager

2010-04-21 Thread krishna reddy

In the Errors view,if you see Duplicate session exception, please follow the 
following steps to fix.I believe that could be the case with you.

Issue:
In Server Manager AIR application, when you register two ColdFusion server 
instances running on the same machine with same hostname, you might experience 
issues while fetching the settings from the server resulting in 
DuplicateSessionException on the server.This also happens when try to edit the 
host name from current to some other name rather than removing and re-adding 
the server.

Workaround is to register different aliases to the same IP in the hosts file 
and associating each alias with one CF server instance when there are multiple 
instances running.
Eg: In the machine where Server Manager AIR application is running, add the 
multiple hostnames to the servers
Say on the machine  10.101.25.22 ,  3 ColdFusion instances are running and on 
the machine where Server Manager AIR application (say 10.28.272.28) add as 
follows in the hosts file 
10.101.25.22prod-1
10.101.25.22prod-2
10.101.25.22prod-3
And while registering the CF server instances use prod-1 for one instance, 
prod-2 for second  instance & prod-3 for 3rd instance as host names.
This resolves the issue. 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333080
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: DateAdd value different on different servers [spamtrap bayes][spamtrap heur]

2010-04-21 Thread Paul Hastings

On 4/22/2010 4:13 AM, Tom McNeer wrote:
> So - we're not dealing with time zones. We're simply creating date/time

no, you're *always* dealing with tz when it comes to cf datetimes. cf will 
always use the server's tz for all datetime operations. dump out the java epoch 
for both server's


javaEpoch=createDateTime(1970,1,1,0,0,0);
myDate=dateAdd('s',1271779666,javaEpoch);
writeoutput("#myDate# ::: #myDate.getTime()#"); 


are they the same?

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333079
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Scheduled task isn't running the item in the url

2010-04-21 Thread Dave Watts

> I have the following task (CF7).  The URL that it specifies is not being run. 
>  This is my first task so I assume I'm doing something
> wrong.  I run that url separately and it works fine.  I check my list of 
> scheduled tasks and my task shows up in that list and
> appears to be set up the way I expect.  However, it doesn't work.  What the 
> heck is wrong with it?
>
> ...
>
>         action="update"
>        task="facilities_daily_notification"
>        interval="600"
>        operation="httprequest"
>        startdate="#start_date#"
>        starttime="#start_time#"
>        
> url="http://sph.umd.edu/home/facilities_request/email/daily_notifcation.cfm";
>>

When you say you "run the URL separately" are you doing this from the
server console? If not, the server may not be able to resolve the
FQDN.

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

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our tr

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333078
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Where do i find CFGRID Code?

2010-04-21 Thread Dave Watts

> So thanks!

You're welcome!

> I guess what i need to do, is create a folder called CFIDE in the subdomain
> shard and put a copy of the classes and the form ajax scripts etc.      The
> HELM control panel doesn't have the functionality to create virtual
> directories, so to create those involves a support ticket.  I'd rather not
> do that if i can help it - so if each site or sub-site or virtual host has
> its own copy of the CFGRID in a folder called /CFIDE/classes, that should
> work, I hope.

Yes, that should work. I would prefer to create a virtual directory,
though, because if you have multiple copies of CFIDE in various
places, security patches that replace files in one will not replace
the copied files in another.

> There is no point in creating a mapping because unless I'm mistaken, CF
> Creates a mapping called CFIDE when it installs doesn't it?  So that will
> already be there.

CF's mappings aren't the same as your web server's virtual
directories. CF mappings only affect CF tags with a TEMPLATE attribute
(CFINCLUDE, CFMODULE, etc). For paths to resolve from the browser, you
need either a physical or virtual directory.

So, yes, there's no point in creating a mapping, but not for the
reason you think.

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

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or on

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333077
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Scheduled task isn't running the item in the url

2010-04-21 Thread Qing Xia

Logging is your friend. :-) Create a log file for your scheduled task.

Does this page sit in an application that requires authentication? If so,
make sure to specify the username and password.

On Wed, Apr 21, 2010 at 10:48 AM, daniel kessler  wrote:

>
> I have the following task (CF7).  The URL that it specifies is not being
> run.  This is my first task so I assume I'm doing something wrong.  I run
> that url separately and it works fine.  I check my list of scheduled tasks
> and my task shows up in that list and appears to be set up the way I expect.
>  However, it doesn't work.  What the heck is wrong with it?
>
>
> Help. . . please . . .
>
>
> 
> 
> 
>
>
> action="update"
>task="facilities_daily_notification"
>interval="600"
>operation="httprequest"
>startdate="#start_date#"
>starttime="#start_time#"
>url="
> http://sph.umd.edu/home/facilities_request/email/daily_notifcation.cfm";
> >
>
> 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333076
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: DateAdd value different on different servers

2010-04-21 Thread Jason Fisher

Wow.  Post back after you update.  I can't image that there's any real 
difference between 6.17 and 6.18, but if there is, I'll gladly update 
all of our servers NOW!  :)

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333075
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CfEclipse Slow Code Hinting

2010-04-21 Thread denstar

For CFE it's:

Preferences > CFEclipse > Editor : Insight Delay

And you can disable specific kinds of assist using:

Preferences > CFEclipse > Editor > Auto-insertion & closing: Suggest...

In case one of them gets in your way too much at the lower delay setting.

:den

-- 
Psychologically experienced consciousness is therefore no longer pure
consciousness; construed Objectively in this way, consciousness itself
becomes something transcendent, becomes an event in that spatial world
which appears, by virtue of consciousness, to be transcendent.
Edmund Husserl


On Wed, Apr 21, 2010 at 3:41 PM, Jason Fisher wrote:
>
> Window > Preferences
>
> ColdFusion > Editor Profiles > Editor > Code Assist
>
> There's a setting there called "Dealy Before Showing Code Assist(in
> milliseconds)
>
> 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333074
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: DateAdd value different on different servers

2010-04-21 Thread Tom McNeer

On Wed, Apr 21, 2010 at 5:32 PM, Jason Fisher  wrote:

>
> I'd say that earns a WTF.


I'd agree.


>  It would appear that one of the servers must
> be adjusting the original CreateDate(), but your output shows that it's
> just not happening that way.


And in the real world, the _one_ server that's different is actually
correct. By that I mean, in my application, the external devices (many of
them) are sending in the "seconds" value as a Unix epoch value. And the
_one_ server that's different is the one where the final date/time value
matches what the users are inputting on the external devices.


>  I always thought that the DateAdd() was a
> simple math function.


Me, too.


>  What are the differences (if any) in JVM and CF
> versions?
>

CF versions are the same:  9.0.0.251028 - Standard

One of the "wrong" servers is using the JVM installed by default with CF 9.
The other "wrong server is using 1.6.0_17.
The "right" server is using 1.6.0_18.

I'll update the JVM on one of the "wrong" servers in the morning and see
what that does.


-- 
Thanks,

Tom

Tom McNeer
MediumCool
http://www.mediumcool.com
1735 Johnson Road NE
Atlanta, GA 30306
404.589.0560


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333073
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CfEclipse Slow Code Hinting

2010-04-21 Thread Jason Fisher

Window > Preferences

ColdFusion > Editor Profiles > Editor > Code Assist

There's a setting there called "Dealy Before Showing Code Assist(in 
milliseconds)

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333072
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: DateAdd value different on different servers

2010-04-21 Thread Jason Fisher

I'd say that earns a WTF.  It would appear that one of the servers must 
be adjusting the original CreateDate(), but your output shows that it's 
just not happening that way.  I always thought that the DateAdd() was a 
simple math function.  What are the differences (if any) in JVM and CF 
versions?

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333071
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


CfEclipse Slow Code Hinting

2010-04-21 Thread Paul Alkema

Hi,

Does any know if there's any way to change how long it takes for cfEclipse
to provide code hinting? It's so slow.

 

Regards,

Paul



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333070
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: DateAdd value different on different servers

2010-04-21 Thread Tom McNeer

Thanks for the replies, but mainly they tell me that I've muddied the water.

Let me try to be clearer:

I shouldn't have even mentioned the Unix value, because that's not relevant.
Just forget that I'm getting a Unix value completely.

And I definitely should not have shown the time zones, because they
shouldn't be relevant.

So let me start over. Forget everything but the following:

First, I'm saying, "Create a date/time value for January 1, 1970."

myDate = createDate(1970,1,1)

That's going to result in an object that represents midnight on 1/1/1970.
Doesn't even matter that it's the epoch date.

Then I'm adding a number of seconds:

myDate2 = DateAdd('s',1271779666,myDate)

When these two values are dumped, two servers show the following:

{ts '1970-01-01 00:00:00'}

 {ts '2010-04-20 17:07:46'}

One server shows this:

{ts '1970-01-01 00:00:00'}

 {ts '2010-04-20 16:07:46'}
=

So - we're not dealing with time zones. We're simply creating date/time
values. Why does the result of the dateAdd function return different values?

That's the real issue. Sorry for being so confusing before.


-- 
Thanks,

Tom

Tom McNeer
MediumCool
http://www.mediumcool.com
1735 Johnson Road NE
Atlanta, GA 30306
404.589.0560


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333069
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: DateAdd value different on different servers

2010-04-21 Thread Judah McAuley

Two quick things:

1) those times aren't an hour off. EDT should be 4 hours off of UTC
(GMT) and you are showing it as 1 hour, so that is actually a
discrepancy of 3 hours.

2) Java uses its own date/time/timezone system that is independent of
the underlying OS. You can directly invoke the OS date bits in Java, I
believe, but it doesn't work that way by default. So if you got one
datetime from the OS (your Unix time value from the external device)
and one value from CF (which uses Java) and the two don't match up,
you might have the Java calendar settings messed up. Possibilities
include: old version of java with incorrect timezone information and
an incorrect Locale setting for Java.

Hope that helps your investigation.

Cheers,
Judah

On Wed, Apr 21, 2010 at 10:55 AM, Tom McNeer  wrote:
>
> There's a simple answer to this one; it's just beyond me.
>
> I have a routine that takes a Unix time value which is passed from an
> external device and creates a date/time object. A client complained that the
> time being generated was an hour off. He's right. But I can't figure out
> why.
>
> As a test, I ran the following code on three different servers, all running
> CF 9:
>
> -
>    
>    #dateFormat(myDate,'long')# -
> #timeformat(myDate,'long')#
> 
>
> The results:
>
> Server 1 - Dev server, Eastern Time Zone
> April 20, 2010 - 4:07:46 PM GMT
>
> Server 2 - Production server, Eastern Time Zone
> April 20, 2010 - 5:07:46 PM EDT
>
> Server 3 - Production server, Central Time Zone
> April 20, 2010 - 5:07:46 PM CDT
>
> So why are the latter two servers inserting time zone information, and why
> are they advancing the time an hour?
>
> --
> Thanks,
>
> Tom
>
> Tom McNeer
> MediumCool
> http://www.mediumcool.com
> 1735 Johnson Road NE
> Atlanta, GA 30306
> 404.589.0560
>
>
> 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333068
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: DateAdd value different on different servers

2010-04-21 Thread DURETTE, STEVEN J (ATTASIAIT)

Looks like one of the servers updated to DST and the others didn't.

Steve


-Original Message-
From: Tom McNeer [mailto:tmcn...@gmail.com] 
Sent: Wednesday, April 21, 2010 1:55 PM
To: cf-talk
Subject: DateAdd value different on different servers


There's a simple answer to this one; it's just beyond me.

I have a routine that takes a Unix time value which is passed from an
external device and creates a date/time object. A client complained that
the
time being generated was an hour off. He's right. But I can't figure out
why.

As a test, I ran the following code on three different servers, all
running
CF 9:

-

#dateFormat(myDate,'long')# -
#timeformat(myDate,'long')#


The results:

Server 1 - Dev server, Eastern Time Zone
April 20, 2010 - 4:07:46 PM GMT

Server 2 - Production server, Eastern Time Zone
April 20, 2010 - 5:07:46 PM EDT

Server 3 - Production server, Central Time Zone
April 20, 2010 - 5:07:46 PM CDT

So why are the latter two servers inserting time zone information, and
why
are they advancing the time an hour?

-- 
Thanks,

Tom

Tom McNeer
MediumCool
http://www.mediumcool.com
1735 Johnson Road NE
Atlanta, GA 30306
404.589.0560




~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333067
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Where do i find CFGRID Code?

2010-04-21 Thread Mike Kear

Thanks for you help, as always Dave.   I am always in admiration of your
patience and helpful attitude whenever anyone asks a question.   I dont
think we say thanks enough.

So thanks!

Anyway,   the structure is referred to in the HELM control panel of this
shared hosting as a subdomain.  I dont much care what it is really - it acts
like a subdomain whether it's called that or not, so that'll do me.
Shard.adcalpo behaves as though it's a domain of its own - the root
of that site is inside a folder at wwwroot/shard.

I guess what i need to do, is create a folder called CFIDE in the subdomain
shard and put a copy of the classes and the form ajax scripts etc.  The
HELM control panel doesn't have the functionality to create virtual
directories, so to create those involves a support ticket.  I'd rather not
do that if i can help it - so if each site or sub-site or virtual host has
its own copy of the CFGRID in a folder called /CFIDE/classes, that should
work, I hope. There is no point in creating a mapping because unless I'm
mistaken, CF Creates a mapping called CFIDE when it installs doesn't it?  So
that will already be there.

Cheers
Mike Kear
Windsor, NSW, Australia
Adobe Certified Advanced ColdFusion Developer
AFP Webworks
http://afpwebworks.com
ColdFusion 9 Enterprise, PHP, ASP, ASP.NET hosting from AUD$15/month



On Thu, Apr 22, 2010 at 3:38 AM, Dave Watts  wrote:

>
> > Can anyone tell me why this happens??   If i run a page in the root of a
> > site, the CFGRID works.  If i run the precise same file in the same
> relative
> > location of a subdomain of that site,   it doesnt. Can anyone see
> what
> > i've got wrong here?
>
> Well, first, a bit of clarification. shard.adcalpos.net is not a
> subdomain. adcalpos.net is a domain, and shard is a hostname (A
> record) within that domain.
>
> > If you go to the working link:   http://adcalpos.net/trygrid.cfm you'll
> see
> > it works, therefore the CFGRID applet has been installed ok,  then if you
> go
> > to the subdomain version of the exact same file at
> > http://shard.adcalpos.net/trygrid.cfm  you'll see now it cant find the
> > CFGRID applet.
> >
> > Any one see what i need to change in the subdomains to make CFGRID work?
>
> Each virtual host you have on your web server needs to have a virtual
> directory pointing to /CFIDE. If you visit the two links, and view
> source, you'll see something like this:
>
> type="application/x-java-applet;version=1.3"
>pluginspage="http://java.sun.com/j2se/1.3/jre/index.html";
>code="coldfusion.applets.CFGridApplet.class"
>archive="/CFIDE/classes/cfapplets.jar"
>mayscript="true"
>width="300"
>height="300"
>autowidth="false"
>griddata="1%02Les%02Mustafa%02%013%02Troy%02Heron%02"
>
>  
> griddescription="3%022%02300%02300%020%020%020%02%03%02%03%02%03%02%03%02%03%02S%020%02%03%02%03%02%03%02%03%02Y%02Y%02%03%02%03%02%03%02%03%02%03%02%03%02%03%02%03%02%03%02%03%02%03%02%03%02%03%02%03%02%03%02%03%02%03%02%03%02%03%02%03%02N%02insert%02delete%02SortAsc%02SortDesc%01EmployeeID%02Y%02N%02Employeeid%01GivenName%02Y%02N%02Givenname%01Surname%02Y%02N%02Surname"
>cf_form_name="Form1"
>cf_param_name="__CFGRID__Form1__employee_grid">
> Browser must support Java to view ColdFusion Java
> Applets
> 
>
> Note the archive path. That has to be a valid URL. This is a valid URL:
>
> http://adcalpos.net/CFIDE/classes/
>
> This is not (yet):
>
> http://shard.adcalpos.net/CFIDE/classes/
>
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
> http://training.figleaf.com/
>
> Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
> GSA Schedule, and provides the highest caliber vendor-authorized
> instruction at our training centers, online, or
>
> 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333066
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


DateAdd value different on different servers

2010-04-21 Thread Tom McNeer

There's a simple answer to this one; it's just beyond me.

I have a routine that takes a Unix time value which is passed from an
external device and creates a date/time object. A client complained that the
time being generated was an hour off. He's right. But I can't figure out
why.

As a test, I ran the following code on three different servers, all running
CF 9:

-

#dateFormat(myDate,'long')# -
#timeformat(myDate,'long')#


The results:

Server 1 - Dev server, Eastern Time Zone
April 20, 2010 - 4:07:46 PM GMT

Server 2 - Production server, Eastern Time Zone
April 20, 2010 - 5:07:46 PM EDT

Server 3 - Production server, Central Time Zone
April 20, 2010 - 5:07:46 PM CDT

So why are the latter two servers inserting time zone information, and why
are they advancing the time an hour?

-- 
Thanks,

Tom

Tom McNeer
MediumCool
http://www.mediumcool.com
1735 Johnson Road NE
Atlanta, GA 30306
404.589.0560


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333065
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Where do i find CFGRID Code?

2010-04-21 Thread Dan Blickensderfer

Mike,

Make sure you have the virtual directory "cfide" setup on your sub domain 
website.  That virtual directory needs to be pointing to your cfide 
directory of your server.


I've ran into that as well but just not cfgrid.  it was all cfide 
components.

Thanks,
Dan


- Original Message - 
From: "Mike Kear" 
To: "cf-talk" 
Sent: Wednesday, April 21, 2010 1:08 PM
Subject: Re: Where do i find CFGRID Code?


>
> Can anyone tell me why this happens??   If i run a page in the root of a
> site, the CFGRID works.  If i run the precise same file in the same 
> relative
> location of a subdomain of that site,   it doesnt. Can anyone see what
> i've got wrong here?
>
> Here is the relevant code:
> 
> 
> select EmployeeID, GivenName, Surname, Bundyno
> from dbo.tblEmployee
> 
>
> 
> 
>
> 
> 
>  value="#application.applicationname#"
> label="Test of the cfforms" validate="email" message="Checking the
> validation"/>
>
>
>
>
>
>
>
> 
>
> If you go to the working link:   http://adcalpos.net/trygrid.cfm you'll 
> see
> it works, therefore the CFGRID applet has been installed ok,  then if you 
> go
> to the subdomain version of the exact same file at
> http://shard.adcalpos.net/trygrid.cfm  you'll see now it cant find the
> CFGRID applet.
>
> Any one see what i need to change in the subdomains to make CFGRID work?
>
> Cheers
> Mike Kear
> Windsor, NSW, Australia
> Adobe Certified Advanced ColdFusion Developer
> AFP Webworks
> http://afpwebworks.com
> ColdFusion 9 Enterprise, PHP, ASP, ASP.NET hosting from AUD$15/month
>
> On Thu, Apr 22, 2010 at 2:18 AM, Dave Watts  wrote:
>
>>
>> > So here's my question:
>> >
>> > [A]  do you think the cause of this problem is that the location of the
>> > CFGRID code is non-standard and therefore i need to use the scriptsrc=
>> > attibute of the CFFORM tag?
>>
>> Yes, I think that's the cause, although honestly I don't know whether
>> changing SCRIPTSRC works with the Java grid.
>>
>> > [B]  If yes,   where is it to be found?  what am i looking for?
>>
>> /CFIDE/classes/*
>>
>> Dave Watts, CTO, Fig Leaf Software
>> http://www.figleaf.com/
>> http://training.figleaf.com/
>>
>> Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
>> GSA Schedule, and provides the highest caliber vendor-authorized
>> instruction at our training centers, online, or ons
>>
>>
>
> 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333064
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Where do i find CFGRID Code?

2010-04-21 Thread brad

If you go to the working link: http://adcalpos.net/trygrid.cfm you'll
see
it works, therefore the CFGRID applet has been installed ok, then if you
go
to the subdomain version of the exact same file at
http://shard.adcalpos.net/trygrid.cfm you'll see now it cant find the
CFGRID applet.

===


Your sub domain doesn't have a mapping for the cfide folder.  If you use
Firebug or MS Fiddler you can easily see the 404s happening when the
non-working example attempts to load the JavaScript files required for
the grid to work.

~Brad



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333063
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Where do i find CFGRID Code?

2010-04-21 Thread Azadi Saryev

 looks like virtual dir to /CFIDE folder is not configured properly on
the sub-domain:
cfform.js and masks.js files return 404 not found (both in
http://shard.adcalpos.net/cfide/scripts/ dir)

Azadi


On 22/04/2010 01:08, Mike Kear wrote:
> Can anyone tell me why this happens??   If i run a page in the root of a
> site, the CFGRID works.  If i run the precise same file in the same relative
> location of a subdomain of that site,   it doesnt. Can anyone see what
> i've got wrong here?
>
> Here is the relevant code:
> 
> 
>  select EmployeeID, GivenName, Surname, Bundyno
>  from dbo.tblEmployee
> 
>
> 
> 
>
> 
> 
>  label="Test of the cfforms" validate="email" message="Checking the
> validation"/>
> 
> 
> 
> 
> 
> 
> 
> 
>
> If you go to the working link:   http://adcalpos.net/trygrid.cfm you'll see
> it works, therefore the CFGRID applet has been installed ok,  then if you go
> to the subdomain version of the exact same file at
> http://shard.adcalpos.net/trygrid.cfm  you'll see now it cant find the
> CFGRID applet.
>
> Any one see what i need to change in the subdomains to make CFGRID work?
>
> Cheers
> Mike Kear
> Windsor, NSW, Australia
> Adobe Certified Advanced ColdFusion Developer
> AFP Webworks
> http://afpwebworks.com
> ColdFusion 9 Enterprise, PHP, ASP, ASP.NET hosting from AUD$15/month
>
> On Thu, Apr 22, 2010 at 2:18 AM, Dave Watts  wrote:
>
>>> So here's my question:
>>>
>>> [A]  do you think the cause of this problem is that the location of the
>>> CFGRID code is non-standard and therefore i need to use the scriptsrc=
>>> attibute of the CFFORM tag?
>> Yes, I think that's the cause, although honestly I don't know whether
>> changing SCRIPTSRC works with the Java grid.
>>
>>> [B]  If yes,   where is it to be found?  what am i looking for?
>> /CFIDE/classes/*
>>
>> Dave Watts, CTO, Fig Leaf Software
>> http://www.figleaf.com/
>> http://training.figleaf.com/
>>
>> Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
>> GSA Schedule, and provides the highest caliber vendor-authorized
>> instruction at our training centers, online, or ons
>>
>>
> 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333062
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Where do i find CFGRID Code?

2010-04-21 Thread Dave Watts

> Can anyone tell me why this happens??   If i run a page in the root of a
> site, the CFGRID works.  If i run the precise same file in the same relative
> location of a subdomain of that site,   it doesnt.     Can anyone see what
> i've got wrong here?

Well, first, a bit of clarification. shard.adcalpos.net is not a
subdomain. adcalpos.net is a domain, and shard is a hostname (A
record) within that domain.

> If you go to the working link:   http://adcalpos.net/trygrid.cfm you'll see
> it works, therefore the CFGRID applet has been installed ok,  then if you go
> to the subdomain version of the exact same file at
> http://shard.adcalpos.net/trygrid.cfm  you'll see now it cant find the
> CFGRID applet.
>
> Any one see what i need to change in the subdomains to make CFGRID work?

Each virtual host you have on your web server needs to have a virtual
directory pointing to /CFIDE. If you visit the two links, and view
source, you'll see something like this:

http://java.sun.com/j2se/1.3/jre/index.html";
code="coldfusion.applets.CFGridApplet.class"
archive="/CFIDE/classes/cfapplets.jar"
mayscript="true"
width="300"
height="300"
autowidth="false"
griddata="1%02Les%02Mustafa%02%013%02Troy%02Heron%02"

griddescription="3%022%02300%02300%020%020%020%02%03%02%03%02%03%02%03%02%03%02S%020%02%03%02%03%02%03%02%03%02Y%02Y%02%03%02%03%02%03%02%03%02%03%02%03%02%03%02%03%02%03%02%03%02%03%02%03%02%03%02%03%02%03%02%03%02%03%02%03%02%03%02%03%02N%02insert%02delete%02SortAsc%02SortDesc%01EmployeeID%02Y%02N%02Employeeid%01GivenName%02Y%02N%02Givenname%01Surname%02Y%02N%02Surname"
cf_form_name="Form1"
cf_param_name="__CFGRID__Form1__employee_grid">
 Browser must support Java to view ColdFusion Java
Applets


Note the archive path. That has to be a valid URL. This is a valid URL:

http://adcalpos.net/CFIDE/classes/

This is not (yet):

http://shard.adcalpos.net/CFIDE/classes/

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

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333061
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Where do i find CFGRID Code?

2010-04-21 Thread Mike Kear

Can anyone tell me why this happens??   If i run a page in the root of a
site, the CFGRID works.  If i run the precise same file in the same relative
location of a subdomain of that site,   it doesnt. Can anyone see what
i've got wrong here?

Here is the relevant code:


 select EmployeeID, GivenName, Surname, Bundyno
 from dbo.tblEmployee

















If you go to the working link:   http://adcalpos.net/trygrid.cfm you'll see
it works, therefore the CFGRID applet has been installed ok,  then if you go
to the subdomain version of the exact same file at
http://shard.adcalpos.net/trygrid.cfm  you'll see now it cant find the
CFGRID applet.

Any one see what i need to change in the subdomains to make CFGRID work?

Cheers
Mike Kear
Windsor, NSW, Australia
Adobe Certified Advanced ColdFusion Developer
AFP Webworks
http://afpwebworks.com
ColdFusion 9 Enterprise, PHP, ASP, ASP.NET hosting from AUD$15/month

On Thu, Apr 22, 2010 at 2:18 AM, Dave Watts  wrote:

>
> > So here's my question:
> >
> > [A]  do you think the cause of this problem is that the location of the
> > CFGRID code is non-standard and therefore i need to use the scriptsrc=
> > attibute of the CFFORM tag?
>
> Yes, I think that's the cause, although honestly I don't know whether
> changing SCRIPTSRC works with the Java grid.
>
> > [B]  If yes,   where is it to be found?  what am i looking for?
>
> /CFIDE/classes/*
>
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
> http://training.figleaf.com/
>
> Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
> GSA Schedule, and provides the highest caliber vendor-authorized
> instruction at our training centers, online, or ons
>
> 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333060
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Where do i find CFGRID Code?

2010-04-21 Thread Dave Watts

> So here's my question:
>
> [A]  do you think the cause of this problem is that the location of the
> CFGRID code is non-standard and therefore i need to use the scriptsrc=
> attibute of the CFFORM tag?

Yes, I think that's the cause, although honestly I don't know whether
changing SCRIPTSRC works with the Java grid.

> [B]  If yes,   where is it to be found?  what am i looking for?

/CFIDE/classes/*

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

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or ons

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333059
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CRUD screens...

2010-04-21 Thread Gerald Guido

Here is a list of most of the offerings I am aware of.

http://www.carehart.org/cf411/#cfcodegen
http://www.remotesynthesis.com/cfopensourcelist/index.cfm?event=public.home&categoryID=8474EB08-DB24-BAF7-24A39BADA46972B5

There are also some plugins for CF builder.
http://www.riaforge.org/index.cfm?event=page.category&id=14

Terry Ryan's ORM Jumpstart does a nice job with mapping ORM relationships.

http://trorm.riaforge.org/

HTH
G!

On Mon, Apr 19, 2010 at 1:25 AM, Justin Scott
wrote:

>
> Just curious what people are using to make/manage CRUD screens these days
> for data management applications.  Anything new in this area over the last
> couple of years?
>
>
> -Justin
>
>
>
> 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333058
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfschedule tasks

2010-04-21 Thread daniel kessler

Those were both very interesting.  Thank you.  They will help alot. 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333057
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfschedule tasks

2010-04-21 Thread daniel kessler

These all worked great.  Thanks! 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333055
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfhttp Connection Failure

2010-04-21 Thread John Drake

Would this Custom Tag work?:

http://www.cftagstore.com/tags/cfxhttp5.cfm

It says it does GZIP compression, and can speed things up by 64x.

Anybody here use the tag?  I did download the demo and was impressed.  I didn't 
know if it worked with CF 9 - and btw, I would love to see a comparison of 
CFHTTP speeds (6, 7, 8, 9 and this tag). 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333056
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Scheduled task isn't running the item in the url

2010-04-21 Thread daniel kessler

I have the following task (CF7).  The URL that it specifies is not being run.  
This is my first task so I assume I'm doing something wrong.  I run that url 
separately and it works fine.  I check my list of scheduled tasks and my task 
shows up in that list and appears to be set up the way I expect.  However, it 
doesn't work.  What the heck is wrong with it?


Help. . . please . . .







http://sph.umd.edu/home/facilities_request/email/daily_notifcation.cfm";
> 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333054
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF9 Air Server Manager

2010-04-21 Thread Cameron Childress

On Tue, Apr 20, 2010 at 1:54 PM, Ian Skinner  wrote:
> Is anybody using the new AIR based server manager?
>
> Happily?

Don't forget to also try out Merlin Manager:

http://www.merlinmanager.com/

-Cameron

...

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333053
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Where do i find CFGRID Code?

2010-04-21 Thread Mike Kear

I have an application where the client's code, containing some CFGrid tags
works fine on the production server built by a previous developer, but when
I load all that code onto my dev server, so i have a local working copy,
 the CFGRID tags dont work.

I'm guessing this is because I have a non-default layout of my dev server's
ColdFusion code, and therefore i need to use the scriptsrc attribute in the
CFFORM tag.   (the clue i'm working on is the error message in place of the
grid, which says
[quote]
load: class coldfusion.applets.CFGridApplet.class not found.
java.lang.ClassNotFoundException: coldfusion.applets.CFGridApplet.class
[/quote]

The java error message also says:
[quote]
Java Plug-in 1.6.0_19
Using JRE version 1.6.0_19-b04 Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\Michael
[/quote]

So here's my question:

[A]  do you think the cause of this problem is that the location of the
CFGRID code is non-standard and therefore i need to use the scriptsrc=
attibute of the CFFORM tag?
[B]  If yes,   where is it to be found?  what am i looking for?
[C] if No, what do you think is the problem and therefore the solution?



-- 
Cheers
Mike Kear
Windsor, NSW, Australia
Adobe Certified Advanced ColdFusion Developer
AFP Webworks
http://afpwebworks.com
ColdFusion 9 Enterprise, PHP, ASP, ASP.NET hosting from AUD$15/month


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333052
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CRUD screens...

2010-04-21 Thread Tom Chiverton

On Monday 19 Apr 2010, Justin Scott wrote:
> Just curious what people are using to make/manage CRUD screens these days
> for data management applications.  Anything new in this area over the last
> couple of years?

ColdFusion Builder has a wizard.

-- 
Helping to enthusiastically cultivate low-risk out-of-the-box 
principle-centered market-driven channels as part of the IT team of the year 
2010, '09 and '08



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  A list 
of members is available for inspection at the registered office together with a 
list of those non members who are referred to as partners.  We use the word 
“partner” to refer to a member of the LLP, or an employee or consultant with 
equivalent standing and qualifications. Regulated by the Solicitors Regulation 
Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 2500.

For more information about Halliwells LLP visit www.halliwells.co

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333051
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm