You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jim Weir <ja...@hotmail.com> on 2006/08/29 03:37:59 UTC
Using tomcat auto configure
I can generate a mod_jk.conf with the folllowing in my server.xml. The
problem is it's a blank file..
<Engine name="Catalina" defaultHost="www.mysite.com">
<Listener className="org.apache.jk.config.ApacheConfig"
modJk="/usr/local/apache2/modules/mod_jk.so"
jkConfig = "/usr/opt/tomcat/conf/auto/mod_jk.conf"
jkWorker = "/usr/local/apache2/conf/workers2.properties"
modJk = "/usr/local/apache2/modules/mod_jk.so"
/>
.
.
.
Anybody?
Thanks,
Jim
_________________________________________________________________
Search from any web page with powerful protection. Get the FREE Windows Live
Toolbar Today! http://get.live.com/toolbar/overview
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Using tomcat auto configure
Posted by Jim Weir <ja...@hotmail.com>.
>From: "Steve Ochani" <oc...@ncc.edu>
>To: Jim Weir <ja...@hotmail.com>, Tomcat Users List
><us...@tomcat.apache.org>
>Subject: Re: Using tomcat auto configure
>Date: Tue, 29 Aug 2006 14:02:58 -0400
>
>On 29 Aug 2006 at 13:20, Jim Weir wrote:
>
>
>
> > Tomcat 5.5.14
> > Apache 2.2.3
> > JK-1.2.18 released compiled from source
> >
> > This is the latest server.xml setting I tried,
> >
> > <Engine name="Catalina" defaultHost="www.myserver.com">
> > <Listener className="org.apache.jk.config.ApacheConfig"
> > configHome = "/usr/opt/tomcat/conf/"
> > jkConfig = "/usr/opt/tomcat/conf/auto/mod_jk.conf"
> > workersConfig = "/usr/local/apache2/conf/workers.properties"
> > modJk = "/usr/local/apache2/modules/mod_jk.so"
> > jkLog = "/usr/opt/tomcat/conf/auto/log.txt"
> > jkDebug= "debug"
> > />
> >
> >
> > Can someone post a sample workers.properties file?
> >
> > Jim
>
>------------------------------------------------------------------
># Define 1 real worker using ajp13
>
>worker.list=worker1
># Set properties for worker1 (ajp13)
>worker.worker1.type=ajp13
>worker.worker1.host=localhost
>worker.worker1.port=8009
>worker.worker1.lbfactor=50
>worker.worker1.cachesize=10
>worker.worker1.cache_timeout=600
>worker.worker1.socket_keepalive=1
>worker.worker1.reclycle_timeout=300
>------------------------------------------------------------------
I copied it in to "/usr/local/apache2/conf/workers.properties" and
"/usr/opt/tomcat/conf/auto/mod_jk.conf" is still blank...
What else can I try?
Jim
_________________________________________________________________
Call friends with PC-to-PC calling -- FREE
http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Using tomcat auto configure
Posted by Steve Ochani <oc...@ncc.edu>.
On 29 Aug 2006 at 13:20, Jim Weir wrote:
> Tomcat 5.5.14
> Apache 2.2.3
> JK-1.2.18 released compiled from source
>
> This is the latest server.xml setting I tried,
>
> <Engine name="Catalina" defaultHost="www.myserver.com">
> <Listener className="org.apache.jk.config.ApacheConfig"
> configHome = "/usr/opt/tomcat/conf/"
> jkConfig = "/usr/opt/tomcat/conf/auto/mod_jk.conf"
> workersConfig = "/usr/local/apache2/conf/workers.properties"
> modJk = "/usr/local/apache2/modules/mod_jk.so"
> jkLog = "/usr/opt/tomcat/conf/auto/log.txt"
> jkDebug= "debug"
> />
>
>
> Can someone post a sample workers.properties file?
>
> Jim
------------------------------------------------------------------
# Define 1 real worker using ajp13
worker.list=worker1
# Set properties for worker1 (ajp13)
worker.worker1.type=ajp13
worker.worker1.host=localhost
worker.worker1.port=8009
worker.worker1.lbfactor=50
worker.worker1.cachesize=10
worker.worker1.cache_timeout=600
worker.worker1.socket_keepalive=1
worker.worker1.reclycle_timeout=300
------------------------------------------------------------------
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Using tomcat auto configure
Posted by Jim Weir <ja...@hotmail.com>.
>From: "Bill Barker" <wb...@wilshire.com>
>Reply-To: "Tomcat Users List" <us...@tomcat.apache.org>
>To: users@tomcat.apache.org
>Subject: Re: Using tomcat auto configure
>Date: Mon, 28 Aug 2006 19:54:01 -0700
>
>Tomcat version? Older versions didn't support ApacheConfig under Engine.
>
>"Jim Weir" <ja...@hotmail.com> wrote in message
>news:BAY104-F36CB797F3B4E07A3AF2EA7C6390@phx.gbl...
> >I can generate a mod_jk.conf with the folllowing in my server.xml. The
> >problem is it's a blank file..
> >
> > <Engine name="Catalina" defaultHost="www.mysite.com">
> > <Listener className="org.apache.jk.config.ApacheConfig"
> > modJk="/usr/local/apache2/modules/mod_jk.so"
> > jkConfig = "/usr/opt/tomcat/conf/auto/mod_jk.conf"
> > jkWorker = "/usr/local/apache2/conf/workers2.properties"
> > modJk = "/usr/local/apache2/modules/mod_jk.so"
> > />
> > .
> > .
> > .
> > Anybody?
> >
> > Thanks,
> > Jim
> >
> > _________________________________________________________________
> > Search from any web page with powerful protection. Get the FREE Windows
> > Live Toolbar Today! http://get.live.com/toolbar/overview
> >
> >
> > ---------------------------------------------------------------------
> > To start a new topic, e-mail: users@tomcat.apache.org
> > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> > For additional commands, e-mail: users-help@tomcat.apache.org
> >
> >
>
>
>
>
>---------------------------------------------------------------------
>To start a new topic, e-mail: users@tomcat.apache.org
>To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>For additional commands, e-mail: users-help@tomcat.apache.org
>
Tomcat 5.5.14
Apache 2.2.3
jdk1.5.0_02
JK-1.2.18
I tried with the JK-1.2.18 binary, then downloaded and compiled the source.
Why is the /usr/opt/tomcat/conf/auto/mod_jk.conf file blank?
Thanks,
Jim
_________________________________________________________________
All-in-one security and maintenance for your PC. Get a free 90-day trial!
http://www.windowsonecare.com/trial.aspx?sc_cid=msn_hotmail
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Using tomcat auto configure
Posted by Jim Weir <ja...@hotmail.com>.
>From: "Bill Barker" <wb...@wilshire.com>
>Reply-To: "Tomcat Users List" <us...@tomcat.apache.org>
>To: users@tomcat.apache.org
>Subject: Re: Using tomcat auto configure
>Date: Mon, 28 Aug 2006 19:54:01 -0700
>
>Tomcat version? Older versions didn't support ApacheConfig under Engine.
>
>"Jim Weir" <ja...@hotmail.com> wrote in message
>news:BAY104-F36CB797F3B4E07A3AF2EA7C6390@phx.gbl...
> >I can generate a mod_jk.conf with the folllowing in my server.xml. The
> >problem is it's a blank file..
> >
> > <Engine name="Catalina" defaultHost="www.mysite.com">
> > <Listener className="org.apache.jk.config.ApacheConfig"
> > modJk="/usr/local/apache2/modules/mod_jk.so"
> > jkConfig = "/usr/opt/tomcat/conf/auto/mod_jk.conf"
> > jkWorker = "/usr/local/apache2/conf/workers2.properties"
> > modJk = "/usr/local/apache2/modules/mod_jk.so"
> > />
> > .
> > .
> > .
> > Anybody?
> >
> > Thanks,
> > Jim
> >
> > _________________________________________________________________
> > Search from any web page with powerful protection. Get the FREE Windows
> > Live Toolbar Today! http://get.live.com/toolbar/overview
> >
> >
> > ---------------------------------------------------------------------
> > To start a new topic, e-mail: users@tomcat.apache.org
> > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> > For additional commands, e-mail: users-help@tomcat.apache.org
> >
> >
>
>
>
>
>---------------------------------------------------------------------
>To start a new topic, e-mail: users@tomcat.apache.org
>To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>For additional commands, e-mail: users-help@tomcat.apache.org
>
Tomcat 5.5.14
Apache 2.2.3
JK-1.2.18 released compiled from source
This is the latest server.xml setting I tried,
<Engine name="Catalina" defaultHost="www.myserver.com">
<Listener className="org.apache.jk.config.ApacheConfig"
configHome = "/usr/opt/tomcat/conf/"
jkConfig = "/usr/opt/tomcat/conf/auto/mod_jk.conf"
workersConfig = "/usr/local/apache2/conf/workers.properties"
modJk = "/usr/local/apache2/modules/mod_jk.so"
jkLog = "/usr/opt/tomcat/conf/auto/log.txt"
jkDebug= "debug"
/>
Can someone post a sample workers.properties file?
Jim
Jim
_________________________________________________________________
Windows Live Spaces is here! ItÂ’s easy to create your own personal Web site.
http://spaces.live.com/signup.aspx
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Using tomcat auto configure
Posted by Bill Barker <wb...@wilshire.com>.
Tomcat version? Older versions didn't support ApacheConfig under Engine.
"Jim Weir" <ja...@hotmail.com> wrote in message
news:BAY104-F36CB797F3B4E07A3AF2EA7C6390@phx.gbl...
>I can generate a mod_jk.conf with the folllowing in my server.xml. The
>problem is it's a blank file..
>
> <Engine name="Catalina" defaultHost="www.mysite.com">
> <Listener className="org.apache.jk.config.ApacheConfig"
> modJk="/usr/local/apache2/modules/mod_jk.so"
> jkConfig = "/usr/opt/tomcat/conf/auto/mod_jk.conf"
> jkWorker = "/usr/local/apache2/conf/workers2.properties"
> modJk = "/usr/local/apache2/modules/mod_jk.so"
> />
> .
> .
> .
> Anybody?
>
> Thanks,
> Jim
>
> _________________________________________________________________
> Search from any web page with powerful protection. Get the FREE Windows
> Live Toolbar Today! http://get.live.com/toolbar/overview
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org