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:

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:

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

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.

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

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

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.

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

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)

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:

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

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

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

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

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

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)

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

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

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

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

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,

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

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)

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

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).

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

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

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

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

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

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

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

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

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

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

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.

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

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

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

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,

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.

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

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

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.

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

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

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!