tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Didier McGillis" <codesmo...@hotmail.com>
Subject RE: multiple seperate hosts issue SOLVED NEVER MIND :)
Date Wed, 27 Oct 2004 19:32:06 GMT
Found the problem.  Never mind

>From: "Didier McGillis" <codesmoker@hotmail.com>
>Reply-To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
>To: tomcat-user@jakarta.apache.org
>Subject: multiple seperate hosts issue
>Date: Wed, 27 Oct 2004 17:43:14 +0000
>
>I think I almost have it.  However I seem to be coming up a 
>weeeeeeeeeeeeeeeeee bit short.
>I get a 500 error when I try and connect to one of the setups.  http://dm 
>vs http://dm2.
>
>Some errors in the logs files are a bit odd, to me.
>access_log 
>---------------------------------------------------------------------
>[notice] channelApr.resolve(): create AF_NET  dm 9009
>[notice] channelApr.resolve(): create AF_NET  dm2 9019
>[error] uriEnv.init() map to invalid worker /* apj13:localhost:9009
>[notice] workerEnv.init() ok /usr/local/apache2/conf/workers2.properties
>[notice] mod_jk2 child 27877 initialized
>[notice] Apache/2.0.50 (Unix) mod_ssl/2.0.50 OpenSSL/0.9.7d DAV/2 PHP/4.3.8 
>mod_jk2/2.0.4 configured -- resuming normal operations
>[notice] mod_jk2.handler() finding worker for 0 818ac40 
>apj13:localhost:9009
>[error] mod_jk2.handle() No worker for /
>[notice] mod_jk2.handler() finding worker for 0 818ac40 
>apj13:localhost:9009
>[error] mod_jk2.handle() No worker for /
>
>Here are my configs.
>httpd.conf ------------------------------------
><VirtualHost *>
>        ServerName dm1
>        DocumentRoot /usr/local/apache2/htdocs
></VirtualHost>
><VirtualHost 192.168.x.x:9009>
>        ServerName dm
>		DocumentRoot /usr/local/dm/webapps/dm
>        <Location /*>
>                JkUriSet worker ajp13:localhost:9009
>        </Location>
></VirtualHost>
><VirtualHost 192.168.x.x:10009>
>        ServerName dm2
>		DocumentRoot /usr/local/dm2/htdocs/webapps/dm2
>        <Location /*>
>                JkUriSet worker ajp13:localhost:10009
>        </Location>
></VirtualHost>
>
>worker2.properties ------------------------------------
># Define the communication channel
>[channel.socket:localhost:9009]
>port=9009
>host=dm
>type=ajp13
>
>
>[channel.socket:localhost:10009]
>port=10009
>host=dm2
>type=ajp13
>
># define the worker
>[ajp13:localhost:9009]
>channel=channel.socket:localhost:9009
>
>[ajp13:localhost:10009]
>channel=channel.socket:localhost:10009
>
>[uri:/*]
>group=ajp13:localhost:9009
>
>[uri:/*]
>group=ajp13:localhost:10009
>
>server.xml (dm 
>example)--------------------------------------------------------
><Server port="9005" shutdown="SHUTDOWN">
>  <GlobalNamingResources>
>    <!-- Used by Manager webapp -->
>    <Resource name="UserDatabase" auth="Container"
>              type="org.apache.catalina.UserDatabase"
>      description="User database that can be updated and saved">
>    </Resource>
>    <ResourceParams name="UserDatabase">
>      <parameter>
>        <name>factory</name>
>        <value>org.apache.catalina.users.MemoryUserDatabaseFactory</value>
>      </parameter>
>      <parameter>
>        <name>pathname</name>
>        <value>conf/tomcat-users.xml</value>
>      </parameter>
>    </ResourceParams>
>  </GlobalNamingResources>
>
>  <Service name="Catalina">
>    <Connector port="9080" />
>
>    <!-- This is here for compatibility only, not required -->
>    <Connector port="9009" protocol="AJP/1.3" />
>
>    <Engine name="Catalina" defaultHost="localhost">
>      <Logger className="org.apache.catalina.logger.FileLogger" />
>
>      <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
>             resourceName="UserDatabase" />
>        <Host name="localhost" debug="0" appBase="webapps/dm"
>       unpackWARs="true" autoDeploy="true"
>       xmlValidation="false" xmlNamespaceAware="false">
>                <Context path="" docBase="/usr/local/dm/webapps/dm" 
>debug="0"/>
>        </Host>
>    </Engine>
>  </Service>
></Server>
>
>_________________________________________________________________
>Powerful Parental Controls Let your child discover the best the Internet 
>has to offer.  
>http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines

>  Start enjoying all the benefits of MSNŽ Premium right now and get the 
>first two months FREE*.
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>

_________________________________________________________________
Powerful Parental Controls Let your child discover the best the Internet has 
to offer.  
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines

  Start enjoying all the benefits of MSNŽ Premium right now and get the 
first two months FREE*.


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message