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

Re: CF8 and Apache

Subject: Re: CF8 and Apache
From: GArlington <garlington@xxxxxxxxxxxxx>
Date: Tue, 15 Jul 2008 08:16:58 -0700 (PDT)
Newsgroups: macromedia.coldfusion.server_administration

On Jul 15, 1:03 pm, "chuck1rar" <webforumsu...@xxxxxxxxxxxxxx> wrote:
> 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 webmas...@xxxxxxxxxxx
>      DocumentRoot "E:/nathess1"
>      ServerNamewww.nathess.jp
>      JRunConfig Serverstore    "C:/JRun4/lib/wsconfig/1/jrunserver.store"
>      JRunConfig Bootstrap 127.0.0.1:51020
>     </VirtualHost>
>
>  <VirtualHost *:80>
>      DocumentRoot "E:/nathess1"
>      ServerNamewww.nathess.com
>      ServerAlias nathess.com nathess.jp
>      RewriteEngine On
>      RewriteRule ^/(.*)http://www.nathess.jp/$1[L,R=301]
>     </VirtualHost>
>
>  <VirtualHost *:80>
>      DocumentRoot "E:/nathess1"
>      ServerNamewww.nathessystems.com
>      ServerAlias nathessystems.com
>      RewriteEngine On
>      RewriteRule ^/(.*)http://www.nathess.jp/$1[L,R=301]
>     </VirtualHost>
>
>  <VirtualHost *:80>
>      ServerAdmin webmas...@xxxxxxxxxxxxxxx
>      DocumentRoot "E:/mgel"
>      ServerNamewww.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>
>      ServerNamewww.mariannegel.com
>      RewriteEngine On
>      RewriteRule ^/(.*)http://www.mariannegel.jp/$1[L,R=301]
>     </VirtualHost>
>
>  <VirtualHost *:80>
>      ServerAdmin webmas...@xxxxxxxxx
>      DocumentRoot "E:/cibtac"
>      ServerNamewww.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>
>      ServerNamewww.cibtacjapan.com
>      RewriteEngine On
>      RewriteRule ^/(.*)http://www.cibtac.jp/$1[L,R=301]
>     </VirtualHost>
>
>  <VirtualHost *:80>
>      ServerAdmin webmas...@xxxxxxxxxxxxx
>      DocumentRoot "E:/bplus"
>      ServerNamewww.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 webmas...@xxxxxxxxxxxxxxxxxx
>      DocumentRoot "E:/DestinationCDG"
>      ServerNamewww.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 webmas...@xxxxxxxxxx
>      DocumentRoot "E:/meso"
>      ServerNamewww.meso500.jp
>      ServerAlias meso500.jp
>      <Directory "E:/meso">
>      Order allow,deny
>      Allow from all
>      </Directory>
>     </VirtualHost>
>
>  <VirtualHost *:80>
>      ServerAdmin webmas...@xxxxxxxxxxxxx
>      DocumentRoot "E:/aroma"
>      ServerNamewww.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 webmas...@xxxxxxxxxxxxxxx
>      DocumentRoot "E:/MLS"
>      ServerNamewww.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 webmas...@xxxxxxxx
>      DocumentRoot "E:/dimax"
>      ServerNamewww.dimax.jp
>      ServerAlias dimax.jp
>      <Directory "E:/dimax">
>      Order allow,deny
>      Allow from all
>      </Directory>
>     </VirtualHost>
>
>  <VirtualHost *:80>
>      ServerAdmin webmas...@xxxxxxxxxxxxxx
>      DocumentRoot "E:/cigaronline"
>      ServerNamewww.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 webmas...@xxxxxxxxxx
>      DocumentRoot "E:/telecon"
>      ServerNamewww.telecon.jp
>      ServerAlias telecon.jp
>     JRunConfig Serverstore "C:/JRun4/lib/wsconfig/IT/jrunserver.store"
>     JRunConfig Bootstrap 127.0.0.1:51002

AFAIK Jrun creates NUMBERED instanses in wsconfig dir - i.e. there
will be C:/JRun4/lib/wsconfig/2/, C:/JRun4/lib/wsconfig/3/... Not
NAMED...
Your logs (from the begining of the post) seem to point in this
direction too:
> [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

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