RE: Permissions with .CFR's (Report Builder)
> I can't find mention anywhere of how to best manage > security/permissions on ..cfr files output by the ColdFusion > Report Builder. I don't think you'll find much information on this topic because there isn't any. > - How can I determine within the Report Builder if a user > should have access to the report > > - And if they shouldn't have access, how do I prompt them to > log in (either via a session or cflogin), or kick them out of > the report to where they can log in and be returned to the report. I don't think there's much you can do about this within the Report Builder itself. However, you can either use web server permissions/authentication to manage access to .cfr files, or you can invoke those files from a CF page using the CFREPORT tag, and manage access however you like from there. 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! ~| Check out the new features and enhancements in the latest product release - download the "What's New PDF" now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:293626 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Permissions
> > >I doubt that'll work. He said any CF code throws an error. Yeah, excuse the brainfart. Perhaps tracking down the XML file with the serial number (the name of the file escapes me at the moment) would suffice? _ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Permissions
> CF Code: Irrelevant. I could post more CF code, but since > *ALL* CF code throws the errors that I mentioned, it doesn't > seem useful. This is a server error, as far as I can tell, > not a coding error. I think you're almost certainly correct about this. > Version of MX: I'm afraid that I can't track down a release > number in my documentation or on my installation media. The > release date for my copy is August 2002, so I assume it's > pre-Updater 2. I would strongly recommend that you try installing Updater 3, which changed quite a bit for CFMX for J2EE, if I recall correctly. If that doesn't work, your easiest solution is probably to remove and reinstall both JRun and CFMX. I know that's not much of a solution, but you will probably have less trouble with that than with trying to figure out the problem. > Webserver: Apache 2.0.45. I've tried using the internal > webserver that listens on Port 8500, but I noticed no > difference in performance. My only reason for recommending that you try the built-in web server was just to see if the server worked at all. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Host with the leader in ColdFusion hosting. Voted #1 ColdFusion host by CF Developers. Offering shared and dedicated hosting options. www.cfxhosting.com/default.cfm?redirect=10481 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Permissions
I doubt that'll work. He said any CF code throws an error. -Original Message- From: Dave Carabetta [mailto:[EMAIL PROTECTED] Sent: Monday, June 09, 2003 6:49 PM To: CF-Talk Subject: Re: Permissions > Sorry, I thought I gave that information. > > CF Code: Irrelevant. I could post more CF code, but since *ALL* CF > code throws the errors that I mentioned, it doesn't seem useful. This > is a server error, as far as I can tell, not a coding error. > > Version of MX: I'm afraid that I can't track down a release number in > my documentation or on my installation media. The release date for my > copy is > August 2002, so I assume it's pre-Updater 2. Put this into a test template and let me know what the ProductVersion key says: > > Version of JRun: 4, Service Pack 1a. So I assume that you're running CFMX on JRun 4? > > OS: Solaris 9, all patches applied. If you're not on Updater 3, you should see that you get up to it when you can. If you go to the link below, you'll see that MM notes that Solaris 9 is supported only on Updater 3: http://www.macromedia.com/software/coldfusion/productinfo/system_reqs/ > > Webserver: Apache 2.0.45. I've tried using the internal webserver > that listens on Port 8500, but I noticed no difference in performance. > Don't see anything wrong with that. Let me know about the other info, and we can go from there. Regards, Dave. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Permissions
> Sorry, I thought I gave that information. > > CF Code: Irrelevant. I could post more CF code, but since *ALL* CF code > throws the errors that I mentioned, it doesn't seem useful. This is a > server error, as far as I can tell, not a coding error. > > Version of MX: I'm afraid that I can't track down a release number in my > documentation or on my installation media. The release date for my copy is > August 2002, so I assume it's pre-Updater 2. Put this into a test template and let me know what the ProductVersion key says: > > Version of JRun: 4, Service Pack 1a. So I assume that you're running CFMX on JRun 4? > > OS: Solaris 9, all patches applied. If you're not on Updater 3, you should see that you get up to it when you can. If you go to the link below, you'll see that MM notes that Solaris 9 is supported only on Updater 3: http://www.macromedia.com/software/coldfusion/productinfo/system_reqs/ > > Webserver: Apache 2.0.45. I've tried using the internal webserver that > listens on Port 8500, but I noticed no difference in performance. > Don't see anything wrong with that. Let me know about the other info, and we can go from there. Regards, Dave. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Permissions
Ahh, you're using CFMX for JRun. You'll need to download the latest installer from macromedia. The installer you're using is most likely the 'phase 1' installer which doesn't play well with JRun SP1a without some tweaking. hope that helps, chris >-Original Message- >From: Richard Crawford [mailto:[EMAIL PROTECTED] >Sent: Monday, June 09, 2003 4:36 PM >To: CF-Talk >Subject: Re: Permissions > >Sorry, I thought I gave that information. > >CF Code: Irrelevant. I could post more CF code, but since *ALL* CF code >throws the errors that I mentioned, it doesn't seem useful. This is a >server error, as far as I can tell, not a coding error. > >Version of MX: I'm afraid that I can't track down a release number in my >documentation or on my installation media. The release date for my copy is >August 2002, so I assume it's pre-Updater 2. > >Version of JRun: 4, Service Pack 1a. > >OS: Solaris 9, all patches applied. > >Webserver: Apache 2.0.45. I've tried using the internal webserver that >listens on Port 8500, but I noticed no difference in performance. > > > > > >At 07:20 PM 6/9/2003 -0400, you wrote: >>You are, of course, free to do as you wish, but we need more information, >>per Dave Watts' post, regarding your version of MX and whether or not >you're >>using the internal web server or IIS/Apache, etc. There are a lot of >>variables in an MX installation, and getting a feel for your exact setup >>will help to diagnose what's going on. In addition to Dave's e-mail, what >OS >>are you on? Windows? *nix? > > ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Permissions
Sorry, I thought I gave that information. CF Code: Irrelevant. I could post more CF code, but since *ALL* CF code throws the errors that I mentioned, it doesn't seem useful. This is a server error, as far as I can tell, not a coding error. Version of MX: I'm afraid that I can't track down a release number in my documentation or on my installation media. The release date for my copy is August 2002, so I assume it's pre-Updater 2. Version of JRun: 4, Service Pack 1a. OS: Solaris 9, all patches applied. Webserver: Apache 2.0.45. I've tried using the internal webserver that listens on Port 8500, but I noticed no difference in performance. At 07:20 PM 6/9/2003 -0400, you wrote: >You are, of course, free to do as you wish, but we need more information, >per Dave Watts' post, regarding your version of MX and whether or not you're >using the internal web server or IIS/Apache, etc. There are a lot of >variables in an MX installation, and getting a feel for your exact setup >will help to diagnose what's going on. In addition to Dave's e-mail, what OS >are you on? Windows? *nix? ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Permissions
> Hm. I'm wondering if, at this point, it would be worth simply reinstalling > Cold Fusion. > You are, of course, free to do as you wish, but we need more information, per Dave Watts' post, regarding your version of MX and whether or not you're using the internal web server or IIS/Apache, etc. There are a lot of variables in an MX installation, and getting a feel for your exact setup will help to diagnose what's going on. In addition to Dave's e-mail, what OS are you on? Windows? *nix? Regards, Dave. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Permissions
Hm. I'm wondering if, at this point, it would be worth simply reinstalling Cold Fusion. At 01:54 PM 6/9/2003 -0700, you wrote: >At 04:23 PM 6/9/2003 -0400, you wrote: > > > > # Yes, page2.cfm exists. > > > >It should be: > > > > > > > >I'm not sure if that was a typo or not, but that would definitely cause your > >error, as the MX compiler wouldn't even be able to compile that, let alone > >cause a run-time error. > >Sorry, it was a typo on my part. The code in question is > > > >The point is that any code, whether valid or not, causes this error. > > > >Hmmm. What updater are you running of CFMX? I know there were page context > >bug issues that would cause similar errors as above, some of which were > >resolved in Updater 3. I'm not sure if one of these resolved issues is your > >problem, but I used to get those errors before I applied the updater, and > >haven't seen them since. > >Hm. I am simply running the version that came on the CD. Updater 3 is not >installed on this system. > >I should point out that this behavior is new. The system was working >relatively fine this morning until about 8:30. Are there logs I can check >from the command line that would indicate errors that I can look at? > > ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Permissions
> As I mentioned, the error gets thrown no matter what CFML > code is being interpreted. > > Actually, at this point it all seems moot. Loading any page > now presents a "index/size" error, and deleting the > appropriate files from the cache just makes things worse. Are you using one of the "standalone" versions - CFMX Enterprise, CFMX Professional, etc - of CFMX? Or are you using CFMX for J2EE? If you're using CFMX for J2EE, do JSP pages work correctly? Are you using an external web server (IIS, Apache, etc), or are you using the built-in web server which listens on port 8500? If you haven't already, can you try using the built-in web server? > I have no idea why our department chose to go with Cold > Fusion. It has given us nothing but heartache ever since > we made that decision. There are plenty of more stable and > usable technologies out there that don't crash if you look > at them sideways. I'm sorry to hear that you've had such problems with ColdFusion. However, your problems are atypical; most CF users don't have these sorts of problems, and if they did, they'd abandon the product I suspect. I realize that won't make you feel any better, but there it is. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Permissions
At 04:23 PM 6/9/2003 -0400, you wrote: > > # Yes, page2.cfm exists. > >It should be: > > > >I'm not sure if that was a typo or not, but that would definitely cause your >error, as the MX compiler wouldn't even be able to compile that, let alone >cause a run-time error. Sorry, it was a typo on my part. The code in question is The point is that any code, whether valid or not, causes this error. >Hmmm. What updater are you running of CFMX? I know there were page context >bug issues that would cause similar errors as above, some of which were >resolved in Updater 3. I'm not sure if one of these resolved issues is your >problem, but I used to get those errors before I applied the updater, and >haven't seen them since. Hm. I am simply running the version that came on the CD. Updater 3 is not installed on this system. I should point out that this behavior is new. The system was working relatively fine this morning until about 8:30. Are there logs I can check from the command line that would indicate errors that I can look at? ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Permissions
>Here is some code that will cause an error on my system currently: > > >Hello > > >...and some more: > > # Yes, page2.cfm exists. > >...and some more: > > It should be: I'm not sure if that was a typo or not, but that would definitely cause your error, as the MX compiler wouldn't even be able to compile that, let alone cause a run-time error. >In other words, the very first bit of code that the interpreter encounters >when loading a page causes the "Context validation error"; any code at all, >well-formed or not, will cause this error. Since it shows up for every >page, regardless of the code that is within it, I didn't think that the >specifics of the code itself were relevant. > >However, the "context validation error" itself is irrelevant at this >point. When getting to the front page of my site -- the login page, where >I must login to proceed, produces this error: > >Index: 216, Size: 81 > >The only error log which seems to echo this error is the >default-event.log. When encountering this error in the past, I was able to >delete relevant iles from the >${JRUN_HOME}/servers/default/cfusion/WEB-INF/classes directory; in this >case, though, when I do that I receive "file not found" errors, or >"directory browsing forbidden" errors. Hmmm. What updater are you running of CFMX? I know there were page context bug issues that would cause similar errors as above, some of which were resolved in Updater 3. I'm not sure if one of these resolved issues is your problem, but I used to get those errors before I applied the updater, and haven't seen them since. Regards, Dave. _ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Permissions
you may wanna try this instead of dave - Original Message - From: "Richard Crawford" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Monday, June 09, 2003 3:56 PM Subject: Re: Permissions > At 03:35 PM 6/9/2003 -0400, you wrote: > >cold fusion aka "coldfusion" is wonderful. > >go try those other "more stable and usable technologies" and we will see ya > >back here soon;) > > (My rant in response is at the bottom of this e-mail. You may ignore or > flame me as you see fit, but I think it would be best to keep replies > off-list.) > > > >as was suggested how about posting some code so we can help you > > Here is some code that will cause an error on my system currently: > > > Hello > > > ...and some more: > ># Yes, page2.cfm exists. > > ...and some more: > > > > In other words, the very first bit of code that the interpreter encounters > when loading a page causes the "Context validation error"; any code at all, > well-formed or not, will cause this error. Since it shows up for every > page, regardless of the code that is within it, I didn't think that the > specifics of the code itself were relevant. > > However, the "context validation error" itself is irrelevant at this > point. When getting to the front page of my site -- the login page, where > I must login to proceed, produces this error: > > Index: 216, Size: 81 > > The only error log which seems to echo this error is the > default-event.log. When encountering this error in the past, I was able to > delete relevant iles from the > ${JRUN_HOME}/servers/default/cfusion/WEB-INF/classes directory; in this > case, though, when I do that I receive "file not found" errors, or > "directory browsing forbidden" errors. > > 06/09 12:49:52 error Index: 216, Size: 81 > java.lang.IndexOutOfBoundsException: Index: 216, Size: 81 > at java.util.ArrayList.RangeCheck(ArrayList.java:508) > at java.util.ArrayList.get(ArrayList.java:320) > at > coldfusion.compiler.ClassReader.readAttributes(ClassReader.java:203) > at > coldfusion.compiler.ClassReader.readAttributes(ClassReader.java:191) > at coldfusion.compiler.ClassReader.rewrite(ClassReader.java:283) > at > coldfusion.compiler.NeoTranslator.rewriteLineNumberTable(NeoTranslator.java: 390) > at > coldfusion.compiler.NeoTranslator.translateJava(NeoTranslator.java:327) > at > coldfusion.compiler.NeoTranslator.translateJava(NeoTranslator.java:171) > at > coldfusion.runtime.TemplateClassLoader$1.fetch(TemplateClassLoader.java:225) > at coldfusion.util.LruCache.get(LruCache.java:188) > at > coldfusion.runtime.TemplateClassLoader$TemplateCache.fetchSerial(TemplateCla ssLoader.java:200) > at coldfusion.util.AbstractCache.fetch(AbstractCache.java:58) > at coldfusion.util.SoftCache.get(SoftCache.java:81) > at > coldfusion.runtime.TemplateClassLoader.findClass(TemplateClassLoader.java:32 2) > at coldfusion.filter.PathFilter.invoke(PathFilter.java:49) > at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:47) > at > coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistence Filter.java:27) > at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38) > at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:51) > at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22) > at coldfusion.CfmServlet.service(CfmServlet.java:99) > at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91) > at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42) > at > jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:226) > at > jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527) > at > jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:198) > at > jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java: 348) > at > jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:451 ) > at > jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:29 4) > at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) > > > > > > > == > Rant mode on: > > I've used PHP for years with hardly any problems at all... and when > problems showed up, I had very little trouble finding a solution. > > This is just my opi
Re: Permissions
At 03:35 PM 6/9/2003 -0400, you wrote: >cold fusion aka "coldfusion" is wonderful. >go try those other "more stable and usable technologies" and we will see ya >back here soon;) (My rant in response is at the bottom of this e-mail. You may ignore or flame me as you see fit, but I think it would be best to keep replies off-list.) >as was suggested how about posting some code so we can help you Here is some code that will cause an error on my system currently: Hello ...and some more: # Yes, page2.cfm exists. ...and some more: In other words, the very first bit of code that the interpreter encounters when loading a page causes the "Context validation error"; any code at all, well-formed or not, will cause this error. Since it shows up for every page, regardless of the code that is within it, I didn't think that the specifics of the code itself were relevant. However, the "context validation error" itself is irrelevant at this point. When getting to the front page of my site -- the login page, where I must login to proceed, produces this error: Index: 216, Size: 81 The only error log which seems to echo this error is the default-event.log. When encountering this error in the past, I was able to delete relevant iles from the ${JRUN_HOME}/servers/default/cfusion/WEB-INF/classes directory; in this case, though, when I do that I receive "file not found" errors, or "directory browsing forbidden" errors. 06/09 12:49:52 error Index: 216, Size: 81 java.lang.IndexOutOfBoundsException: Index: 216, Size: 81 at java.util.ArrayList.RangeCheck(ArrayList.java:508) at java.util.ArrayList.get(ArrayList.java:320) at coldfusion.compiler.ClassReader.readAttributes(ClassReader.java:203) at coldfusion.compiler.ClassReader.readAttributes(ClassReader.java:191) at coldfusion.compiler.ClassReader.rewrite(ClassReader.java:283) at coldfusion.compiler.NeoTranslator.rewriteLineNumberTable(NeoTranslator.java:390) at coldfusion.compiler.NeoTranslator.translateJava(NeoTranslator.java:327) at coldfusion.compiler.NeoTranslator.translateJava(NeoTranslator.java:171) at coldfusion.runtime.TemplateClassLoader$1.fetch(TemplateClassLoader.java:225) at coldfusion.util.LruCache.get(LruCache.java:188) at coldfusion.runtime.TemplateClassLoader$TemplateCache.fetchSerial(TemplateClassLoader.java:200) at coldfusion.util.AbstractCache.fetch(AbstractCache.java:58) at coldfusion.util.SoftCache.get(SoftCache.java:81) at coldfusion.runtime.TemplateClassLoader.findClass(TemplateClassLoader.java:322) at coldfusion.filter.PathFilter.invoke(PathFilter.java:49) at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:47) at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:27) at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38) at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:51) at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22) at coldfusion.CfmServlet.service(CfmServlet.java:99) at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91) at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42) at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:226) at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527) at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:198) at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:348) at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:451) at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:294) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) == Rant mode on: I've used PHP for years with hardly any problems at all... and when problems showed up, I had very little trouble finding a solution. This is just my opinion. I don't like using Cold Fusion. It has been nothing but frustration for me. I find it unstable, I find the server incomprehensible and impossible to configure without the frequently-malfunctioning web-based admin page. If the admin page crashes, you're in hot water if you need to try adjusting configurations to make anything work again. Unfortunately, I am currently in a job where the tool of choice is Cold Fusion, and my job is to get it working on our production server. After four weeks of pain, it has not worked for more than a couple of days without something or other going wrong. I have followed all of the documentation faithfully, but I have also found that support which goes beyond the official documentation is either lacking or requires money to get to (another reason
Re: Permissions
cold fusion aka "coldfusion" is wonderful. go try those other "more stable and usable technologies" and we will see ya back here soon;) as was suggested how about posting some code so we can help you - Original Message - From: "Richard Crawford" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Monday, June 09, 2003 3:23 PM Subject: Re: Permissions > As I mentioned, the error gets thrown no matter what CFML code is being > interpreted. > > Actually, at this point it all seems moot. Loading any page now presents a > "index/size" error, and deleting the appropriate files from the cache just > makes things worse. > > I have no idea why our department chose to go with Cold Fusion. It has > given us nothing but heartache ever since we made that decision. There are > plenty of more stable and usable technologies out there that don't crash if > you look at them sideways. > > > At 02:53 PM 6/9/2003 -0400, you wrote: > >Ahh, that's a bit different. So CFMX starts up OK (which is what I thought > >your problem was), but a particular piece of codes isn't running correctly? > >Can you post the code? Also beware that MX is not a good as displaying the > >exact line of code that's throwing the error as previous versions are. I > >only say that because maybe the line it's pin-pointing isn't actually the > >culprit. > > > >Can you post the code, error message, and stack trace? > > ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Host with the leader in ColdFusion hosting. Voted #1 ColdFusion host by CF Developers. Offering shared and dedicated hosting options. www.cfxhosting.com/default.cfm?redirect=10481 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Permissions
As I mentioned, the error gets thrown no matter what CFML code is being interpreted. Actually, at this point it all seems moot. Loading any page now presents a "index/size" error, and deleting the appropriate files from the cache just makes things worse. I have no idea why our department chose to go with Cold Fusion. It has given us nothing but heartache ever since we made that decision. There are plenty of more stable and usable technologies out there that don't crash if you look at them sideways. At 02:53 PM 6/9/2003 -0400, you wrote: >Ahh, that's a bit different. So CFMX starts up OK (which is what I thought >your problem was), but a particular piece of codes isn't running correctly? >Can you post the code? Also beware that MX is not a good as displaying the >exact line of code that's throwing the error as previous versions are. I >only say that because maybe the line it's pin-pointing isn't actually the >culprit. > >Can you post the code, error message, and stack trace? ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Permissions
>I'm basically just grasping at straws here. Every single file within the >cfusion directory is owned by the user 'cfusion'. Cfusion is run by the >same user. I'm still receiving the same error I've received before -- Cold >Fusion is just not being interpreted, even though my JRun logs show that >the Cold Fusion interpreter started normally with no errors. The error I >receive whenever I go to a Cold Fusion page on my server is "Context >validation error for tag cfelse" (though I've also seen "cfif" in place of >"cfelse"). It's the "Context validation error" part that seems to be >relevant. > >I've disabled "HTTP status codes" per David Watts's suggestion, but that >has not affected output. Ahh, that's a bit different. So CFMX starts up OK (which is what I thought your problem was), but a particular piece of codes isn't running correctly? Can you post the code? Also beware that MX is not a good as displaying the exact line of code that's throwing the error as previous versions are. I only say that because maybe the line it's pin-pointing isn't actually the culprit. Can you post the code, error message, and stack trace? Regards, Dave. _ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Permissions
I'm basically just grasping at straws here. Every single file within the cfusion directory is owned by the user 'cfusion'. Cfusion is run by the same user. I'm still receiving the same error I've received before -- Cold Fusion is just not being interpreted, even though my JRun logs show that the Cold Fusion interpreter started normally with no errors. The error I receive whenever I go to a Cold Fusion page on my server is "Context validation error for tag cfelse" (though I've also seen "cfif" in place of "cfelse"). It's the "Context validation error" part that seems to be relevant. I've disabled "HTTP status codes" per David Watts's suggestion, but that has not affected output. At 01:42 PM 6/9/2003 -0400, you wrote: > >On a *nix based system, can the permissions of the various files associated > >with Cold Fusion affect its ability to run? > >Of course it can, if I'm reading your statement correctly. If the user that >ColdFusion runs under doesn't have permission to read/write/execute a >particular file, the application server will rightly choke on startup. Can >you post some examples of what you're talking about if you're having >problems? ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Permissions
How about if the mail files in the /coldfusion/mail/spool directory aren't 'moveable' by CF, it pukes itself to death? ;) > >On a *nix based system, can the permissions of the various files associated > >with Cold Fusion affect its ability to run? > > Of course it can, if I'm reading your statement correctly. If the user that > ColdFusion runs under doesn't have permission to read/write/execute a > particular file, the application server will rightly choke on startup. Can > you post some examples of what you're talking about if you're having > problems? > > _ > MSN 8 with e-mail virus protection service: 2 months FREE* > http://join.msn.com/?page=features/virus > > ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Permissions
>On a *nix based system, can the permissions of the various files associated >with Cold Fusion affect its ability to run? Of course it can, if I'm reading your statement correctly. If the user that ColdFusion runs under doesn't have permission to read/write/execute a particular file, the application server will rightly choke on startup. Can you post some examples of what you're talking about if you're having problems? _ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Permissions
> Windows systems do not require "permissions" as Unix systems > do. When CF was installed, it should have configured your web > server to recognize .cfm templates and pass them off to the > CFServer. Now, you might want to configure your Web Server to > recognize index.cfm or default.cfm as defaults in directories. This isn't really the case. Windows NT and 2000 certainly do require permissions as Unix systems do. Every time any process touches a file, the operating system checks permissions. Most of the time, with standard Windows NT/2000 installs, this isn't much of an issue simply because permissions are very broadly granted, but the permissions are still there. CF runs with a specific set of rights, and must have read/execute permissions on .cfm files. Martin Herbener, a frequent contributor to this list, has written a good discussion of configuring permissions for CF on NT: http://www.defusion.com/articles/index.cfm?ArticleID=89 Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Permissions
I'm no Unix expert, so I can't compare the two. But Windows systems do have some form of permissions required on directories. I am not an expert on setting up / configuring servers, though. I do not know which user context CFAS runs in. As Dave inferred at below, the ColdFusion standard setup usually works for me without any further configurations. You may post this over on the CF-SERVER list and get better response. At 12:22 PM 04/15/2001 -0400, you wrote: >Windows systems do not require "permissions" as Unix systems do. When CF >was installed, it should have configured your web server to recognize .cfm >templates and pass them off to the CFServer. Now, you might want to >configure your Web Server to recognize index.cfm or default.cfm as defaults >in directories. > >Dave > > >- Original Message - >From: Al Musella, DPM <[EMAIL PROTECTED]> >To: CF-Talk <[EMAIL PROTECTED]> >Sent: Sunday, April 15, 2001 10:26 AM >Subject: Permissions > > > > > > What permissions (I am using windows 2000 server) does cold fusion > > require on directories that contain .cfm files? > > > > > > Al Musella, DPM > > > > > > > > > > > > > ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Permissions
Windows systems do not require "permissions" as Unix systems do. When CF was installed, it should have configured your web server to recognize .cfm templates and pass them off to the CFServer. Now, you might want to configure your Web Server to recognize index.cfm or default.cfm as defaults in directories. Dave - Original Message - From: Al Musella, DPM <[EMAIL PROTECTED]> To: CF-Talk <[EMAIL PROTECTED]> Sent: Sunday, April 15, 2001 10:26 AM Subject: Permissions > > What permissions (I am using windows 2000 server) does cold fusion > require on directories that contain .cfm files? > > > Al Musella, DPM > > > > > > ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: permissions problem?
Well...after all of that...the problem was a missing trailing \ in my path statement!!! Someone kick me in the head now. Shane Witbeck -Original Message- From: Simon Horwith [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 22, 2000 10:07 AM To: CF-Talk Subject: RE: permissions problem? make sure the profile CF Server uses has not only write, but execute permissions, and check the tag execution resstriction settings in the CF Admin. Also, check your Web server's permissions make sure write and execute are allowed in the directory in question (if it's mapped in your web server), and it also doesn't hurt to allow execution permission in the directory holding or calling the custom tag. When I encounter errors like this, I remove all security, then tighten it step by step while testing the code after each permissions change. You might want to do a quick comparison of the test server that it does work on, against the production box what differences are there, if any? ~Simon > Simon Horwith > Certified ColdFusion Developer > Fig Leaf Software > 1400 16th St NW, # 220 > Washington DC 20036 > 202.797.6570 (direct line) > www.figleaf.com > -Original Message- From: Shane Witbeck [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 22, 2000 9:50 AM To: CF-Talk Subject: permissions problem? I am attempting to use the AutoResize custom tag to upload pictures to a specified folder on a machine. Everything works correctly on my development machine but the production machine is throwing a what I think is a permissions error: Error processing CFFILE Error attempting to save uploaded file to path 'e:\webclients\domainfolderhere\yourphotos_new\users\59..' Access is denied. (error 5) The error occurred while processing an element with a general identifier of (CFFILE), occupying document position (46:2) to (49:40) in the template file d:\CFUSION\CustomTags\AutoResize.cfm I have verified that write permissions exist on the folder where the pictures are to be uploaded and for the hell of it I changed the permissions to "Full Control" for everyone and I still got the error. Any help or additional suggestions would be much appreciated. The production machine is running NT 4, IIS 4. Shane Witbeck ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: permissions problem?
make sure the profile CF Server uses has not only write, but execute permissions, and check the tag execution resstriction settings in the CF Admin. Also, check your Web server's permissions make sure write and execute are allowed in the directory in question (if it's mapped in your web server), and it also doesn't hurt to allow execution permission in the directory holding or calling the custom tag. When I encounter errors like this, I remove all security, then tighten it step by step while testing the code after each permissions change. You might want to do a quick comparison of the test server that it does work on, against the production box what differences are there, if any? ~Simon > Simon Horwith > Certified ColdFusion Developer > Fig Leaf Software > 1400 16th St NW, # 220 > Washington DC 20036 > 202.797.6570 (direct line) > www.figleaf.com > -Original Message- From: Shane Witbeck [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 22, 2000 9:50 AM To: CF-Talk Subject: permissions problem? I am attempting to use the AutoResize custom tag to upload pictures to a specified folder on a machine. Everything works correctly on my development machine but the production machine is throwing a what I think is a permissions error: Error processing CFFILE Error attempting to save uploaded file to path 'e:\webclients\domainfolderhere\yourphotos_new\users\59..' Access is denied. (error 5) The error occurred while processing an element with a general identifier of (CFFILE), occupying document position (46:2) to (49:40) in the template file d:\CFUSION\CustomTags\AutoResize.cfm I have verified that write permissions exist on the folder where the pictures are to be uploaded and for the hell of it I changed the permissions to "Full Control" for everyone and I still got the error. Any help or additional suggestions would be much appreciated. The production machine is running NT 4, IIS 4. Shane Witbeck ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: permissions problem?
You might need to restart the coldfusion service - NT usually only figures out a user's permissions upon login. -Original Message- From: Shane Witbeck [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 22, 2000 9:50 AM To: CF-Talk Subject: permissions problem? I am attempting to use the AutoResize custom tag to upload pictures to a specified folder on a machine. Everything works correctly on my development machine but the production machine is throwing a what I think is a permissions error: Error processing CFFILE Error attempting to save uploaded file to path 'e:\webclients\domainfolderhere\yourphotos_new\users\59..' Access is denied. (error 5) The error occurred while processing an element with a general identifier of (CFFILE), occupying document position (46:2) to (49:40) in the template file d:\CFUSION\CustomTags\AutoResize.cfm I have verified that write permissions exist on the folder where the pictures are to be uploaded and for the hell of it I changed the permissions to "Full Control" for everyone and I still got the error. Any help or additional suggestions would be much appreciated. The production machine is running NT 4, IIS 4. Shane Witbeck ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: permissions problem?
1) disk full? 2) is CFFILE enabled in the admin console? -Original Message- From: Shane Witbeck [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 22, 2000 6:50 AM To: CF-Talk Subject: permissions problem? I am attempting to use the AutoResize custom tag to upload pictures to a specified folder on a machine. Everything works correctly on my development machine but the production machine is throwing a what I think is a permissions error: Error processing CFFILE Error attempting to save uploaded file to path 'e:\webclients\domainfolderhere\yourphotos_new\users\59..' Access is denied. (error 5) The error occurred while processing an element with a general identifier of (CFFILE), occupying document position (46:2) to (49:40) in the template file d:\CFUSION\CustomTags\AutoResize.cfm I have verified that write permissions exist on the folder where the pictures are to be uploaded and for the hell of it I changed the permissions to "Full Control" for everyone and I still got the error. Any help or additional suggestions would be much appreciated. The production machine is running NT 4, IIS 4. Shane Witbeck ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists