macromedia.coldfusion.server_administration
[Top] [All Lists]

CF8 and Apache

Subject: CF8 and Apache
From: "chuck1rar" <webforumsuser@xxxxxxxxxxxxxx>
Date: Tue, 15 Jul 2008 12:03:23 +0000 (UTC)
Newsgroups: macromedia.coldfusion.server_administration

Have CF setup as a multiserver instance.
 Have two other instances and one default (wsconfig/1)
 Two others are called "Paris1" and "IT"
 These were created no worries with no errors.

 Setup the instances and they are running fine.
 Then the VHosts are correctly configured too.

 All sites on the first instance open fine.
 But the other sites on the other two instances only work if served by apache 
and only as html sites.

 Have uploaded the apache error log but it points to CF being the problem to be 
CF.Have also uploaded the CF logs.



 ue Jul 15 20:26:37 2008] [notice] jrApache[5504: 51443]  127.0.0.1:51002 
connect failed[1508]: 10060 Connection timed out
 [Tue Jul 15 20:26:37 2008] [notice] jrApache[5504: 51443]  could not open 
serverstore "C:/JRun4/lib/wsconfig/IT/jrunserver.store": No such file or 
directory
 [Tue Jul 15 20:26:37 2008] [notice] jrApache[5504: 51443]  Couldn't initialize 
from remote server, JRun server(s) probably down.
 [Tue Jul 15 20:26:37 2008] [notice] jrApache[5504: 51443]  JRun will not 
accept request.  Check JRun web server configuration and JRun mappings on JRun 
server.
 [Tue Jul 15 20:26:52 2008] [notice] jrApache[5504: 17655]  127.0.0.1:51002 
connect failed[1508]: 10060 Connection timed out
 [Tue Jul 15 20:26:52 2008] [notice] jrApache[5504: 17655]  could not open 
serverstore "C:/JRun4/lib/wsconfig/IT/jrunserver.store": No such file or 
directory
 [Tue Jul 15 20:26:52 2008] [notice] jrApache[5504: 17655]  Couldn't initialize 
from remote server, JRun server(s) probably down.
 [Tue Jul 15 20:26:52 2008] [notice] jrApache[5504: 17655]  JRun will not 
accept request.  Check JRun web server configuration and JRun mappings on JRun 
server.

 //CF log for Instance IT
 # Created by JRun on 07/15 19:45:32
 07/15 19:45:32 info No JDBC data sources have been configured for this server 
(see jrun-resources.xml)
 07/15 19:45:32 info JRun Web Server listening on *:8302
 07/15 19:45:33 info Deploying enterprise application "JRun 4.0 Internal J2EE 
Components" from: file:/C:/JRun4/lib/jrun-comp.ear
 07/15 19:45:33 info Deploying EJB "JRunSQLInvoker" from: 
file:/C:/JRun4/lib/jrun-comp.ear
 07/15 19:45:33 error There is no web application configured to service your 
request
 07/15 19:45:33 user NoWebappServlet: init
 07/15 19:45:33 info Deploying enterprise application "cfusion" from: 
file:/C:/JRun4/servers/IT/cfusion.ear/
 07/15 19:45:33 info Deploying web application "cfusion" from: 
file:/C:/JRun4/servers/IT/cfusion.ear/
 07/15 19:45:36 info Web Services in cfusion.ear#cfusion.war:
 07/15 19:45:36 info (No web services found.)
 07/15 19:45:36 user JSPServlet: init
 07/15 19:45:37 user ColdFusionStartUpServlet: init
 07/15 19:45:37 user ColdFusionStartUpServlet: ColdFusion: Starting application 
services
 07/15 19:45:37 user ColdFusionStartUpServlet: ColdFusion: VM version = 
1.6.0_01-b06
 07/15 19:45:44 user ColdFusionStartUpServlet: ColdFusion: application services 
are now available
 07/15 19:45:44 user CFMxmlServlet: init
 07/15 19:45:44 user CFMxmlServlet: Macromedia Flex Build: 87315.134646
 07/15 19:45:49 user CFSwfServlet: init
 07/15 19:45:49 user CFCServlet: init
 07/15 19:45:49 user FlashGateway: init
 07/15 19:45:50 user MessageBrokerServlet: init
 07/15 19:45:55 user CFFormGateway: init
 07/15 19:45:55 user FlexMxmlServlet: init
 07/15 19:45:56 user FlexMxmlServlet: Starting Adobe Flex Web Tier Compiler
 07/15 19:45:56 user FlexMxmlServlet: Adobe Flex Web Tier Compiler Build: 173666
 07/15 19:45:56 user CFInternalServlet: init
 07/15 19:45:56 user FlexInternalServlet: init
 07/15 19:47:23 user FileServlet: init

 //apache config CF 
 </IfModule>
 # JRun Settings
 LoadModule jrun_module "C:/JRun4/lib/wsconfig/1/mod_jrun22.so"
 <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>

 //VHOSTS

 #
 # Virtual Hosts
 #
 # If you want to maintain multiple domains/hostnames on your
 # machine you can setup VirtualHost containers for them. Most configurations
 # use only name-based virtual hosts so the server doesn't need to worry about
 # IP addresses. This is indicated by the asterisks in the directives below.
 #
 # Please see the documentation at 
 # <URL:http://httpd.apache.org/docs/2.2/vhosts/>
 # for further details before you try to setup virtual hosts.
 #
 # You may use the command line option '-S' to verify your virtual host
 # configuration.

 #
 # Use name-based virtual hosting.
 #
 NameVirtualHost *:80

 #
 # VirtualHost example:
 # Almost any Apache directive may go into a VirtualHost container.
 # The first VirtualHost section is used for all requests that do not
 # match a ServerName or ServerAlias in any <VirtualHost> block.
 #
 <VirtualHost *:80>
     ServerAdmin webmaster@xxxxxxxxxxx
     DocumentRoot "E:/nathess1"
     ServerName www.nathess.jp
     JRunConfig Serverstore    "C:/JRun4/lib/wsconfig/1/jrunserver.store"
     JRunConfig Bootstrap 127.0.0.1:51020
    </VirtualHost>

 <VirtualHost *:80>
     DocumentRoot "E:/nathess1"
     ServerName www.nathess.com
     ServerAlias nathess.com nathess.jp
     RewriteEngine On
     RewriteRule ^/(.*) http://www.nathess.jp/$1 [L,R=301]
    </VirtualHost>

 <VirtualHost *:80>
     DocumentRoot "E:/nathess1"
     ServerName www.nathessystems.com
     ServerAlias nathessystems.com
     RewriteEngine On
     RewriteRule ^/(.*) http://www.nathess.jp/$1 [L,R=301]
    </VirtualHost>

 <VirtualHost *:80>
     ServerAdmin webmaster@xxxxxxxxxxxxxxx
     DocumentRoot "E:/mgel"
     ServerName www.mariannegel.jp
     ServerAlias mariannegel.com mariannegel.jp
     JRunConfig Serverstore    "C:/JRun4/lib/wsconfig/1/jrunserver.store"
     JRunConfig Bootstrap 127.0.0.1:51020
    </VirtualHost>

 <VirtualHost *:80>
     ServerName www.mariannegel.com
     RewriteEngine On
     RewriteRule ^/(.*) http://www.mariannegel.jp/$1 [L,R=301]
    </VirtualHost>

 <VirtualHost *:80>
     ServerAdmin webmaster@xxxxxxxxx
     DocumentRoot "E:/cibtac"
     ServerName www.cibtac.jp
     ServerAlias cibtac.jp cibtacjapan.com
     JRunConfig Serverstore    "C:/JRun4/lib/wsconfig/1/jrunserver.store"
     JRunConfig Bootstrap 127.0.0.1:51020
    </VirtualHost>

 <VirtualHost *:80>
     ServerName www.cibtacjapan.com
     RewriteEngine On
     RewriteRule ^/(.*) http://www.cibtac.jp/$1 [L,R=301]
    </VirtualHost>

 <VirtualHost *:80>
     ServerAdmin webmaster@xxxxxxxxxxxxx
     DocumentRoot "E:/bplus"
     ServerName www.beautyplus.jp
     ServerAlias beautyplus.jp
     JRunConfig Serverstore    "C:/JRun4/lib/wsconfig/1/jrunserver.store"
     JRunConfig Bootstrap 127.0.0.1:51020
    </VirtualHost>

 <VirtualHost *:80>
     ServerAdmin webmaster@xxxxxxxxxxxxxxxxxx
     DocumentRoot "E:/DestinationCDG"
     ServerName www.destinationcdg.com
     ServerAlias destinationcdg.com
     JRunConfig Serverstore "C:/JRun4/lib/wsconfig/1/jrunserver.store"
     JRunConfig Bootstrap 127.0.0.1:51000
     <Directory "E:/DestinationCDG">
     Order allow,deny
     Allow from all
     </Directory>
    </VirtualHost>

 <VirtualHost *:80>
     ServerName www.??????.jp
     RewriteEngine On
     RewriteRule ^/(.*) http://www.destinationcdg.com/$1 [L,R=301]
    </VirtualHost>

 <VirtualHost *:80>
     ServerName www.????????.jp
     RewriteEngine On
     RewriteRule ^/(.*) http://www.destinationcdg.com/$1 [L,R=301]
    </VirtualHost>

 <VirtualHost *:80>
     ServerAdmin webmaster@xxxxxxxxxx
     DocumentRoot "E:/meso"
     ServerName www.meso500.jp
     ServerAlias meso500.jp
     <Directory "E:/meso">
     Order allow,deny
     Allow from all
     </Directory>
    </VirtualHost>

 <VirtualHost *:80>
     ServerAdmin webmaster@xxxxxxxxxxxxx
     DocumentRoot "E:/aroma"
     ServerName www.aroma-oils.jp
     ServerAlias aroma-oils.jp
     JRunConfig Serverstore    "C:/JRun4/lib/wsconfig/Paris1/jrunserver.store"
     JRunConfig Bootstrap 127.0.0.1:51000
     <Directory "E:/aroma">
     Order allow,deny
     Allow from all
     </Directory>
    </VirtualHost>

 <VirtualHost *:80>
     ServerAdmin webmaster@xxxxxxxxxxxxxxx
     DocumentRoot "E:/MLS"
     ServerName www.multilingit.com
     ServerAlias multilingit.com
    JRunConfig Serverstore "C:/JRun4/lib/wsconfig/IT/jrunserver.store"
    JRunConfig Bootstrap 127.0.0.1:51002
     <Directory "E:/MLS">
     Order allow,deny
     Allow from all
     </Directory>
    </VirtualHost>

 <VirtualHost *:80>
     ServerAdmin webmaster@xxxxxxxx
     DocumentRoot "E:/dimax"
     ServerName www.dimax.jp
     ServerAlias dimax.jp
     <Directory "E:/dimax">
     Order allow,deny
     Allow from all
     </Directory>
    </VirtualHost>

 <VirtualHost *:80>
     ServerAdmin webmaster@xxxxxxxxxxxxxx
     DocumentRoot "E:/cigaronline"
     ServerName www.cigaronline.jp
     ServerAlias cigaronline.jp
    JRunConfig Serverstore "C:/JRun4/lib/wsconfig/IT/jrunserver.store"
    JRunConfig Bootstrap 127.0.0.1:51002
     <Directory "E:/cigaronline">
     Order allow,deny
     Allow from all
     </Directory>
    </VirtualHost>

 <VirtualHost *:80>
     ServerAdmin webmaster@xxxxxxxxxx
     DocumentRoot "E:/telecon"
     ServerName www.telecon.jp
     ServerAlias telecon.jp
    JRunConfig Serverstore "C:/JRun4/lib/wsconfig/IT/jrunserver.store"
    JRunConfig Bootstrap 127.0.0.1:51002
    

<Prev in Thread] Current Thread [Next in Thread>