Hi,
I am having a hard time configuring Apache Virtual host with ColdFusion 8.
Here is my setup
1. Windows XP.
2. Apache 2.2.6
3. ColdFusion 8 - Multi instance.
Here is what I've done till now
1. Installed Apache and CF8 with JRUN.
2. Create a new CF intances in CF Admin
3. Ran the Web Connector for Apache and the two virtual host can connect to
CF successfully. Here is the VH definitions
<VirtualHost *:80>
ServerAdmin [EMAIL PROTECTED]
DocumentRoot "E:\apachesites\qasim"
ServerName qasimrasheed.local
ServerAlias www.qasimrasheed.local
ErrorLog "logs/qasimrasheed.local-error.log"
<Directory />
Order Allow,Deny
Allow from all
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerAdmin [EMAIL PROTECTED]
DocumentRoot "E:\apachesites\qasim1"
ServerName qasimrasheed1.local
ServerAlias www.qasimrasheed1.local
ErrorLog "logs/qasimrasheed1.local-error.log"
<Directory />
Order Allow,Deny
Allow from all
</Directory>
</VirtualHost>
Here is how ColdFusion connector added things to Apache conf.
<IfModule mod_jrun22.c>
JRunConfig Verbose false
JRunConfig Apialloc false
JRunConfig Ignoresuffixmap false
JRunConfig Serverstore "C:/JRun4/lib/wsconfig/1/jrunserver.store"
JRunConfig Bootstrap 127.0.0.1:51020
#JRunConfig Errorurl url <optionally redirect to this URL on errors>
#JRunConfig ProxyRetryInterval 600 <number of seconds to wait before
trying to reconnect to unreachable clustered server>
#JRunConfig ConnectTimeout 15 <number of seconds to wait on a socket
connect to a jrun server>
#JRunConfig RecvTimeout 300 <number of seconds to wait on a socket
receive to a jrun server>
#JRunConfig SendTimeout 15 <number of seconds to wait on a socket send
to a jrun server>
AddHandler jrun-handler .jsp .jws .cfm .cfml .cfc .cfr .cfswf
</IfModule>
Ok now I commented the serverstore and bootstrap from above and added these
to individual Virtual Host. However it doesn't work and I see these errors
in Apache log files
[Sun Jan 06 19:29:29 2008] [notice] jrApache[6472: 35340] can't retrieve
servers from server, no bootstrap specified.
[Sun Jan 06 19:29:29 2008] [notice] jrApache[6472: 35340] can't load
servers from serverstore, no serverstore specified.
[Sun Jan 06 19:29:29 2008] [notice] jrApache[6472: 35340] can't persist
servers, no serverstore specified.
[Sun Jan 06 19:29:29 2008] [notice] jrApache[6472: 35340] Couldn't
initialize from remote server, JRun server(s) probably down.
[Sun Jan 06 19:29:29 2008] [notice] jrApache[6472: 35340] JRun will not
accept request. Check JRun web server configuration and JRun mappings on
JRun server.
Thanks. Any help is greatly appreciated.
Qasim.
--
Qasim Rasheed
Certified Advance ColdFusion MX Developer
(IM qasimrasheed AT yahoo, msn or GTalk)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:295986
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4