Re: Problem Installing New MX7 Instance
Rob Wilkerson wrote: Has anyone ever had any trouble installing an MX7 instance in multi-server configuration? I have a developer machine: WinXP SP2 CFMX7 Multi-server IIS 5.1 (if that matters) The machine is currently running 3 instances of MX7 and 1 instance of MX6.1 that is deployed as a war file. I'm trying to create a new MX7 instance and I keep getting the following error: --- There was a problem Message: The specified Directory attribute jrun install path\servers\cfusion\SERVER-INF\temp\cfusion-war-tmp\2E85BB04-CF1E-54BF-49FC34E6D9076CCB\cfusion.ear\cfusion.war\CFIDE\scripts cannot be deleted. Detail: You may not have permissions to delete this directory. The exception occurred during a cfdirectory action=delete. --- Where do you get this error? In the CF administrator? Have you tried creating a new instance from the JRun administrator and then just copying another instance to it? Jochem ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236208 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Accessing the applications on a given server
Rich Ziade wrote: Is there a way - thru maybe an undocumented feature? - to access the different application scopes that may be running on a single instance of CFMX at the server level? http://tech.badpen.com/index.cfm?mode=entryentry=3 Jochem ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236209 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Problem Installing New MX7 Instance
I get the error on step 3 of the instance creation and, no, I haven't tried creating the new instance in any other manner. I'm certainly willing to try if you can share some destructions for doing so. The key for my installations, though, is that each needs to operate off of a separate jvm.config file so I have to create the service manually. This shouldn't be a problem no matter which way I create the instance, but it's a little abnormal so I thought I'd put it out there. Thanks. On 3/26/06, Jochem van Dieten [EMAIL PROTECTED] wrote: Rob Wilkerson wrote: Has anyone ever had any trouble installing an MX7 instance in multi-server configuration? I have a developer machine: WinXP SP2 CFMX7 Multi-server IIS 5.1 (if that matters) The machine is currently running 3 instances of MX7 and 1 instance of MX6.1 that is deployed as a war file. I'm trying to create a new MX7 instance and I keep getting the following error: --- There was a problem Message: The specified Directory attribute jrun install path\servers\cfusion\SERVER-INF\temp\cfusion-war-tmp\2E85BB04-CF1E-54BF-49FC34E6D9076CCB\cfusion.ear\cfusion.war\CFIDE\scripts cannot be deleted. Detail: You may not have permissions to delete this directory. The exception occurred during a cfdirectory action=delete. --- Where do you get this error? In the CF administrator? Have you tried creating a new instance from the JRun administrator and then just copying another instance to it? Jochem ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236210 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Problem Installing New MX7 Instance
Hey Jochem - Again, thanks for providing a new direction. I got into the JRun admin and created a new instance, but am confused about what I see: Both the JRun and CF Administrators recognize the new instance, but the physical directory structure are very different. My existing instance directories contain 2 subdirectories: cfusion.ear and SERVER-INF. My new instance, on the other hand has 2 subdirectories named default-ear and SERVER-INF. I'm not quite sure what to do at this point. I remember taking these steps when creating multiple instances in MX 6.x, but that's been a long time now and I just don't remember the details. Seems like I had to do some moving and copying of physical directory structures. I appreciate any additional guidance you can provide. On 3/26/06, Rob Wilkerson [EMAIL PROTECTED] wrote: I get the error on step 3 of the instance creation and, no, I haven't tried creating the new instance in any other manner. I'm certainly willing to try if you can share some destructions for doing so. The key for my installations, though, is that each needs to operate off of a separate jvm.config file so I have to create the service manually. This shouldn't be a problem no matter which way I create the instance, but it's a little abnormal so I thought I'd put it out there. Thanks. On 3/26/06, Jochem van Dieten [EMAIL PROTECTED] wrote: Rob Wilkerson wrote: Has anyone ever had any trouble installing an MX7 instance in multi-server configuration? I have a developer machine: WinXP SP2 CFMX7 Multi-server IIS 5.1 (if that matters) The machine is currently running 3 instances of MX7 and 1 instance of MX6.1 that is deployed as a war file. I'm trying to create a new MX7 instance and I keep getting the following error: --- There was a problem Message: The specified Directory attribute jrun install path\servers\cfusion\SERVER-INF\temp\cfusion-war-tmp\2E85BB04-CF1E-54BF-49FC34E6D9076CCB\cfusion.ear\cfusion.war\CFIDE\scripts cannot be deleted. Detail: You may not have permissions to delete this directory. The exception occurred during a cfdirectory action=delete. --- Where do you get this error? In the CF administrator? Have you tried creating a new instance from the JRun administrator and then just copying another instance to it? Jochem ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236211 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Version control - how to?
Does anybody have any suggestions for somebody who's never used any source control? We use DW8 as our primary IDE, CF 6.1 in dev/prod server. Subversion is a good application? Works in WindowsXP and CF/IIS(without Apache) with application server? Any example with this settings? Cheers MD ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236212 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Problem Installing New MX7 Instance
Rob Wilkerson wrote: Again, thanks for providing a new direction. I got into the JRun admin and created a new instance, but am confused about what I see: Both the JRun and CF Administrators recognize the new instance, but the physical directory structure are very different. My existing instance directories contain 2 subdirectories: cfusion.ear and SERVER-INF. My new instance, on the other hand has 2 subdirectories named default-ear and SERVER-INF. I'm not quite sure what to do at this point. 1. Delete default-ear. 2. Copy cfusion-ear from another instance (without the CFML sources and the compiled files in cfclasses). 3. Register the new instance as a service: jrunsvc -install instance -config path-to-jvm.config Jochem ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236213 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Problem Installing New MX7 Instance
Okay. I figured that would be it, but before I screwed anything up I thought I'd verify. Once clarification, though...you mention without the CFML sources. Can you explain what you mean by that? On 3/26/06, Jochem van Dieten [EMAIL PROTECTED] wrote: Rob Wilkerson wrote: Again, thanks for providing a new direction. I got into the JRun admin and created a new instance, but am confused about what I see: Both the JRun and CF Administrators recognize the new instance, but the physical directory structure are very different. My existing instance directories contain 2 subdirectories: cfusion.ear and SERVER-INF. My new instance, on the other hand has 2 subdirectories named default-ear and SERVER-INF. I'm not quite sure what to do at this point. 1. Delete default-ear. 2. Copy cfusion-ear from another instance (without the CFML sources and the compiled files in cfclasses). 3. Register the new instance as a service: jrunsvc -install instance -config path-to-jvm.config Jochem ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236214 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Problem Installing New MX7 Instance
Rob Wilkerson wrote: Okay. I figured that would be it, but before I screwed anything up I thought I'd verify. Once clarification, though...you mention without the CFML sources. Can you explain what you mean by that? If you copy cfusion-war from an existing instance to a new instance you also copy all .cfm files that you have placed there. I presume you want to start the new instance from scratch, so without the applications you have deployed in the old instance. Jochem ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236215 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Problem Installing New MX7 Instance
I haven't added any cfm templates to the install directories so I guess I'm okay on that front. I'll copy the cfusion.ear file from one of my other instances and clear the cfclasses directory and see how that goes. Thanks again. On 3/26/06, Jochem van Dieten [EMAIL PROTECTED] wrote: Rob Wilkerson wrote: Okay. I figured that would be it, but before I screwed anything up I thought I'd verify. Once clarification, though...you mention without the CFML sources. Can you explain what you mean by that? If you copy cfusion-war from an existing instance to a new instance you also copy all .cfm files that you have placed there. I presume you want to start the new instance from scratch, so without the applications you have deployed in the old instance. Jochem ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236216 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Version control - how to?
We just ended up working with Seapine, but that comes at a cost, and with that cost pretty awesome support. But we went that way because we also wanted an integrated defect system and a Quality Assurance system with automated regression testing. Additionally, we were completely green in this area having only used DW8 and check in/out previously. We needed a little handholding and training. We worked with both CVSNT and Subversion before we made our choices. Both are good for simple version control and all the fun that goes with such systems. Subversion is meant to replace CVS with more robust features, but that tech is not as mature as the CVS. Almost all of the systems we saw had plugins to work natively in DW8 or CFEclipse. So its all about preferences. Eric J. Hoffman Managing Partner 2081 Industrial Blvd StillwaterMN55082 mail: [EMAIL PROTECTED] www: http://www.ejhassociates.com tel: 651.717.4105 fax: 651.717.4115 mob: 651.245.2717 This message contains confidential information and is intended only for [EMAIL PROTECTED] If you are not cf-talk@houseoffusion.com you should not disseminate, distribute or copy this e-mail. Please notify [EMAIL PROTECTED] immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Eric J. Hoffman therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. -Original Message- From: Michel Deloux [mailto:[EMAIL PROTECTED] Sent: Sunday, March 26, 2006 11:09 AM To: CF-Talk Subject: Version control - how to? Does anybody have any suggestions for somebody who's never used any source control? We use DW8 as our primary IDE, CF 6.1 in dev/prod server. Subversion is a good application? Works in WindowsXP and CF/IIS(without Apache) with application server? Any example with this settings? Cheers MD ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236217 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: cflogin and load balancing
It doesn't work that way. Since your CFLOGINUSER call is inside a CFLOGIN call, that CFLOGIN call *won't* run when the second server sees your authentication cookie because CFLOGIN only runs when you are *not* authenticated. Respectfully, Adam Phillip Churvis Certified Advanced ColdFusion MX 7 Developer BlueDragon Alliance Founding Committee Get advanced intensive Master-level training in C# ASP.NET 2.0 for ColdFusion Developers at ProductivityEnhancement.com - Original Message - From: wolf2k5 To: CF-Talk Sent: Saturday, March 25, 2006 5:02 AM Subject: Re: cflogin and load balancing On 3/24/06, Adam Churvis [EMAIL PROTECTED] wrote: If I'm not mistaken, *authorization* (not authentication) can't work across multiple CF servers -- clustered or not -- because there's no mechanism for specifying *roles* on any computer other than the one on which CFLOGINUSER was executed. But if the cflogin cookie is there, the second server will automatically execute the cflogin/cfloginuser code, effectively re-logging in the user and re-assigning him the roles automatically. Besides the security concerns (username/password in the cookie), that can be somewhat mitigated using HTTPS, do you see any other issue with this? Thanks. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236218 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: cflogin and load balancing
And one more thing... SSL really doesn't matter because you're not going to use it everywhere on your site, only in some places, so everywhere else that doesn't use SSL is still exposed. You should always use loginStorage=Session and combine this with a solid session syndication mechanism. If you're running BlueDragon.NET then your best bet is ScaleOut StateServer. The built-in freebie state server that comes with Windows craps out around three machines in most cases. Respectfully, Adam Phillip Churvis Certified Advanced ColdFusion MX 7 Developer BlueDragon Alliance Founding Committee Get advanced intensive Master-level training in C# ASP.NET 2.0 for ColdFusion Developers at ProductivityEnhancement.com - Original Message - From: wolf2k5 To: CF-Talk Sent: Saturday, March 25, 2006 5:02 AM Subject: Re: cflogin and load balancing On 3/24/06, Adam Churvis [EMAIL PROTECTED] wrote: If I'm not mistaken, *authorization* (not authentication) can't work across multiple CF servers -- clustered or not -- because there's no mechanism for specifying *roles* on any computer other than the one on which CFLOGINUSER was executed. But if the cflogin cookie is there, the second server will automatically execute the cflogin/cfloginuser code, effectively re-logging in the user and re-assigning him the roles automatically. Besides the security concerns (username/password in the cookie), that can be somewhat mitigated using HTTPS, do you see any other issue with this? Thanks. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236219 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: cflogin and load balancing
And one more thing... SSL really doesn't matter because you're not going to use it everywhere... As in, SSL really doesn't matter with respect to your assumption that it somewhat mitigates the security concerns about cookie values being exposed. Of course SSL matters with respect to just about everything else. :) Respectfully, Adam Phillip Churvis Certified Advanced ColdFusion MX 7 Developer BlueDragon Alliance Founding Committee Get advanced intensive Master-level training in C# ASP.NET 2.0 for ColdFusion Developers at ProductivityEnhancement.com - Original Message - From: Adam Churvis To: CF-Talk Sent: Sunday, March 26, 2006 1:18 PM Subject: Re: cflogin and load balancing And one more thing... SSL really doesn't matter because you're not going to use it everywhere on your site, only in some places, so everywhere else that doesn't use SSL is still exposed. You should always use loginStorage=Session and combine this with a solid session syndication mechanism. If you're running BlueDragon.NET then your best bet is ScaleOut StateServer. The built-in freebie state server that comes with Windows craps out around three machines in most cases. Respectfully, Adam Phillip Churvis Certified Advanced ColdFusion MX 7 Developer BlueDragon Alliance Founding Committee Get advanced intensive Master-level training in C# ASP.NET 2.0 for ColdFusion Developers at ProductivityEnhancement.com - Original Message - From: wolf2k5 To: CF-Talk Sent: Saturday, March 25, 2006 5:02 AM Subject: Re: cflogin and load balancing On 3/24/06, Adam Churvis [EMAIL PROTECTED] wrote: If I'm not mistaken, *authorization* (not authentication) can't work across multiple CF servers -- clustered or not -- because there's no mechanism for specifying *roles* on any computer other than the one on which CFLOGINUSER was executed. But if the cflogin cookie is there, the second server will automatically execute the cflogin/cfloginuser code, effectively re-logging in the user and re-assigning him the roles automatically. Besides the security concerns (username/password in the cookie), that can be somewhat mitigated using HTTPS, do you see any other issue with this? Thanks. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236220 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Version control - how to?
We use subversion to manage a large codebase, and it has worked well so far. We use it with the TourtoiseSVN, which integrates into windows explorer and makes checking in/out and other source control features VERY easy. We do seem to be hitting a wall as far as figuring out how to do QA, and defect tracking. We might be installing TRAC or something similar for integrated defect tracking, but I'm still looking for a good 3 tier deployment QA solution. For example: All the changes are done on the dev server (for most companies, it would be their own workspace, but we're using a single dev server, since our codebase is so large). Once the changes are tested on the dev server, they should be deployed to the QA server. Once the changes have been QA'ed and approved, they are committed and deployed to the production server. I can't seem to figure out how to do this kind of workflow with Subversion. It doesn't look like there are any front end tools for it that allow for this sort of thing. Are there other Source Control systems that allow for something like this? Russ -Original Message- From: Michel Deloux [mailto:[EMAIL PROTECTED] Sent: Sunday, March 26, 2006 12:09 PM To: CF-Talk Subject: Version control - how to? Does anybody have any suggestions for somebody who's never used any source control? We use DW8 as our primary IDE, CF 6.1 in dev/prod server. Subversion is a good application? Works in WindowsXP and CF/IIS(without Apache) with application server? Any example with this settings? Cheers MD ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236221 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Version control - how to?
On 3/26/06, Russ [EMAIL PROTECTED] wrote: We use subversion to manage a large codebase, and it has worked well so far. We use it with the TourtoiseSVN, which integrates into windows explorer and makes checking in/out and other source control features VERY easy. We do seem to be hitting a wall as far as figuring out how to do QA, and defect tracking. We might be installing TRAC or something similar for integrated defect tracking, but I'm still looking for a good 3 tier deployment QA solution. For example: All the changes are done on the dev server (for most companies, it would be their own workspace, but we're using a single dev server, since our codebase is so large). Ok, here you're all working in the trunk to use a standard SCC idiom. Once the changes are tested on the dev server, they should be deployed to the QA server. Here you probably want to *tag* the changes, usually with a bug-tracking report. Then you deploy the tagged version to QA. In SVN you could use a post-commit hook to auto-deploy to QA when a new tag is created or do it manually if you need to coordinate among many people. Once the changes have been QA'ed and approved, they are committed and deployed to the production server. Here you're tagging again, but as a release. You may or may not push it to a branch, but it sounds like everything is changing so often that there's no point to branching. There'd need to be a lot more details to determine the right solution. I can't seem to figure out how to do this kind of workflow with Subversion. It doesn't look like there are any front end tools for it that allow for this sort of thing. This is all about tagging, branching, and deployment. I'd recommend the Pragmatic Programmer's book on Subversion to get started. Are there other Source Control systems that allow for something like this? They all allow for it -- you just need to automate the process using something like Ant or one of the higher-end Ant based tools (Antfarm, CruiseControl, etc). There's more in the Pragmatic Programmer's book on Project Automation. plugCome see me at CFUnited -- agility, testing, and more./plug -- John Paul Ashenfelter CTO/Transitionpoint (blog) http://www.ashenfelter.com (email) [EMAIL PROTECTED] ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236222 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Version control - how to?
On 3/26/06, Michel Deloux [EMAIL PROTECTED] wrote: Does anybody have any suggestions for somebody who's never used any source control? We use DW8 as our primary IDE, CF 6.1 in dev/prod server. Subversion is a good application? Works in WindowsXP and CF/IIS(without Apache) with application server? Any example with this settings? SVN is the defacto choice from the open source world. DW8 doesn't play nice with anything that doesn't support the MS SCC API though, so that limits your choices. There are commercial (and cheap $50/seat) proxies for both SVN and CVS that make them look like a MS SCC API-compatible application to tools like DW8 though. I'd start by getting a good book on source control -- and would suggest the pragmatic programmers SVN book. Cheers MD ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236223 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Alagad Image CFC
Is it possible to use the Image CFC to perform a similar operation (the conversion). I was also considering a command-line based 3rd party tool besides Photoshop. I have a program that is freeware and works great (FastStone Image Viewer), but it doesn't have a command line function. as far as i know the issue was never resolved but we did find that if we opened the files up i photoshop and bounced between cmyk and back to rgb and then saved for web that it resolved the issue. i'd contact doug directly and see if your files don't add more insight into the mystery. jonese (aka erj) On 3/5/06, Mark McArthey [EMAIL PROTECTED] wrote: ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236224 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: cflogin and load balancing
Adam Churvis wrote: It doesn't work that way. Since your CFLOGINUSER call is inside a CFLOGIN call, that CFLOGIN call *won't* run when the second server sees your authentication cookie because CFLOGIN only runs when you are *not* authenticated. So what you do is assign one standard role to everyone. When the user is logged in but does not have that role assigned, you log him out and in again. Role assignments get executed again on the cfloginuser and the user gets his roles. Bit clumsy, but it works. Jochem ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236225 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: cflogin and load balancing
Jochem, IMHO, having to explicitly test faux credentials on every request and logout/login each time you hit a new server in the cluster is a kludge at best. And I don't mean this as a criticism of you at all -- I highly respect your work; it's a criticism of Macromedia/Adobe for letting this problem go on for so long. Why doesn't Adobe just fix CFLOGIN? Respectfully, Adam Phillip Churvis Certified Advanced ColdFusion MX 7 Developer BlueDragon Alliance Founding Committee Get advanced intensive Master-level training in C# ASP.NET 2.0 for ColdFusion Developers at ProductivityEnhancement.com - Original Message - From: Jochem van Dieten To: CF-Talk Sent: Sunday, March 26, 2006 4:34 PM Subject: Re: cflogin and load balancing Adam Churvis wrote: It doesn't work that way. Since your CFLOGINUSER call is inside a CFLOGIN call, that CFLOGIN call *won't* run when the second server sees your authentication cookie because CFLOGIN only runs when you are *not* authenticated. So what you do is assign one standard role to everyone. When the user is logged in but does not have that role assigned, you log him out and in again. Role assignments get executed again on the cfloginuser and the user gets his roles. Bit clumsy, but it works. Jochem ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236226 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Problem Installing New MX7 Instance
For the record, and for anyone who may have been following this thread, this solution appears to have worked perfectly. I'll know more as I have more opportunity to work in the new environment, but everything looks great for now. Thanks very much, Jochem. I had gotten so frustrated that I forgot all about the old way. I really appreciate your help. On 3/26/06, Rob Wilkerson [EMAIL PROTECTED] wrote: I haven't added any cfm templates to the install directories so I guess I'm okay on that front. I'll copy the cfusion.ear file from one of my other instances and clear the cfclasses directory and see how that goes. Thanks again. On 3/26/06, Jochem van Dieten [EMAIL PROTECTED] wrote: Rob Wilkerson wrote: Okay. I figured that would be it, but before I screwed anything up I thought I'd verify. Once clarification, though...you mention without the CFML sources. Can you explain what you mean by that? If you copy cfusion-war from an existing instance to a new instance you also copy all .cfm files that you have placed there. I presume you want to start the new instance from scratch, so without the applications you have deployed in the old instance. Jochem ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236227 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54