Re: Migrate back and forth between cf7 and cf8 on IIS
An easier way may be to set up a virtual PC with the version of cf you use least often.. leave the other one on your computer.. Then just launch the virtual pc when you need that version. Set up a hosts file on your computer so cf8.mydomain.com goes to the virtual pc. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350346 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Migrate back and forth between cf7 and cf8 on IIS
I should begin this by saying that I am not a server admin by any means and I am a novice at IIS. I've been on CF7 for my app for the past year. I have the developer cf7 installed on the IIS on XP. It's been working great as my localHost. I've now been given a site that is on CF8. I've chosen to not have the two servers run at the same time if I can stop one and restart the other. So I installed CF8, changed my Home directory in IIS, stopped the cf7 services, restarted the server and it went to CF8 fine. I had a problem returning to CF7. I switched the home directory in IIS, disabled cf8 services, enabled cf7 services, restarted the IIS server. I now receive the error on localHost of Could not connect to JRun Server. I don't know what to do next. Any thoughts? In the end, I need a process for switching between the two setups. thank you. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350313 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Migrate back and forth between cf7 and cf8 on IIS
What services are running? On Mar 9, 2012 11:47 AM, daniel kessler dani...@umd.edu wrote: I should begin this by saying that I am not a server admin by any means and I am a novice at IIS. I've been on CF7 for my app for the past year. I have the developer cf7 installed on the IIS on XP. It's been working great as my localHost. I've now been given a site that is on CF8. I've chosen to not have the two servers run at the same time if I can stop one and restart the other. So I installed CF8, changed my Home directory in IIS, stopped the cf7 services, restarted the server and it went to CF8 fine. I had a problem returning to CF7. I switched the home directory in IIS, disabled cf8 services, enabled cf7 services, restarted the IIS server. I now receive the error on localHost of Could not connect to JRun Server. I don't know what to do next. Any thoughts? In the end, I need a process for switching between the two setups. thank you. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350314 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Migrate back and forth between cf7 and cf8 on IIS
What services are running? They're the CF ones that are installed. For cf7: ColdFusion MX 7 Application Server ColdFusion MX 7 ODBC Agent ColdFusion MX 7 Search Server For cf8: ColdFusion 8 .NET Service ColdFusion 8 Application Server ColdFusion 8 ODBC Agent ColdFusion 8 ODBC Server At the moment, since I intend to have CF7 running, it's the first set. Otherwise, my machine is pretty generic. Did I answer the question? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350315 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Migrate back and forth between cf7 and cf8 on IIS
Check your services for jrun... You may need to copy your web inf over On Mar 9, 2012 11:51 AM, daniel kessler dani...@umd.edu wrote: What services are running? They're the CF ones that are installed. For cf7: ColdFusion MX 7 Application Server ColdFusion MX 7 ODBC Agent ColdFusion MX 7 Search Server For cf8: ColdFusion 8 .NET Service ColdFusion 8 Application Server ColdFusion 8 ODBC Agent ColdFusion 8 ODBC Server At the moment, since I intend to have CF7 running, it's the first set. Otherwise, my machine is pretty generic. Did I answer the question? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350316 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Migrate back and forth between cf7 and cf8 on IIS
What services are running? On Mar 9, 2012 11:47 AM, daniel kessler dani...@umd.edu wrote: In going through my web site configuration - application configuration, I see a bunch of paths that go through ColdFusion8 and end with jrun.dll. Could this be the problem? Will I need to delete these and import the cf7 ones each time I switch? oy. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350317 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Migrate back and forth between cf7 and cf8 on IIS
Check your services for jrun... You may need to copy your web inf over On Mar 9, 2012 11:51 AM, daniel kessler dani...@umd.edu wrote: I didn't see a service that started with the term jrun. i don't think that I see any with jrun in the name anywhere. I do see a Java Quick Starter. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350318 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Migrate back and forth between cf7 and cf8 on IIS
Just set the ISAPI paths at the website level for the CF7 site to point to your CF7 install directory (specifically at the jrun dll's).. Brook -Original Message- From: daniel kessler [mailto:dani...@umd.edu] Sent: March-09-12 8:55 AM To: cf-talk Subject: Re: Migrate back and forth between cf7 and cf8 on IIS What services are running? On Mar 9, 2012 11:47 AM, daniel kessler dani...@umd.edu wrote: In going through my web site configuration - application configuration, I see a bunch of paths that go through ColdFusion8 and end with jrun.dll. Could this be the problem? Will I need to delete these and import the cf7 ones each time I switch? oy. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350319 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Migrate back and forth between cf7 and cf8 on IIS
Just set the ISAPI paths at the website level for the CF7 site to point to your CF7 install directory (specifically at the jrun dll's).. ok, that worked. Thank you very much. Is that the sort of thing that can be adjusted using a .bat file? I don't know much about them. However, I'm trying to make switching between these two environments as easy as possible. I appreciate the assistance everyone. daniel ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350320 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Migrate back and forth between cf7 and cf8 on IIS
Just a heads up that I wrote a blog about something like this the other day, although it is geared for ColdFusion 8 and ColdFusion 9. There should be no reason why you can't apply this same method to ColdFusion 7 and ColdFusion 8. http://www.andyscott.id.au/2012/3/6/Developing-Apps-to-work-with-ColdFusion-8-and-ColdFusion-9-with-multi-instance-ColdFusion-install -- Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/108193156965451149543 On Sat, Mar 10, 2012 at 4:20 AM, daniel kessler dani...@umd.edu wrote: Just set the ISAPI paths at the website level for the CF7 site to point to your CF7 install directory (specifically at the jrun dll's).. ok, that worked. Thank you very much. Is that the sort of thing that can be adjusted using a .bat file? I don't know much about them. However, I'm trying to make switching between these two environments as easy as possible. I appreciate the assistance everyone. daniel ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350322 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Migrate back and forth between cf7 and cf8 on IIS
why not just setup separate sites and set each site to use the appropriate cf version instead of keep switching one site between different home directories and cf version ? On Fri, Mar 9, 2012 at 5:23 PM, Andrew Scott andr...@andyscott.id.auwrote: Just a heads up that I wrote a blog about something like this the other day, although it is geared for ColdFusion 8 and ColdFusion 9. There should be no reason why you can't apply this same method to ColdFusion 7 and ColdFusion 8. http://www.andyscott.id.au/2012/3/6/Developing-Apps-to-work-with-ColdFusion-8-and-ColdFusion-9-with-multi-instance-ColdFusion-install -- Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/108193156965451149543 On Sat, Mar 10, 2012 at 4:20 AM, daniel kessler dani...@umd.edu wrote: Just set the ISAPI paths at the website level for the CF7 site to point to your CF7 install directory (specifically at the jrun dll's).. ok, that worked. Thank you very much. Is that the sort of thing that can be adjusted using a .bat file? I don't know much about them. However, I'm trying to make switching between these two environments as easy as possible. I appreciate the assistance everyone. daniel ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350328 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Migrate back and forth between cf7 and cf8 on IIS
why not just setup separate sites and set each site to use the appropriate cf version instead of keep switching one site between different home directories and cf version ? It's my understanding that the IIS can only do one site (I'm in XP). To do more, I have to buy the IIS Server. Please correct me and tell me that I am wrong. Please! As I said, I'm a novice with IIS. However, I couldn't find a new site button. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350329 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Migrate back and forth between cf7 and cf8 on IIS
thank you Andrew; I'll read that. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350330 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Migrate back and forth between cf7 and cf8 on IIS
He's on Windows XP and is thus limited to one site in IIS. Man I love multiple IIS sites in Windows 7! -Carl On 3/9/2012 10:04 AM, Russ Michaels wrote: why not just setup separate sites and set each site to use the appropriate cf version instead of keep switching one site between different home directories and cf version ? On Fri, Mar 9, 2012 at 5:23 PM, Andrew Scottandr...@andyscott.id.auwrote: Just a heads up that I wrote a blog about something like this the other day, although it is geared for ColdFusion 8 and ColdFusion 9. There should be no reason why you can't apply this same method to ColdFusion 7 and ColdFusion 8. http://www.andyscott.id.au/2012/3/6/Developing-Apps-to-work-with-ColdFusion-8-and-ColdFusion-9-with-multi-instance-ColdFusion-install -- Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/108193156965451149543 On Sat, Mar 10, 2012 at 4:20 AM, daniel kesslerdani...@umd.edu wrote: Just set the ISAPI paths at the website level for the CF7 site to point to your CF7 install directory (specifically at the jrun dll's).. ok, that worked. Thank you very much. Is that the sort of thing that can be adjusted using a .bat file? I don't know much about them. However, I'm trying to make switching between these two environments as easy as possible. I appreciate the assistance everyone. daniel ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350331 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Migrate back and forth between cf7 and cf8 on IIS
Hey Daniel, If you set it at the site level then you should be able to have different settings for each website. Not sure if you would need a bat file to the changes. But you could probably script it by using the connectors that CF comes with (c:\coldfusion7\bin\connectors\IIS_connector.bat) or using some of the code in those bat files and specifying the correct site ID. Note, there are also cfstart.bat and cfstop.bat you could script the whole thing... Brook -Original Message- From: daniel kessler [mailto:dani...@umd.edu] Sent: March-09-12 9:21 AM To: cf-talk Subject: Re: Migrate back and forth between cf7 and cf8 on IIS Just set the ISAPI paths at the website level for the CF7 site to point to your CF7 install directory (specifically at the jrun dll's).. ok, that worked. Thank you very much. Is that the sort of thing that can be adjusted using a .bat file? I don't know much about them. However, I'm trying to make switching between these two environments as easy as possible. I appreciate the assistance everyone. daniel ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350332 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Migrate back and forth between cf7 and cf8 on IIS
It's my understanding that the IIS can only do one site (I'm in XP). To do more, I have to buy the IIS Server. That is correct. That is also why I moved to Apache some years ago. I have done what you are looking to do in the past and it is very easy to do with Apache. Actually there are many ways to do it but the easiest way is to have two installs of a portable *AMP stack like XAMPP or my personal favorite, Uniform Server. All you would need to do is configure each version of CF to work with its own Apache install with the Web Server Configuration Tool and use bat files to turn on and off the services. Like so: net stop MySQLS1 net stop ApacheS1 net stop ColdFusion 9 Application Server net start ColdFusion 10 Application Server net start MySQLS2 net start ApacheS2 That way you can start and stop these servers with a double click. Of course there are many other ways to accomplish this. I have Railo, OBD and ACF all running seamlessly on the same Apache install. It was not all that hard to do once you get the hang of Apache HTH G! On Fri, Mar 9, 2012 at 1:13 PM, daniel kessler dani...@umd.edu wrote: It's my understanding that the IIS can only do one site (I'm in XP). To do more, I have to buy the IIS Server. Please correct me and tell me that I am wrong. Please! As I said, I'm a novice with IIS. However, I couldn't find a new site button. -- Gerald Guido http://www.myinternetisbroken.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350333 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Migrate back and forth between cf7 and cf8 on IIS
Dan, there are a couple of options to get round that. - Switch to Apache. - Use this to manage multiple sites In IIS on windows XP: http://www.codeproject.com/Articles/10561/IIsAdmin-NET-Create-Multiple-Web-Sites-Under-Windo The best solution would be to upgrade to windows 7 which includes IIS 7 which allows infinite sites and is miles better than IIS 5 and can certainly do all the things that most people told you to use Apache for previously, not to mention that windows 7 is also a big improvement as well. If you can afford £300 per year, you might want to consider subscribing to the Microsoft Action pack, which gives you thousands of $ worth of Microsoft software such as windows, office, sql server, small business server, lynx and much more. Russ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350334 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Migrate back and forth between cf7 and cf8 on IIS
Or you can look into the Microsoft program BizSpark :-) -- Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/108193156965451149543 On Sat, Mar 10, 2012 at 5:52 AM, Russ Michaels r...@michaels.me.uk wrote: Dan, there are a couple of options to get round that. - Switch to Apache. - Use this to manage multiple sites In IIS on windows XP: http://www.codeproject.com/Articles/10561/IIsAdmin-NET-Create-Multiple-Web-Sites-Under-Windo The best solution would be to upgrade to windows 7 which includes IIS 7 which allows infinite sites and is miles better than IIS 5 and can certainly do all the things that most people told you to use Apache for previously, not to mention that windows 7 is also a big improvement as well. If you can afford £300 per year, you might want to consider subscribing to the Microsoft Action pack, which gives you thousands of $ worth of Microsoft software such as windows, office, sql server, small business server, lynx and much more. Russ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350335 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Migrate back and forth between cf7 and cf8 on IIS
Or you can look into the Microsoft program BizSpark :-) I forgot about that. The Website spark allows you to use Windows Server 08 for free for a year or two. http://www.microsoft.com/web/websitespark/ G! On Fri, Mar 9, 2012 at 1:57 PM, Andrew Scott andr...@andyscott.id.auwrote: Or you can look into the Microsoft program BizSpark :-) -- Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/108193156965451149543 On Sat, Mar 10, 2012 at 5:52 AM, Russ Michaels r...@michaels.me.uk wrote: Dan, there are a couple of options to get round that. - Switch to Apache. - Use this to manage multiple sites In IIS on windows XP: http://www.codeproject.com/Articles/10561/IIsAdmin-NET-Create-Multiple-Web-Sites-Under-Windo The best solution would be to upgrade to windows 7 which includes IIS 7 which allows infinite sites and is miles better than IIS 5 and can certainly do all the things that most people told you to use Apache for previously, not to mention that windows 7 is also a big improvement as well. If you can afford £300 per year, you might want to consider subscribing to the Microsoft Action pack, which gives you thousands of $ worth of Microsoft software such as windows, office, sql server, small business server, lynx and much more. Russ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350336 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Migrate back and forth between cf7 and cf8 on IIS
why not just setup separate sites and set each site to use the appropriate cf version instead of keep switching one site between different home directories and cf version ? It's my understanding that the IIS can only do one site (I'm in XP). To do more, I have to buy the IIS Server. Please correct me and tell me that I am wrong. Please! As I said, I'm a novice with IIS. However, I couldn't find a new site button. YOu could also try this tool. It will switch default sites for you on XP http://www.jetstat.com/2011-11/iis-admin-tool.html ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350337 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm