You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Dennis Megarry <de...@megarry.com> on 2002/08/31 01:04:38 UTC

HELP! 3 days and still no go with Apache2 and TomCat 4.0.4

I've been reading everything I can get my browser pointed at and I must say, there is an extreme lack of documentation on Apache2 & Tomcat..  (or google can not find it)

I've done every step in any doc I found, I startup (startup.sh) TomCat and then start apache2..  My log shows:

[Fri Aug 30 22:55:22 2002] [notice] Apache/2.0.40 (Unix) mod_perl/1.99_05-dev Perl/v5.6.0 PHP/4.3.0-dev mod_jk2/2.0.0 configured -- resuming normal operations
[Fri Aug 30 22:55:22 2002] [notice] workerEnv.init() ok /var/lib/apache2/conf/workers2.properties
[Fri Aug 30 22:55:22 2002] [notice] mod_jk child init 1 -1

Any time I try a mod_jk directive  (JkMount, JkLogLevel, etc..) I get an "Invalid Command" trying to start apache..  None of the mod_jk directives are available but yet, the logs show everything is fine..   I've tried everything I could think of or find...  This mail list is my last resort..

Does anyone have any ideas where my problem is?

Running Apache 2.0.40 

This was my last Apache configure line:

./configure --prefix=/var/lib/apache2 \
--enable-module=most \
--enable-shared=max \
--enable-so \
--with-mpm=prefork \
--enable-module=include \
--enable-info \
--enable-rewrite \
--enable-suexec

Clueless - Dennis

Re: HELP! 3 days and still no go with Apache2 and TomCat 4.0.4

Posted by "Peter T. Abplanalp" <pt...@psaconsultants.com>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

please have your mua wrap lines at 72-80 cols.  thanks.

On Fri, Aug 30, 2002 at 07:04:38PM -0400, Dennis Megarry wrote:
> I've been reading everything I can get my browser pointed at
> and I must say, there is an extreme lack of documentation on
> Apache2 & Tomcat..  (or google can not find it)

follow the directions at http://www.pubbitch.org/jboss/mod_jk2.html
they are quite good.  one thing to note, you have to make sure that
both the httpd and tomcat user have access to the socket file.

> Any time I try a mod_jk directive  (JkMount, JkLogLevel, etc..)
> I get an "Invalid Command" trying to start apache..  None of the
> mod_jk directives are available but yet, the logs show everything
> is fine..   I've tried everything I could think of or find...  This
> mail list is my last resort..

the directives don't work with jk2.  it uses the jk2.properties and
workers2 files.

> Clueless - Dennis

now hopefully, cluefull.  :-)

- -- 
Peter Abplanalp

Email:   pta@psaconsultants.com
PGP:     pgp.mit.edu
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9b//TggA8sH0iRXQRAibMAJ4lM+7mgCglsd4mmVdSeKm6mDROeQCgrhkc
TNEHLX4rxaaQqnG9ji5dUKg=
=ZPn7
-----END PGP SIGNATURE-----

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: HELP! 3 days and still no go with Apache2 and TomCat 4.0.4

Posted by Dennis Megarry <de...@megarry.com>.
First off.. THANKS for replying so fast!  I was actualy sitting here hitting
the refresh button hoping..

I running jk2

My Apache Conf line is:

LoadModule jk2_module modules/mod_jk2.so
LoadModule perl_module modules/mod_perl.so
LoadModule php4_module modules/libphp4.so

I have attached my worker2 file..

Thanks again!

Dennis

----- Original Message -----
From: "Ray Madigan" <ra...@madigans.org>
To: "Tomcat Users List" <to...@jakarta.apache.org>; "Dennis Megarry"
<de...@megarry.com>
Sent: Friday, August 30, 2002 7:11 PM
Subject: RE: HELP! 3 days and still no go with Apache2 and TomCat 4.0.4


> Are u using mod_jk or mod_jk2.  workers2.properties are for mod_jk2.
>
> Send a copy of your workers2.properties and maybe we can find something.
>
> -----Original Message-----
> From: Dennis Megarry [mailto:dennis@megarry.com]
> Sent: Friday, August 30, 2002 4:05 PM
> To: tomcat-user@jakarta.apache.org
> Subject: HELP! 3 days and still no go with Apache2 and TomCat 4.0.4
>
>
> I've been reading everything I can get my browser pointed at and I must
say,
> there is an extreme lack of documentation on Apache2 & Tomcat..  (or
google
> can not find it)
>
> I've done every step in any doc I found, I startup (startup.sh) TomCat and
> then start apache2..  My log shows:
>
> [Fri Aug 30 22:55:22 2002] [notice] Apache/2.0.40 (Unix)
> mod_perl/1.99_05-dev Perl/v5.6.0 PHP/4.3.0-dev mod_jk2/2.0.0 configured --
> resuming normal operations
> [Fri Aug 30 22:55:22 2002] [notice] workerEnv.init() ok
> /var/lib/apache2/conf/workers2.properties
> [Fri Aug 30 22:55:22 2002] [notice] mod_jk child init 1 -1
>
> Any time I try a mod_jk directive  (JkMount, JkLogLevel, etc..) I get an
> "Invalid Command" trying to start apache..  None of the mod_jk directives
> are available but yet, the logs show everything is fine..   I've tried
> everything I could think of or find...  This mail list is my last resort..
>
> Does anyone have any ideas where my problem is?
>
> Running Apache 2.0.40
>
> This was my last Apache configure line:
>
> ./configure --prefix=/var/lib/apache2 \
> --enable-module=most \
> --enable-shared=max \
> --enable-so \
> --with-mpm=prefork \
> --enable-module=include \
> --enable-info \
> --enable-rewrite \
> --enable-suexec
>
> Clueless - Dennis
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
>
>

RE: HELP! 3 days and still no go with Apache2 and TomCat 4.0.4

Posted by Ray Madigan <ra...@madigans.org>.
Are u using mod_jk or mod_jk2.  workers2.properties are for mod_jk2.

Send a copy of your workers2.properties and maybe we can find something.

-----Original Message-----
From: Dennis Megarry [mailto:dennis@megarry.com]
Sent: Friday, August 30, 2002 4:05 PM
To: tomcat-user@jakarta.apache.org
Subject: HELP! 3 days and still no go with Apache2 and TomCat 4.0.4


I've been reading everything I can get my browser pointed at and I must say,
there is an extreme lack of documentation on Apache2 & Tomcat..  (or google
can not find it)

I've done every step in any doc I found, I startup (startup.sh) TomCat and
then start apache2..  My log shows:

[Fri Aug 30 22:55:22 2002] [notice] Apache/2.0.40 (Unix)
mod_perl/1.99_05-dev Perl/v5.6.0 PHP/4.3.0-dev mod_jk2/2.0.0 configured --
resuming normal operations
[Fri Aug 30 22:55:22 2002] [notice] workerEnv.init() ok
/var/lib/apache2/conf/workers2.properties
[Fri Aug 30 22:55:22 2002] [notice] mod_jk child init 1 -1

Any time I try a mod_jk directive  (JkMount, JkLogLevel, etc..) I get an
"Invalid Command" trying to start apache..  None of the mod_jk directives
are available but yet, the logs show everything is fine..   I've tried
everything I could think of or find...  This mail list is my last resort..

Does anyone have any ideas where my problem is?

Running Apache 2.0.40

This was my last Apache configure line:

./configure --prefix=/var/lib/apache2 \
--enable-module=most \
--enable-shared=max \
--enable-so \
--with-mpm=prefork \
--enable-module=include \
--enable-info \
--enable-rewrite \
--enable-suexec

Clueless - Dennis


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: HELP! 3 days and still no go with Apache2 and TomCat 4.0.4

Posted by Ray Madigan <ra...@madigans.org>.
The Jk* directives do not go in httpd.conf.  mod_jk2 uses two property files
to accomplish the mapping.

I used this page to tell me how to get it to work.
 http://www.pubbitch.org/jboss/mod_jk2.html

After some trial and error and some great help from members of this list - i
just got it to work.
Try this and let us know how it went.

Thanks

-----Original Message-----
From: Dennis Megarry [mailto:dennis@megarry.com]
Sent: Friday, August 30, 2002 4:05 PM
To: tomcat-user@jakarta.apache.org
Subject: HELP! 3 days and still no go with Apache2 and TomCat 4.0.4


I've been reading everything I can get my browser pointed at and I must say,
there is an extreme lack of documentation on Apache2 & Tomcat..  (or google
can not find it)

I've done every step in any doc I found, I startup (startup.sh) TomCat and
then start apache2..  My log shows:

[Fri Aug 30 22:55:22 2002] [notice] Apache/2.0.40 (Unix)
mod_perl/1.99_05-dev Perl/v5.6.0 PHP/4.3.0-dev mod_jk2/2.0.0 configured --
resuming normal operations
[Fri Aug 30 22:55:22 2002] [notice] workerEnv.init() ok
/var/lib/apache2/conf/workers2.properties
[Fri Aug 30 22:55:22 2002] [notice] mod_jk child init 1 -1

Any time I try a mod_jk directive  (JkMount, JkLogLevel, etc..) I get an
"Invalid Command" trying to start apache..  None of the mod_jk directives
are available but yet, the logs show everything is fine..   I've tried
everything I could think of or find...  This mail list is my last resort..

Does anyone have any ideas where my problem is?

Running Apache 2.0.40

This was my last Apache configure line:

./configure --prefix=/var/lib/apache2 \
--enable-module=most \
--enable-shared=max \
--enable-so \
--with-mpm=prefork \
--enable-module=include \
--enable-info \
--enable-rewrite \
--enable-suexec

Clueless - Dennis


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>