Re: Apache and ColdFusion Trouble
On Tuesday 05 May 2009, Steven Erat - Webapper Services wrote: The built-in JRun webserver is not production quality and lacks many features of a full blown web server such as Apache. From the Adobe (formerly Macromedia) article: Why was Adobe (until the last few years) selling JRun as exactly that then ? -- Helping to assertively syndicate proactive developments as part of the IT team of the year, '09 and '08 Tom Chiverton Developer Tel: +44 0161 618 5032 Fax: +44 0161 618 5099 tom.chiver...@halliwells.com 3 Hardman Square, Manchester, M3 3EB www.Halliwells.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office together with a list of those non members who are referred to as partners. We use the word partner to refer to a member of the LLP, or an employee or consultant with equivalent standing and qualifications. Regulated by the Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.Halliwells.com. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:32 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Apache and ColdFusion Trouble
JRun and the JRun web server (JWS) are different things. JRun is the J2EE Application server; JWS is the development-quality webserver that runs inside it. mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ 2009/5/6 Tom Chiverton tom.chiver...@halliwells.com: On Tuesday 05 May 2009, Steven Erat - Webapper Services wrote: The built-in JRun webserver is not production quality and lacks many features of a full blown web server such as Apache. From the Adobe (formerly Macromedia) article: Why was Adobe (until the last few years) selling JRun as exactly that then ? -- Helping to assertively syndicate proactive developments as part of the IT team of the year, '09 and '08 Tom Chiverton Developer Tel: +44 0161 618 5032 Fax: +44 0161 618 5099 tom.chiver...@halliwells.com 3 Hardman Square, Manchester, M3 3EB www.Halliwells.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office together with a list of those non members who are referred to as partners. We use the word partner to refer to a member of the LLP, or an employee or consultant with equivalent standing and qualifications. Regulated by the Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.Halliwells.com. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:34 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Apache and ColdFusion Trouble
JRun and the JRun web server (JWS) are different things. JRun is the J2EE Application server; JWS is the development-quality webserver that runs inside it. Well, to go a bit off-topic, you can certainly use JWS in production. I know several shops that have done this - if I recall, Macromedia also did it, using Apache as a proxy. I think that JWS can handle load just fine - the bottleneck isn't the web server, but the application server proper. It doesn't have the features or additional functionality of Apache or IIS, but if you're serving dynamic content you may not need those features anyway. I suspect that Macromedia and Adobe have always described JWS as not production-ready simply so that they don't have to support it. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322232 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Apache and ColdFusion Trouble
Jason Slack, are you still stuck? Your personal email address fails for me. On Mon, May 4, 2009 at 19:46, Jason Slack applesl...@gmail.com wrote: Hi Maureen, OK, so I did: [r...@server1 ~]# apachectl stop [r...@server1 ~]# /opt/coldfusion8/bin/coldfusion stop [r...@server1 ~]# nano /opt/coldfusion8/runtime/servers/coldfusion/SERVER-INF/jrun.xml ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322258 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Apache and ColdFusion Trouble
On Tuesday 05 May 2009, Jason Slack wrote: I stopped apache and changed jrun.xml to use port 80 and I am broken again. You set JRun to listen on port 80, the same port as Apache ? That's not going to work :-) Everything i do it CF and cgi, so do I even need apache? JRun can't run CGI's, but you could use different virtual hosts for the relevent type of task. if I could get CF on port 80 would this nor work using the built-in web-server? Certainly - JRun is a full-on J2EE application server. -- Helping to proactively foster systems as part of the IT team of the year, '09 and '08 Tom Chiverton Developer Tel: +44 0161 618 5032 Fax: +44 0161 618 5099 tom.chiver...@halliwells.com 3 Hardman Square, Manchester, M3 3EB www.Halliwells.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office together with a list of those non members who are referred to as partners. We use the word partner to refer to a member of the LLP, or an employee or consultant with equivalent standing and qualifications. Regulated by the Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.Halliwells.com. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322166 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Apache and ColdFusion Trouble
On Tue, May 5, 2009 at 6:06 AM, Tom Chiverton tom.chiver...@halliwells.comwrote: On Tuesday 05 May 2009, Jason Slack wrote: if I could get CF on port 80 would this nor work using the built-in web-server? Certainly - JRun is a full-on J2EE application server. The built-in JRun webserver is not production quality and lacks many features of a full blown web server such as Apache. From the Adobe (formerly Macromedia) article: *Note: *Although you can use the ColdFusion MX built-in web server for developing, testing, and debugging ColdFusion applications, Macromedia does not recommend that you use it for deployment. -- Steven Erat Webapper Services http://www.webapper.com/ ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322168 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Apache and ColdFusion Trouble
Hi Tom, Anyone available to ssh in and fix? As is everyone I am a bit strapped and trying to get this worming to launch my LLC live, but I can afford something... -Jason On Tuesday 05 May 2009, Jason Slack wrote: I stopped apache and changed jrun.xml to use port 80 and I am broken again. You set JRun to listen on port 80, the same port as Apache ? That's not going to work :-) Everything i do it CF and cgi, so do I even need apache? JRun can't run CGI's, but you could use different virtual hosts for the relevent type of task. if I could get CF on port 80 would this nor work using the built-in web-server? Certainly - JRun is a full-on J2EE application server. -- Helping to proactively foster systems as part of the IT team of the year, '09 and '08 Tom Chiverton Developer Tel: +44 0161 618 5032 Fax: +44 0161 618 5099 tom.chiver...@halliwells.com 3 Hardman Square, Manchester, M3 3EB www.Halliwells.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office together with a list of those non members who are referred to as partners. We use the word partner to refer to a member of the LLP, or an employee or consultant with equivalent standing and qualifications. Regulated by the Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.Halliwells.com. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322172 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Apache and ColdFusion Trouble
I am still not figuring this out! Does anyone have ideas? -Jason Hi Maureen, Are you running apache 2.2x? Yes. Can you perform a restart (apachectl restart or apachectl stop| apachectl start) and watch to see how things load and post back? Sure, I did an apachectl stop, tailed and did a start here is what is spit back: [Sun May 03 23:10:19 2009] [info] removed PID file /etc/httpd/run/httpd.pid (pid=4377) [Sun May 03 23:10:19 2009] [notice] caught SIGTERM, shutting down [Sun May 03 23:10:34 2009] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Sun May 03 23:10:34 2009] [notice] jrApache[init] JRun 4.0 (Build 108673) Apache 2.2 module - Mar 14 2008 01:19:38 [Sun May 03 23:10:34 2009] [notice] Digest: generating secret for digest authentication ... [Sun May 03 23:10:34 2009] [notice] Digest: done [Sun May 03 23:10:34 2009] [debug] util_ldap.c(1949): LDAP merging Shared Cache conf: shm=0x7f02f0260c48 rmm=0x7f02f0260ca0 for VHOST: wikikalendar.info [Sun May 03 23:10:34 2009] [debug] util_ldap.c(1949): LDAP merging Shared Cache conf: shm=0x7f02f0260c48 rmm=0x7f02f0260ca0 for VHOST: whatsgoodorbad.com [Sun May 03 23:10:34 2009] [debug] util_ldap.c(1949): LDAP merging Shared Cache conf: shm=0x7f02f0260c48 rmm=0x7f02f0260ca0 for VHOST: waterfordwindowandglass.com [Sun May 03 23:10:34 2009] [debug] util_ldap.c(1949): LDAP merging Shared Cache conf: shm=0x7f02f0260c48 rmm=0x7f02f0260ca0 for VHOST: thejasonandannettefoundation.com [Sun May 03 23:10:34 2009] [debug] util_ldap.c(1949): LDAP merging Shared Cache conf: shm=0x7f02f0260c48 rmm=0x7f02f0260ca0 for VHOST: thejasonandannettefoundation.org [Sun May 03 23:10:34 2009] [debug] util_ldap.c(1949): LDAP merging Shared Cache conf: shm=0x7f02f0260c48 rmm=0x7f02f0260ca0 for VHOST: sheldony.com [Sun May 03 23:10:34 2009] [debug] util_ldap.c(1949): LDAP merging Shared Cache conf: shm=0x7f02f0260c48 rmm=0x7f02f0260ca0 for VHOST: johnandlinda.us [Sun May 03 23:10:34 2009] [debug] util_ldap.c(1949): LDAP merging Shared Cache conf: shm=0x7f02f0260c48 rmm=0x7f02f0260ca0 for VHOST: andrew.jasonslack.name [Sun May 03 23:10:34 2009] [debug] util_ldap.c(1949): LDAP merging Shared Cache conf: shm=0x7f02f0260c48 rmm=0x7f02f0260ca0 for VHOST: jasonslack.name [Sun May 03 23:10:34 2009] [debug] util_ldap.c(1949): LDAP merging Shared Cache conf: shm=0x7f02f0260c48 rmm=0x7f02f0260ca0 for VHOST: 281bowl.com [Sun May 03 23:10:34 2009] [debug] util_ldap.c(1949): LDAP merging Shared Cache conf: shm=0x7f02f0260c48 rmm=0x7f02f0260ca0 for VHOST: 67. 23.34.37 [Sun May 03 23:10:34 2009] [info] APR LDAP: Built with OpenLDAP LDAP SDK [Sun May 03 23:10:34 2009] [info] LDAP: SSL support available [Sun May 03 23:10:34 2009] [notice] jrApache[init] JRun 4.0 (Build 108673) Apache 2.2 module - Mar 14 2008 01:19:38 [Sun May 03 23:10:34 2009] [debug] proxy_util.c(1854): proxy: grabbed scoreboard slot 0 in child 24700 for worker proxy:reverse [Sun May 03 23:10:34 2009] [debug] proxy_util.c(1967): proxy: initialized single connection worker 0 in child 24700 for (*) [Sun May 03 23:10:34 2009] [debug] proxy_util.c(1854): proxy: grabbed scoreboard slot 0 in child 24703 for worker proxy:reverse [Sun May 03 23:10:34 2009] [debug] proxy_util.c(1873): proxy: worker proxy:reverse already initialized [Sun May 03 23:10:34 2009] [debug] proxy_util.c(1967): proxy: initialized single connection worker 0 in child 24703 for (*) [Sun May 03 23:10:34 2009] [debug] proxy_util.c(1854): proxy: grabbed scoreboard slot 0 in child 24704 for worker proxy:reverse [Sun May 03 23:10:34 2009] [debug] proxy_util.c(1873): proxy: worker proxy:reverse already initialized [Sun May 03 23:10:34 2009] [debug] proxy_util.c(1967): proxy: initialized single connection worker 0 in child 24704 for (*) [Sun May 03 23:10:34 2009] [debug] proxy_util.c(1854): proxy: grabbed scoreboard slot 0 in child 24705 for worker proxy:reverse [Sun May 03 23:10:34 2009] [debug] proxy_util.c(1873): proxy: worker proxy:reverse already initialized [Sun May 03 23:10:34 2009] [debug] proxy_util.c(1967): proxy: initialized single connection worker 0 in child 24705 for (*) [Sun May 03 23:10:34 2009] [debug] proxy_util.c(1854): proxy: grabbed scoreboard slot 0 in child 24706 for worker proxy:reverse [Sun May 03 23:10:34 2009] [debug] proxy_util.c(1873): proxy: worker proxy:reverse already initialized [Sun May 03 23:10:34 2009] [debug] proxy_util.c(1967): proxy: initialized single connection worker 0 in child 24706 for (*) [Sun May 03 23:10:34 2009] [debug] proxy_util.c(1854): proxy: grabbed scoreboard slot 0 in child 24707 for worker proxy:reverse [Sun May 03 23:10:34 2009] [debug] proxy_util.c(1873): proxy: worker proxy:reverse already initialized [Sun May 03 23:10:34 2009] [debug] proxy_util.c(1967): proxy: initialized single connection worker 0 in child 24707 for (*) [Sun May 03 23:10:35 2009] [debug]
Re: Apache and ColdFusion Trouble
can you enable web server in cf and see what happens? do you need mod_proxy and ldap supprt? have you enabled sandbox security? On Mon, May 4, 2009 at 17:29, Jason Slack applesl...@gmail.com wrote: I am still not figuring this out! Does anyone have ideas? -Jason Hi Maureen, Are you running apache 2.2x? Yes. Can you perform a restart (apachectl restart or apachectl stop| apachectl start) and watch to see how things load and post back? Sure, I did an apachectl stop, tailed and did a start here is what is spit back: [Sun May 03 23:10:19 2009] [info] removed PID file /etc/httpd/run/httpd.pid (pid=4377) [Sun May 03 23:10:19 2009] [notice] caught SIGTERM, shutting down [Sun May 03 23:10:34 2009] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Sun May 03 23:10:34 2009] [notice] jrApache[init] JRun 4.0 (Build 108673) Apache 2.2 module - Mar 14 2008 01:19:38 [Sun May 03 23:10:34 2009] [notice] Digest: generating secret for digest authentication ... [Sun May 03 23:10:34 2009] [notice] Digest: done [Sun May 03 23:10:34 2009] [debug] util_ldap.c(1949): LDAP merging Shared Cache conf: shm=0x7f02f0260c48 rmm=0x7f02f0260ca0 for VHOST: wikikalendar.info [Sun May 03 23:10:34 2009] [debug] util_ldap.c(1949): LDAP merging Shared Cache conf: shm=0x7f02f0260c48 rmm=0x7f02f0260ca0 for VHOST: whatsgoodorbad.com [Sun May 03 23:10:34 2009] [debug] util_ldap.c(1949): LDAP merging Shared Cache conf: shm=0x7f02f0260c48 rmm=0x7f02f0260ca0 for VHOST: waterfordwindowandglass.com [Sun May 03 23:10:34 2009] [debug] util_ldap.c(1949): LDAP merging Shared Cache conf: shm=0x7f02f0260c48 rmm=0x7f02f0260ca0 for VHOST: thejasonandannettefoundation.com [Sun May 03 23:10:34 2009] [debug] util_ldap.c(1949): LDAP merging Shared Cache conf: shm=0x7f02f0260c48 rmm=0x7f02f0260ca0 for VHOST: thejasonandannettefoundation.org [Sun May 03 23:10:34 2009] [debug] util_ldap.c(1949): LDAP merging Shared Cache conf: shm=0x7f02f0260c48 rmm=0x7f02f0260ca0 for VHOST: sheldony.com [Sun May 03 23:10:34 2009] [debug] util_ldap.c(1949): LDAP merging Shared Cache conf: shm=0x7f02f0260c48 rmm=0x7f02f0260ca0 for VHOST: johnandlinda.us [Sun May 03 23:10:34 2009] [debug] util_ldap.c(1949): LDAP merging Shared Cache conf: shm=0x7f02f0260c48 rmm=0x7f02f0260ca0 for VHOST: andrew.jasonslack.name [Sun May 03 23:10:34 2009] [debug] util_ldap.c(1949): LDAP merging Shared Cache conf: shm=0x7f02f0260c48 rmm=0x7f02f0260ca0 for VHOST: jasonslack.name [Sun May 03 23:10:34 2009] [debug] util_ldap.c(1949): LDAP merging Shared Cache conf: shm=0x7f02f0260c48 rmm=0x7f02f0260ca0 for VHOST: 281bowl.com [Sun May 03 23:10:34 2009] [debug] util_ldap.c(1949): LDAP merging Shared Cache conf: shm=0x7f02f0260c48 rmm=0x7f02f0260ca0 for VHOST: 67. 23.34.37 [Sun May 03 23:10:34 2009] [info] APR LDAP: Built with OpenLDAP LDAP SDK [Sun May 03 23:10:34 2009] [info] LDAP: SSL support available [Sun May 03 23:10:34 2009] [notice] jrApache[init] JRun 4.0 (Build 108673) Apache 2.2 module - Mar 14 2008 01:19:38 [Sun May 03 23:10:34 2009] [debug] proxy_util.c(1854): proxy: grabbed scoreboard slot 0 in child 24700 for worker proxy:reverse [Sun May 03 23:10:34 2009] [debug] proxy_util.c(1967): proxy: initialized single connection worker 0 in child 24700 for (*) [Sun May 03 23:10:34 2009] [debug] proxy_util.c(1854): proxy: grabbed scoreboard slot 0 in child 24703 for worker proxy:reverse [Sun May 03 23:10:34 2009] [debug] proxy_util.c(1873): proxy: worker proxy:reverse already initialized [Sun May 03 23:10:34 2009] [debug] proxy_util.c(1967): proxy: initialized single connection worker 0 in child 24703 for (*) [Sun May 03 23:10:34 2009] [debug] proxy_util.c(1854): proxy: grabbed scoreboard slot 0 in child 24704 for worker proxy:reverse [Sun May 03 23:10:34 2009] [debug] proxy_util.c(1873): proxy: worker proxy:reverse already initialized [Sun May 03 23:10:34 2009] [debug] proxy_util.c(1967): proxy: initialized single connection worker 0 in child 24704 for (*) [Sun May 03 23:10:34 2009] [debug] proxy_util.c(1854): proxy: grabbed scoreboard slot 0 in child 24705 for worker proxy:reverse [Sun May 03 23:10:34 2009] [debug] proxy_util.c(1873): proxy: worker proxy:reverse already initialized [Sun May 03 23:10:34 2009] [debug] proxy_util.c(1967): proxy: initialized single connection worker 0 in child 24705 for (*) [Sun May 03 23:10:34 2009] [debug] proxy_util.c(1854): proxy: grabbed scoreboard slot 0 in child 24706 for worker proxy:reverse [Sun May 03 23:10:34 2009] [debug] proxy_util.c(1873): proxy: worker proxy:reverse already initialized [Sun May 03 23:10:34 2009] [debug] proxy_util.c(1967): proxy: initialized single connection worker 0 in child 24706 for (*) [Sun May 03 23:10:34 2009] [debug] proxy_util.c(1854): proxy: grabbed scoreboard slot 0 in child 24707 for worker proxy:reverse [Sun May 03 23:10:34 2009] [debug] proxy_util.c(1873): proxy: worker proxy:reverse already initialized [Sun May 03
Re: Apache and ColdFusion Trouble
I dont need mod_proxy or ldap. Can you tell me how to enable CF web server? can you enable web server in cf and see what happens? do you need mod_proxy and ldap supprt? have you enabled sandbox security? On Mon, May 4, 2009 at 17:29, Jas ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322160 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Apache and ColdFusion Trouble
I would disable any module in apache you don't need. poke around in jrun.xml - it's probably the easiest way to enable http in CF. you can double check your jrun port there too. On Mon, May 4, 2009 at 17:46, Jason Slack applesl...@gmail.com wrote: I dont need mod_proxy or ldap. Can you tell me how to enable CF web server? can you enable web server in cf and see what happens? do you need mod_proxy and ldap supprt? have you enabled sandbox security? On Mon, May 4, 2009 at 17:29, Jas ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322161 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Apache and ColdFusion Trouble
Can you tell me how to enable CF web server? http://www.adobe.com/support/coldfusion/adv_development/config_builtin_webserver/ Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322162 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Apache and ColdFusion Trouble
Hi Maureen, OK, so I did: [r...@server1 ~]# apachectl stop [r...@server1 ~]# /opt/coldfusion8/bin/coldfusion stop [r...@server1 ~]# nano /opt/coldfusion8/runtime/servers/coldfusion/SERVER-INF/jrun.xml chanced built-in webserver to deactivated = false saved and exited [r...@server1 ~]# /opt/coldfusion8/bin/coldfusion start CF start, I get an error: Configuring the web server connector (Launched on the first run of the ColdFusion 8 start script) Running apache connector wizard... === There was an error while running the connector wizard Connector installation was not successful === == ColdFusion 8 has been started. ColdFusion 8 will write logs to /opt/coldfusion8/logs/cfserver.log == I can then hit 67.23.34.37:8500, I get an empty directory listing because there are no files there since I picked apache when I installed. if I try hitting just 67.23.34.37 I get a Page Load Error The cfserver.log says: Starting Macromedia JRun 4.0 (Build 108673), coldfusion server 05/04 22:46:28 warning Unable to open /opt/coldfusion8/runtime/lib/license.properties 05/04 22:46:30 info JRun Naming Service listening on *:2930 05/04 22:46:32 info No JDBC data sources have been configured for this server (see jrun-resources.xml) 05/04 22:46:33 info JRun Web Server listening on *:8500 05/04 22:46:33 info JRun Proxy Server listening on *:51800 05/04 22:46:33 info Deploying enterprise application Adobe_ColdFusion_8 from: file:/opt/coldfusion8/ 05/04 22:46:33 info Deploying web application Adobe ColdFusion 8 from: file:/opt/coldfusion8/ 05/04 22:46:36 INFO License Service: Flex 1.5 CF Edition enabled 05/04 22:46:36 INFO Starting Flex 1.5 CF Edition 05/04 22:46:36 user JSPServlet: init 05/04 22:46:38 user ColdFusionStartUpServlet: init 05/04 22:46:38 user ColdFusionStartUpServlet: ColdFusion: Starting application services 05/04 22:46:38 user ColdFusionStartUpServlet: ColdFusion: VM version = 10.0-b19 05/04 22:46:39 Information [main] - Starting logging... 05/04 22:46:39 Information [main] - Starting license... 05/04 22:46:40 Information [main] - Enterprise Edition enabled 05/04 22:46:40 Information [main] - Starting crypto... 05/04 22:46:40 Information [main] - Installed JSafe JCE provider: Version 3.6 RSA Security Inc. Crypto-J JCE Security Provide$ 05/04 22:46:40 Information [main] - Starting security... 05/04 22:46:40 Information [main] - Starting scheduler... 05/04 22:46:40 Information [main] - Starting WatchService... 05/04 22:46:40 Information [main] - Starting debugging... 05/04 22:46:40 Information [main] - Starting sql... 05/04 22:46:40 Information [main] - Starting mail... 05/04 22:46:40 Information [main] - Starting runtime... 05/04 22:46:41 Information [main] - CORBA Configuration not enabled 05/04 22:46:41 Information [main] - Starting cron... 05/04 22:46:41 Information [main] - Starting registry... 05/04 22:46:41 Information [main] - Starting client... 05/04 22:46:42 Information [main] - Starting xmlrpc... 05/04 22:46:43 Information [main] - Starting graphing... 05/04 22:46:43 Information [main] - Starting verity... 05/04 22:46:43 Information [main] - Starting archive... 05/04 22:46:43 Information [main] - Starting document... 05/04 22:46:43 Information [main] - Starting eventgateway... 05/04 22:46:43 Information [main] - Starting Event Backend Handlers. 05/04 22:46:43 Information [main] - Initialized EventRequestDispatcher with a Thread Pool size of 10. 05/04 22:46:43 Information [main] - Initializing EventRequestHandler 05/04 22:46:43 Information [main] - Starting Event Gateways. 05/04 22:46:43 Information [main] - Starting FlexAssembler... 05/04 22:46:44 Information [main] - Starting .NET... 05/04 22:46:44 Information [main] - Starting Monitoring... 05/04 22:46:44 Information [main] - ColdFusion started 05/04 22:46:44 user ColdFusionStartUpServlet: ColdFusion: application services are now available 05/04 22:46:44 user CFMxmlServlet: init 05/04 22:46:44 user CFMxmlServlet: Macromedia Flex Build: 87315.134646 05/04 22:46:44 INFO Macromedia Flex Build: 87315.134646 05/04 22:46:48 user CFSwfServlet: init 05/04 22:46:48 user CFCServlet: init 05/04 22:46:49 user FlashGateway: init 05/04 22:46:49 user MessageBrokerServlet: init 05/04 22:46:51 user CFFormGateway: init 05/04 22:46:51 user CFInternalServlet: init Server coldfusion ready (startup time: 24 seconds) -Jason I would disable any module in apache you don't need. poke around in jrun.xml - it's probably the easiest way to enable http in CF. you can double check your jrun port there too. On Mon, May 4, 2009 at 17:46, Jas ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial
Re: Apache and ColdFusion Trouble
OK, so I got myself to a state where I can hit :8500 with /opt/coldfusion8/wwwroot as my root I stopped apache and changed jrun.xml to use port 80 and I am broken again. Everything i do it CF and cgi, so do I even need apache? if I could get CF on port 80 would this nor work using the built-in web-server? Thoughts? -Jason Can you tell me how to enable CF web server? http://www.adobe.com/support/coldfusion/adv_development/config_builtin_webserver/ Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322165 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Apache and ColdFusion Trouble
Hi Maureen, Thanks for your reply. I worked with your instructions and I not get an Internal Server error, so I know I did something wrong. Here is what I did. 1. in /opt/coldfusion8/runtime/lib/ I found wsconfig.jar. 2. I copied it to /tmp and extracted it with jar xvf, etc,etc 3. After extracting it I found /connectors/apache/intel-linux64/prebuilt/ 4. in this directory I find: mod_jrun.so, mod_jrun20.so and mod_jrun22.so 5. I copied mod_jrun22.so to /etc/httpd/modules/ 6. I made the following changes to /etc/httpd/conf/httpd.conf ## needed for Cold Fusion IfModule !mod_jrun22.c LoadModule jrun_module modules/mod_jrun22.so /IfModule IfModule mod_jrun22.c JRunConfig Verbose false JRunConfig Apialloc false # JRunConfig Ssl false JRunConfig Ignoresuffixmap true # JRunConfig Serverstore /path_to_yours/lib/wsconfig/1/jrunserver.store # add this line to the vhost container JRunConfig Bootstrap 127.0.0.1:51011 # JRunConfig Errorurl optionally redirect to this URL on errors AddHandler jrun-handler .cfm .cfc .cfml .jsp .jws /IfModule 7. I saved and executed apachectl restart What am i missing? -Jason Your mod_jk.so can be found in the wsconfig.jar. As I recall it is stored in directories named per version and build of apache. Extract and copy the one that applies to a directory your apache install can read. Then you need to add the following (where X denotes the version of jrun/apache you unpack) IfModule !mod_jrunX.c LoadModule jrun_module path_to_yours/mod_jrunX.so /IfModule IfModule mod_jrunX.c JRunConfig Verbose false JRunConfig Apialloc false # JRunConfig Ssl false JRunConfig Ignoresuffixmap true # JRunConfig Serverstore /path_to_yours/lib/wsconfig/1/jrunserver. store # add this line to the vhost container JRunConfig Bootstrap 127.0.0.1:51011 # JRunConfig Errorurl optionally redirect to this URL on errors AddHandler jrun-handler .cfm .cfc .cfml .jsp .jws /IfModule Note that included here is the default port 51011 - yours may be different. On Sat, May 2, 2009 at 21:25, Jason Slack applesl...@gmail.com wrote: Hi Maureen, There is a stanza you need to add for mod_jrun - did you add that too? No, I am not sure what you are referring to. This is my first time deploying on Linux. -Jason ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322135 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Apache and ColdFusion Trouble
Set your LogLevel in apache to debug. LogLevel debug ./apachectl graceful tail -f error.log Hit your site. What happens? Also tail your cfserver.log. On Sun, May 3, 2009 at 14:09, Jason Slack applesl...@gmail.com wrote: Hi Maureen, Thanks for your reply. I worked with your instructions and I not get an Internal Server error, so I know I did something wrong. Here is what I did. 1. in /opt/coldfusion8/runtime/lib/ I found wsconfig.jar. 2. I copied it to /tmp and extracted it with jar xvf, etc,etc 3. After extracting it I found /connectors/apache/intel-linux64/prebuilt/ 4. in this directory I find: mod_jrun.so, mod_jrun20.so and mod_jrun22.so 5. I copied mod_jrun22.so to /etc/httpd/modules/ 6. I made the following changes to /etc/httpd/conf/httpd.conf ## needed for Cold Fusion IfModule !mod_jrun22.c LoadModule jrun_module modules/mod_jrun22.so /IfModule IfModule mod_jrun22.c JRunConfig Verbose false JRunConfig Apialloc false # JRunConfig Ssl false JRunConfig Ignoresuffixmap true # JRunConfig Serverstore /path_to_yours/lib/wsconfig/1/jrunserver.store # add this line to the vhost container JRunConfig Bootstrap 127.0.0.1:51011 # JRunConfig Errorurl optionally redirect to this URL on errors AddHandler jrun-handler .cfm .cfc .cfml .jsp .jws /IfModule 7. I saved and executed apachectl restart What am i missing? -Jason Your mod_jk.so can be found in the wsconfig.jar. As I recall it is stored in directories named per version and build of apache. Extract and copy the one that applies to a directory your apache install can read. Then you need to add the following (where X denotes the version of jrun/apache you unpack) IfModule !mod_jrunX.c LoadModule jrun_module path_to_yours/mod_jrunX.so /IfModule IfModule mod_jrunX.c JRunConfig Verbose false JRunConfig Apialloc false # JRunConfig Ssl false JRunConfig Ignoresuffixmap true # JRunConfig Serverstore /path_to_yours/lib/wsconfig/1/jrunserver. store # add this line to the vhost container JRunConfig Bootstrap 127.0.0.1:51011 # JRunConfig Errorurl optionally redirect to this URL on errors AddHandler jrun-handler .cfm .cfc .cfml .jsp .jws /IfModule Note that included here is the default port 51011 - yours may be different. On Sat, May 2, 2009 at 21:25, Jason Slack applesl...@gmail.com wrote: Hi Maureen, There is a stanza you need to add for mod_jrun - did you add that too? No, I am not sure what you are referring to. This is my first time deploying on Linux. -Jason ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322136 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Apache and ColdFusion Trouble
Hi Maureen, OK, I did this and both error_log and the cfserver.log dont change. In cfserver.log I see some run client storage purge, but that is it. in /etc/httpd/logs/error_log all I see is: [r...@server1 logs]# tail -f error_log [Sun May 03 17:28:03 2009] [debug] proxy_util.c(1967): proxy: initialized single connection worker 0 in child 23835 for (*) [Sun May 03 17:28:03 2009] [debug] proxy_util.c(1854): proxy: grabbed scoreboard slot 0 in child 23836 for worker proxy:reverse [Sun May 03 17:28:03 2009] [debug] proxy_util.c(1873): proxy: worker proxy:reverse already initialized [Sun May 03 17:28:03 2009] [debug] proxy_util.c(1967): proxy: initialized single connection worker 0 in child 23836 for (*) [Sun May 03 17:28:03 2009] [debug] proxy_util.c(1854): proxy: grabbed scoreboard slot 0 in child 23837 for worker proxy:reverse [Sun May 03 17:28:03 2009] [debug] proxy_util.c(1873): proxy: worker proxy:reverse already initialized [Sun May 03 17:28:03 2009] [debug] proxy_util.c(1967): proxy: initialized single connection worker 0 in child 23837 for (*) [Sun May 03 17:28:03 2009] [debug] proxy_util.c(1854): proxy: grabbed scoreboard slot 0 in child 23838 for worker proxy:reverse [Sun May 03 17:28:03 2009] [debug] proxy_util.c(1873): proxy: worker proxy:reverse already initialized [Sun May 03 17:28:03 2009] [debug] proxy_util.c(1967): proxy: initialized single connection worker 0 in child 23838 for (*) -Jason Set your LogLevel in apache to debug. LogLevel debug ./apachectl graceful tail -f error.log Hit your site. What happens? Also tail your cfserver.log. On Sun, May 3, 2009 at 14:09, Jas ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322137 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Apache and ColdFusion Trouble
Are you running apache 2.2x? Can you perform a restart (apachectl restart or apachectl stop| apachectl start) and watch to see how things load and post back? On Sun, May 3, 2009 at 14:28, Jason Slack applesl...@gmail.com wrote: Hi Maureen, OK, I did this and both error_log and the cfserver.log dont change. In cfserver.log I see some run client storage purge, but that is it. in /etc/httpd/logs/error_log all I see is: [r...@server1 logs]# tail -f error_log [Sun May 03 17:28:03 2009] [debug] proxy_util.c(1967): proxy: initialized single connection worker 0 in child 23835 for (*) [Sun May 03 17:28:03 2009] [debug] proxy_util.c(1854): proxy: grabbed scoreboard slot 0 in child 23836 for worker proxy:reverse [Sun May 03 17:28:03 2009] [debug] proxy_util.c(1873): proxy: worker proxy:reverse already initialized [Sun May 03 17:28:03 2009] [debug] proxy_util.c(1967): proxy: initialized single connection worker 0 in child 23836 for (*) [Sun May 03 17:28:03 2009] [debug] proxy_util.c(1854): proxy: grabbed scoreboard slot 0 in child 23837 for worker proxy:reverse [Sun May 03 17:28:03 2009] [debug] proxy_util.c(1873): proxy: worker proxy:reverse already initialized [Sun May 03 17:28:03 2009] [debug] proxy_util.c(1967): proxy: initialized single connection worker 0 in child 23837 for (*) [Sun May 03 17:28:03 2009] [debug] proxy_util.c(1854): proxy: grabbed scoreboard slot 0 in child 23838 for worker proxy:reverse [Sun May 03 17:28:03 2009] [debug] proxy_util.c(1873): proxy: worker proxy:reverse already initialized [Sun May 03 17:28:03 2009] [debug] proxy_util.c(1967): proxy: initialized single connection worker 0 in child 23838 for (*) -Jason ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322138 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Apache and ColdFusion Trouble
Hi Maureen, Are you running apache 2.2x? Yes. Can you perform a restart (apachectl restart or apachectl stop| apachectl start) and watch to see how things load and post back? Sure, I did an apachectl stop, tailed and did a start here is what is spit back: [Sun May 03 23:10:19 2009] [info] removed PID file /etc/httpd/run/httpd.pid (pid=4377) [Sun May 03 23:10:19 2009] [notice] caught SIGTERM, shutting down [Sun May 03 23:10:34 2009] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Sun May 03 23:10:34 2009] [notice] jrApache[init] JRun 4.0 (Build 108673) Apache 2.2 module - Mar 14 2008 01:19:38 [Sun May 03 23:10:34 2009] [notice] Digest: generating secret for digest authentication ... [Sun May 03 23:10:34 2009] [notice] Digest: done [Sun May 03 23:10:34 2009] [debug] util_ldap.c(1949): LDAP merging Shared Cache conf: shm=0x7f02f0260c48 rmm=0x7f02f0260ca0 for VHOST: wikikalendar.info [Sun May 03 23:10:34 2009] [debug] util_ldap.c(1949): LDAP merging Shared Cache conf: shm=0x7f02f0260c48 rmm=0x7f02f0260ca0 for VHOST: whatsgoodorbad.com [Sun May 03 23:10:34 2009] [debug] util_ldap.c(1949): LDAP merging Shared Cache conf: shm=0x7f02f0260c48 rmm=0x7f02f0260ca0 for VHOST: waterfordwindowandglass.com [Sun May 03 23:10:34 2009] [debug] util_ldap.c(1949): LDAP merging Shared Cache conf: shm=0x7f02f0260c48 rmm=0x7f02f0260ca0 for VHOST: thejasonandannettefoundation.com [Sun May 03 23:10:34 2009] [debug] util_ldap.c(1949): LDAP merging Shared Cache conf: shm=0x7f02f0260c48 rmm=0x7f02f0260ca0 for VHOST: thejasonandannettefoundation.org [Sun May 03 23:10:34 2009] [debug] util_ldap.c(1949): LDAP merging Shared Cache conf: shm=0x7f02f0260c48 rmm=0x7f02f0260ca0 for VHOST: sheldony.com [Sun May 03 23:10:34 2009] [debug] util_ldap.c(1949): LDAP merging Shared Cache conf: shm=0x7f02f0260c48 rmm=0x7f02f0260ca0 for VHOST: johnandlinda.us [Sun May 03 23:10:34 2009] [debug] util_ldap.c(1949): LDAP merging Shared Cache conf: shm=0x7f02f0260c48 rmm=0x7f02f0260ca0 for VHOST: andrew.jasonslack.name [Sun May 03 23:10:34 2009] [debug] util_ldap.c(1949): LDAP merging Shared Cache conf: shm=0x7f02f0260c48 rmm=0x7f02f0260ca0 for VHOST: jasonslack.name [Sun May 03 23:10:34 2009] [debug] util_ldap.c(1949): LDAP merging Shared Cache conf: shm=0x7f02f0260c48 rmm=0x7f02f0260ca0 for VHOST: 281bowl.com [Sun May 03 23:10:34 2009] [debug] util_ldap.c(1949): LDAP merging Shared Cache conf: shm=0x7f02f0260c48 rmm=0x7f02f0260ca0 for VHOST: 67.23.34.37 [Sun May 03 23:10:34 2009] [info] APR LDAP: Built with OpenLDAP LDAP SDK [Sun May 03 23:10:34 2009] [info] LDAP: SSL support available [Sun May 03 23:10:34 2009] [notice] jrApache[init] JRun 4.0 (Build 108673) Apache 2.2 module - Mar 14 2008 01:19:38 [Sun May 03 23:10:34 2009] [debug] proxy_util.c(1854): proxy: grabbed scoreboard slot 0 in child 24700 for worker proxy:reverse [Sun May 03 23:10:34 2009] [debug] proxy_util.c(1967): proxy: initialized single connection worker 0 in child 24700 for (*) [Sun May 03 23:10:34 2009] [debug] proxy_util.c(1854): proxy: grabbed scoreboard slot 0 in child 24703 for worker proxy:reverse [Sun May 03 23:10:34 2009] [debug] proxy_util.c(1873): proxy: worker proxy:reverse already initialized [Sun May 03 23:10:34 2009] [debug] proxy_util.c(1967): proxy: initialized single connection worker 0 in child 24703 for (*) [Sun May 03 23:10:34 2009] [debug] proxy_util.c(1854): proxy: grabbed scoreboard slot 0 in child 24704 for worker proxy:reverse [Sun May 03 23:10:34 2009] [debug] proxy_util.c(1873): proxy: worker proxy:reverse already initialized [Sun May 03 23:10:34 2009] [debug] proxy_util.c(1967): proxy: initialized single connection worker 0 in child 24704 for (*) [Sun May 03 23:10:34 2009] [debug] proxy_util.c(1854): proxy: grabbed scoreboard slot 0 in child 24705 for worker proxy:reverse [Sun May 03 23:10:34 2009] [debug] proxy_util.c(1873): proxy: worker proxy:reverse already initialized [Sun May 03 23:10:34 2009] [debug] proxy_util.c(1967): proxy: initialized single connection worker 0 in child 24705 for (*) [Sun May 03 23:10:34 2009] [debug] proxy_util.c(1854): proxy: grabbed scoreboard slot 0 in child 24706 for worker proxy:reverse [Sun May 03 23:10:34 2009] [debug] proxy_util.c(1873): proxy: worker proxy:reverse already initialized [Sun May 03 23:10:34 2009] [debug] proxy_util.c(1967): proxy: initialized single connection worker 0 in child 24706 for (*) [Sun May 03 23:10:34 2009] [debug] proxy_util.c(1854): proxy: grabbed scoreboard slot 0 in child 24707 for worker proxy:reverse [Sun May 03 23:10:34 2009] [debug] proxy_util.c(1873): proxy: worker proxy:reverse already initialized [Sun May 03 23:10:34 2009] [debug] proxy_util.c(1967): proxy: initialized single connection worker 0 in child 24707 for (*) [Sun May 03 23:10:35 2009] [debug] proxy_util.c(1854): proxy: grabbed scoreboard slot 0 in child 24708 for worker proxy:reverse [Sun May 03 23:10:35 2009] [debug] proxy_util.c(1873): proxy: worker proxy:reverse
Re: Apache and ColdFusion Trouble
There is a stanza you need to add for mod_jrun - did you add that too? On Sat, May 2, 2009 at 20:00, Jason Todd Slack-Moehrle mailingli...@mailnewsrss.com wrote: Hi All, My quest is going slowly but surely and I am learning a lot. I use ColdFusion 8 Enterprise. I installed in on my CentOS 5.3 instance and all was well, I specified Apache during the install, etc, etc... I added: DirectoryIndex index.html index.html.var index.php index.cfm index.cfml to httpd.conf and restarted. I put an index.cfm page in /var/www/html and removed the standard index.html and I can see when I hit my IP it works. I then created virtual hosts for a few coldfusion websites in httpd.conf and added the directories to /var/www/html When I try to hit an index.cfm page Firefox prompts me to download binary data. When I try to hit the CF Administrator I get the same 'binary' data file download. I am running CF on port 80 as I need to. Examples that works: http://67.23.34.37/ Does not work: http://67.23.34.37/cfide/administrator Ideas? -Jason ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322131 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Apache and ColdFusion Trouble
Hi Maureen, There is a stanza you need to add for mod_jrun - did you add that too? No, I am not sure what you are referring to. This is my first time deploying on Linux. -Jason ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322132 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Apache and ColdFusion Trouble
Your mod_jk.so can be found in the wsconfig.jar. As I recall it is stored in directories named per version and build of apache. Extract and copy the one that applies to a directory your apache install can read. Then you need to add the following (where X denotes the version of jrun/apache you unpack) IfModule !mod_jrunX.c LoadModule jrun_module path_to_yours/mod_jrunX.so /IfModule IfModule mod_jrunX.c JRunConfig Verbose false JRunConfig Apialloc false # JRunConfig Ssl false JRunConfig Ignoresuffixmap true # JRunConfig Serverstore /path_to_yours/lib/wsconfig/1/jrunserver.store # add this line to the vhost container JRunConfig Bootstrap 127.0.0.1:51011 # JRunConfig Errorurl optionally redirect to this URL on errors AddHandler jrun-handler .cfm .cfc .cfml .jsp .jws /IfModule Note that included here is the default port 51011 - yours may be different. On Sat, May 2, 2009 at 21:25, Jason Slack applesl...@gmail.com wrote: Hi Maureen, There is a stanza you need to add for mod_jrun - did you add that too? No, I am not sure what you are referring to. This is my first time deploying on Linux. -Jason ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322133 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Apache with coldfusion, using seo urls
Stephen Adams wrote: Hi, I'm trying to set up my laptop with Apache and CF, so far I have everything working the only problem is that the site I'm working on uses SEO url's e.g. mysite/myaccount and this will load the index.cfm page of the my account folder. This also means that all the includes and links to stylesheets are like this: CFINCLUDE TEMPLATE=/includes/modules/myaccount/act_default.cfm or link type=text/css href=/styles/print.css rel=stylesheet media=print / Now at work we are using IIS and these links work fine, but on my laptop I'm using Apache (I couldn't get IIS to work on the laptop), but on Apache url written this way are not working I have to amend them to CFINCLUDE TEMPLATE=../includes/modules/myaccount/act_default.cfm or link type=text/css href=../styles/print.css rel=stylesheet media=print / Is there a way in Apache I can get all url's to work the same as IIS? This doesn't sound like an Apache issue at all, if you are having to change your cfinclude paths. cfinclude works at the ColdFusion server level, not on the web server level. It looks like you may be missing a ColdFusion mapping, and may need to adjust your web server's web root and/or add an alias/virtual dir. -Ryan ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310871 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Apache with coldfusion, using seo urls
Is the site in a local folder such as: http://localhost/mysite/ ? and on the production IIS server is it set to: http://mysite ? If that is the case then / on the IIS server and Localhost are going to be different locations... hence the reason you need ../ on the apache box. I usually just create a virtual host called something like localhost.mysite and add that to apache and you end up with http://localhost.mysite/ which will be more like your production environment. J.J. On Tue, Aug 12, 2008 at 8:35 AM, Stephen Adams [EMAIL PROTECTED] wrote: Hi, I'm trying to set up my laptop with Apache and CF, so far I have everything working the only problem is that the site I'm working on uses SEO url's e.g. mysite/myaccount and this will load the index.cfm page of the my account folder. This also means that all the includes and links to stylesheets are like this: CFINCLUDE TEMPLATE=/includes/modules/myaccount/act_default.cfm or link type=text/css href=/styles/print.css rel=stylesheet media=print / Now at work we are using IIS and these links work fine, but on my laptop I'm using Apache (I couldn't get IIS to work on the laptop), but on Apache url written this way are not working I have to amend them to CFINCLUDE TEMPLATE=../includes/modules/myaccount/act_default.cfm or link type=text/css href=../styles/print.css rel=stylesheet media=print / Is there a way in Apache I can get all url's to work the same as IIS? Thanks ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310877 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: apache and ColdFusion
Tom, What you are seeing is the source code for the template (which is encrpyted). You have to bind the .cfm extension to the ColdFusion .dll (or whatever it equivelant in RedHat...I am an not a Linux user/fan). Basically your install has failed to bind any and all .cfm pages to the CF server. This is a common install error; I am not sure what causes it though... HTH N -Original Message- From: Thomas Chiverton [mailto:thomas.chiverton;locavista.com] Sent: 23 October 2002 09:55 To: CF-Talk Subject: apache and ColdFusion I'm running apache 1.3 on RedHat, and have run the CF5 installer (this is the version of CF required by our app), and it all seemed to go without problems, except when accessing the cfide URL, I get a page of junk with Allaire Cold Fusion Template Header Size: New Versionà at the top. Any ideas ? Google and the archives seem to be unhelpful. Tom Chiverton You don't have to be a mad scientist to believe in ColdFusion ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting.