Re: IIS not being recognized by CF 11 install
> Yep, that's why I re installed IIS. Thanks Russ! I think what Russ is getting at is that you can install individual IIS components without uninstalling and reinstalling IIS itself, for future reference. Dave Watts, CTO, Fig Leaf Software 1-202-527-9569 http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| 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:359325 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cf incorrectly thinks compiled java byte code is correct
Can you post the code for the set_first_name.cfm? "firstName variable is undefined". I have seen this type of error before when the variable is set to null. Something like a web service call that fails or really does not return anything. In this instance "setName" might be a function that returns 'void', so firstName would be null. . You could test this by checking isNull(firstname). I would think if the byte code was incorrect you would not be getting CF error details about what is going on and probably get some sort of java servlet 503 error instead. Byron On Wed, Sep 17, 2014 at 5:07 PM, Dave Watts wrote: > > > > How do you know this? What do you mean exactly by "incorrectly > compiled"? What version of CF are you running? > > > What are the exact error messages you're seeing? > > > > The reason I know it's not being compiled correctly is because when this > issue occurs, the errors that happen are > > indicative of the .cfm file being in place, but the byte code being > empty. > > > > What I mean is, let's say page.cfm does a cfinclude on a high volume > file called set_first_name.cfm which simply > > sets a variable called "firstName". > > > > If that file is "corrupted" in the way I am describing, a "firstName > variable is undefined" error would occur when > > firstName was referenced back in page.cfm (after the cfinclude). Because > even though the included > > set_first_name.cfm file does indeed exist, the byte code that was > generated is behaving as if it is "blank" (for lack > > of a better term). > > > > I haven't personally examined the byte code, but 1) I don't have access > to the live server, and 2) I wouldn't really > > know how to read it. > > Well, my take on this is that you wouldn't see this problem if the > file is corrupted. Instead, the entire page would simply fail to > render unless you had the CFINCLUDE in a CFTRY/CFCATCH. The generated > byte code has to be a fully-formed Java class that conforms to the > Java Servlet API, and it seems to me to be unlikely that the class > would be created correctly but just without your custom code. Again, I > don't know enough about the internals of CF to guarantee this, but I > do know a little bit about compilers and Java, and it seems unlikely. > > It would be useful if you could simply compare the bytecode size > between "good" and "bad" versions of the same compiled class, if you > could access those from the live server. They may be written to disk, > in the cfclasses directory, if you have "Save cache files to disk" > enabled in the CF Administrator. > > > > I've never seen this problem, even in many high-volume environments - > some of which had their own problems. > > > And it doesn't really make sense, given my (admittedly limited) > knowledge of CF internals. So, I kind of think this > > > is unlikely. Something else is probably happening. > > > > You may be right, but this is what we're experiencing. I also admit a > limited knowledge of CF internals. > > I guess what I'm getting at here is: you definitely have a problem. > But I don't think your description of the cause of the problem is > accurate at all, and you could easily go down a rabbit-hole here by > focusing on what you imagine is the cause of the problem, rather than > the problem itself. The basic description of the problem is that > you're not getting the output under load that you get without load, > right? > > What happens if you block incoming traffic to the server, stop and > restart the CF service, and rerun the same pages, with "Save cache > files to disk" enabled? My guess is that you'll get the correct > output. > > > > That article isn't really related, although it could solve the problem > you describe. You can precompile CF code, > > > then deploy that instead of the source code. You could try doing this > to solve your problem, but again I don't > > > think that's really the problem you're having. > > > > I agree that the article is only somewhat related, but it is related in > the fact that, yes, there seems to be some sort of > > problem with the compilation process. We have thought about deploying > the compiled code, but wanted to see if anyone > > else had experienced this problem first. > > You could certainly try to just deploy compiled classes and see what > happens. It's generally a good thing to do in production anyway. > > Another approach you could try is to force the server to precompile > everything by running a test script that generates an HTTP request for > each CF file before you open access to users. > > Dave Watts, CTO, Fig Leaf Software > 1-202-527-9569 > http://www.figleaf.com/ > http://training.figleaf.com/ > > Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on > GSA Schedule, and provides the highest caliber vendor-authorized > instruction at our training centers, online, or onsite. > > ~| Order the Adobe Coldfusion Anthology now! ht
Re: IIS not being recognized by CF 11 install
Yep, that's why I re installed IIS. Thanks Russ! On Wed, Sep 17, 2014 at 2:59 PM, Russ Michaels wrote: > > I did actually ask earlier if you had installed all the required IIS > features. > As you have now stated that you did indeed not have these installed, simply > installing these features as suggested would have resolved your problem, > negating the need to re-install everything,. > > On Wed, Sep 17, 2014 at 10:41 PM, Gonzo Rock wrote: > > ~| 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:359323 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: IIS not being recognized by CF 11 install
I did actually ask earlier if you had installed all the required IIS features. As you have now stated that you did indeed not have these installed, simply installing these features as suggested would have resolved your problem, negating the need to re-install everything,. On Wed, Sep 17, 2014 at 10:41 PM, Gonzo Rock wrote: > > Okay it's running now... I will detail what I did and the order I did it in > so that others can find this in the future. > CF11 connector install problems trouble failure > CF 11 connector install problems trouble failure > > I took Dave's advice above and installed the web server that comes with > CF11 and it ended up on port 8500 by default as expected. > > Next I successfully ran the coldfusion admin tool and goofed around with it > for a bit...indicating I had a good CF11 install > > Next I ran wsconfig.exe as Administrator to connect to IIS... still no luck > as detailed above. > > Next I completely removed the Web Server Role and Restarted the Windows > Server 2008 R2 machine. > > Next I added Web Services back in... > > The default install does not check off the Application Development boxes so > this time I chose ALL the Application Development options... with the > exception of Server Side Includes. > > The last time I installed Web Services I only added in ASP, CGI, ISAPI > Extensions and ISAPI filters. I found that as the required list in my > google searching. This time I added in ASP.Net and .NET Extensibility to > the mix. > > Success! Now the wsconfig.exe runs and gives me the choice of "Default Web > Site" > > Now the cfadmin tool runs properly on port 80 > > Next I uninstalled CF11 > Restarted the box > Installed CF11 without incident. > Ran the cfadmin tool without incident. > > Thanks to everyone for pitching in! > And Russ... yes... spot on. > Never had an install go so badly before but customer is so glad it's > running. > Thank you again! > > On Wed, Sep 17, 2014 at 11:41 AM, Russ Michaels > wrote: > > > > > have you installed the following REQUIRED IIS components ? > > > > > >- ASP.NET > >- .NET Extensibility > >- CGI > >- ISAPI Extensions > >- ISAPI Filters > > > > > > On Wed, Sep 17, 2014 at 5:51 PM, Gonzo Rock wrote: > > > > > > > > I have just opened up wide all the permission on the Default Web Site > in > > > IIS... I am still not getting CF 11 Std Install to see that IIS is > > running. > > > wsconfig.exe is not seeing it either. > > > > > > What am I doing wrong? Totally baffled now. > > > > > > > > > > > > On Tue, Sep 16, 2014 at 3:51 PM, Gonzo Rock > wrote: > > > > > > > Yep... that idea was outlined in the link I shared... I also tried > the > > > > install that way as well. > > > > > > > > Then I uninstalled IIS on the 2008 box ... rebooted it and then > > installed > > > > IIS again. No luck with that either. > > > > > > > > from the cf logs... > > > > Sep 16, 2014 17:49:10 PM Information [localhost-startStop-1] - > Starting > > > > WebSocket... > > > > Sep 16, 2014 17:49:10 PM Information [localhost-startStop-1] - > > WebSocket > > > > server listens on port: 8577 > > > > Sep 16, 2014 17:49:11 PM Information [localhost-startStop-1] - > > ColdFusion > > > > started > > > > Sep 16, 2014 17:49:11 PM Information [localhost-startStop-1] - > > > ColdFusion: > > > > application services are now available > > > > > > > > this kinda looks like the internal CF webserver is running... s I > > > just > > > > tried this: > > > > http://127.0.0.1:8577/CFIDE/administrator/index.cfm ... and this > > seemed > > > > to try to run and I got a 403 error. > > > > http://127.0.0.1/CFIDE/administrator/index.cfm ... this delivers > > 404... > > > > and of course CFIDE is Not in the IIS web root... not yet anyway > > > > > > > > I'm starting to think I don't know how to add IIS to a server... but > > it's > > > > pretty straight up. > > > > > > > > > > > > On Tue, Sep 16, 2014 at 3:29 PM, Dave Watts > > wrote: > > > > > > > >> > > > >> > IIS not being recognized by CF 11 install... at least that is > what I > > > am > > > >> > thinking now. It's there... it's running... it has a Default Web > > Site > > > >> with > > > >> > a couple of user installed folders... which serve up .html files > > > across > > > >> the > > > >> > net no problem. > > > >> > > > >> Are you explicitly right-clicking on wsconfig.exe and running it as > > > >> administrator? > > > >> > > > >> Dave Watts, CTO, Fig Leaf Software > > > >> 1-202-527-9569 > > > >> http://www.figleaf.com/ > > > >> http://training.figleaf.com/ > > > >> > > > >> Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on > > > >> GSA Schedule, and provides the highest caliber vendor-authorized > > > >> instruction at our training centers, online, or onsite. > > > >> > > > >> > > > > > > > > > > > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffus
Re: IIS not being recognized by CF 11 install
Okay it's running now... I will detail what I did and the order I did it in so that others can find this in the future. CF11 connector install problems trouble failure CF 11 connector install problems trouble failure I took Dave's advice above and installed the web server that comes with CF11 and it ended up on port 8500 by default as expected. Next I successfully ran the coldfusion admin tool and goofed around with it for a bit...indicating I had a good CF11 install Next I ran wsconfig.exe as Administrator to connect to IIS... still no luck as detailed above. Next I completely removed the Web Server Role and Restarted the Windows Server 2008 R2 machine. Next I added Web Services back in... The default install does not check off the Application Development boxes so this time I chose ALL the Application Development options... with the exception of Server Side Includes. The last time I installed Web Services I only added in ASP, CGI, ISAPI Extensions and ISAPI filters. I found that as the required list in my google searching. This time I added in ASP.Net and .NET Extensibility to the mix. Success! Now the wsconfig.exe runs and gives me the choice of "Default Web Site" Now the cfadmin tool runs properly on port 80 Next I uninstalled CF11 Restarted the box Installed CF11 without incident. Ran the cfadmin tool without incident. Thanks to everyone for pitching in! And Russ... yes... spot on. Never had an install go so badly before but customer is so glad it's running. Thank you again! On Wed, Sep 17, 2014 at 11:41 AM, Russ Michaels wrote: > > have you installed the following REQUIRED IIS components ? > > >- ASP.NET >- .NET Extensibility >- CGI >- ISAPI Extensions >- ISAPI Filters > > > On Wed, Sep 17, 2014 at 5:51 PM, Gonzo Rock wrote: > > > > > I have just opened up wide all the permission on the Default Web Site in > > IIS... I am still not getting CF 11 Std Install to see that IIS is > running. > > wsconfig.exe is not seeing it either. > > > > What am I doing wrong? Totally baffled now. > > > > > > > > On Tue, Sep 16, 2014 at 3:51 PM, Gonzo Rock wrote: > > > > > Yep... that idea was outlined in the link I shared... I also tried the > > > install that way as well. > > > > > > Then I uninstalled IIS on the 2008 box ... rebooted it and then > installed > > > IIS again. No luck with that either. > > > > > > from the cf logs... > > > Sep 16, 2014 17:49:10 PM Information [localhost-startStop-1] - Starting > > > WebSocket... > > > Sep 16, 2014 17:49:10 PM Information [localhost-startStop-1] - > WebSocket > > > server listens on port: 8577 > > > Sep 16, 2014 17:49:11 PM Information [localhost-startStop-1] - > ColdFusion > > > started > > > Sep 16, 2014 17:49:11 PM Information [localhost-startStop-1] - > > ColdFusion: > > > application services are now available > > > > > > this kinda looks like the internal CF webserver is running... s I > > just > > > tried this: > > > http://127.0.0.1:8577/CFIDE/administrator/index.cfm ... and this > seemed > > > to try to run and I got a 403 error. > > > http://127.0.0.1/CFIDE/administrator/index.cfm ... this delivers > 404... > > > and of course CFIDE is Not in the IIS web root... not yet anyway > > > > > > I'm starting to think I don't know how to add IIS to a server... but > it's > > > pretty straight up. > > > > > > > > > On Tue, Sep 16, 2014 at 3:29 PM, Dave Watts > wrote: > > > > > >> > > >> > IIS not being recognized by CF 11 install... at least that is what I > > am > > >> > thinking now. It's there... it's running... it has a Default Web > Site > > >> with > > >> > a couple of user installed folders... which serve up .html files > > across > > >> the > > >> > net no problem. > > >> > > >> Are you explicitly right-clicking on wsconfig.exe and running it as > > >> administrator? > > >> > > >> Dave Watts, CTO, Fig Leaf Software > > >> 1-202-527-9569 > > >> http://www.figleaf.com/ > > >> http://training.figleaf.com/ > > >> > > >> Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on > > >> GSA Schedule, and provides the highest caliber vendor-authorized > > >> instruction at our training centers, online, or onsite. > > >> > > >> > > > > > > ~| 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:359321 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cf incorrectly thinks compiled java byte code is correct
> > How do you know this? What do you mean exactly by "incorrectly compiled"? > > What version of CF are you running? > > What are the exact error messages you're seeing? > > The reason I know it's not being compiled correctly is because when this > issue occurs, the errors that happen are > indicative of the .cfm file being in place, but the byte code being empty. > > What I mean is, let's say page.cfm does a cfinclude on a high volume file > called set_first_name.cfm which simply > sets a variable called "firstName". > > If that file is "corrupted" in the way I am describing, a "firstName variable > is undefined" error would occur when > firstName was referenced back in page.cfm (after the cfinclude). Because even > though the included > set_first_name.cfm file does indeed exist, the byte code that was generated > is behaving as if it is "blank" (for lack > of a better term). > > I haven't personally examined the byte code, but 1) I don't have access to > the live server, and 2) I wouldn't really > know how to read it. Well, my take on this is that you wouldn't see this problem if the file is corrupted. Instead, the entire page would simply fail to render unless you had the CFINCLUDE in a CFTRY/CFCATCH. The generated byte code has to be a fully-formed Java class that conforms to the Java Servlet API, and it seems to me to be unlikely that the class would be created correctly but just without your custom code. Again, I don't know enough about the internals of CF to guarantee this, but I do know a little bit about compilers and Java, and it seems unlikely. It would be useful if you could simply compare the bytecode size between "good" and "bad" versions of the same compiled class, if you could access those from the live server. They may be written to disk, in the cfclasses directory, if you have "Save cache files to disk" enabled in the CF Administrator. > > I've never seen this problem, even in many high-volume environments - some > > of which had their own problems. > > And it doesn't really make sense, given my (admittedly limited) knowledge > > of CF internals. So, I kind of think this > > is unlikely. Something else is probably happening. > > You may be right, but this is what we're experiencing. I also admit a limited > knowledge of CF internals. I guess what I'm getting at here is: you definitely have a problem. But I don't think your description of the cause of the problem is accurate at all, and you could easily go down a rabbit-hole here by focusing on what you imagine is the cause of the problem, rather than the problem itself. The basic description of the problem is that you're not getting the output under load that you get without load, right? What happens if you block incoming traffic to the server, stop and restart the CF service, and rerun the same pages, with "Save cache files to disk" enabled? My guess is that you'll get the correct output. > > That article isn't really related, although it could solve the problem you > > describe. You can precompile CF code, > > then deploy that instead of the source code. You could try doing this to > > solve your problem, but again I don't > > think that's really the problem you're having. > > I agree that the article is only somewhat related, but it is related in the > fact that, yes, there seems to be some sort of > problem with the compilation process. We have thought about deploying the > compiled code, but wanted to see if anyone > else had experienced this problem first. You could certainly try to just deploy compiled classes and see what happens. It's generally a good thing to do in production anyway. Another approach you could try is to force the server to precompile everything by running a test script that generates an HTTP request for each CF file before you open access to users. Dave Watts, CTO, Fig Leaf Software 1-202-527-9569 http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| 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:359320 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: IIS not being recognized by CF 11 install
I am sure someone has already suggested it, but have you created the jakarta folder and pointed it to ColdFusion11\config\wsconfig\1? I have had instances where this and the CFIDE folder weren't automatically created in the default web root... -Original Message- From: Dave Watts [mailto:dwa...@figleaf.com] Sent: Wednesday, September 17, 2014 12:16 PM To: cf-talk Subject: Re: IIS not being recognized by CF 11 install > from the cf logs... > Sep 16, 2014 17:49:10 PM Information [localhost-startStop-1] - > Starting WebSocket... > Sep 16, 2014 17:49:10 PM Information [localhost-startStop-1] - > WebSocket server listens on port: 8577 Sep 16, 2014 17:49:11 PM > Information [localhost-startStop-1] - ColdFusion started Sep 16, 2014 > 17:49:11 PM Information [localhost-startStop-1] - ColdFusion: > application services are now available > > this kinda looks like the internal CF webserver is running... s I > just tried this: > http://127.0.0.1:8577/CFIDE/administrator/index.cfm ... and this > seemed to try to run and I got a 403 error. > http://127.0.0.1/CFIDE/administrator/index.cfm ... this delivers 404... > and of course CFIDE is Not in the IIS web root... not yet anyway Actually, this doesn't indicate anything about the internal CF web server. CF 11 supports web sockets, which are listening on a separate port (8577). But, in general, I do recommend that people install CF using its own web server, then manually run the web server configuration tool as needed to connect to IIS or Apache. This helps differentiate between CF problems and web server problems. Also, once you've run the web server configuration tool, you should be able to look at a separate set of log files just for that. Finally, by default, once you run the web server configuration tool successfully, the CF Administrator URL you listed should work regardless of whether CFIDE is in the web root, or you've set up a virtual directory, etc. > I'm starting to think I don't know how to add IIS to a server... but > it's pretty straight up. There isn't that much to it, so I doubt it's your fault. An out-of-the-box IIS install should work fine with CF 11. Dave Watts, CTO, Fig Leaf Software 1-202-527-9569 http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| 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:359319 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cf incorrectly thinks compiled java byte code is correct
> How do you know this? What do you mean exactly by "incorrectly compiled"? > What version of CF are you running? What are the exact error messages you're > seeing? The reason I know it's not being compiled correctly is because when this issue occurs, the errors that happen are indicative of the .cfm file being in place, but the byte code being empty. What I mean is, let's say page.cfm does a cfinclude on a high volume file called set_first_name.cfm which simply sets a variable called "firstName". If that file is "corrupted" in the way I am describing, a "firstName variable is undefined" error would occur when firstName was referenced back in page.cfm (after the cfinclude). Because even though the included set_first_name.cfm file does indeed exist, the byte code that was generated is behaving as if it is "blank" (for lack of a better term). I haven't personally examined the byte code, but 1) I don't have access to the live server, and 2) I wouldn't really know how to read it. > I've never seen this problem, even in many high-volume environments - some of > which had their own problems. And it doesn't really make sense, given my > (admittedly limited) knowledge of CF internals. So, I kind of think this is > unlikely. Something else is probably happening. You may be right, but this is what we're experiencing. I also admit a limited knowledge of CF internals. > That article isn't really related, although it could solve the > problem you describe. You can precompile CF code, then deploy that instead of > the source code. You could try doing this to solve your problem, but > again I don't think that's really the problem you're having. I agree that the article is only somewhat related, but it is related in the fact that, yes, there seems to be some sort of problem with the compilation process. We have thought about deploying the compiled code, but wanted to see if anyone else had experienced this problem first. ~| 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:359318 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cf incorrectly thinks compiled java byte code is correct
do you have cf set set to save compiled files to disk ? this is the default so probably yes. if so, then try disabling this and deleting all those compiled class files from the server. The only benefit having this option enabled gives you is that when CF is restarted, it loads all those files into memory again so that they do not need to be compiled the first time the page is executed. This is only really helpful on BIG apps which take a long time to load/initialise, for everything else, the compile overhead is minimal and barely noticeable. It also causes cf to take longer to restart, a lot longer if you have a lot of files and can cause timeouts. Unless you have a specific reason to enable this, you are better off with it disabled. Also in your cfadmin do you have trusted cache enabled ? On Wed, Sep 17, 2014 at 4:19 PM, Dave Watts wrote: > > > I am wondering if many others have run into this issue. Basically, when > we deploy certain "high volume" .cfm > > files (i.e. index.cfm), they are sometimes incorrectly compiled to java > byte code. > > How do you know this? What do you mean exactly by "incorrectly > compiled"? What version of CF are you running? What are the exact > error messages you're seeing? > > > What I believe is happening is when several requests come in while > ColdFusion is trying to compile the .cfm file > > to java byte code, the byte code gets created, but the process bombs out > before it is able to complete successfully. > > > > Since CF in fact DID generate the byte code (albeit not correctly), on > subsequent requests, CF "thinks" it already > > compiled the byte code successfully so it doesn't try to compile it on > future requests. What we end up with is a .cfm > > file on the server with all the source code in place, and some incorrect > byte code somewhere. > > I've never seen this problem, even in many high-volume environments - > some of which had their own problems. And it doesn't really make > sense, given my (admittedly limited) knowledge of CF internals. So, I > kind of think this is unlikely. Something else is probably happening. > > > In order to fix the problem, we need to deploy the file again (sometimes > one or two more times) in order to "get lucky" > > in that when the high traffic file is hit, another request doesn't come > in just then and interrupt the compilation process. > > > > Has anyone else come across this problem? > > > > Here is a related article: > http://www.neiland.net/blog/article/compile-cfml-to-java-bytecode-plus-fusebox-fix/ > > That article isn't really related, although it could solve the problem > you describe. You can precompile CF code, then deploy that instead of > the source code. You could try doing this to solve your problem, but > again I don't think that's really the problem you're having. > > Dave Watts, CTO, Fig Leaf Software > 1-202-527-9569 > http://www.figleaf.com/ > http://training.figleaf.com/ > > Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on > GSA Schedule, and provides the highest caliber vendor-authorized > instruction at our training centers, online, or onsite. > > ~| 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:359317 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: IIS not being recognized by CF 11 install
have you installed the following REQUIRED IIS components ? - ASP.NET - .NET Extensibility - CGI - ISAPI Extensions - ISAPI Filters On Wed, Sep 17, 2014 at 5:51 PM, Gonzo Rock wrote: > > I have just opened up wide all the permission on the Default Web Site in > IIS... I am still not getting CF 11 Std Install to see that IIS is running. > wsconfig.exe is not seeing it either. > > What am I doing wrong? Totally baffled now. > > > > On Tue, Sep 16, 2014 at 3:51 PM, Gonzo Rock wrote: > > > Yep... that idea was outlined in the link I shared... I also tried the > > install that way as well. > > > > Then I uninstalled IIS on the 2008 box ... rebooted it and then installed > > IIS again. No luck with that either. > > > > from the cf logs... > > Sep 16, 2014 17:49:10 PM Information [localhost-startStop-1] - Starting > > WebSocket... > > Sep 16, 2014 17:49:10 PM Information [localhost-startStop-1] - WebSocket > > server listens on port: 8577 > > Sep 16, 2014 17:49:11 PM Information [localhost-startStop-1] - ColdFusion > > started > > Sep 16, 2014 17:49:11 PM Information [localhost-startStop-1] - > ColdFusion: > > application services are now available > > > > this kinda looks like the internal CF webserver is running... s I > just > > tried this: > > http://127.0.0.1:8577/CFIDE/administrator/index.cfm ... and this seemed > > to try to run and I got a 403 error. > > http://127.0.0.1/CFIDE/administrator/index.cfm ... this delivers 404... > > and of course CFIDE is Not in the IIS web root... not yet anyway > > > > I'm starting to think I don't know how to add IIS to a server... but it's > > pretty straight up. > > > > > > On Tue, Sep 16, 2014 at 3:29 PM, Dave Watts wrote: > > > >> > >> > IIS not being recognized by CF 11 install... at least that is what I > am > >> > thinking now. It's there... it's running... it has a Default Web Site > >> with > >> > a couple of user installed folders... which serve up .html files > across > >> the > >> > net no problem. > >> > >> Are you explicitly right-clicking on wsconfig.exe and running it as > >> administrator? > >> > >> Dave Watts, CTO, Fig Leaf Software > >> 1-202-527-9569 > >> http://www.figleaf.com/ > >> http://training.figleaf.com/ > >> > >> Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on > >> GSA Schedule, and provides the highest caliber vendor-authorized > >> instruction at our training centers, online, or onsite. > >> > >> > > ~| 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:359316 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: IIS not being recognized by CF 11 install
> I have just opened up wide all the permission on the Default Web Site in > IIS... I am still not getting CF 11 Std Install to see that IIS is running. > wsconfig.exe is not seeing it either. > > What am I doing wrong? Totally baffled now. My guess is that there's some sort of network port restriction in place - a software firewall, perhaps - that's keeping wsconfig from being able to see IIS. Dave Watts, CTO, Fig Leaf Software 1-202-527-9569 http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| 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:359315 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: IIS not being recognized by CF 11 install
> from the cf logs... > Sep 16, 2014 17:49:10 PM Information [localhost-startStop-1] - Starting > WebSocket... > Sep 16, 2014 17:49:10 PM Information [localhost-startStop-1] - WebSocket > server listens on port: 8577 > Sep 16, 2014 17:49:11 PM Information [localhost-startStop-1] - ColdFusion > started > Sep 16, 2014 17:49:11 PM Information [localhost-startStop-1] - ColdFusion: > application services are now available > > this kinda looks like the internal CF webserver is running... s I just > tried this: > http://127.0.0.1:8577/CFIDE/administrator/index.cfm ... and this seemed to > try to run and I got a 403 error. > http://127.0.0.1/CFIDE/administrator/index.cfm ... this delivers 404... > and of course CFIDE is Not in the IIS web root... not yet anyway Actually, this doesn't indicate anything about the internal CF web server. CF 11 supports web sockets, which are listening on a separate port (8577). But, in general, I do recommend that people install CF using its own web server, then manually run the web server configuration tool as needed to connect to IIS or Apache. This helps differentiate between CF problems and web server problems. Also, once you've run the web server configuration tool, you should be able to look at a separate set of log files just for that. Finally, by default, once you run the web server configuration tool successfully, the CF Administrator URL you listed should work regardless of whether CFIDE is in the web root, or you've set up a virtual directory, etc. > I'm starting to think I don't know how to add IIS to a server... but it's > pretty straight up. There isn't that much to it, so I doubt it's your fault. An out-of-the-box IIS install should work fine with CF 11. Dave Watts, CTO, Fig Leaf Software 1-202-527-9569 http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| 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:359314 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: IIS not being recognized by CF 11 install
I have just opened up wide all the permission on the Default Web Site in IIS... I am still not getting CF 11 Std Install to see that IIS is running. wsconfig.exe is not seeing it either. What am I doing wrong? Totally baffled now. On Tue, Sep 16, 2014 at 3:51 PM, Gonzo Rock wrote: > Yep... that idea was outlined in the link I shared... I also tried the > install that way as well. > > Then I uninstalled IIS on the 2008 box ... rebooted it and then installed > IIS again. No luck with that either. > > from the cf logs... > Sep 16, 2014 17:49:10 PM Information [localhost-startStop-1] - Starting > WebSocket... > Sep 16, 2014 17:49:10 PM Information [localhost-startStop-1] - WebSocket > server listens on port: 8577 > Sep 16, 2014 17:49:11 PM Information [localhost-startStop-1] - ColdFusion > started > Sep 16, 2014 17:49:11 PM Information [localhost-startStop-1] - ColdFusion: > application services are now available > > this kinda looks like the internal CF webserver is running... s I just > tried this: > http://127.0.0.1:8577/CFIDE/administrator/index.cfm ... and this seemed > to try to run and I got a 403 error. > http://127.0.0.1/CFIDE/administrator/index.cfm ... this delivers 404... > and of course CFIDE is Not in the IIS web root... not yet anyway > > I'm starting to think I don't know how to add IIS to a server... but it's > pretty straight up. > > > On Tue, Sep 16, 2014 at 3:29 PM, Dave Watts wrote: > >> >> > IIS not being recognized by CF 11 install... at least that is what I am >> > thinking now. It's there... it's running... it has a Default Web Site >> with >> > a couple of user installed folders... which serve up .html files across >> the >> > net no problem. >> >> Are you explicitly right-clicking on wsconfig.exe and running it as >> administrator? >> >> Dave Watts, CTO, Fig Leaf Software >> 1-202-527-9569 >> http://www.figleaf.com/ >> http://training.figleaf.com/ >> >> Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on >> GSA Schedule, and provides the highest caliber vendor-authorized >> instruction at our training centers, online, or onsite. >> >> ~| 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:359313 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cf incorrectly thinks compiled java byte code is correct
> I am wondering if many others have run into this issue. Basically, when we > deploy certain "high volume" .cfm > files (i.e. index.cfm), they are sometimes incorrectly compiled to java byte > code. How do you know this? What do you mean exactly by "incorrectly compiled"? What version of CF are you running? What are the exact error messages you're seeing? > What I believe is happening is when several requests come in while ColdFusion > is trying to compile the .cfm file > to java byte code, the byte code gets created, but the process bombs out > before it is able to complete successfully. > > Since CF in fact DID generate the byte code (albeit not correctly), on > subsequent requests, CF "thinks" it already > compiled the byte code successfully so it doesn't try to compile it on future > requests. What we end up with is a .cfm > file on the server with all the source code in place, and some incorrect byte > code somewhere. I've never seen this problem, even in many high-volume environments - some of which had their own problems. And it doesn't really make sense, given my (admittedly limited) knowledge of CF internals. So, I kind of think this is unlikely. Something else is probably happening. > In order to fix the problem, we need to deploy the file again (sometimes one > or two more times) in order to "get lucky" > in that when the high traffic file is hit, another request doesn't come in > just then and interrupt the compilation process. > > Has anyone else come across this problem? > > Here is a related article: > http://www.neiland.net/blog/article/compile-cfml-to-java-bytecode-plus-fusebox-fix/ That article isn't really related, although it could solve the problem you describe. You can precompile CF code, then deploy that instead of the source code. You could try doing this to solve your problem, but again I don't think that's really the problem you're having. Dave Watts, CTO, Fig Leaf Software 1-202-527-9569 http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| 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:359312 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
cf incorrectly thinks compiled java byte code is correct
Hey guys, I am wondering if many others have run into this issue. Basically, when we deploy certain "high volume" .cfm files (i.e. index.cfm), they are sometimes incorrectly compiled to java byte code. What I believe is happening is when several requests come in while ColdFusion is trying to compile the .cfm file to java byte code, the byte code gets created, but the process bombs out before it is able to complete successfully. Since CF in fact DID generate the byte code (albeit not correctly), on subsequent requests, CF "thinks" it already compiled the byte code successfully so it doesn't try to compile it on future requests. What we end up with is a .cfm file on the server with all the source code in place, and some incorrect byte code somewhere. In order to fix the problem, we need to deploy the file again (sometimes one or two more times) in order to "get lucky" in that when the high traffic file is hit, another request doesn't come in just then and interrupt the compilation process. Has anyone else come across this problem? Here is a related article: http://www.neiland.net/blog/article/compile-cfml-to-java-bytecode-plus-fusebox-fix/ ~| 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:359311 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm