Domain permissions

2008-11-24 Thread Richard Meredith-Hardy
Hi all

We've got a problem where the CF8 Services don't start automatically after a
server reboot.  Error is 

Event Type: Error
Event Source:   Service Control Manager
Event Category: None
Event ID:   7000
Date:   21/11/2008
Time:   10:43:24
User:   N/A
Computer:   INTRANET01
Description:
The Cold Fusion Application Server service failed to start due to the
following error: 
The account name is invalid or does not exist, or the password is invalid
for the account name specified. 

The thing is, I think these settings are correct, there's no problem
starting it manually.

The whole system is running in a domain account (or is supposed to be) I
think what I want is a crib sheet to the whole setting up of permissions
Etc. on Win server 2003 R2 / iis / CF8 / MSSQL 2005 to run under a domain
account.

Does anyone have such a thing, or know where one is?

Thanks

Richard






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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315819
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Domain permissions

2008-11-24 Thread Dave Watts
 We've got a problem where the CF8 Services don't start automatically after a
 server reboot.  Error is

 Event Type: Error
 Event Source:   Service Control Manager
 Event Category: None
 Event ID:   7000
 Date:   21/11/2008
 Time:   10:43:24
 User:   N/A
 Computer:   INTRANET01
 Description:
 The Cold Fusion Application Server service failed to start due to the
 following error:
 The account name is invalid or does not exist, or the password is invalid
 for the account name specified.

 The thing is, I think these settings are correct, there's no problem
 starting it manually.

 The whole system is running in a domain account (or is supposed to be) I
 think what I want is a crib sheet to the whole setting up of permissions
 Etc. on Win server 2003 R2 / iis / CF8 / MSSQL 2005 to run under a domain
 account.

 Does anyone have such a thing, or know where one is?

I'm not aware of any formal document that covers this in detail. In
this case, I don't think it's a permissions problem anyway, since the
service does start successfully with the same credentials if you start
it manually. I think that the service is being started before the
machine can talk to the domain controller. I would recommend that you
use the DependOnService key to make it start later.

http://support.microsoft.com/kb/193888

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

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

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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315820
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Prevent direct access to XML data file?

2008-11-24 Thread Adrian Lynch
Sorry if it's been said already, but can you change the extension of the
file to .cfm?

Adrian

-Original Message-
From: Jeffrey Lemire [mailto:[EMAIL PROTECTED]
Sent: 24 November 2008 16:55
To: cf-talk
Subject: RE: Prevent direct access to XML data file?


Thanks Dave...I wasn't sure if there was something native to CF that would
allow me to do this.

I've been looking at HotLinkBlocker from Helicon Tech to possibly accomplish
this but was trying to avoid introducing another application layer.

I've implemented their URL rewriting application without any issues so I
just
might give this thing a try.

http://www.helicontech.com/hotlinkblocker/


Jeffrey V. Lemire
Applications Architect / President
[EMAIL PROTECTED]


http://www.citadelnetworks.net
Voice: 413-746-6141 | Fax: 413-746-6010

-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]
Sent: Sunday, November 23, 2008 8:31 PM
To: cf-talk
Subject: Re: Prevent direct access to XML data file?

 If I set up the datafile outside the webroot, how might I access it for a
 SpryDataset (Spry.Data.XMLDataSet) which requires a URL accessible XML
 datafile?

You can't, really. If it's accessed directly by the client, it needs
to be web-accessible. So, if you want to limit access to it, you'll
need to use the same methods you'd use to control access to any other
web-accessible file - either web server authentication or application
server authentication.

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


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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315822
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Updating CF7 JRE breaks Flex gateway

2008-11-24 Thread Dan Crouch
I updated the Java Runtime on our CF7 server from 1.4.2_09 to 1.6.0_07. 
ColdFusion was working fine. But we had a problem with all of our Flex apps. 
They would load until you got to the point of a data call and then it would 
break. It was throwing a large list of errors related to the gateway. I changed 
the CF server to use the old JRE and everything was fine again. 

Is there something else I need to update to get the Flex gateway to work with 
the new JRE or am I just stuck with an old JRE on this server? I checked the 
flex config files and couldnt find anything that mentioned a specific JRE 
version. 

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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315823
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Updating CF7 JRE breaks Flex gateway

2008-11-24 Thread Dave Watts
 I updated the Java Runtime on our CF7 server from 1.4.2_09 to 1.6.0_07. 
 ColdFusion was
 working fine. But we had a problem with all of our Flex apps. They would load 
 until you got
 to the point of a data call and then it would break. It was throwing a large 
 list of errors
 related to the gateway. I changed the CF server to use the old JRE and 
 everything was fine again.

 Is there something else I need to update to get the Flex gateway to work with 
 the new JRE
 or am I just stuck with an old JRE on this server? I checked the flex config 
 files and couldnt
 find anything that mentioned a specific JRE version.

CF 7 (and its related components) don't support 1.6, or even 1.5. They
do support the latest version of 1.4, I think, so you can upgrade to
1.4.2_13 or whatever's the latest version.

CF 8 does support 1.6.

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

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

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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315824
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Prevent direct access to XML data file?

2008-11-24 Thread Jeffrey Lemire
Thanks Dave...I wasn't sure if there was something native to CF that would
allow me to do this.

I've been looking at HotLinkBlocker from Helicon Tech to possibly accomplish
this but was trying to avoid introducing another application layer.

I've implemented their URL rewriting application without any issues so I just
might give this thing a try.

http://www.helicontech.com/hotlinkblocker/


Jeffrey V. Lemire
Applications Architect / President
[EMAIL PROTECTED]


http://www.citadelnetworks.net
Voice: 413-746-6141 | Fax: 413-746-6010

-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED] 
Sent: Sunday, November 23, 2008 8:31 PM
To: cf-talk
Subject: Re: Prevent direct access to XML data file?

 If I set up the datafile outside the webroot, how might I access it for a
 SpryDataset (Spry.Data.XMLDataSet) which requires a URL accessible XML
 datafile?

You can't, really. If it's accessed directly by the client, it needs
to be web-accessible. So, if you want to limit access to it, you'll
need to use the same methods you'd use to control access to any other
web-accessible file - either web server authentication or application
server authentication.

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

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



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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315821
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Updating CF7 JRE breaks Flex gateway

2008-11-24 Thread Dan Crouch
Thanks. I ran the tzupdater for our version to fix the DST issue we hit with 
the current version and dates with our Flex apps. I tried updating the JRE to 
fix that issue first and hit the gateway problem. It looks like the newer 
1.4.2_ versions fix it anyhow. 

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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315825
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


SOT: SVN diff command, available from within subclipse plugin?

2008-11-24 Thread Andy Matthews
My company is considering a more regimented branching system to maintain
code integrity. As part of this, we'd like to be able to see a list of files
which are different from branch to branch (or trunk). I found the svn diff
command, but I'm unsure how I might use this from within the subclipse or
ANT environments. Can anyone enlighten me?

 

svn   diff   http://foo.com/branches/dev   http://foo.com/trunk

 

 

andy matthews

 

 




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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315826
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: SOT: SVN diff command, available from within subclipse plugin?

2008-11-24 Thread Andy Matthews
Barney...

I've got the SVN repo explorer view open, I can select both branches, but I
don't see a compare command on my right click menu. I've got the
following:

New [sub]
Show History (greyed out)
Create unified diff
Checkout
Import (greyed out)
Export (greyed out)
Rename / move (greyed out)
Branch / tag (greyed out)
Copy (greyed out)
Paste (greyed out)
Delete
Copy url (greyed out)
Properties (greyed out)
Refresh


-Original Message-
From: Barney Boisvert [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 24, 2008 12:12 PM
To: cf-talk
Subject: Re: SOT: SVN diff command, available from within subclipse plugin?

In the SVN Repository view (probably on the SVN Repository Exploring
perspective, unless you've changed it), CTRL-select both branches,
right click, select compare.

I don't know that SVNAnt supports the diff command - I've never had
need to use it in an automation scenario.  You could certainly shell
out to the command line tool though, if you needed to.

cheers,
barneyb

On Mon, Nov 24, 2008 at 9:59 AM, Andy Matthews
[EMAIL PROTECTED] wrote:
 My company is considering a more regimented branching system to maintain
 code integrity. As part of this, we'd like to be able to see a list of
files
 which are different from branch to branch (or trunk). I found the svn diff
 command, but I'm unsure how I might use this from within the subclipse or
 ANT environments. Can anyone enlighten me?



 svn   diff   http://foo.com/branches/dev   http://foo.com/trunk





 andy matthews








 



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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315828
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: SOT: SVN diff command, available from within subclipse plugin?

2008-11-24 Thread Barney Boisvert
Create unified diff will create a diff for you, just probably not load
it into the multi-file compare editor?  Might just be an
Eclipse/Subclipse version difference, but the functionality is the
same.

cheers,
barneyb

On Mon, Nov 24, 2008 at 10:18 AM, Andy Matthews
[EMAIL PROTECTED] wrote:
 Barney...

 I've got the SVN repo explorer view open, I can select both branches, but I
 don't see a compare command on my right click menu. I've got the
 following:

 New [sub]
 Show History (greyed out)
 Create unified diff
 Checkout
 Import (greyed out)
 Export (greyed out)
 Rename / move (greyed out)
 Branch / tag (greyed out)
 Copy (greyed out)
 Paste (greyed out)
 Delete
 Copy url (greyed out)
 Properties (greyed out)
 Refresh


 -Original Message-
 From: Barney Boisvert [mailto:[EMAIL PROTECTED]
 Sent: Monday, November 24, 2008 12:12 PM
 To: cf-talk
 Subject: Re: SOT: SVN diff command, available from within subclipse plugin?

 In the SVN Repository view (probably on the SVN Repository Exploring
 perspective, unless you've changed it), CTRL-select both branches,
 right click, select compare.

 I don't know that SVNAnt supports the diff command - I've never had
 need to use it in an automation scenario.  You could certainly shell
 out to the command line tool though, if you needed to.

 cheers,
 barneyb

 On Mon, Nov 24, 2008 at 9:59 AM, Andy Matthews
 [EMAIL PROTECTED] wrote:
 My company is considering a more regimented branching system to maintain
 code integrity. As part of this, we'd like to be able to see a list of
 files
 which are different from branch to branch (or trunk). I found the svn diff
 command, but I'm unsure how I might use this from within the subclipse or
 ANT environments. Can anyone enlighten me?



 svn   diff   http://foo.com/branches/dev   http://foo.com/trunk





 andy matthews












 

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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315829
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Prevent direct access to XML data file?

2008-11-24 Thread Jeffrey Lemire
Absolutely...you just need to ensure that you tell the browser that this is
an XML file:

cfheader name=Content-type value=text/xml

Depending upon how you want the browser to cache your XML file, you might
also want to condsier some of these other attributes as well:

cfheader name=Cache-control value=no-cache
cfheader name=Cache-control value=private
cfheader name=Cache-control value=no-store
cfheader name=Cache-control value=must-revalidate
cfheader name=Cache-control value=max-stale=0
cfheader name=Cache-control value=post-check=0
cfheader name=Cache-control value=pre-check=0
cfheader name=Pragma value=no-cache
cfheader name=Expires value=-1


-Original Message-
From: Adrian Lynch [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 24, 2008 12:15 PM
To: cf-talk
Subject: RE: Prevent direct access to XML data file?

Sorry if it's been said already, but can you change the extension of the
file to .cfm?

Adrian

-Original Message-
From: Jeffrey Lemire [mailto:[EMAIL PROTECTED]
Sent: 24 November 2008 16:55
To: cf-talk
Subject: RE: Prevent direct access to XML data file?


Thanks Dave...I wasn't sure if there was something native to CF that would
allow me to do this.

I've been looking at HotLinkBlocker from Helicon Tech to possibly accomplish
this but was trying to avoid introducing another application layer.

I've implemented their URL rewriting application without any issues so I
just
might give this thing a try.

http://www.helicontech.com/hotlinkblocker/


Jeffrey V. Lemire
Applications Architect / President
[EMAIL PROTECTED]


http://www.citadelnetworks.net
Voice: 413-746-6141 | Fax: 413-746-6010

-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]
Sent: Sunday, November 23, 2008 8:31 PM
To: cf-talk
Subject: Re: Prevent direct access to XML data file?

 If I set up the datafile outside the webroot, how might I access it for a
 SpryDataset (Spry.Data.XMLDataSet) which requires a URL accessible XML
 datafile?

You can't, really. If it's accessed directly by the client, it needs
to be web-accessible. So, if you want to limit access to it, you'll
need to use the same methods you'd use to control access to any other
web-accessible file - either web server authentication or application
server authentication.

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




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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315830
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Prevent direct access to XML data file?

2008-11-24 Thread Dave Watts
  Sorry if it's been said already, but can you change the extension of the
  file to .cfm?

 Absolutely...you just need to ensure that you tell the browser that this is
 an XML file ...

I think you're missing Adrian's point. If you change the file
extension so that it's processed by CF, you can use application server
authentication to control access to the file.

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

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

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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315831
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: SOT: SVN diff command, available from within subclipse plugin?

2008-11-24 Thread Barney Boisvert
In the SVN Repository view (probably on the SVN Repository Exploring
perspective, unless you've changed it), CTRL-select both branches,
right click, select compare.

I don't know that SVNAnt supports the diff command - I've never had
need to use it in an automation scenario.  You could certainly shell
out to the command line tool though, if you needed to.

cheers,
barneyb

On Mon, Nov 24, 2008 at 9:59 AM, Andy Matthews
[EMAIL PROTECTED] wrote:
 My company is considering a more regimented branching system to maintain
 code integrity. As part of this, we'd like to be able to see a list of files
 which are different from branch to branch (or trunk). I found the svn diff
 command, but I'm unsure how I might use this from within the subclipse or
 ANT environments. Can anyone enlighten me?



 svn   diff   http://foo.com/branches/dev   http://foo.com/trunk





 andy matthews








 

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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315827
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Anyone know anything about the Canvas Wiki?

2008-11-24 Thread Raymond Camden
Sorry for the late response guys. Yes, Canvas will work with MG2. It
is definitely not the only CF Wiki though. Codex is a darn good one
too. In general, the best way to ask me about my apps is via email
(which Isaac shared, whicih is fine). I like cf-talk, but I don't
follow it closely all the time. :)

On Thu, Nov 13, 2008 at 4:14 PM, s. isaac dealey [EMAIL PROTECTED] wrote:
 Thanks Isaac

 I thought about emailing ray but I figured he had enough going on as
 it is. :-)

 I'll go ahead and give the MG2 and Canvas a try and see what happens.
 I'm going to keep an eye on the CodeXWiki to see what its about too.

 Sounds like a plan. :) Yeah, Ray and I both have lots going on, but we
 still make time to help out and answer questions and such. His answers
 may be short if he's particularly busy, or he may post a longer answer
 to his blog, which he does about daily. So I wouldn't worry overly much
 about asking if you've got questions. :)



 --
 s. isaac dealey  ^  new epoch
  isn't it time for a change?
 ph: 781.769.0723

 http://onTap.riaforge.org/blog



 

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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315832
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: SOT: SVN diff command, available from within subclipse plugin?

2008-11-24 Thread Andy Matthews
I tried creating a diff file, but it lists out every line of code which
differs from branch to branch. I'd like to just find a list of files which
have changes.


andy

-Original Message-
From: Barney Boisvert [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 24, 2008 12:22 PM
To: cf-talk
Subject: Re: SOT: SVN diff command, available from within subclipse plugin?

Create unified diff will create a diff for you, just probably not load
it into the multi-file compare editor?  Might just be an
Eclipse/Subclipse version difference, but the functionality is the
same.

cheers,
barneyb

On Mon, Nov 24, 2008 at 10:18 AM, Andy Matthews
[EMAIL PROTECTED] wrote:
 Barney...

 I've got the SVN repo explorer view open, I can select both branches, but
I
 don't see a compare command on my right click menu. I've got the
 following:

 New [sub]
 Show History (greyed out)
 Create unified diff
 Checkout
 Import (greyed out)
 Export (greyed out)
 Rename / move (greyed out)
 Branch / tag (greyed out)
 Copy (greyed out)
 Paste (greyed out)
 Delete
 Copy url (greyed out)
 Properties (greyed out)
 Refresh


 -Original Message-
 From: Barney Boisvert [mailto:[EMAIL PROTECTED]
 Sent: Monday, November 24, 2008 12:12 PM
 To: cf-talk
 Subject: Re: SOT: SVN diff command, available from within subclipse
plugin?

 In the SVN Repository view (probably on the SVN Repository Exploring
 perspective, unless you've changed it), CTRL-select both branches,
 right click, select compare.

 I don't know that SVNAnt supports the diff command - I've never had
 need to use it in an automation scenario.  You could certainly shell
 out to the command line tool though, if you needed to.

 cheers,
 barneyb

 On Mon, Nov 24, 2008 at 9:59 AM, Andy Matthews
 [EMAIL PROTECTED] wrote:
 My company is considering a more regimented branching system to maintain
 code integrity. As part of this, we'd like to be able to see a list of
 files
 which are different from branch to branch (or trunk). I found the svn
diff
 command, but I'm unsure how I might use this from within the subclipse or
 ANT environments. Can anyone enlighten me?



 svn   diff   http://foo.com/branches/dev   http://foo.com/trunk





 andy matthews












 



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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315833
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


ajax controls break after time interval, return 302

2008-11-24 Thread Phil Stone
Hi,

First time poster here. I am using several ajax controls in a CF application, 
and they work fine...mostly.  I am seeing a time-interval related problem; if a 
page w/ ajax controls is left inactive for about 30 minutes, the next ajax call 
fails, returning with a 302 (temporarily moved) code.

The session is *not* timed out when this happens (I have set the session 
timeout to 60 minutes, and non-ajax calls detect it appropriately).  I can't 
imagine what other time interval would match up to this ~30 min. value.  Does 
anybody have any ideas?

Thank you.


Phil Stone 

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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315834
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Anyone know anything about the Canvas Wiki?

2008-11-24 Thread Peter Boughton
I read about it but didn't know if I should bother since
its in private beta. Any idea what sort of database CodeX Wiki uses?

CodeX Wiki is (finally) open beta.

It uses MySQL for the database. 

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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315835
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Application.cfc question

2008-11-24 Thread Martijn van der Woud
Just curious: can anyone tell a bit more on how exactly Application.cfc is 
executed? With normal cfc's I believe that the code above the first method runs 
only when a new instance of the cfc is created, or when the cfc is invoked as a 
static component. It seems a bit strange to me that the 

cfif isDefined(url.reloadConfig) AND (isBoolean(url.reloadConfig) AND 
url.reloadConfig) 
   cfset onApplicationStart()
/cfif   
cfif isDefined(url.reloadSession) AND (isBoolean(url.reloadSession) AND 
url.reloadSession) 
   cfset onSessionStart()
/cfif 

are even executed. Does this mean that a new instance of Application.cfc is 
created for every request, or that it is invoked statically? I would have 
expected that one instance is shared across requests within an application.

Martijn van der Woud

Move both cfif blocks to the onRequestStart() method so they run a
little bit later.

Jochem 

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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315836
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: ajax controls break after time interval, return 302

2008-11-24 Thread brad
Hmmm..

next ajax call fails, returning with a 302 (temporarily moved)
What is the value of the location header?

and non-ajax calls detect it appropriately
Do you mean loading it in a browser?  Are you saying that the browser
gets a 200, or the browser just follows the redirect?

~Brad


 Original Message 
Subject: ajax controls break after time interval, return 302
From: Phil Stone [EMAIL PROTECTED]
Date: Mon, November 24, 2008 1:29 pm
To: cf-talk cf-talk@houseoffusion.com

Hi,

First time poster here. I am using several ajax controls in a CF
application, and they work fine...mostly. I am seeing a time-interval
related problem; if a page w/ ajax controls is left inactive for about
30 minutes, the next ajax call fails, returning with a 302 (temporarily
moved) code.

The session is *not* timed out when this happens (I have set the session
timeout to 60 minutes, and non-ajax calls detect it appropriately). I
can't imagine what other time interval would match up to this ~30 min.
value. Does anybody have any ideas?

Thank you.


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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315837
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: SOT: SVN diff command, available from within subclipse plugin?

2008-11-24 Thread Peter Boughton
I tried creating a diff file, but it lists out every line of code which
differs from branch to branch. I'd like to just find a list of files which
have changes.

So you only want the names of files, not the lines of code?

In which case you could create the diff, then grep for '^Index: .*$' and you'll 
get all the filenames within the diff. 

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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315838
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: SOT: SVN diff command, available from within subclipse plugin?

2008-11-24 Thread Andy Matthews
That's fine, I can do that in another application, but I'm trying to
determine if I can generate a a difference list of files from within the
subclipse plugin itself. That would be the ideal.


andy



-Original Message-
From: Peter Boughton [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 24, 2008 1:46 PM
To: cf-talk
Subject: Re: SOT: SVN diff command, available from within subclipse plugin?

I tried creating a diff file, but it lists out every line of code which
differs from branch to branch. I'd like to just find a list of files which
have changes.

So you only want the names of files, not the lines of code?

In which case you could create the diff, then grep for '^Index: .*$' and
you'll get all the filenames within the diff. 



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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315839
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: ajax controls break after time interval, return 302

2008-11-24 Thread Wil Genovese
Are you this is not due to a login timing out? The 302 http error is a
redirect code which makes sense if your login expired and your code is then
trying to redirect the ajax call to the login page.  Can you determine which
page the redirect is attempting to load?

This could still be a session timing out depending on how your application
re-loads a users session. Do you have you application detecting users via a
cookie and auto re-logging them in and re-building the session?  If so does
the page the ajax call is referencing have the same ability to auto
re-login?

Usually this is what has happened when I've seen this error in the past.

Wil Genovese
Sr. Web Application Developer


On Mon, Nov 24, 2008 at 1:29 PM, Phil Stone [EMAIL PROTECTED] wrote:

 Hi,

 First time poster here. I am using several ajax controls in a CF
 application, and they work fine...mostly.  I am seeing a time-interval
 related problem; if a page w/ ajax controls is left inactive for about 30
 minutes, the next ajax call fails, returning with a 302 (temporarily moved)
 code.

 The session is *not* timed out when this happens (I have set the session
 timeout to 60 minutes, and non-ajax calls detect it appropriately).  I can't
 imagine what other time interval would match up to this ~30 min. value.
  Does anybody have any ideas?

 Thank you.


 Phil Stone

 

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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315840
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: ajax controls break after time interval, return 302

2008-11-24 Thread Phil Stone
Wil Genovese wrote:
 Are you this is not due to a login timing out? The 302 http error is a
 redirect code which makes sense if your login expired and your code is then
 trying to redirect the ajax call to the login page.  

You may be on to something...there is CAS (single sign-on) 
authentication wrapping this application.  I will direct my energies 
that way and see what I can find.

 Can you determine which
 page the redirect is attempting to load?
   

I only see the 302 code and message 'Found' in the error handler for the 
ColdFusion.navigate() call.  I'll dig into some logs and see what I can 
find.


 This could still be a session timing out depending on how your application
 re-loads a users session. Do you have you application detecting users via a
 cookie and auto re-logging them in and re-building the session?  If so does
 the page the ajax call is referencing have the same ability to auto
 re-login?
   

Nothing fancy like that; when I said handling session timeout, I meant 
detecting it in application.cfm and putting up an error page.  The ajax 
error is appearing well before session timeout, though.

 Usually this is what has happened when I've seen this error in the past.

 Wil Genovese
 Sr. Web Application Developer
   

Thank you for the idea pointing to the authentication wrapper.


 On Mon, Nov 24, 2008 at 1:29 PM, Phil Stone [EMAIL PROTECTED] wrote:

   
 Hi,

 First time poster here. I am using several ajax controls in a CF
 application, and they work fine...mostly.  I am seeing a time-interval
 related problem; if a page w/ ajax controls is left inactive for about 30
 minutes, the next ajax call fails, returning with a 302 (temporarily moved)
 code.

 The session is *not* timed out when this happens (I have set the session
 timeout to 60 minutes, and non-ajax calls detect it appropriately).  I can't
 imagine what other time interval would match up to this ~30 min. value.
  Does anybody have any ideas?

 Thank you.


 Phil Stone


 

 

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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315841
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


cfdirectory directory to a another server

2008-11-24 Thread patrick buch
Hi everyone,

I have a webpage that list everything in a particular folder, see code...

cfdirectory action=LIST name=qCurrent directory=d:\saprepository\current 
sort=datelastmodified desc

I want to change the directory to be another server. The CF Docs show this but 
it's not working...I don't get any results using the absolute addressing.

cfdirectory directory=//12.3.123.123/c_drive/ name=dirQuery action=LIST

Any suggestions?

Thank you in advance for your time and help.





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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315842
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: ajax controls break after time interval, return 302

2008-11-24 Thread Phil Stone
Pardon the reply to my own message, but Wil, you were right on...CAS had 
expired my authentication, and when an ajax call stumbled into this, the 
redirect wasn't handled properly (not sure it can be in the middle of 
say, ColdFusion.nagivate(), other than triggering the onError() 
callback).  For now, the CAS timeout has been set to just longer than 
the session timeout; while I'm not sure this will completely prevent the 
error, it should make it vanishingly improbable.

thanks,

Phil


Phil Stone wrote:
 Wil Genovese wrote:
   
 Are you this is not due to a login timing out? The 302 http error is a
 redirect code which makes sense if your login expired and your code is then
 trying to redirect the ajax call to the login page.  
 

 You may be on to something...there is CAS (single sign-on) 
 authentication wrapping this application.  I will direct my energies 
 that way and see what I can find.

   
 Can you determine which
 page the redirect is attempting to load?
   
 

 I only see the 302 code and message 'Found' in the error handler for the 
 ColdFusion.navigate() call.  I'll dig into some logs and see what I can 
 find.


   
 This could still be a session timing out depending on how your application
 re-loads a users session. Do you have you application detecting users via a
 cookie and auto re-logging them in and re-building the session?  If so does
 the page the ajax call is referencing have the same ability to auto
 re-login?
   
 

 Nothing fancy like that; when I said handling session timeout, I meant 
 detecting it in application.cfm and putting up an error page.  The ajax 
 error is appearing well before session timeout, though.

   
 Usually this is what has happened when I've seen this error in the past.

 Wil Genovese
 Sr. Web Application Developer
   
 

 Thank you for the idea pointing to the authentication wrapper.

   
 On Mon, Nov 24, 2008 at 1:29 PM, Phil Stone [EMAIL PROTECTED] wrote:

   
 
 Hi,

 First time poster here. I am using several ajax controls in a CF
 application, and they work fine...mostly.  I am seeing a time-interval
 related problem; if a page w/ ajax controls is left inactive for about 30
 minutes, the next ajax call fails, returning with a 302 (temporarily moved)
 code.

 The session is *not* timed out when this happens (I have set the session
 timeout to 60 minutes, and non-ajax calls detect it appropriately).  I can't
 imagine what other time interval would match up to this ~30 min. value.
  Does anybody have any ideas?

 Thank you.


 Phil Stone


 
   
 

 

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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315843
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: cfdirectory directory to a another server

2008-11-24 Thread Ian Skinner
patrick buch wrote:
 cfdirectory directory=//12.3.123.123/c_drive/ name=dirQuery 
 action=LIST

 Any suggestions?
   

The user that ColdFusion runs under must have domain permissions to read 
from the remote system over the network.  The default windows user 
localsystem' that the ColdFusion service runs under does not normally 
have any permissions outside of the, ahem... local system.


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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315844
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: cfdirectory directory to a another server

2008-11-24 Thread Dave Watts
 I have a webpage that list everything in a particular folder, see code...

 cfdirectory action=LIST name=qCurrent 
 directory=d:\saprepository\current sort=datelastmodified desc

 I want to change the directory to be another server. The CF Docs show this 
 but it's not working...I don't get any results using the absolute addressing.

 cfdirectory directory=//12.3.123.123/c_drive/ name=dirQuery 
 action=LIST

By default, CF runs as SYSTEM, which can't access network resources.
To do this, you'd need to run CF as a user which has permission to
access the remote share. Also, UNC paths use backslashes, not forward
slashes.

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

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

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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315845
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: cfdirectory directory to a another server

2008-11-24 Thread Dan O'Keefe
I tried this recently myself without success. In my scenario, I had 2 Win2K3
standalone servers (not in a domain), so I could not give rights to a folder
on one server from the other. I tried matching up user account  passwords
that the CF Service used to login and applied the rights to the folder to be
written to, but that did not work wither. Tried both a mapped drive and UNC.
--
Dan O'Keefe


On Mon, Nov 24, 2008 at 5:14 PM, patrick buch [EMAIL PROTECTED]wrote:

 Hi everyone,

 I have a webpage that list everything in a particular folder, see code...

 cfdirectory action=LIST name=qCurrent
 directory=d:\saprepository\current sort=datelastmodified desc

 I want to change the directory to be another server. The CF Docs show this
 but it's not working...I don't get any results using the absolute
 addressing.

 cfdirectory directory=//12.3.123.123/c_drive/ name=dirQuery
 action=LIST

 Any suggestions?

 Thank you in advance for your time and help.





 

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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315846
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: cfdirectory directory to a another server

2008-11-24 Thread Wil Genovese
Based on that example it is assuming the other server has windows file
sharing enabled.  You need to setup the other server to have file sharing
enabled and then access the share name.

This may or may not be the best way to do this.  It all depends on your
desired level of security.

Wil Genovese

On Mon, Nov 24, 2008 at 4:14 PM, patrick buch [EMAIL PROTECTED]wrote:

 Hi everyone,

 I have a webpage that list everything in a particular folder, see code...

 cfdirectory action=LIST name=qCurrent
 directory=d:\saprepository\current sort=datelastmodified desc

 I want to change the directory to be another server. The CF Docs show this
 but it's not working...I don't get any results using the absolute
 addressing.

 cfdirectory directory=//12.3.123.123/c_drive/ name=dirQuery
 action=LIST

 Any suggestions?

 Thank you in advance for your time and help.





 

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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315847
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Size of session data

2008-11-24 Thread Maureen barger
Hi - is there a way to determine the amount of data stored in session scope, 
both overall and per object?
Thanks. 

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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315848
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Anyone know anything about the Canvas Wiki?

2008-11-24 Thread s. isaac dealey
 I read about it but didn't know if I should bother since
 its in private beta. Any idea what sort of database CodeX Wiki uses?
 
 CodeX Wiki is (finally) open beta.
 
 It uses MySQL for the database. 

I thought being built with Transfer it could be run against any of the
db platforms supported by Transfer? SQL Server, Oracle, PostgreSQL? 


-- 
s. isaac dealey  ^  new epoch
 isn't it time for a change? 
 ph: 781.769.0723

http://onTap.riaforge.org/blog



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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315849
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Size of session data

2008-11-24 Thread Wil Genovese
With CF8 you can enable the cf monitor and get this data.  If running on
production I would not leaving it turned on for more than a few minutes.

Wil Genovese
Sr. Web Application Developer

On Mon, Nov 24, 2008 at 4:35 PM, Maureen barger [EMAIL PROTECTED] wrote:

 Hi - is there a way to determine the amount of data stored in session
 scope, both overall and per object?
 Thanks.

 

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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315850
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: cfdirectory directory to a another server

2008-11-24 Thread Dave Watts
 I tried this recently myself without success. In my scenario, I had 2 Win2K3
 standalone servers (not in a domain), so I could not give rights to a folder
 on one server from the other. I tried matching up user account  passwords
 that the CF Service used to login and applied the rights to the folder to be
 written to, but that did not work wither. Tried both a mapped drive and UNC.

Were you able to log into the first server with the account that
should have access to the other server? Were you able to access the
share from the first server's console?

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

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

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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315851
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Size of session data

2008-11-24 Thread s. isaac dealey
 Hi - is there a way to determine the amount of data stored in session
 scope, both overall and per object? Thanks. 

I don't have any specific URLs to point you toward, but I've heard in
the past that getting memory consumption information on a per-object
basis from Java is rather difficult and squirrelly (i.e. may not be
tremendously accurate) -- and of course that means similar challenges
within ColdFusion. 

Adobe's CF8 introduced a new server monitor that you can launch from the
CF Administrator that includes a memory analyzer, although in my limited
experience with it, it didn't allow me to drill down past the first
level, so the information I got out of it basically amounted to your
application is using x amount of memory. 

A heap dump would give you a much better idea of memory consumption,
although I haven't found any articles (yet) that explain step-by-step
how to get a heap dump from the built-in JRun instance. Hoping to see
somebody post one on a CF blog one of these days (Mark?). ;) But haven't
seen one yet.


-- 
s. isaac dealey  ^  new epoch
 isn't it time for a change? 
 ph: 781.769.0723

http://onTap.riaforge.org/blog



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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315852
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Size of session data

2008-11-24 Thread Wil Genovese
I have some code that may help you - it will let you inspect every session
in every application on the server.  But being CF7 it won't give your memory
sizes but it will be visually telling.

I am sending that to your email in a 'rar' file.  I quickly hacked out the
bits that where specific to our servers and tested it as a generic
standalone page and the one or two passes at it Worked for Me. So if there
is an issue debugging should be simple for you. ;-) Cheers

Wil Genovese
Sr. Web Application Developer



On Mon, Nov 24, 2008 at 4:48 PM, Maureen barger [EMAIL PROTECTED] wrote:

 We are running CF7. I know how to monitor memory usage in the jvm but I
 need to know how much data is passed per request in the session scope. I
 suspect we have an app that throws too much up there and want to quantify my
 hunch.

 

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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315854
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Size of session data

2008-11-24 Thread Maureen barger
We are running CF7. I know how to monitor memory usage in the jvm but I need to 
know how much data is passed per request in the session scope. I suspect we 
have an app that throws too much up there and want to quantify my hunch. 

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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315853
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: cfdirectory directory to a another server

2008-11-24 Thread Dan O'Keefe
Yes, Since I created matching accounts on the two servers, say CFService
and using the same passwords. Even gave the admin privelages so I could log
in with that account and test the share by going to \\192.168.1.100\sharname.
That was successful, but flat out would not work in CF 8.01.
Dan

On Mon, Nov 24, 2008 at 5:46 PM, Dave Watts [EMAIL PROTECTED] wrote:

  I tried this recently myself without success. In my scenario, I had 2
 Win2K3
  standalone servers (not in a domain), so I could not give rights to a
 folder
  on one server from the other. I tried matching up user account 
 passwords
  that the CF Service used to login and applied the rights to the folder to
 be
  written to, but that did not work wither. Tried both a mapped drive and
 UNC.

 Were you able to log into the first server with the account that
 should have access to the other server? Were you able to access the
 share from the first server's console?

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

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

 

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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315855
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: SOT: SVN diff command, available from within subclipse plugin?

2008-11-24 Thread Peter Boughton
Ant has an Exec task, allowing you to run any executable/command.
(Note sure if you can run that directly from Subclipse, but you specified going 
via Ant as acceptable in your initial post)

So...
exec executable=grep
arg value=^Index: .*$/
arg value=mypatch.diff/
/exec

Or, on Windows:
exec executable=findstr
arg value=^Index:.*$/
arg value=mypatch.diff/
/exec


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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315856
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: cfdirectory directory to a another server

2008-11-24 Thread Dawson, Michael
Setting up matching accounts won't work.  They will have different identities.
 
If you are not on a domain, you should setup a local server account, for 
example CFService.
 
In my example, it may be referred to as: \\server1\CFService.
 
Then, on \\server2\share, grant access to \\server1\CFService.
 
Mike

  _  

From: Dan O'Keefe [mailto:[EMAIL PROTECTED]
Sent: Mon 11/24/2008 4:34 PM
To: cf-talk
Subject: Re: cfdirectory directory to a another server



I tried this recently myself without success. In my scenario, I had 2 Win2K3
standalone servers (not in a domain), so I could not give rights to a folder
on one server from the other. I tried matching up user account  passwords
that the CF Service used to login and applied the rights to the folder to be
written to, but that did not work wither. Tried both a mapped drive and UNC.
--
Dan O'Keefe


On Mon, Nov 24, 2008 at 5:14 PM, patrick buch [EMAIL PROTECTED]wrote:

 Hi everyone,

 I have a webpage that list everything in a particular folder, see code...

 cfdirectory action=LIST name=qCurrent
 directory=d:\saprepository\current sort=datelastmodified desc

 I want to change the directory to be another server. The CF Docs show this
 but it's not working...I don't get any results using the absolute
 addressing.

 cfdirectory directory=//12.3.123.123/c_drive/ name=dirQuery
 action=LIST

 Any suggestions?

 Thank you in advance for your time and help.









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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315857
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Application.cfc question

2008-11-24 Thread Dawson, Michael
I don't know the exact, internal details, but application.cfc is called on each 
request and knows ONLY about the current request.  Other than putting data into 
scopes such as application, sesssion or server, nothing is kept from one 
request to another, within application.cfc.
 
In this respect, application.cfc is the same as application.cfm.
 
Mike

  _  

From: Martijn van der Woud [mailto:[EMAIL PROTECTED]
Sent: Mon 11/24/2008 1:31 PM
To: cf-talk
Subject: Re: Application.cfc question



Just curious: can anyone tell a bit more on how exactly Application.cfc is 
executed? With normal cfc's I believe that the code above the first method runs 
only when a new instance of the cfc is created, or when the cfc is invoked as a 
static component. It seems a bit strange to me that the

cfif isDefined(url.reloadConfig) AND (isBoolean(url.reloadConfig) AND 
url.reloadConfig)
   cfset onApplicationStart()   
/cfif  
cfif isDefined(url.reloadSession) AND (isBoolean(url.reloadSession) AND 
url.reloadSession)
   cfset onSessionStart()   
/cfif

are even executed. Does this mean that a new instance of Application.cfc is 
created for every request, or that it is invoked statically? I would have 
expected that one instance is shared across requests within an application.

Martijn van der Woud

Move both cfif blocks to the onRequestStart() method so they run a
little bit later.

Jochem



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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315858
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Size of session data

2008-11-24 Thread s. isaac dealey
 I have some code that may help you - it will let you inspect every
 session in every application on the server.  But being CF7 it won't
 give your memory sizes but it will be visually telling.

Are there new JVM features that allow us to get memory size from objects
at run-time in CF8? 


-- 
s. isaac dealey  ^  new epoch
 isn't it time for a change? 
 ph: 781.769.0723

http://onTap.riaforge.org/blog



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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315859
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Anyone know anything about the Canvas Wiki?

2008-11-24 Thread Peter Boughton
I thought being built with Transfer it could be run against any of the
db platforms supported by Transfer? SQL Server, Oracle, PostgreSQL? 

That makes sense - wasn't thinking for a bit, and simply scanned the CodeX 
website for details of databases, which mentions MySQL but not any others.

The Transfer website lists the following minimum versions:
MySQL 4.1, MS SQL Server 2000, Oracle 9i, PostGres 8.1


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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315860
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Size of session data

2008-11-24 Thread Wil Genovese
You can access the Admin Monitoring API, but this is limited because  
there are certain features of the monitoring that you do not want to  
enable on production servers due to the expensive overheard. Charlie  
Arehart has a very good video presentation on his website that covers  
the CF8 Monitor in detail.

http://carehart.org/ugtv/



Wil Genovese

One man with courage makes a majority.
-Andrew Jackson

A fine is a tax for doing wrong. A tax is a fine for doing well.

On Nov 24, 2008, at 6:28 PM, s. isaac dealey wrote:

 I have some code that may help you - it will let you inspect every
 session in every application on the server.  But being CF7 it won't
 give your memory sizes but it will be visually telling.

 Are there new JVM features that allow us to get memory size from  
 objects
 at run-time in CF8?


 -- 
 s. isaac dealey  ^  new epoch
 isn't it time for a change?
 ph: 781.769.0723

 http://onTap.riaforge.org/blog



 

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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315861
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Anyone know anything about the Canvas Wiki?

2008-11-24 Thread s. isaac dealey
 I thought being built with Transfer it could be run against any of the
 db platforms supported by Transfer? SQL Server, Oracle, PostgreSQL? 
 
 That makes sense - wasn't thinking for a bit, and simply scanned the
 CodeX website for details of databases, which mentions MySQL but not
 any others.

Ahh... he may not have gotten around to creating an installation script
for the other db's -- that may be the reason it says MySQL on the wiki
project site. I understand he has DDL on the roadmap for Transfer, so
future versions instead of having installation scripts will probably
just rely on the ORMs DDL tools the way my DataFaucet applications
currently auto-install themselves. 

On the other side of the coin, Transfer has always included object
caching, which I never saw personally as needed within the ORM tool
before (I figured there may as well just be an external caching utility). 

It's kind of funny because Mark made the comment that he hadn't seen the
need for DDL until listening to Hal Helms' CFConversations interview --
and I on the other side I already had it, but hadn't seen tuhe need for
built-in caching until a couple weeks ago when Joe Rinehart published a
couple of blog entries about ORMs. 

So we seem to be sort of attacking the same problems from oposite ends
and coming to a place where they meet in the middle. 

-- 
s. isaac dealey  ^  new epoch
 isn't it time for a change? 
 ph: 781.769.0723

http://onTap.riaforge.org/blog



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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315862
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Size of session data

2008-11-24 Thread James Holmes
You can use java 1.5 (and up) features to run the java sizeOf() package in CF8:

http://sourceforge.net/projects/sizeof
http://sizeof.sourceforge.net/

I've tried it and it does work. You just need the JVM startup option
to start the java agent as shown in the docs.

mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/



2008/11/25 s. isaac dealey [EMAIL PROTECTED]:
 I have some code that may help you - it will let you inspect every
 session in every application on the server.  But being CF7 it won't
 give your memory sizes but it will be visually telling.

 Are there new JVM features that allow us to get memory size from objects
 at run-time in CF8?


 --
 s. isaac dealey  ^  new epoch
  isn't it time for a change?
 ph: 781.769.0723

 http://onTap.riaforge.org/blog



 

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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315863
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Application.cfc question

2008-11-24 Thread James Holmes
A new instance of Application.cfc is created and used on each request,
which is why the code above the first method runs each time.

mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/



2008/11/25 Martijn van der Woud [EMAIL PROTECTED]:
 Just curious: can anyone tell a bit more on how exactly Application.cfc is 
 executed? With normal cfc's I believe that the code above the first method 
 runs only when a new instance of the cfc is created, or when the cfc is 
 invoked as a static component.

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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315864
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Size of session data

2008-11-24 Thread s. isaac dealey
 You can use java 1.5 (and up) features to run the java sizeOf()
 package in CF8:
 
 http://sourceforge.net/projects/sizeof
 http://sizeof.sourceforge.net/
 
 I've tried it and it does work. You just need the JVM startup option
 to start the java agent as shown in the docs.

Awesome, thanks James! :) 

I was looking at Charlie's server monitor presentations again and coming
back around to the same thing... The server monitor stops giving me
information far too early for me to learn anything practical... At least
in CF8 - maybe CF9 will include the enhancement that lets me get past
the first level deep, but in CF8 it's just not useful for me personally
in terms of memory analysis because I don't have gobs of variables in
the application or server scopes -- I keep everything either in
structures like application.tap or application.datafaucet or as private
members in CFCs like application.datafaucet.sources that contains
whatever datasource objects are available for the current app. CF8
server monitor will only tell me that hey, you've got a bunch of stuff
in application.datafaucet which to me is like thanks for the tip,
captain obvious! 

I'll have to look into sizeOf() hopefully it'll make optimization easier
for me. :) 


-- 
s. isaac dealey  ^  new epoch
 isn't it time for a change? 
 ph: 781.769.0723

http://onTap.riaforge.org/blog



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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315865
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4