Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Re: Re: done did not found a worker

Didier McGillis

2004-02-13


Sorry was a little crazy yesterday with everything going on. I was able to
get the mod_jk and mod_jk2 source I have mod_jk1 compiled, just looking
around now to see if I need to or should switch from 1 to 2.


>From: "Charles Daniel" <daniel_charles@(protected)>
>Reply-To: "Tomcat Users List" <tomcat-user@(protected)>
>To: "Tomcat Users List" <tomcat-user@(protected)>
>Subject: Re: Re: done did not found a worker
>Date: Thu, 12 Feb 2004 19:21:48 -0600
>
>Hi Dwayne,
>
>If I remember from my own experience then mod_jk binaries are only
>available for Solaris. Others have tried to use these and got the error
>that read something like "... encoding not little-endian". To avoid this,
>get the jk module from source or CSV that is appropriate for your operating
>system. You'll need to compile whatever version you need.
>
>Osensei
>
>  ----- Original Message -----
>  From: Dwayne Ghant<mailto:dghant@(protected)>
>  To:
>tomcat-user@jakarta.apache.org<mailto:tomcat-user@(protected)>
>  Sent: Thursday, February 12, 2004 9:17 AM
>  Subject: Fwd: Re: done did not found a worker
>
>
>  I have tried to go to
>http://jakarta.apache.org/site/binindex.cgi<http://jakarta.apache.org/site/binindex.cgi>
>and
>  download mod_jk 1.2 , it's not available. Does anybody know how I can
>  get mod_jk1.2 ?
>
>  David O'Brien wrote:
>
>  > If you are using mod_jk and NOT mod_jk2 then this file's content makes
>  > no difference in your configuration.
>  > You need to tell apache to use the workers.properties NOT the
>  > workers2.properties in your httpd.conf file
>  > -Dave
>  >
>  >
>  > At 11:58 AM 2/10/2004, you wrote:
>  >
>  >> But Dave you didn't address this stuff below?
>  >> I think this is where I'm having the most problems.
>  >>
>  >> ##=====================================
>  >> ##Other needed configuratoin(s)
>  >> ##=====================================
>  >> ##define the shared memory file
>  >>
>  >> [shm]
>  >> file=/usr/local/tomcat-4.1.24/work/jk2.shm
>  >> file=1048576
>  >>
>  >> ## Define the communication channel
>  >>
>  >> [channel.socket:localhost:8009]
>  >> #tomcatId=localhost:8009
>  >> port=8009
>  >> host=127.0.0.1
>  >>
>  >> #define the worker
>  >> [balance_all_workers:localhost:8009]
>  >> channel=channel.socket:localhost:8009
>  >>
>  >>
>  >>
>  >>
>  >> #Uri mapping
>  >> [uri:saturn.temple.edu/examples/*]
>  >> #worker=ajp13:localhost:8009
>  >> worker=balance_all_workers:localhost:8009
>  >>
>  >> [uri:saturn.temple.edu/developers/*]
>  >> #worker=ajp13:localhost:8009
>  >> worker=balance_all_workers:localhost:8009
>  >>
>  >> [uri:saturn.temple.edu/product/*]
>  >> #worker=ajp13:localhost:8010
>  >> worker=balance_all_workers:localhost:8010
>  >>
>  >> [uri:saturn.temple.edu/uPortal/*]
>  >> #worker=ajp13:localhost:8010
>  >> worker=balance_all_workers:localhost:8010
>  >>
>  >>
>  >> #[status:]
>  >>
>  >> #info=Status worker, displays runtime information
>  >> channel=channel.socket:localhost:8009
>  >>
>  >> #[uri:/status/*]
>  >> #worker=status:localhost:8009
>  >> #group=status:
>  >>
>  >>
>  >> David Rees wrote:
>  >>
>  >>> Dwayne Ghant wrote, On 2/9/2004 7:02 PM:
>  >>>
>  >>>> Dave, I have been having semular issues would it be impossible for
>  >>>> to post the four files listed below:
>  >>>>
>  >>>> 1. http.conf
>  >>>> 2. ssl.conf
>  >>>> 3. server.xml
>  >>>> 4. workers2.properties
>  >>>
>  >>>
>  >>>
>  >>> Here's a sample for setting up Apache. This will work on either
>  >>> Apache 2.0.X or Apache 1.3.X, and mod_jk 1.2.5. Any version of
>  >>> Tomcat will work, use the example connector config included with
>  >>> every default server.xml as it varies a little between Tomcat
>versions.
>  >>>
>  >>> httpd.conf
>  >>> # This only shows the portions relevant to mod_jk, you should stick
>the
>  >>> # lines somewhere in your config file. This config also works for
>  >>> # Apache 1.3.X as well as Apache 2.0.X.
>  >>> -------
>  >>> LoadModule jk_module modules/mod_jk.so
>  >>>
>  >>> JkWorkersFile <path-to-apache-conf>/tomcat_workers.properties
>  >>> JkLogFile <path-to-apache-logs>/mod_jk.log
>  >>> JkLogLevel error
>  >>>
>  >>> <VirtualHost *:80>
>  >>>   ServerName www.example.com<http://www.example.com/>
>  >>>   JkMount /*.jsp tomcat
>  >>>   JkMount /servlet/* tomcat
>  >>> </VirtualHost>
>  >>> -------
>  >>>
>  >>> <path-to-apache-conf>/tomcat_workers.properties
>  >>> -------
>  >>> worker.list=tomcat
>  >>> worker.tomcat.port=8007
>  >>> worker.tomcat.host=localhost
>  >>> worker.tomcat.type=ajp13
>  >>> -------
>  >>>
>  >>> That's it!
>  >>>
>  >>> -Dave
>  >>> aka the mod_jk "expert"
>  >>> NOT a mod_jk2 "expert"!
>  >>>
>  >>>
>---------------------------------------------------------------------
>  >>> To unsubscribe, e-mail:
>tomcat-user-unsubscribe@jakarta.apache.org<mailto:tomcat-user-unsubscribe@(protected)>
>  >>> For additional commands, e-mail:
>tomcat-user-help@jakarta.apache.org<mailto:tomcat-user-help@(protected)>
>  >>
>  >>
>  >> --
>  >>
>  >> Dwayne A. Ghant
>  >> Application Developer
>  >> Temple University
>  >> 215.204.5555
>  >> dghant@temple.edu<mailto:dghant@(protected)>
>  >>
>  >>
>  >>
>  >>
>  >> ---------------------------------------------------------------------
>  >> To unsubscribe, e-mail:
>tomcat-user-unsubscribe@jakarta.apache.org<mailto:tomcat-user-unsubscribe@(protected)>
>  >> For additional commands, e-mail:
>tomcat-user-help@jakarta.apache.org<mailto:tomcat-user-help@(protected)>
>  >
>  >
>  >
>  > David G. O'Brien
>  > Web Services Coordinator / Systems Administrator
>  >
>  > NACCRRA
>  > The Nation's Network of Child Care Resource & Referral
>  > 1319 F Street NW, Suite 500
>  > Washington, DC 20004
>  > (202) 393-5501 ext. 113
>  > (202) 393-1109 fax
>  >
>  >
>  >
>  > ---------------------------------------------------------------------
>  > To unsubscribe, e-mail:
>tomcat-user-unsubscribe@jakarta.apache.org<mailto:tomcat-user-unsubscribe@(protected)>
>  > For additional commands, e-mail:
>tomcat-user-help@jakarta.apache.org<mailto:tomcat-user-help@(protected)>
>  >
>
>  --
>
>  Dwayne A. Ghant
>  Application Developer
>  Temple University
>  215.204.5555
>  dghant@temple.edu<mailto:dghant@(protected)>
>
>
>
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail:
>tomcat-user-unsubscribe@jakarta.apache.org<mailto:tomcat-user-unsubscribe@(protected)>
>  For additional commands, e-mail:
>tomcat-user-help@jakarta.apache.org<mailto:tomcat-user-help@(protected)>
>
>
>
>  --
>
>  Dwayne A. Ghant
>  Application Developer
>  Temple University
>  215.204.5555
>  dghant@temple.edu<mailto:dghant@(protected)>
>
>
>
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail:
>tomcat-user-unsubscribe@jakarta.apache.org<mailto:tomcat-user-unsubscribe@(protected)>
>  For additional commands, e-mail:
>tomcat-user-help@jakarta.apache.org<mailto:tomcat-user-help@(protected)>
>

_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail
http://join.msn.com/?page=dept/bcomm&pgmarket=en-ca&RU=http%3a%2f%2fjoin.msn.com%2f%3fpage%3dmisc%2fspecialoffers%26pgmarket%3den-ca


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)



©2008 junlu.com - Jax Systems, LLC, U.S.A.