mod_jk.so for HP-UX 11.11

2004-11-29 Thread Gibson, Danny
Hello All,

Can someone put me out of my misery?  I have attempted to build the
mod_jk.so for Apache 1.3.33 on HP-UX 11.11 multiple times and failing
miserable.  I have tried with multiple versions of the src but they ALL
continue to fail on line 22 of the apache13/Makefile referencing the
following during the make: 

# make
No suffix list.
Making all in common --- This runs but errors after performing the make to
the apache-1.3 Makefile
Making all in apache-1.3
Make: line 22: syntax error.  Stop.
*** Error exit code 1

Line 21 -  JK_DIR := ..
Line 22 -  BUILD_DIR = ${JK_DIR}/../build/jk/apache13

I have tried everything I can think of to get it to work but alas, I am
obviously not smart enough to figure it out.
Does someone have it already built that I could sponge off of in an attempt
to get it working for I retire?

Thanks In Advance,
Danny


Re: mod_jk.so for HP-UX 11.11

2004-11-29 Thread Wendy Smoak
From: Gibson, Danny [EMAIL PROTECTED]
 Can someone put me out of my misery?  I have attempted to build the
 mod_jk.so for Apache 1.3.33 on HP-UX 11.11 multiple times and failing
 miserable.

I don't think we've ever had to compile it, it just comes with the
Apache/Tomcat distribution from HP.  I'm pretty sure they are free
downloads, look around here:
http://www.hp.com/products1/unix/webservers/apache/downloads/index.html

Does anything here help (even though it's old)?
http://jakarta.apache.org/tomcat/tomcat-3.3-doc/mod_jk-howto.html#s64
What C compiler are you using?  I gather the one that comes with HP-UX won't
work, you have to either use GCC or buy HP's compiler.

Not much help, but just trying to keep another HP-UX user company. ;)

-- 
Wendy Smoak


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: mod_jk.so for HP-UX 11.11

2004-11-29 Thread Dale, Matt
have you got the Gnu versions of all the tools, ie gcc, make etc?

-Original Message-
From: Gibson, Danny [mailto:[EMAIL PROTECTED]
Sent: 29 November 2004 18:01
To: '[EMAIL PROTECTED]'
Subject: mod_jk.so for HP-UX 11.11


Hello All,

Can someone put me out of my misery?  I have attempted to build the
mod_jk.so for Apache 1.3.33 on HP-UX 11.11 multiple times and failing
miserable.  I have tried with multiple versions of the src but they ALL
continue to fail on line 22 of the apache13/Makefile referencing the
following during the make: 

# make
No suffix list.
Making all in common --- This runs but errors after performing the make to
the apache-1.3 Makefile
Making all in apache-1.3
Make: line 22: syntax error.  Stop.
*** Error exit code 1

Line 21 -  JK_DIR := ..
Line 22 -  BUILD_DIR = ${JK_DIR}/../build/jk/apache13

I have tried everything I can think of to get it to work but alas, I am
obviously not smart enough to figure it out.
Does someone have it already built that I could sponge off of in an attempt
to get it working for I retire?

Thanks In Advance,
Danny
Any opinions expressed in this E-mail may be those of the individual and not 
necessarily the company. This E-mail and any files transmitted with it are 
confidential and solely for the use of the intended recipient. If you are not 
the intended recipient or the person responsible for delivering to the intended 
recipient, be advised that you have received this E-mail in error and that any 
use or copying is strictly prohibited. If you have received this E-mail in 
error please notify the beCogent postmaster at [EMAIL PROTECTED]
Unless expressly stated, opinions in this email are those of the individual 
sender and not beCogent Ltd. You must take full responsibility for virus 
checking this email and any attachments.
Please note that the content of this email or any of its attachments may 
contain data that falls within the scope of the Data Protection Acts and that 
you must ensure that any handling or processing of such data by you is fully 
compliant with the terms and provisions of the Data Protection Act 1984 and 
1998.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

RE: mod_jk.so for HP-UX 11.11

2004-11-29 Thread Gibson, Danny
Hi Ya( Dale/Wendy),

Yes I am using the GNU tools.  I also have my PATH set to call
/usr/local/bin first where all the GNU tools reside.  I also created a
JK_DIR environment setting prior to running the configure script.  Configure
seems to run fine, as does the common Makefile.  It just dies at the
apache13 Makefile.  I also tried using the mod-jk.so which resides under the
/opt/hpws/tomcat/jk/apache2 but it must not be a correct version to be
loaded under apache1.3.33 as I get /usr/lib/dld.sl: Unresolved symbol:
errors when Apache tries to load it.  It appears that the hpws is Apache 2
which was loaded during the build, but I am not using it as I have multiple
v-tiers which need their own separate Apache installs.

When I run the configure script I am using the following command:

./configure --with-apxs=/opt/app/darw1/apache1.3.33/bin/apxs

I have JAVA_HOME set as well.

I compiled Apache 1.3.33 from source with no compiler or make issues.  It's
just this JK connector build I am having extreme trouble with...

I may have to remove the Apache 2 and try installing an HP-UX depot of
Apache 1.3 in hopes I can get the mod_jk.so library file.

I was just hoping someone already had it compiled to save me the time of
removing the Apache 2 and installing the Apache 1.3

Anyway, I am open to any suggestions.

Danny


-Original Message-
From: Dale, Matt [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 29, 2004 12:47 PM
To: Tomcat Users List
Subject: RE: mod_jk.so for HP-UX 11.11

have you got the Gnu versions of all the tools, ie gcc, make etc?
-Original Message-
From: Gibson, Danny [mailto:[EMAIL PROTECTED]
Sent: 29 November 2004 18:01
To: '[EMAIL PROTECTED]'
Subject: mod_jk.so for HP-UX 11.11
Hello All,
Can someone put me out of my misery?  I have attempted to build the
mod_jk.so for Apache 1.3.33 on HP-UX 11.11 multiple times and failing
miserable.  I have tried with multiple versions of the src but they ALL
continue to fail on line 22 of the apache13/Makefile referencing the
following during the make: 
# make
No suffix list.
Making all in common --- This runs but errors after performing the make to
the apache-1.3 Makefile Making all in apache-1.3
Make: line 22: syntax error.  Stop.
*** Error exit code 1
Line 21 -  JK_DIR := ..
Line 22 -  BUILD_DIR = ${JK_DIR}/../build/jk/apache13 I have tried
everything I can think of to get it to work but alas, I am obviously not
smart enough to figure it out.
Does someone have it already built that I could sponge off of in an attempt
to get it working for I retire?
Thanks In Advance,
Danny


RE: Apache 1.3 not loading Mod_Jk.so

2004-07-18 Thread Ivan Pechorin
[EMAIL PROTECTED] wrote:

 Yes. I moved mod_jk.so to that directory and it said mod_jk.so compiled
 correctly. 

Why do you think that mod_jk.so was compiled correctly? 
I suppose that these strings indicate the opposite:

 ld: 0711-244 ERROR: No csects or exported symbols have been saved.
 
 apxs:Break: Command failed with rc=8
 
 11) This errors out, but does produce mod_jk.so



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Apache 1.3 not loading Mod_Jk.so

2004-07-17 Thread shiv juluru
hi,
i think the problem is tomcat is not creating mod_jk.conf in 'tomcathome/conf/auto'
if u start tomcat it creates a mod_jk.conf in the above directory,start tomcart and 
wait for a min and check the time of creation of mod_jk.conf,now start apache.

u should modify server.xml as 
server.xml:
---
Listener className=org.apache.ajp.tomcat4.config.ApacheConfig 
modJk=/usr/local/apache/modules/mod_jk.so /
and 
Listener className=org.apache.ajp.tomcat4.config.ApacheConfig append=true 
forwardAll=false modJk=/usr/local/apache/modules/mod_jk.so /
in httpd.conf
   -
u must add
Include /usr/local/tomcat/conf/auto/mod_jk.conf

the better thing is follow this url
http://johnturner.com/howto/apache2-tomcat4127-jk-rh9-howto.html
 
i think this will help for u.
shiva
 
 
 

[EMAIL PROTECTED] wrote:
Anyone have any ideas on this ?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 15, 2004 4:09 PM
To: [EMAIL PROTECTED]
Subject: Apache 1.3 not loading Mod_Jk.so

All, 

If anyone can help me I would be forever grateful, I have spent hours
on this problem. I am installing Apache 1.3 and Tomcat 4.0 on AIX. Apache
installs great and tomcat installs great. I am trying to build mod_jk.so
from jk-1.2.5. The mod_jk.so builds, but my htttpd.conf and apache fails
with the following error:



Syntax error on line 202 of /usr/local/apache/conf/httpd.conf:

Can't locate API module structure `jk_module' in file
/usr/local/apache/libexec/mod_jk.so: Function not implemented (jk_module)

/usr/local/apache/bin/apachectl restart: httpd could not be started





This is my build method (I have pasted output to be helpful):



1) gunzip jakarta-tomcat-connectors-jk-1.2.5-src.tar.gz

2) tar -xvf jakarta-tomcat-connectors-jk-1.2.5-src.tar

3) cd /usr/local/tomcat/jakarta-tomcat-connectors-jk-1.2.5-src/jk/native

4) ./buildconf.sh 

libtoolize --force --automake --copy

aclocal

automake -a --foreign -i --copy

autoconf

5) ./configure --with-apxs=/usr/local/apache/bin/apxs

checking for libtool... /usr/local/bin/libtool

need to check for Perl first, apxs depends on it...

checking for perl... /usr/bin/perl

building connector for apache-1.3

checking for target platform... unix

no apache given

configure: creating ./config.status

config.status: creating Makefile

config.status: creating apache-1.3/Makefile

config.status: creating apache-1.3/Makefile.apxs

config.status: creating apache-2.0/Makefile

config.status: creating apache-2.0/Makefile.apxs

config.status: creating common/Makefile

config.status: creating common/list.mk

config.status: creating jni/Makefile

config.status: executing depfiles commands

6) make

cp .libs/mod_jk.lai /usr/local/tomcat/jakarta-tomcat-connectors-jk-
1.2.5-src/jk/native/apache-1.3/mod_jk.la

libtool: install: warning: remember to run `libtool --finish
/usr/local/apache/libexec'

make[1]: Leaving directory `/usr/local/tomcat/jakarta-tomcat-
connectors-jk-1.2.5-src/jk/native/apache-1.3'

make[1]: Entering directory `/usr/local/tomcat/jakarta-tomcat-
connectors-jk-1.2.5-src/jk/native'

make[1]: Nothing to be done for `all-am'.

make[1]: Leaving directory `/usr/local/tomcat/jakarta-tomcat-
connectors-jk-1.2.5-src/jk/native'

target=all; \

list='common apache-1.3'; \

for i in $list; do \

echo Making $target in $i; \

if test $i != .; then \

(cd $i  make $target) || exit 1; \

fi; \

done;

Making all in common

make[1]: Entering directory `/usr/local/tomcat/jakarta-tomcat-
connectors-jk-1.2.5-src/jk/native/common'

make[1]: Nothing to be done for `all'.

make[1]: Leaving directory `/usr/local/tomcat/jakarta-tomcat-
connectors-jk-1.2.5-src/jk/native/common'

Making all in apache-1.3

make[1]: Entering directory `/usr/local/tomcat/jakarta-tomcat-
connectors-jk-1.2.5-src/jk/native/apache-1.3'

/usr/local/bin/libtool --mode=install cp mod_jk.la `pwd`/mod_jk.so

cp .libs/mod_jk.a /usr/local/tomcat/jakarta-tomcat-connectors-jk-
1.2.5-src/jk/native/apache-1.3/mod_jk.a

cp .libs/mod_jk.lai /usr/local/tomcat/jakarta-tomcat-connectors-jk-
1.2.5-src/jk/native/apache-1.3/mod_jk.la

libtool: install: warning: remember to run `libtool --finish
/usr/local/apache/libexec'

make[1]: Leaving directory `/usr/local/tomcat/jakarta-tomcat-
connectors-jk-1.2.5-src/jk/native/apache-1.3' 

7) cd apache-1.3

8) ls

.cvsignore Makefile.apxs Makefile.libdir mod_jk.a
mod_jk.exp

.libs Makefile.apxs.in Makefile.tmpl mod_jk.c
mod_jk.la

Makefile Makefile.in libjk.module mod_jk.dsp
mod_jk.lo

9) No mod_jk.so is produced so I manually build the file

10) /usr/local/apache/bin/apxs -I ../common -I /usr/java14/include -i -a -c
mod_jk.c ../common/*.c -o mod_jk.so

gcc -DAIX=520 -U__STR__ -DAIX_BIND_PROCESSOR -DUSE_HSREGEX -DUSE_EXPAT
-I../lib/expat-lite -fpic -DSHARED_MODULE -I/usr/local/apache/include
-I../common -I/usr/java14/include -c mod_jk.c

gcc -DAIX=520 -U__STR__ -DAIX_BIND_PROCESSOR -DUSE_HSREGEX -DUSE_EXPAT
-I../lib/expat-lite -fpic -DSHARED_MODULE -I

RE: Apache 1.3 not loading Mod_Jk.so

2004-07-16 Thread bralston
Major problems.. can't get this to work. Do I need to switch apache
versions???

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 15, 2004 4:09 PM
To: [EMAIL PROTECTED]
Subject: Apache 1.3 not loading Mod_Jk.so

All, 

  If anyone can help me I would be forever grateful, I have spent hours
on this problem. I am installing Apache 1.3 and Tomcat 4.0 on AIX. Apache
installs great and tomcat installs great. I am trying to build mod_jk.so
from jk-1.2.5. The mod_jk.so builds, but my htttpd.conf and apache fails
with the following error:

 

Syntax error on line 202 of /usr/local/apache/conf/httpd.conf:

Can't locate API module structure `jk_module' in file
/usr/local/apache/libexec/mod_jk.so: Function not implemented (jk_module)

/usr/local/apache/bin/apachectl restart: httpd could not be started

 

 

This is my build method (I have pasted output to be helpful):

 

1) gunzip jakarta-tomcat-connectors-jk-1.2.5-src.tar.gz

2) tar -xvf jakarta-tomcat-connectors-jk-1.2.5-src.tar

3) cd /usr/local/tomcat/jakarta-tomcat-connectors-jk-1.2.5-src/jk/native

4) ./buildconf.sh  

   libtoolize --force --automake --copy

   aclocal

   automake -a --foreign -i --copy

   autoconf

5) ./configure --with-apxs=/usr/local/apache/bin/apxs

   checking for libtool... /usr/local/bin/libtool

   need to check for Perl first, apxs depends on it...

   checking for perl... /usr/bin/perl

   building connector for apache-1.3

   checking for target platform... unix

   no apache given

   configure: creating ./config.status

   config.status: creating Makefile

   config.status: creating apache-1.3/Makefile

   config.status: creating apache-1.3/Makefile.apxs

   config.status: creating apache-2.0/Makefile

   config.status: creating apache-2.0/Makefile.apxs

   config.status: creating common/Makefile

   config.status: creating common/list.mk

   config.status: creating jni/Makefile

   config.status: executing depfiles commands

6) make

   cp .libs/mod_jk.lai /usr/local/tomcat/jakarta-tomcat-connectors-jk-
1.2.5-src/jk/native/apache-1.3/mod_jk.la

   libtool: install: warning: remember to run `libtool --finish
/usr/local/apache/libexec'

   make[1]: Leaving directory `/usr/local/tomcat/jakarta-tomcat-
connectors-jk-1.2.5-src/jk/native/apache-1.3'

   make[1]: Entering directory `/usr/local/tomcat/jakarta-tomcat-
connectors-jk-1.2.5-src/jk/native'

   make[1]: Nothing to be done for `all-am'.

   make[1]: Leaving directory `/usr/local/tomcat/jakarta-tomcat-
connectors-jk-1.2.5-src/jk/native'

   target=all; \

   list='common apache-1.3'; \

   for i in $list; do \

   echo Making $target in $i; \

   if test $i != .; then \

   (cd $i  make $target) || exit 1; \

   fi; \

   done;

   Making all in common

   make[1]: Entering directory `/usr/local/tomcat/jakarta-tomcat-
connectors-jk-1.2.5-src/jk/native/common'

   make[1]: Nothing to be done for `all'.

   make[1]: Leaving directory `/usr/local/tomcat/jakarta-tomcat-
connectors-jk-1.2.5-src/jk/native/common'

   Making all in apache-1.3

   make[1]: Entering directory `/usr/local/tomcat/jakarta-tomcat-
connectors-jk-1.2.5-src/jk/native/apache-1.3'

   /usr/local/bin/libtool --mode=install cp mod_jk.la `pwd`/mod_jk.so

   cp .libs/mod_jk.a /usr/local/tomcat/jakarta-tomcat-connectors-jk-
1.2.5-src/jk/native/apache-1.3/mod_jk.a

   cp .libs/mod_jk.lai /usr/local/tomcat/jakarta-tomcat-connectors-jk-
1.2.5-src/jk/native/apache-1.3/mod_jk.la

   libtool: install: warning: remember to run `libtool --finish
/usr/local/apache/libexec'

   make[1]: Leaving directory `/usr/local/tomcat/jakarta-tomcat-
connectors-jk-1.2.5-src/jk/native/apache-1.3'  

7) cd apache-1.3

8) ls

.cvsignoreMakefile.apxs Makefile.libdir   mod_jk.a
mod_jk.exp

.libs Makefile.apxs.in  Makefile.tmpl mod_jk.c
mod_jk.la

Makefile  Makefile.in   libjk.module  mod_jk.dsp
mod_jk.lo

9) No mod_jk.so is produced so I manually build the file

10)  /usr/local/apache/bin/apxs -I ../common -I /usr/java14/include -i -a -c
mod_jk.c ../common/*.c -o mod_jk.so

gcc -DAIX=520 -U__STR__ -DAIX_BIND_PROCESSOR -DUSE_HSREGEX -DUSE_EXPAT
-I../lib/expat-lite -fpic -DSHARED_MODULE -I/usr/local/apache/include
-I../common -I/usr/java14/include  -c mod_jk.c

gcc -DAIX=520 -U__STR__ -DAIX_BIND_PROCESSOR -DUSE_HSREGEX -DUSE_EXPAT
-I../lib/expat-lite -fpic -DSHARED_MODULE -I/usr/local/apache/include
-I../common -I/usr/java14/include  -c ../common/jk_ajp12_worker.c

gcc -DAIX=520 -U__STR__ -DAIX_BIND_PROCESSOR -DUSE_HSREGEX -DUSE_EXPAT
-I../lib/expat-lite -fpic -DSHARED_MODULE -I/usr/local/apache/include
-I../common -I/usr/java14/include  -c ../common/jk_ajp13.c

gcc -DAIX=520 -U__STR__ -DAIX_BIND_PROCESSOR -DUSE_HSREGEX -DUSE_EXPAT
-I../lib/expat-lite -fpic

RE: Apache 1.3 not loading Mod_Jk.so

2004-07-16 Thread Hofmann, Benjamin
I would.  I administer 18 websites and some are Tomcat4/Apache1.3,
Tomcat4/Apache2.x, and Tomcat5/Apache2.x.  I have had really good luck
with Apache 2.x and the jk2 connector and both Tomcat4 and Tomcat5.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 16, 2004 9:07 AM
To: [EMAIL PROTECTED]
Subject: RE: Apache 1.3 not loading Mod_Jk.so

Major problems.. can't get this to work. Do I need to switch apache
versions???

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 15, 2004 4:09 PM
To: [EMAIL PROTECTED]
Subject: Apache 1.3 not loading Mod_Jk.so

All, 

  If anyone can help me I would be forever grateful, I have spent
hours
on this problem. I am installing Apache 1.3 and Tomcat 4.0 on AIX.
Apache
installs great and tomcat installs great. I am trying to build mod_jk.so
from jk-1.2.5. The mod_jk.so builds, but my htttpd.conf and apache fails
with the following error:

 

Syntax error on line 202 of /usr/local/apache/conf/httpd.conf:

Can't locate API module structure `jk_module' in file
/usr/local/apache/libexec/mod_jk.so: Function not implemented
(jk_module)

/usr/local/apache/bin/apachectl restart: httpd could not be started

 

 

This is my build method (I have pasted output to be helpful):

 

1) gunzip jakarta-tomcat-connectors-jk-1.2.5-src.tar.gz

2) tar -xvf jakarta-tomcat-connectors-jk-1.2.5-src.tar

3) cd /usr/local/tomcat/jakarta-tomcat-connectors-jk-1.2.5-src/jk/native

4) ./buildconf.sh  

   libtoolize --force --automake --copy

   aclocal

   automake -a --foreign -i --copy

   autoconf

5) ./configure --with-apxs=/usr/local/apache/bin/apxs

   checking for libtool... /usr/local/bin/libtool

   need to check for Perl first, apxs depends on it...

   checking for perl... /usr/bin/perl

   building connector for apache-1.3

   checking for target platform... unix

   no apache given

   configure: creating ./config.status

   config.status: creating Makefile

   config.status: creating apache-1.3/Makefile

   config.status: creating apache-1.3/Makefile.apxs

   config.status: creating apache-2.0/Makefile

   config.status: creating apache-2.0/Makefile.apxs

   config.status: creating common/Makefile

   config.status: creating common/list.mk

   config.status: creating jni/Makefile

   config.status: executing depfiles commands

6) make

   cp .libs/mod_jk.lai
/usr/local/tomcat/jakarta-tomcat-connectors-jk-
1.2.5-src/jk/native/apache-1.3/mod_jk.la

   libtool: install: warning: remember to run `libtool --finish
/usr/local/apache/libexec'

   make[1]: Leaving directory `/usr/local/tomcat/jakarta-tomcat-
connectors-jk-1.2.5-src/jk/native/apache-1.3'

   make[1]: Entering directory `/usr/local/tomcat/jakarta-tomcat-
connectors-jk-1.2.5-src/jk/native'

   make[1]: Nothing to be done for `all-am'.

   make[1]: Leaving directory `/usr/local/tomcat/jakarta-tomcat-
connectors-jk-1.2.5-src/jk/native'

   target=all; \

   list='common apache-1.3'; \

   for i in $list; do \

   echo Making $target in $i; \

   if test $i != .; then \

   (cd $i  make $target) || exit 1; \

   fi; \

   done;

   Making all in common

   make[1]: Entering directory `/usr/local/tomcat/jakarta-tomcat-
connectors-jk-1.2.5-src/jk/native/common'

   make[1]: Nothing to be done for `all'.

   make[1]: Leaving directory `/usr/local/tomcat/jakarta-tomcat-
connectors-jk-1.2.5-src/jk/native/common'

   Making all in apache-1.3

   make[1]: Entering directory `/usr/local/tomcat/jakarta-tomcat-
connectors-jk-1.2.5-src/jk/native/apache-1.3'

   /usr/local/bin/libtool --mode=install cp mod_jk.la
`pwd`/mod_jk.so

   cp .libs/mod_jk.a /usr/local/tomcat/jakarta-tomcat-connectors-jk-
1.2.5-src/jk/native/apache-1.3/mod_jk.a

   cp .libs/mod_jk.lai
/usr/local/tomcat/jakarta-tomcat-connectors-jk-
1.2.5-src/jk/native/apache-1.3/mod_jk.la

   libtool: install: warning: remember to run `libtool --finish
/usr/local/apache/libexec'

   make[1]: Leaving directory `/usr/local/tomcat/jakarta-tomcat-
connectors-jk-1.2.5-src/jk/native/apache-1.3'  

7) cd apache-1.3

8) ls

.cvsignoreMakefile.apxs Makefile.libdir   mod_jk.a
mod_jk.exp

.libs Makefile.apxs.in  Makefile.tmpl mod_jk.c
mod_jk.la

Makefile  Makefile.in   libjk.module  mod_jk.dsp
mod_jk.lo

9) No mod_jk.so is produced so I manually build the file

10)  /usr/local/apache/bin/apxs -I ../common -I /usr/java14/include -i
-a -c
mod_jk.c ../common/*.c -o mod_jk.so

gcc -DAIX=520 -U__STR__ -DAIX_BIND_PROCESSOR -DUSE_HSREGEX -DUSE_EXPAT
-I../lib/expat-lite -fpic -DSHARED_MODULE -I/usr/local/apache/include
-I../common -I/usr/java14/include  -c mod_jk.c

gcc -DAIX=520 -U__STR__ -DAIX_BIND_PROCESSOR -DUSE_HSREGEX -DUSE_EXPAT
-I../lib/expat-lite -fpic -DSHARED_MODULE -I/usr/local

RE: Apache 1.3 not loading Mod_Jk.so

2004-07-16 Thread bralston
Anyone have any ideas on this ?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 15, 2004 4:09 PM
To: [EMAIL PROTECTED]
Subject: Apache 1.3 not loading Mod_Jk.so

All, 

  If anyone can help me I would be forever grateful, I have spent hours
on this problem. I am installing Apache 1.3 and Tomcat 4.0 on AIX. Apache
installs great and tomcat installs great. I am trying to build mod_jk.so
from jk-1.2.5. The mod_jk.so builds, but my htttpd.conf and apache fails
with the following error:

 

Syntax error on line 202 of /usr/local/apache/conf/httpd.conf:

Can't locate API module structure `jk_module' in file
/usr/local/apache/libexec/mod_jk.so: Function not implemented (jk_module)

/usr/local/apache/bin/apachectl restart: httpd could not be started

 

 

This is my build method (I have pasted output to be helpful):

 

1) gunzip jakarta-tomcat-connectors-jk-1.2.5-src.tar.gz

2) tar -xvf jakarta-tomcat-connectors-jk-1.2.5-src.tar

3) cd /usr/local/tomcat/jakarta-tomcat-connectors-jk-1.2.5-src/jk/native

4) ./buildconf.sh  

   libtoolize --force --automake --copy

   aclocal

   automake -a --foreign -i --copy

   autoconf

5) ./configure --with-apxs=/usr/local/apache/bin/apxs

   checking for libtool... /usr/local/bin/libtool

   need to check for Perl first, apxs depends on it...

   checking for perl... /usr/bin/perl

   building connector for apache-1.3

   checking for target platform... unix

   no apache given

   configure: creating ./config.status

   config.status: creating Makefile

   config.status: creating apache-1.3/Makefile

   config.status: creating apache-1.3/Makefile.apxs

   config.status: creating apache-2.0/Makefile

   config.status: creating apache-2.0/Makefile.apxs

   config.status: creating common/Makefile

   config.status: creating common/list.mk

   config.status: creating jni/Makefile

   config.status: executing depfiles commands

6) make

   cp .libs/mod_jk.lai /usr/local/tomcat/jakarta-tomcat-connectors-jk-
1.2.5-src/jk/native/apache-1.3/mod_jk.la

   libtool: install: warning: remember to run `libtool --finish
/usr/local/apache/libexec'

   make[1]: Leaving directory `/usr/local/tomcat/jakarta-tomcat-
connectors-jk-1.2.5-src/jk/native/apache-1.3'

   make[1]: Entering directory `/usr/local/tomcat/jakarta-tomcat-
connectors-jk-1.2.5-src/jk/native'

   make[1]: Nothing to be done for `all-am'.

   make[1]: Leaving directory `/usr/local/tomcat/jakarta-tomcat-
connectors-jk-1.2.5-src/jk/native'

   target=all; \

   list='common apache-1.3'; \

   for i in $list; do \

   echo Making $target in $i; \

   if test $i != .; then \

   (cd $i  make $target) || exit 1; \

   fi; \

   done;

   Making all in common

   make[1]: Entering directory `/usr/local/tomcat/jakarta-tomcat-
connectors-jk-1.2.5-src/jk/native/common'

   make[1]: Nothing to be done for `all'.

   make[1]: Leaving directory `/usr/local/tomcat/jakarta-tomcat-
connectors-jk-1.2.5-src/jk/native/common'

   Making all in apache-1.3

   make[1]: Entering directory `/usr/local/tomcat/jakarta-tomcat-
connectors-jk-1.2.5-src/jk/native/apache-1.3'

   /usr/local/bin/libtool --mode=install cp mod_jk.la `pwd`/mod_jk.so

   cp .libs/mod_jk.a /usr/local/tomcat/jakarta-tomcat-connectors-jk-
1.2.5-src/jk/native/apache-1.3/mod_jk.a

   cp .libs/mod_jk.lai /usr/local/tomcat/jakarta-tomcat-connectors-jk-
1.2.5-src/jk/native/apache-1.3/mod_jk.la

   libtool: install: warning: remember to run `libtool --finish
/usr/local/apache/libexec'

   make[1]: Leaving directory `/usr/local/tomcat/jakarta-tomcat-
connectors-jk-1.2.5-src/jk/native/apache-1.3'  

7) cd apache-1.3

8) ls

.cvsignoreMakefile.apxs Makefile.libdir   mod_jk.a
mod_jk.exp

.libs Makefile.apxs.in  Makefile.tmpl mod_jk.c
mod_jk.la

Makefile  Makefile.in   libjk.module  mod_jk.dsp
mod_jk.lo

9) No mod_jk.so is produced so I manually build the file

10)  /usr/local/apache/bin/apxs -I ../common -I /usr/java14/include -i -a -c
mod_jk.c ../common/*.c -o mod_jk.so

gcc -DAIX=520 -U__STR__ -DAIX_BIND_PROCESSOR -DUSE_HSREGEX -DUSE_EXPAT
-I../lib/expat-lite -fpic -DSHARED_MODULE -I/usr/local/apache/include
-I../common -I/usr/java14/include  -c mod_jk.c

gcc -DAIX=520 -U__STR__ -DAIX_BIND_PROCESSOR -DUSE_HSREGEX -DUSE_EXPAT
-I../lib/expat-lite -fpic -DSHARED_MODULE -I/usr/local/apache/include
-I../common -I/usr/java14/include  -c ../common/jk_ajp12_worker.c

gcc -DAIX=520 -U__STR__ -DAIX_BIND_PROCESSOR -DUSE_HSREGEX -DUSE_EXPAT
-I../lib/expat-lite -fpic -DSHARED_MODULE -I/usr/local/apache/include
-I../common -I/usr/java14/include  -c ../common/jk_ajp13.c

gcc -DAIX=520 -U__STR__ -DAIX_BIND_PROCESSOR -DUSE_HSREGEX -DUSE_EXPAT
-I../lib/expat-lite -fpic -DSHARED_MODULE -I/usr/local/apache/include
-I../common -I

RE: Apache 1.3 not loading Mod_Jk.so

2004-07-16 Thread Anup Ray, Unix Systems Administrator
What is there in line 202 of httpd.conf 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 16, 2004 2:26 PM
To: [EMAIL PROTECTED]
Subject: RE: Apache 1.3 not loading Mod_Jk.so

Anyone have any ideas on this ?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 15, 2004 4:09 PM
To: [EMAIL PROTECTED]
Subject: Apache 1.3 not loading Mod_Jk.so

All, 

  If anyone can help me I would be forever grateful, I have spent
hours on this problem. I am installing Apache 1.3 and Tomcat 4.0 on AIX.
Apache installs great and tomcat installs great. I am trying to build
mod_jk.so from jk-1.2.5. The mod_jk.so builds, but my htttpd.conf and
apache fails with the following error:

 

Syntax error on line 202 of /usr/local/apache/conf/httpd.conf:

Can't locate API module structure `jk_module' in file
/usr/local/apache/libexec/mod_jk.so: Function not implemented
(jk_module)

/usr/local/apache/bin/apachectl restart: httpd could not be started

 

 

This is my build method (I have pasted output to be helpful):

 

1) gunzip jakarta-tomcat-connectors-jk-1.2.5-src.tar.gz

2) tar -xvf jakarta-tomcat-connectors-jk-1.2.5-src.tar

3) cd /usr/local/tomcat/jakarta-tomcat-connectors-jk-1.2.5-src/jk/native

4) ./buildconf.sh  

   libtoolize --force --automake --copy

   aclocal

   automake -a --foreign -i --copy

   autoconf

5) ./configure --with-apxs=/usr/local/apache/bin/apxs

   checking for libtool... /usr/local/bin/libtool

   need to check for Perl first, apxs depends on it...

   checking for perl... /usr/bin/perl

   building connector for apache-1.3

   checking for target platform... unix

   no apache given

   configure: creating ./config.status

   config.status: creating Makefile

   config.status: creating apache-1.3/Makefile

   config.status: creating apache-1.3/Makefile.apxs

   config.status: creating apache-2.0/Makefile

   config.status: creating apache-2.0/Makefile.apxs

   config.status: creating common/Makefile

   config.status: creating common/list.mk

   config.status: creating jni/Makefile

   config.status: executing depfiles commands

6) make

   cp .libs/mod_jk.lai
/usr/local/tomcat/jakarta-tomcat-connectors-jk-
1.2.5-src/jk/native/apache-1.3/mod_jk.la

   libtool: install: warning: remember to run `libtool --finish
/usr/local/apache/libexec'

   make[1]: Leaving directory `/usr/local/tomcat/jakarta-tomcat-
connectors-jk-1.2.5-src/jk/native/apache-1.3'

   make[1]: Entering directory `/usr/local/tomcat/jakarta-tomcat-
connectors-jk-1.2.5-src/jk/native'

   make[1]: Nothing to be done for `all-am'.

   make[1]: Leaving directory `/usr/local/tomcat/jakarta-tomcat-
connectors-jk-1.2.5-src/jk/native'

   target=all; \

   list='common apache-1.3'; \

   for i in $list; do \

   echo Making $target in $i; \

   if test $i != .; then \

   (cd $i  make $target) || exit 1; \

   fi; \

   done;

   Making all in common

   make[1]: Entering directory `/usr/local/tomcat/jakarta-tomcat-
connectors-jk-1.2.5-src/jk/native/common'

   make[1]: Nothing to be done for `all'.

   make[1]: Leaving directory `/usr/local/tomcat/jakarta-tomcat-
connectors-jk-1.2.5-src/jk/native/common'

   Making all in apache-1.3

   make[1]: Entering directory `/usr/local/tomcat/jakarta-tomcat-
connectors-jk-1.2.5-src/jk/native/apache-1.3'

   /usr/local/bin/libtool --mode=install cp mod_jk.la
`pwd`/mod_jk.so

   cp .libs/mod_jk.a /usr/local/tomcat/jakarta-tomcat-connectors-jk-
1.2.5-src/jk/native/apache-1.3/mod_jk.a

   cp .libs/mod_jk.lai
/usr/local/tomcat/jakarta-tomcat-connectors-jk-
1.2.5-src/jk/native/apache-1.3/mod_jk.la

   libtool: install: warning: remember to run `libtool --finish
/usr/local/apache/libexec'

   make[1]: Leaving directory `/usr/local/tomcat/jakarta-tomcat-
connectors-jk-1.2.5-src/jk/native/apache-1.3'  

7) cd apache-1.3

8) ls

.cvsignoreMakefile.apxs Makefile.libdir   mod_jk.a
mod_jk.exp

.libs Makefile.apxs.in  Makefile.tmpl mod_jk.c
mod_jk.la

Makefile  Makefile.in   libjk.module  mod_jk.dsp
mod_jk.lo

9) No mod_jk.so is produced so I manually build the file

10)  /usr/local/apache/bin/apxs -I ../common -I /usr/java14/include -i
-a -c mod_jk.c ../common/*.c -o mod_jk.so

gcc -DAIX=520 -U__STR__ -DAIX_BIND_PROCESSOR -DUSE_HSREGEX -DUSE_EXPAT
-I../lib/expat-lite -fpic -DSHARED_MODULE -I/usr/local/apache/include
-I../common -I/usr/java14/include  -c mod_jk.c

gcc -DAIX=520 -U__STR__ -DAIX_BIND_PROCESSOR -DUSE_HSREGEX -DUSE_EXPAT
-I../lib/expat-lite -fpic -DSHARED_MODULE -I/usr/local/apache/include
-I../common -I/usr/java14/include  -c ../common/jk_ajp12_worker.c

gcc -DAIX=520 -U__STR__ -DAIX_BIND_PROCESSOR -DUSE_HSREGEX -DUSE_EXPAT
-I../lib/expat-lite -fpic -DSHARED_MODULE -I/usr/local/apache

RE: Apache 1.3 not loading Mod_Jk.so

2004-07-16 Thread bralston
Line 202 is where I reference the mod_jk.so


LoadModule jk_module  libexec/mod_jk.so


-Original Message-
From: Anup Ray, Unix Systems Administrator
[mailto:[EMAIL PROTECTED] 
Sent: Friday, July 16, 2004 1:31 PM
To: Tomcat Users List
Subject: RE: Apache 1.3 not loading Mod_Jk.so

What is there in line 202 of httpd.conf 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 16, 2004 2:26 PM
To: [EMAIL PROTECTED]
Subject: RE: Apache 1.3 not loading Mod_Jk.so

Anyone have any ideas on this ?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 15, 2004 4:09 PM
To: [EMAIL PROTECTED]
Subject: Apache 1.3 not loading Mod_Jk.so

All, 

  If anyone can help me I would be forever grateful, I have spent
hours on this problem. I am installing Apache 1.3 and Tomcat 4.0 on AIX.
Apache installs great and tomcat installs great. I am trying to build
mod_jk.so from jk-1.2.5. The mod_jk.so builds, but my htttpd.conf and
apache fails with the following error:

 

Syntax error on line 202 of /usr/local/apache/conf/httpd.conf:

Can't locate API module structure `jk_module' in file
/usr/local/apache/libexec/mod_jk.so: Function not implemented
(jk_module)

/usr/local/apache/bin/apachectl restart: httpd could not be started

 

 

This is my build method (I have pasted output to be helpful):

 

1) gunzip jakarta-tomcat-connectors-jk-1.2.5-src.tar.gz

2) tar -xvf jakarta-tomcat-connectors-jk-1.2.5-src.tar

3) cd /usr/local/tomcat/jakarta-tomcat-connectors-jk-1.2.5-src/jk/native

4) ./buildconf.sh  

   libtoolize --force --automake --copy

   aclocal

   automake -a --foreign -i --copy

   autoconf

5) ./configure --with-apxs=/usr/local/apache/bin/apxs

   checking for libtool... /usr/local/bin/libtool

   need to check for Perl first, apxs depends on it...

   checking for perl... /usr/bin/perl

   building connector for apache-1.3

   checking for target platform... unix

   no apache given

   configure: creating ./config.status

   config.status: creating Makefile

   config.status: creating apache-1.3/Makefile

   config.status: creating apache-1.3/Makefile.apxs

   config.status: creating apache-2.0/Makefile

   config.status: creating apache-2.0/Makefile.apxs

   config.status: creating common/Makefile

   config.status: creating common/list.mk

   config.status: creating jni/Makefile

   config.status: executing depfiles commands

6) make

   cp .libs/mod_jk.lai
/usr/local/tomcat/jakarta-tomcat-connectors-jk-
1.2.5-src/jk/native/apache-1.3/mod_jk.la

   libtool: install: warning: remember to run `libtool --finish
/usr/local/apache/libexec'

   make[1]: Leaving directory `/usr/local/tomcat/jakarta-tomcat-
connectors-jk-1.2.5-src/jk/native/apache-1.3'

   make[1]: Entering directory `/usr/local/tomcat/jakarta-tomcat-
connectors-jk-1.2.5-src/jk/native'

   make[1]: Nothing to be done for `all-am'.

   make[1]: Leaving directory `/usr/local/tomcat/jakarta-tomcat-
connectors-jk-1.2.5-src/jk/native'

   target=all; \

   list='common apache-1.3'; \

   for i in $list; do \

   echo Making $target in $i; \

   if test $i != .; then \

   (cd $i  make $target) || exit 1; \

   fi; \

   done;

   Making all in common

   make[1]: Entering directory `/usr/local/tomcat/jakarta-tomcat-
connectors-jk-1.2.5-src/jk/native/common'

   make[1]: Nothing to be done for `all'.

   make[1]: Leaving directory `/usr/local/tomcat/jakarta-tomcat-
connectors-jk-1.2.5-src/jk/native/common'

   Making all in apache-1.3

   make[1]: Entering directory `/usr/local/tomcat/jakarta-tomcat-
connectors-jk-1.2.5-src/jk/native/apache-1.3'

   /usr/local/bin/libtool --mode=install cp mod_jk.la
`pwd`/mod_jk.so

   cp .libs/mod_jk.a /usr/local/tomcat/jakarta-tomcat-connectors-jk-
1.2.5-src/jk/native/apache-1.3/mod_jk.a

   cp .libs/mod_jk.lai
/usr/local/tomcat/jakarta-tomcat-connectors-jk-
1.2.5-src/jk/native/apache-1.3/mod_jk.la

   libtool: install: warning: remember to run `libtool --finish
/usr/local/apache/libexec'

   make[1]: Leaving directory `/usr/local/tomcat/jakarta-tomcat-
connectors-jk-1.2.5-src/jk/native/apache-1.3'  

7) cd apache-1.3

8) ls

.cvsignoreMakefile.apxs Makefile.libdir   mod_jk.a
mod_jk.exp

.libs Makefile.apxs.in  Makefile.tmpl mod_jk.c
mod_jk.la

Makefile  Makefile.in   libjk.module  mod_jk.dsp
mod_jk.lo

9) No mod_jk.so is produced so I manually build the file

10)  /usr/local/apache/bin/apxs -I ../common -I /usr/java14/include -i
-a -c mod_jk.c ../common/*.c -o mod_jk.so

gcc -DAIX=520 -U__STR__ -DAIX_BIND_PROCESSOR -DUSE_HSREGEX -DUSE_EXPAT
-I../lib/expat-lite -fpic -DSHARED_MODULE -I/usr/local/apache/include
-I../common -I/usr/java14/include  -c mod_jk.c

gcc -DAIX=520 -U__STR__

RE: Apache 1.3 not loading Mod_Jk.so

2004-07-16 Thread Mike Jackson
Did you move the mod_jk.so file into $APACHE_HOME/libexec?  Did the compile
work properly?  Are you sure that the mod_jk.so is really the apache module
and not something else (there's a way to determine this but I can't remember
how)?

--mikej
-=-
mike jackson
[EMAIL PROTECTED]


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
 Sent: Friday, July 16, 2004 11:26 AM
 To: [EMAIL PROTECTED]
 Subject: RE: Apache 1.3 not loading Mod_Jk.so
 
 
 Anyone have any ideas on this ?
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, July 15, 2004 4:09 PM
 To: [EMAIL PROTECTED]
 Subject: Apache 1.3 not loading Mod_Jk.so
 
 All, 
 
   If anyone can help me I would be forever grateful, I 
 have spent hours on this problem. I am installing Apache 1.3 
 and Tomcat 4.0 on AIX. Apache installs great and tomcat 
 installs great. I am trying to build mod_jk.so from jk-1.2.5. 
 The mod_jk.so builds, but my htttpd.conf and apache fails 
 with the following error:
 
  
 
 Syntax error on line 202 of /usr/local/apache/conf/httpd.conf:
 
 Can't locate API module structure `jk_module' in file
 /usr/local/apache/libexec/mod_jk.so: Function not implemented 
 (jk_module)
 
 /usr/local/apache/bin/apachectl restart: httpd could not be started
 
  
 
  
 
 This is my build method (I have pasted output to be helpful):
 
  
 
 1) gunzip jakarta-tomcat-connectors-jk-1.2.5-src.tar.gz
 
 2) tar -xvf jakarta-tomcat-connectors-jk-1.2.5-src.tar
 
 3) cd 
 /usr/local/tomcat/jakarta-tomcat-connectors-jk-1.2.5-src/jk/native
 
 4) ./buildconf.sh  
 
libtoolize --force --automake --copy
 
aclocal
 
automake -a --foreign -i --copy
 
autoconf
 
 5) ./configure --with-apxs=/usr/local/apache/bin/apxs
 
checking for libtool... /usr/local/bin/libtool
 
need to check for Perl first, apxs depends on it...
 
checking for perl... /usr/bin/perl
 
building connector for apache-1.3
 
checking for target platform... unix
 
no apache given
 
configure: creating ./config.status
 
config.status: creating Makefile
 
config.status: creating apache-1.3/Makefile
 
config.status: creating apache-1.3/Makefile.apxs
 
config.status: creating apache-2.0/Makefile
 
config.status: creating apache-2.0/Makefile.apxs
 
config.status: creating common/Makefile
 
config.status: creating common/list.mk
 
config.status: creating jni/Makefile
 
config.status: executing depfiles commands
 
 6) make
 
cp .libs/mod_jk.lai 
 /usr/local/tomcat/jakarta-tomcat-connectors-jk-
 1.2.5-src/jk/native/apache-1.3/mod_jk.la
 
libtool: install: warning: remember to run `libtool 
 --finish /usr/local/apache/libexec'
 
make[1]: Leaving directory `/usr/local/tomcat/jakarta-tomcat-
 connectors-jk-1.2.5-src/jk/native/apache-1.3'
 
make[1]: Entering directory `/usr/local/tomcat/jakarta-tomcat-
 connectors-jk-1.2.5-src/jk/native'
 
make[1]: Nothing to be done for `all-am'.
 
make[1]: Leaving directory `/usr/local/tomcat/jakarta-tomcat-
 connectors-jk-1.2.5-src/jk/native'
 
target=all; \
 
list='common apache-1.3'; \
 
for i in $list; do \
 
echo Making $target in $i; \
 
if test $i != .; then \
 
(cd $i  make $target) || exit 1; \
 
fi; \
 
done;
 
Making all in common
 
make[1]: Entering directory `/usr/local/tomcat/jakarta-tomcat-
 connectors-jk-1.2.5-src/jk/native/common'
 
make[1]: Nothing to be done for `all'.
 
make[1]: Leaving directory `/usr/local/tomcat/jakarta-tomcat-
 connectors-jk-1.2.5-src/jk/native/common'
 
Making all in apache-1.3
 
make[1]: Entering directory `/usr/local/tomcat/jakarta-tomcat-
 connectors-jk-1.2.5-src/jk/native/apache-1.3'
 
/usr/local/bin/libtool --mode=install cp mod_jk.la 
 `pwd`/mod_jk.so
 
cp .libs/mod_jk.a 
 /usr/local/tomcat/jakarta-tomcat-connectors-jk-
 1.2.5-src/jk/native/apache-1.3/mod_jk.a
 
cp .libs/mod_jk.lai 
 /usr/local/tomcat/jakarta-tomcat-connectors-jk-
 1.2.5-src/jk/native/apache-1.3/mod_jk.la
 
libtool: install: warning: remember to run `libtool 
 --finish /usr/local/apache/libexec'
 
make[1]: Leaving directory `/usr/local/tomcat/jakarta-tomcat-
 connectors-jk-1.2.5-src/jk/native/apache-1.3'  
 
 7) cd apache-1.3
 
 8) ls
 
 .cvsignoreMakefile.apxs Makefile.libdir   mod_jk.a
 mod_jk.exp
 
 .libs Makefile.apxs.in  Makefile.tmpl mod_jk.c
 mod_jk.la
 
 Makefile  Makefile.in   libjk.module  mod_jk.dsp
 mod_jk.lo
 
 9) No mod_jk.so is produced so I manually build the file
 
 10)  /usr/local/apache/bin/apxs -I ../common -I 
 /usr/java14/include -i -a -c mod_jk.c ../common/*.c -o mod_jk.so
 
 gcc -DAIX=520 -U__STR__ -DAIX_BIND_PROCESSOR -DUSE_HSREGEX 
 -DUSE_EXPAT -I../lib/expat

RE: Apache 1.3 not loading Mod_Jk.so

2004-07-16 Thread bralston
Yes.I moved mod_jk.so to that directory and it said mod_jk.so compiled
correctly. 

-Original Message-
From: Mike Jackson [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 16, 2004 3:27 PM
To: 'Tomcat Users List'
Subject: RE: Apache 1.3 not loading Mod_Jk.so

Did you move the mod_jk.so file into $APACHE_HOME/libexec?  Did the compile
work properly?  Are you sure that the mod_jk.so is really the apache module
and not something else (there's a way to determine this but I can't remember
how)?

--mikej
-=-
mike jackson
[EMAIL PROTECTED]


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
 Sent: Friday, July 16, 2004 11:26 AM
 To: [EMAIL PROTECTED]
 Subject: RE: Apache 1.3 not loading Mod_Jk.so
 
 
 Anyone have any ideas on this ?
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, July 15, 2004 4:09 PM
 To: [EMAIL PROTECTED]
 Subject: Apache 1.3 not loading Mod_Jk.so
 
 All, 
 
   If anyone can help me I would be forever grateful, I 
 have spent hours on this problem. I am installing Apache 1.3 
 and Tomcat 4.0 on AIX. Apache installs great and tomcat 
 installs great. I am trying to build mod_jk.so from jk-1.2.5. 
 The mod_jk.so builds, but my htttpd.conf and apache fails 
 with the following error:
 
  
 
 Syntax error on line 202 of /usr/local/apache/conf/httpd.conf:
 
 Can't locate API module structure `jk_module' in file
 /usr/local/apache/libexec/mod_jk.so: Function not implemented 
 (jk_module)
 
 /usr/local/apache/bin/apachectl restart: httpd could not be started
 
  
 
  
 
 This is my build method (I have pasted output to be helpful):
 
  
 
 1) gunzip jakarta-tomcat-connectors-jk-1.2.5-src.tar.gz
 
 2) tar -xvf jakarta-tomcat-connectors-jk-1.2.5-src.tar
 
 3) cd 
 /usr/local/tomcat/jakarta-tomcat-connectors-jk-1.2.5-src/jk/native
 
 4) ./buildconf.sh  
 
libtoolize --force --automake --copy
 
aclocal
 
automake -a --foreign -i --copy
 
autoconf
 
 5) ./configure --with-apxs=/usr/local/apache/bin/apxs
 
checking for libtool... /usr/local/bin/libtool
 
need to check for Perl first, apxs depends on it...
 
checking for perl... /usr/bin/perl
 
building connector for apache-1.3
 
checking for target platform... unix
 
no apache given
 
configure: creating ./config.status
 
config.status: creating Makefile
 
config.status: creating apache-1.3/Makefile
 
config.status: creating apache-1.3/Makefile.apxs
 
config.status: creating apache-2.0/Makefile
 
config.status: creating apache-2.0/Makefile.apxs
 
config.status: creating common/Makefile
 
config.status: creating common/list.mk
 
config.status: creating jni/Makefile
 
config.status: executing depfiles commands
 
 6) make
 
cp .libs/mod_jk.lai 
 /usr/local/tomcat/jakarta-tomcat-connectors-jk-
 1.2.5-src/jk/native/apache-1.3/mod_jk.la
 
libtool: install: warning: remember to run `libtool 
 --finish /usr/local/apache/libexec'
 
make[1]: Leaving directory `/usr/local/tomcat/jakarta-tomcat-
 connectors-jk-1.2.5-src/jk/native/apache-1.3'
 
make[1]: Entering directory `/usr/local/tomcat/jakarta-tomcat-
 connectors-jk-1.2.5-src/jk/native'
 
make[1]: Nothing to be done for `all-am'.
 
make[1]: Leaving directory `/usr/local/tomcat/jakarta-tomcat-
 connectors-jk-1.2.5-src/jk/native'
 
target=all; \
 
list='common apache-1.3'; \
 
for i in $list; do \
 
echo Making $target in $i; \
 
if test $i != .; then \
 
(cd $i  make $target) || exit 1; \
 
fi; \
 
done;
 
Making all in common
 
make[1]: Entering directory `/usr/local/tomcat/jakarta-tomcat-
 connectors-jk-1.2.5-src/jk/native/common'
 
make[1]: Nothing to be done for `all'.
 
make[1]: Leaving directory `/usr/local/tomcat/jakarta-tomcat-
 connectors-jk-1.2.5-src/jk/native/common'
 
Making all in apache-1.3
 
make[1]: Entering directory `/usr/local/tomcat/jakarta-tomcat-
 connectors-jk-1.2.5-src/jk/native/apache-1.3'
 
/usr/local/bin/libtool --mode=install cp mod_jk.la 
 `pwd`/mod_jk.so
 
cp .libs/mod_jk.a 
 /usr/local/tomcat/jakarta-tomcat-connectors-jk-
 1.2.5-src/jk/native/apache-1.3/mod_jk.a
 
cp .libs/mod_jk.lai 
 /usr/local/tomcat/jakarta-tomcat-connectors-jk-
 1.2.5-src/jk/native/apache-1.3/mod_jk.la
 
libtool: install: warning: remember to run `libtool 
 --finish /usr/local/apache/libexec'
 
make[1]: Leaving directory `/usr/local/tomcat/jakarta-tomcat-
 connectors-jk-1.2.5-src/jk/native/apache-1.3'  
 
 7) cd apache-1.3
 
 8) ls
 
 .cvsignoreMakefile.apxs Makefile.libdir   mod_jk.a
 mod_jk.exp
 
 .libs Makefile.apxs.in  Makefile.tmpl mod_jk.c
 mod_jk.la
 
 Makefile  Makefile.in   libjk.module  mod_jk.dsp
 mod_jk.lo
 
 9

Apache 1.3 not loading Mod_Jk.so

2004-07-15 Thread bralston
All, 

  If anyone can help me I would be forever grateful, I have spent hours
on this problem. I am installing Apache 1.3 and Tomcat 4.0 on AIX. Apache
installs great and tomcat installs great. I am trying to build mod_jk.so
from jk-1.2.5. The mod_jk.so builds, but my htttpd.conf and apache fails
with the following error:

 

Syntax error on line 202 of /usr/local/apache/conf/httpd.conf:

Can't locate API module structure `jk_module' in file
/usr/local/apache/libexec/mod_jk.so: Function not implemented (jk_module)

/usr/local/apache/bin/apachectl restart: httpd could not be started

 

 

This is my build method (I have pasted output to be helpful):

 

1) gunzip jakarta-tomcat-connectors-jk-1.2.5-src.tar.gz

2) tar -xvf jakarta-tomcat-connectors-jk-1.2.5-src.tar

3) cd /usr/local/tomcat/jakarta-tomcat-connectors-jk-1.2.5-src/jk/native

4) ./buildconf.sh  

   libtoolize --force --automake --copy

   aclocal

   automake -a --foreign -i --copy

   autoconf

5) ./configure --with-apxs=/usr/local/apache/bin/apxs

   checking for libtool... /usr/local/bin/libtool

   need to check for Perl first, apxs depends on it...

   checking for perl... /usr/bin/perl

   building connector for apache-1.3

   checking for target platform... unix

   no apache given

   configure: creating ./config.status

   config.status: creating Makefile

   config.status: creating apache-1.3/Makefile

   config.status: creating apache-1.3/Makefile.apxs

   config.status: creating apache-2.0/Makefile

   config.status: creating apache-2.0/Makefile.apxs

   config.status: creating common/Makefile

   config.status: creating common/list.mk

   config.status: creating jni/Makefile

   config.status: executing depfiles commands

6) make

   cp .libs/mod_jk.lai /usr/local/tomcat/jakarta-tomcat-connectors-jk-
1.2.5-src/jk/native/apache-1.3/mod_jk.la

   libtool: install: warning: remember to run `libtool --finish
/usr/local/apache/libexec'

   make[1]: Leaving directory `/usr/local/tomcat/jakarta-tomcat-
connectors-jk-1.2.5-src/jk/native/apache-1.3'

   make[1]: Entering directory `/usr/local/tomcat/jakarta-tomcat-
connectors-jk-1.2.5-src/jk/native'

   make[1]: Nothing to be done for `all-am'.

   make[1]: Leaving directory `/usr/local/tomcat/jakarta-tomcat-
connectors-jk-1.2.5-src/jk/native'

   target=all; \

   list='common apache-1.3'; \

   for i in $list; do \

   echo Making $target in $i; \

   if test $i != .; then \

   (cd $i  make $target) || exit 1; \

   fi; \

   done;

   Making all in common

   make[1]: Entering directory `/usr/local/tomcat/jakarta-tomcat-
connectors-jk-1.2.5-src/jk/native/common'

   make[1]: Nothing to be done for `all'.

   make[1]: Leaving directory `/usr/local/tomcat/jakarta-tomcat-
connectors-jk-1.2.5-src/jk/native/common'

   Making all in apache-1.3

   make[1]: Entering directory `/usr/local/tomcat/jakarta-tomcat-
connectors-jk-1.2.5-src/jk/native/apache-1.3'

   /usr/local/bin/libtool --mode=install cp mod_jk.la `pwd`/mod_jk.so

   cp .libs/mod_jk.a /usr/local/tomcat/jakarta-tomcat-connectors-jk-
1.2.5-src/jk/native/apache-1.3/mod_jk.a

   cp .libs/mod_jk.lai /usr/local/tomcat/jakarta-tomcat-connectors-jk-
1.2.5-src/jk/native/apache-1.3/mod_jk.la

   libtool: install: warning: remember to run `libtool --finish
/usr/local/apache/libexec'

   make[1]: Leaving directory `/usr/local/tomcat/jakarta-tomcat-
connectors-jk-1.2.5-src/jk/native/apache-1.3'  

7) cd apache-1.3

8) ls

.cvsignoreMakefile.apxs Makefile.libdir   mod_jk.a
mod_jk.exp

.libs Makefile.apxs.in  Makefile.tmpl mod_jk.c
mod_jk.la

Makefile  Makefile.in   libjk.module  mod_jk.dsp
mod_jk.lo

9) No mod_jk.so is produced so I manually build the file

10)  /usr/local/apache/bin/apxs -I ../common -I /usr/java14/include -i -a -c
mod_jk.c ../common/*.c -o mod_jk.so

gcc -DAIX=520 -U__STR__ -DAIX_BIND_PROCESSOR -DUSE_HSREGEX -DUSE_EXPAT
-I../lib/expat-lite -fpic -DSHARED_MODULE -I/usr/local/apache/include
-I../common -I/usr/java14/include  -c mod_jk.c

gcc -DAIX=520 -U__STR__ -DAIX_BIND_PROCESSOR -DUSE_HSREGEX -DUSE_EXPAT
-I../lib/expat-lite -fpic -DSHARED_MODULE -I/usr/local/apache/include
-I../common -I/usr/java14/include  -c ../common/jk_ajp12_worker.c

gcc -DAIX=520 -U__STR__ -DAIX_BIND_PROCESSOR -DUSE_HSREGEX -DUSE_EXPAT
-I../lib/expat-lite -fpic -DSHARED_MODULE -I/usr/local/apache/include
-I../common -I/usr/java14/include  -c ../common/jk_ajp13.c

gcc -DAIX=520 -U__STR__ -DAIX_BIND_PROCESSOR -DUSE_HSREGEX -DUSE_EXPAT
-I../lib/expat-lite -fpic -DSHARED_MODULE -I/usr/local/apache/include
-I../common -I/usr/java14/include  -c ../common/jk_ajp13_worker.c

gcc -DAIX=520 -U__STR__ -DAIX_BIND_PROCESSOR -DUSE_HSREGEX -DUSE_EXPAT
-I../lib/expat-lite -fpic -DSHARED_MODULE -I/usr/local/apache/include
-I../common -I/usr

Apache2 and mod_jk.so

2004-06-21 Thread Samuel V . Green III
I've currently have a CMS called Magnolia installed.  Magnolia 1.1 
comes with Tomcat 4.0 and installs Tomcat during the Magnolia 
installation.  Magnolia consists of two instances:  Author (for Admin) 
and Public.

I'm using Mac OS X (Panther),  and have Magnolia installed and the 
Author and Public running and can
access both by;  Author = http://localhost:8081   Public = 
http://localhost:8082.

The Public is instance I want to serve via Apache2 from my home server. 
 I'm trying to understand if
I have to utilize the mod_jk.so and virtual hosting elements of Apache2 
and Tomcat and which mod_jk.so do
I need?  Source?  Binary?

I downloaded jakarta-tomcat-connectors-jk-1.2.5-src   but,  I don't 
understand where or how to build?

I have a domainname.com that I want to point to the Public instance,  I 
just don't know where to start?

Samuel.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Apache2 and mod_jk.so

2004-06-21 Thread Filip Hanik - Dev
why not use mod_proxy or mod_redirect instead, and a named virtual host in apache,
no compilation needed, the apache modules already come with it


Filip

- Original Message - 
From: Samuel V. Green III [EMAIL PROTECTED]
To: _Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, June 21, 2004 4:06 PM
Subject: Apache2 and mod_jk.so


 I've currently have a CMS called Magnolia installed.  Magnolia 1.1 
 comes with Tomcat 4.0 and installs Tomcat during the Magnolia 
 installation.  Magnolia consists of two instances:  Author (for Admin) 
 and Public.
 
 I'm using Mac OS X (Panther),  and have Magnolia installed and the 
 Author and Public running and can
 access both by;  Author = http://localhost:8081   Public = 
 http://localhost:8082.
 
 The Public is instance I want to serve via Apache2 from my home server. 
   I'm trying to understand if
 I have to utilize the mod_jk.so and virtual hosting elements of Apache2 
 and Tomcat and which mod_jk.so do
 I need?  Source?  Binary?
 
 I downloaded jakarta-tomcat-connectors-jk-1.2.5-src   but,  I don't 
 understand where or how to build?
 
 I have a domainname.com that I want to point to the Public instance,  I 
 just don't know where to start?
 
 Samuel.
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: mod_jk.so

2004-06-02 Thread Graham Bleach
On Fri, May 28, 2004 at 06:05:19PM -0500, QM wrote:
 Check your httpd.conf syntax: I forget the exact directive, but you must
 specify *two* lines to load a module in Apache 1.x; just LoadModule
 isn't enough.
 
 Check other modules loaded in httpd.conf as a reference.  You'll have
 a block of LoadModule and then another block of That Other Directive
 I Can't Remember.

AddModule.

-- 
The art of taxation consists of plucking the goose so as to obtain the
most feathers with the least hissing.
-- Jean-Baptiste Colbert

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



mod_jk.so

2004-05-28 Thread Gibson, Danny
Good day All,

Below are my configurations and versions.  The problem I have is that when I
try to load the mod_jk.so, it appears to load but fails with the following
error message when starting Apache:  

/opt/app/apache1.3.31/bin]
 ./apachectl start
Syntax error on line 654 of /opt/app/apache1.3.31/conf/httpd.conf:
Invalid command 'JkMount', perhaps mis-spelled or defined by a module not
included in the server configuration
./apachectl start: httpd could not be started

I have searched for a clue to understand what could be causing my problem
all day. If I could just be pointed in the right direction, it would be very
appreciated.

Thanks,
Danny 

Solaris 5.8 Generic_108528-29

Perl 5.8.3

Apache 1.3.31 - built with ./configure --prefix=/opt/app/apache1.3.31
--enable-module=most --enable-shared=max --with-perl=/usr/local/bin/perl
Compiled-in modules:
http_core.c
mod_so.c
Syntax OK
Apache works fine.

Tomcat 4.1.30
Tomcat works fine.

mod_jk.so -
archive.apache.org/dist/jakarta/tomcat-connectors/jk/v1.2.1/bin/solaris8/mod
_jk-1.3-noeapi.so

# httpd entries for JK_Connector
LoadModule jk_module  libexec/mod_jk.so
JkWorkersFile /opt/app/apache1.3.31/conf/workers.properties
JkLogFile /opt/app/apache1.3.31/logs/mod_jk.log
JkLogLevel debug
JkMount /*.jsp ajp13

#workers.properties
workers.tomcat_home=/opt/app/tomcat4.1.30
workers.java_home=/usr/j2sdk1.4.2_04
ps=/
worker.list=ajp13
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
worker.ajp13.lbfactor=50
worker.ajp13.cachesize=150
worker.loadbalancer.type=lb
worker.loadbalancer.balanced_workers=ajp13
worker.inprocess.type=jni
worker.inprocess.class_path=$(workers.tomcat_home)$(ps)server$(ps)lib$(ps)to
mcat-jk.jar
worker.inprocess.cmd_line=start
worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)lib$(ps)sparc$(ps)
libjvm.so
worker.inprocess.stdout=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stdout
worker.inprocess.stderr=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stderr
worker.inprocess.sysprops=tomcat.home=$(workers.tomcat_home)










-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: mod_jk.so

2004-05-28 Thread QM
On Fri, May 28, 2004 at 05:44:19PM -0500, Gibson, Danny wrote:
: Syntax error on line 654 of /opt/app/apache1.3.31/conf/httpd.conf:
: Invalid command 'JkMount', perhaps mis-spelled or defined by a module not
: included in the server configuration
: ./apachectl start: httpd could not be started

This means the JK module didn't completely load.
(Module-specific config directives are set by the module itself.
 Generally speaking, if you know you've spelled a directive properly
 but you get this error, that means the module hasn't loaded.)

Check your httpd.conf syntax: I forget the exact directive, but you must
specify *two* lines to load a module in Apache 1.x; just LoadModule
isn't enough.

Check other modules loaded in httpd.conf as a reference.  You'll have
a block of LoadModule and then another block of That Other Directive
I Can't Remember.

-QM

-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



mod_jk.so for Fedora Core 1 x86_64

2004-05-13 Thread Brad Hafichuk
I've been trying to find a mod_jk.so binary to connect Apache 2.0.48 to Tomcat 4.1.29 
on my AMD64 server, which is running Fedora Core 1 x86_64. I've noticed that FreeBSD 
has a 64 bit version, any idea if someone is working on one for Fedora?

Cheers,
Brad


RE: mod_jk.so for Fedora Core 1 x86_64

2004-05-13 Thread Lohan Spies
There is an already build binary on the Jakarta.tomcat site!
Just go to binaries and search around!

It is a jk2 binary

The package works, I installed it!

-Original Message-
From: Brad Hafichuk [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 13, 2004 4:22 PM
To: [EMAIL PROTECTED]
Subject: mod_jk.so for Fedora Core 1 x86_64

I've been trying to find a mod_jk.so binary to connect Apache 2.0.48 to
Tomcat 4.1.29 on my AMD64 server, which is running Fedora Core 1 x86_64.
I've noticed that FreeBSD has a 64 bit version, any idea if someone is
working on one for Fedora?

Cheers,
Brad


RE: mod_jk.so for Fedora Core 1 x86_64

2004-05-13 Thread Lohan Spies
http://apache.is.co.za/dist/jakarta/tomcat-connectors/jk2/binaries/linux/

here is the link

-Original Message-
From: Lohan Spies [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 13, 2004 4:28 PM
To: 'Tomcat Users List'
Subject: RE: mod_jk.so for Fedora Core 1 x86_64

There is an already build binary on the Jakarta.tomcat site!
Just go to binaries and search around!

It is a jk2 binary

The package works, I installed it!

-Original Message-
From: Brad Hafichuk [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 13, 2004 4:22 PM
To: [EMAIL PROTECTED]
Subject: mod_jk.so for Fedora Core 1 x86_64

I've been trying to find a mod_jk.so binary to connect Apache 2.0.48 to
Tomcat 4.1.29 on my AMD64 server, which is running Fedora Core 1 x86_64.
I've noticed that FreeBSD has a 64 bit version, any idea if someone is
working on one for Fedora?

Cheers,
Brad


Re: mod_jk.so for Fedora Core 1 x86_64

2004-05-13 Thread Brad Hafichuk
Are you telling me that the i386 version will work on a 64bit processor?

-Brad


- Original Message - 
From: Lohan Spies [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Thursday, May 13, 2004 8:28 AM
Subject: RE: mod_jk.so for Fedora Core 1 x86_64


 http://apache.is.co.za/dist/jakarta/tomcat-connectors/jk2/binaries/linux/
 
 here is the link
 
 -Original Message-
 From: Lohan Spies [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, May 13, 2004 4:28 PM
 To: 'Tomcat Users List'
 Subject: RE: mod_jk.so for Fedora Core 1 x86_64
 
 There is an already build binary on the Jakarta.tomcat site!
 Just go to binaries and search around!
 
 It is a jk2 binary
 
 The package works, I installed it!
 
 -Original Message-
 From: Brad Hafichuk [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, May 13, 2004 4:22 PM
 To: [EMAIL PROTECTED]
 Subject: mod_jk.so for Fedora Core 1 x86_64
 
 I've been trying to find a mod_jk.so binary to connect Apache 2.0.48 to
 Tomcat 4.1.29 on my AMD64 server, which is running Fedora Core 1 x86_64.
 I've noticed that FreeBSD has a 64 bit version, any idea if someone is
 working on one for Fedora?
 
 Cheers,
 Brad
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: mod_jk.so for Fedora Core 1 x86_64

2004-05-13 Thread Lohan Spies
Sorry didn't see you were using 64 bit.

Just saw tomcat and fedora!

I don't know give it a bash

-Original Message-
From: Brad Hafichuk [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 13, 2004 4:43 PM
To: Tomcat Users List
Subject: Re: mod_jk.so for Fedora Core 1 x86_64

Are you telling me that the i386 version will work on a 64bit processor?

-Brad


- Original Message - 
From: Lohan Spies [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Thursday, May 13, 2004 8:28 AM
Subject: RE: mod_jk.so for Fedora Core 1 x86_64


 http://apache.is.co.za/dist/jakarta/tomcat-connectors/jk2/binaries/linux/
 
 here is the link
 
 -Original Message-
 From: Lohan Spies [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, May 13, 2004 4:28 PM
 To: 'Tomcat Users List'
 Subject: RE: mod_jk.so for Fedora Core 1 x86_64
 
 There is an already build binary on the Jakarta.tomcat site!
 Just go to binaries and search around!
 
 It is a jk2 binary
 
 The package works, I installed it!
 
 -Original Message-
 From: Brad Hafichuk [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, May 13, 2004 4:22 PM
 To: [EMAIL PROTECTED]
 Subject: mod_jk.so for Fedora Core 1 x86_64
 
 I've been trying to find a mod_jk.so binary to connect Apache 2.0.48 to
 Tomcat 4.1.29 on my AMD64 server, which is running Fedora Core 1 x86_64.
 I've noticed that FreeBSD has a 64 bit version, any idea if someone is
 working on one for Fedora?
 
 Cheers,
 Brad
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: mod_jk.so for Fedora Core 1 x86_64

2004-05-13 Thread Brad Hafichuk
btw, I did try the i386 version without any luck.

Anyone else know of any solution...

-Brad

- Original Message - 
From: Lohan Spies [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Thursday, May 13, 2004 8:55 AM
Subject: RE: mod_jk.so for Fedora Core 1 x86_64


 Sorry didn't see you were using 64 bit.

 Just saw tomcat and fedora!

 I don't know give it a bash

 -Original Message-
 From: Brad Hafichuk [mailto:[EMAIL PROTECTED]
 Sent: Thursday, May 13, 2004 4:43 PM
 To: Tomcat Users List
 Subject: Re: mod_jk.so for Fedora Core 1 x86_64

 Are you telling me that the i386 version will work on a 64bit processor?

 -Brad


 - Original Message - 
 From: Lohan Spies [EMAIL PROTECTED]
 To: 'Tomcat Users List' [EMAIL PROTECTED]
 Sent: Thursday, May 13, 2004 8:28 AM
 Subject: RE: mod_jk.so for Fedora Core 1 x86_64


 
http://apache.is.co.za/dist/jakarta/tomcat-connectors/jk2/binaries/linux/
 
  here is the link
 
  -Original Message-
  From: Lohan Spies [mailto:[EMAIL PROTECTED]
  Sent: Thursday, May 13, 2004 4:28 PM
  To: 'Tomcat Users List'
  Subject: RE: mod_jk.so for Fedora Core 1 x86_64
 
  There is an already build binary on the Jakarta.tomcat site!
  Just go to binaries and search around!
 
  It is a jk2 binary
 
  The package works, I installed it!
 
  -Original Message-
  From: Brad Hafichuk [mailto:[EMAIL PROTECTED]
  Sent: Thursday, May 13, 2004 4:22 PM
  To: [EMAIL PROTECTED]
  Subject: mod_jk.so for Fedora Core 1 x86_64
 
  I've been trying to find a mod_jk.so binary to connect Apache 2.0.48 to
  Tomcat 4.1.29 on my AMD64 server, which is running Fedora Core 1 x86_64.
  I've noticed that FreeBSD has a 64 bit version, any idea if someone is
  working on one for Fedora?
 
  Cheers,
  Brad
 


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Is there log files for mod_jk2.so like mod_jk.so

2004-04-06 Thread Randy Paries
Hello,

I have gotten mod_jk2.so working with my apache2 and tomcat 4

With the mod_jk I had some directives in my httpd.conf
JkLogFile /usr2/wwwlogs/mod_jk_4.log
JkLogLevelerror


It appears that I need to put directives in my
worker2.properties

For the life of me I can not find anywhere that list the directives for the
worker2.properties

The other question I have is there does not appear to be a setting in the
httpd.conf for the location of the worker2.properties. From what I can tell
the mod_jk2.so looks in the MYAPACHE_DIR/conf directory for this file. Can
this be configured?


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Mod_jk.so on Compaq Tru64

2004-03-18 Thread Sullivan, Patrick
Does any one recognize these?

Built:
 Cannot load /usr/local/stow/apache/lib/mod_jk.so into server: dlopen:
 /usr/local/stow/apache/lib/mod_jk.so: symbol map_alloc unresolved

Binary:
Cannot load /usr/local/stow/apache/lib/mod_jk.so into server: dlopen: 
 /usr/local/stow/apache/lib/mod_jk.so: symbol __builtin_va_start


Thank you,

Patrick Sullivan
Centura Health

-Original Message-
From: Brian Beckman [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 16, 2004 4:39 PM
To: Sullivan, Patrick
Subject: RE: [Lawson_SysAdmin] Mod_jk.so on Compaq Tru64


Patrick,

1 ) Yes, I have alphajava jawt.h   jni.hjvmdi.h  jvmpi.h 
in
$JAVA_HOME/include

2) I do have the classic dir in the LD_LIBRARY_PATH but the file is
actually libjvm.so, not libjvm.a

3) Java -verison gives: 
java version 1.3.1
Java(TM) 2 Runtime Environment, Standard Edition
Fast VM (build 1.3.1-2, native threads, mixed mode, 01/16/2002-13:22)

4) When I echo LD_LIBRARY_PATH, I get:

/lib:/usr/lib:/prod/ccs/lib:/prod/gen/lib/shared:/sfwr01/cobol/lib:/usr/
opt/
java
131/jre/lib/alpha/classic:/usr/opt/java131/jre/lib/alpha

I tried the find command and it did not find anything.

Any other ideas?

Thanks!
Brian

-Original Message-
From: Patrick J. Sullivan [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 15, 2004 4:11 PM
To: [EMAIL PROTECTED]
Subject: RE: [Lawson_SysAdmin] Mod_jk.so on Compaq Tru64

Can you send your envvars file?

Goto $JAVA_HOME/include do you have jni.h and jvmXX.h (XX being place
holder for different flavors.) or just find $JAVA_HOME -name *.h

find the archive:  find $JAVA_HOME -name *vm*.a
on AIX with JDK 1.3.1 it is: /usr/java131/jre/bin/classic/libjvm.a

Is this path in your LIBPATH?

What vendor and version of JDK?

as for map_alloc sounds like /usr/lib or what ever HP uses is not in
your LIBPATH either.

find /usr/lib -exec grep -l map_alloc {} \; I believe it is defined in
/usr/lib/boot/unix which maybe a symbolic link to vendor specific file.

let me know

Brian Beckman wrote:
 
 For now, I'm using Apache 1.3.27, Tomcat 4.0.6, and the connector that
 came with the 4.0.6.
 
 I was able to build a mod_jk using apxs, but when I try to start
 apache, I
 get:
 
 Cannot load /usr/local/stow/apache/lib/mod_jk.so into server: dlopen:
 /usr/local/stow/apache/lib/mod_jk.so: symbol map_alloc unresolved
 /usr/local/bin/apachectl start: httpd could not be started
 
 I found a pre-built mod_jk.so for Tru64 5.1 and when I use that, I get
 the following error:
 
 Syntax error on line 65 of /usr/local/stow/apache/etc/httpd.conf:
 Cannot load /usr/local/stow/apache/lib/mod_jk.so into server: dlopen:
 /usr/local/stow/apache/lib/mod_jk.so: symbol __builtin_va_start
 unresolved
 /usr/local/bin/apachectl start: httpd could not be started
 
 Thanks for your help.
 
 Brian
 
 -Original Message-
 From: Patrick J. Sullivan [mailto:[EMAIL PROTECTED]
 Sent: Monday, March 15, 2004 2:31 PM
 To: [EMAIL PROTECTED]
 Subject: RE: [Lawson_SysAdmin] Mod_jk.so on Compaq Tru64
 
 What error messages are you getting?
 
 Which version Apache?
 Which version Tomcat?
 Which version Connector?
 
 
 With mod_jk I had to play with my share libraries, path and cc 
 options. Let me know
  
 Brian Beckman wrote:
  
  
  Im trying to get Apache/Tomcat to work on Tru64 without much luck.
  Has anyone out there successfully built and loaded the mod_jk.so 
  module on
  Tru64
  5.1?  If so, what c compiler, build command, and system libraries 
  did you use?
   
  Thanks,
  Brian
  
  [Non-text portions of this message have been removed]
  

*
This communication is for the use of the intended recipient only.  It may 
contain information that is privileged and confidential.  If you are not the 
intended recipient of this communication, any disclosure, copying, further 
distribution or use thereof is prohibited.  If you have received this 
communication in error, please advise me by return e-mail or by telephone and 
delete/destroy it.
*

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Mod_jk.so on Compaq Tru64

2004-03-18 Thread Sullivan, Patrick
Does any one recognize these?

Built:
 Cannot load /usr/local/stow/apache/lib/mod_jk.so into server: dlopen:
 /usr/local/stow/apache/lib/mod_jk.so: symbol map_alloc unresolved

Binary:
Cannot load /usr/local/stow/apache/lib/mod_jk.so into server: dlopen: 
 /usr/local/stow/apache/lib/mod_jk.so: symbol __builtin_va_start


Thank you,

Patrick Sullivan
Centura Health

-Original Message-
From: Brian Beckman [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 16, 2004 4:39 PM
To: Sullivan, Patrick
Subject: RE: [Lawson_SysAdmin] Mod_jk.so on Compaq Tru64


Patrick,

1 ) Yes, I have alphajava jawt.h   jni.hjvmdi.h  jvmpi.h 
in
$JAVA_HOME/include

2) I do have the classic dir in the LD_LIBRARY_PATH but the file is
actually libjvm.so, not libjvm.a

3) Java -verison gives: 
java version 1.3.1
Java(TM) 2 Runtime Environment, Standard Edition
Fast VM (build 1.3.1-2, native threads, mixed mode, 01/16/2002-13:22)

4) When I echo LD_LIBRARY_PATH, I get:

/lib:/usr/lib:/prod/ccs/lib:/prod/gen/lib/shared:/sfwr01/cobol/lib:/usr/
opt/
java
131/jre/lib/alpha/classic:/usr/opt/java131/jre/lib/alpha

I tried the find command and it did not find anything.

Any other ideas?

Thanks!
Brian

-Original Message-
From: Patrick J. Sullivan [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 15, 2004 4:11 PM
To: [EMAIL PROTECTED]
Subject: RE: [Lawson_SysAdmin] Mod_jk.so on Compaq Tru64

Can you send your envvars file?

Goto $JAVA_HOME/include do you have jni.h and jvmXX.h (XX being place
holder for different flavors.) or just find $JAVA_HOME -name *.h

find the archive:  find $JAVA_HOME -name *vm*.a
on AIX with JDK 1.3.1 it is: /usr/java131/jre/bin/classic/libjvm.a

Is this path in your LIBPATH?

What vendor and version of JDK?

as for map_alloc sounds like /usr/lib or what ever HP uses is not in
your LIBPATH either.

find /usr/lib -exec grep -l map_alloc {} \; I believe it is defined in
/usr/lib/boot/unix which maybe a symbolic link to vendor specific file.

let me know

Brian Beckman wrote:
 
 For now, I'm using Apache 1.3.27, Tomcat 4.0.6, and the connector that
 came with the 4.0.6.
 
 I was able to build a mod_jk using apxs, but when I try to start
 apache, I
 get:
 
 Cannot load /usr/local/stow/apache/lib/mod_jk.so into server: dlopen:
 /usr/local/stow/apache/lib/mod_jk.so: symbol map_alloc unresolved
 /usr/local/bin/apachectl start: httpd could not be started
 
 I found a pre-built mod_jk.so for Tru64 5.1 and when I use that, I get
 the following error:
 
 Syntax error on line 65 of /usr/local/stow/apache/etc/httpd.conf:
 Cannot load /usr/local/stow/apache/lib/mod_jk.so into server: dlopen:
 /usr/local/stow/apache/lib/mod_jk.so: symbol __builtin_va_start
 unresolved
 /usr/local/bin/apachectl start: httpd could not be started
 
 Thanks for your help.
 
 Brian
 
 -Original Message-
 From: Patrick J. Sullivan [mailto:[EMAIL PROTECTED]
 Sent: Monday, March 15, 2004 2:31 PM
 To: [EMAIL PROTECTED]
 Subject: RE: [Lawson_SysAdmin] Mod_jk.so on Compaq Tru64
 
 What error messages are you getting?
 
 Which version Apache?
 Which version Tomcat?
 Which version Connector?
 
 
 With mod_jk I had to play with my share libraries, path and cc 
 options. Let me know
  
 Brian Beckman wrote:
  
  
  Im trying to get Apache/Tomcat to work on Tru64 without much luck.
  Has anyone out there successfully built and loaded the mod_jk.so 
  module on
  Tru64
  5.1?  If so, what c compiler, build command, and system libraries 
  did you use?
   
  Thanks,
  Brian
  
  [Non-text portions of this message have been removed]
  

*
This communication is for the use of the intended recipient only.  It may 
contain information that is privileged and confidential.  If you are not the 
intended recipient of this communication, any disclosure, copying, further 
distribution or use thereof is prohibited.  If you have received this 
communication in error, please advise me by return e-mail or by telephone and 
delete/destroy it.
*

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Mod_jk.so on Compaq Tru64

2004-03-18 Thread Adrian Lanning
Never seen that before.

Did a quick grep (grep -R 'map_alloc' *) through the mod_jk source files for
map_alloc and it is found in
jk/native/common/jk_map.h and
jk/native/common/jk_map.c

The error is saying that it can't find the lib to execute the function.
Maybe you didn't build the common lib...?

hth,
Adrian Lanning


- Original Message - 
From: Sullivan, Patrick [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, March 18, 2004 2:05 PM
Subject: Mod_jk.so on Compaq Tru64


Does any one recognize these?

Built:
 Cannot load /usr/local/stow/apache/lib/mod_jk.so into server: dlopen:
 /usr/local/stow/apache/lib/mod_jk.so: symbol map_alloc unresolved

Binary:
Cannot load /usr/local/stow/apache/lib/mod_jk.so into server: dlopen:
 /usr/local/stow/apache/lib/mod_jk.so: symbol __builtin_va_start


Thank you,

Patrick Sullivan
Centura Health

-Original Message-
From: Brian Beckman [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 16, 2004 4:39 PM
To: Sullivan, Patrick
Subject: RE: [Lawson_SysAdmin] Mod_jk.so on Compaq Tru64


Patrick,

1 ) Yes, I have alphajava jawt.h   jni.hjvmdi.h  jvmpi.h 
in
$JAVA_HOME/include

2) I do have the classic dir in the LD_LIBRARY_PATH but the file is
actually libjvm.so, not libjvm.a

3) Java -verison gives:
java version 1.3.1
Java(TM) 2 Runtime Environment, Standard Edition
Fast VM (build 1.3.1-2, native threads, mixed mode, 01/16/2002-13:22)

4) When I echo LD_LIBRARY_PATH, I get:

/lib:/usr/lib:/prod/ccs/lib:/prod/gen/lib/shared:/sfwr01/cobol/lib:/usr/
opt/
java
131/jre/lib/alpha/classic:/usr/opt/java131/jre/lib/alpha

I tried the find command and it did not find anything.

Any other ideas?

Thanks!
Brian

-Original Message-
From: Patrick J. Sullivan [mailto:[EMAIL PROTECTED]
Sent: Monday, March 15, 2004 4:11 PM
To: [EMAIL PROTECTED]
Subject: RE: [Lawson_SysAdmin] Mod_jk.so on Compaq Tru64

Can you send your envvars file?

Goto $JAVA_HOME/include do you have jni.h and jvmXX.h (XX being place
holder for different flavors.) or just find $JAVA_HOME -name *.h

find the archive:  find $JAVA_HOME -name *vm*.a
on AIX with JDK 1.3.1 it is: /usr/java131/jre/bin/classic/libjvm.a

Is this path in your LIBPATH?

What vendor and version of JDK?

as for map_alloc sounds like /usr/lib or what ever HP uses is not in
your LIBPATH either.

find /usr/lib -exec grep -l map_alloc {} \; I believe it is defined in
/usr/lib/boot/unix which maybe a symbolic link to vendor specific file.

let me know

Brian Beckman wrote:

 For now, I'm using Apache 1.3.27, Tomcat 4.0.6, and the connector that
 came with the 4.0.6.

 I was able to build a mod_jk using apxs, but when I try to start
 apache, I
 get:

 Cannot load /usr/local/stow/apache/lib/mod_jk.so into server: dlopen:
 /usr/local/stow/apache/lib/mod_jk.so: symbol map_alloc unresolved
 /usr/local/bin/apachectl start: httpd could not be started

 I found a pre-built mod_jk.so for Tru64 5.1 and when I use that, I get
 the following error:

 Syntax error on line 65 of /usr/local/stow/apache/etc/httpd.conf:
 Cannot load /usr/local/stow/apache/lib/mod_jk.so into server: dlopen:
 /usr/local/stow/apache/lib/mod_jk.so: symbol __builtin_va_start
 unresolved
 /usr/local/bin/apachectl start: httpd could not be started

 Thanks for your help.

 Brian

 -Original Message-
 From: Patrick J. Sullivan [mailto:[EMAIL PROTECTED]
 Sent: Monday, March 15, 2004 2:31 PM
 To: [EMAIL PROTECTED]
 Subject: RE: [Lawson_SysAdmin] Mod_jk.so on Compaq Tru64

 What error messages are you getting?

 Which version Apache?
 Which version Tomcat?
 Which version Connector?


 With mod_jk I had to play with my share libraries, path and cc
 options. Let me know

 Brian Beckman wrote:
 
 
  Im trying to get Apache/Tomcat to work on Tru64 without much luck.
  Has anyone out there successfully built and loaded the mod_jk.so
  module on
  Tru64
  5.1?  If so, what c compiler, build command, and system libraries
  did you use?
 
  Thanks,
  Brian
 
  [Non-text portions of this message have been removed]
 


*
This communication is for the use of the intended recipient only.  It may
contain information that is privileged and confidential.  If you are not the
intended recipient of this communication, any disclosure, copying, further
distribution or use thereof is prohibited.  If you have received this
communication in error, please advise me by return e-mail or by telephone
and
delete/destroy it.

*

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How do I build mod_jk.so

2004-01-29 Thread OUTTERS Guillaume
Thomas Cherry wrote:

I was expecting to have a mod_jk.so file (which made me question why ant was 
the build tool) but have not found it.
I had this same problem on Solaris. I finally found that it couldn't 
generate a mod_jk2.so (dynamic library), only a static one (mod_jk2.a) 
because Apache didn't provide it dynamic libraries 
($HTTPD_DIR/lib/libapr-0.so and $HTTPD_DIR/lib/libaprutil-0.so). I had 
only their static version, so mod_jk2 detected that and created 
everything in static.

I recompiled Apache with a bunch of options (join lines as necessary):
export HTTPD_DIR=/usr/local/httpd-2.0.48
./configure --prefix=$HTTPD_DIR --enable-module=most 
--enable-shared=most --without-gdbm --without-berkeley-db 
--with-mpm=worker --with-pcre --enable-so --enable-rule=SHARED_CORE 
--enable-static=no --enable-shared=yes
make
, most of which must be unuseful but well it worked.

I've heard that another static-compiled library on Linux could have this 
effect (but I don't remember which one, wondering if it is not PCRE), 
and that disabling it was the right solution.

--
Guillaume Outters
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: How do I build mod_jk.so

2004-01-29 Thread pavan . k

while building apache use ./configure
--enable-so option to make apache accept
shared libraries..

u can also make change to httpd.conf
file(i suppose,not sure) where u have a entry
for like Shared library=no..make that
to yes..and then make mod_jk.so

 Pavan Kumar
Tata Consultancy Services
Mailto: [EMAIL PROTECTED]
Website: http://www.tcs.comDISCLAIMER: The information contained in this message is intended only and solely for 
the addressed individual or entity indicated in this message and for the exclusive use 
of the said addressed individual or entity indicated in this message (or responsible 
for delivery
of the message to such person) and may contain legally privileged and confidential 
information belonging to Tata Consultancy Services. It must not be printed, read, 
copied, disclosed, forwarded, distributed or used (in whatsoever manner) by any person 
other than the addressee. 
Unauthorized use, disclosure or copying is strictly prohibited and may constitute 
unlawful act and can possibly attract legal action, civil and/or criminal. The 
contents of this message need not necessarily reflect or endorse the views of Tata 
Consultancy Services on any subject matter.
Any action taken or omitted to be taken based on this message is entirely at your risk 
and neither the originator of this message nor Tata Consultancy Services takes any 
responsibility or liability towards the same. Opinions, conclusions and any other 
information contained in this message
that do not relate to the official business of Tata Consultancy Services shall be 
understood as neither given nor endorsed by Tata Consultancy Services or any affiliate 
of Tata Consultancy Services. If you have received this message in error, you should 
destroy this message and may please notify the sender by e-mail. Thank you.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: How do I build mod_jk.so

2004-01-29 Thread Joost Veldkamp
I have a similar problem on Debian 3.0/stable.
When i compile it, the .so file is not generated with no errors, the
only error i can find is when I try to compile it with apxs manualy.

Warning!  dlname not found in /usr/local/apache2/modules/mod_jk2.la.

compile options:
./configure \
--with-java-home=/usr/local/java \
--with-jni \
--with-tomcat41=/usr/local/tomcat \
--with-apxs2=/usr/local/apache2/bin/apxs \
--with-apr-include=/usr/local/apr/include/apr-0


However, if use the same setup on a Debian unstable system, everything
compiles fine. I can't copy the binaries to the stable system because it
uses a different libc.

Does anyone know how i can locate the source of this problem?

--
J

On Thu, 2004-01-29 at 09:54, OUTTERS Guillaume wrote:
 Thomas Cherry wrote:
 
  I was expecting to have a mod_jk.so file (which made me question why ant was 
  the build tool) but have not found it.
 
 I had this same problem on Solaris. I finally found that it couldn't 
 generate a mod_jk2.so (dynamic library), only a static one (mod_jk2.a) 
 because Apache didn't provide it dynamic libraries 
 ($HTTPD_DIR/lib/libapr-0.so and $HTTPD_DIR/lib/libaprutil-0.so). I had 
 only their static version, so mod_jk2 detected that and created 
 everything in static.
 
 I recompiled Apache with a bunch of options (join lines as necessary):
 export HTTPD_DIR=/usr/local/httpd-2.0.48
 ./configure --prefix=$HTTPD_DIR --enable-module=most 
 --enable-shared=most --without-gdbm --without-berkeley-db 
 --with-mpm=worker --with-pcre --enable-so --enable-rule=SHARED_CORE 
 --enable-static=no --enable-shared=yes
 make
 , most of which must be unuseful but well it worked.
 
 I've heard that another static-compiled library on Linux could have this 
 effect (but I don't remember which one, wondering if it is not PCRE), 
 and that disabling it was the right solution.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How do I build mod_jk.so

2004-01-29 Thread pavan . k

sorry the correct place to make the
change is in the apache/build/libtool file...
u have an entry there 
# Whether or not to build shared libraries.
build_libtool_libs=yes

this option is no,though i had build
my apache with --enable -so option earlier..

i changed this to yes and then did the
./configure for mod_jk..

it creates the .so then..

hope this helps...











while building apache use ./configure --enable-so option to make apache
accept 
shared libraries.. 

u can also make change to httpd.conf file(i suppose,not sure) where u have
a entry 
for like Shared library=no..make that to yes..and then make mod_jk.so




Pavan Kumar
Tata Consultancy Services
DISCLAIMER: The information contained in this message is intended only and solely for 
the addressed individual or entity indicated in this message and for the exclusive use 
of the said addressed individual or entity indicated in this message (or responsible 
for delivery
of the message to such person) and may contain legally privileged and confidential 
information belonging to Tata Consultancy Services. It must not be printed, read, 
copied, disclosed, forwarded, distributed or used (in whatsoever manner) by any person 
other than the addressee. 
Unauthorized use, disclosure or copying is strictly prohibited and may constitute 
unlawful act and can possibly attract legal action, civil and/or criminal. The 
contents of this message need not necessarily reflect or endorse the views of Tata 
Consultancy Services on any subject matter.
Any action taken or omitted to be taken based on this message is entirely at your risk 
and neither the originator of this message nor Tata Consultancy Services takes any 
responsibility or liability towards the same. Opinions, conclusions and any other 
information contained in this message
that do not relate to the official business of Tata Consultancy Services shall be 
understood as neither given nor endorsed by Tata Consultancy Services or any affiliate 
of Tata Consultancy Services. If you have received this message in error, you should 
destroy this message and may please notify the sender by e-mail. Thank you.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: How do I build mod_jk.so

2004-01-29 Thread pavan . k

change the option
# Whether or not to build shared libraries.
build_libtool_libs=no 
in apache/build/libtool
to 
# Whether or not to build shared libraries.
build_libtool_libs=yes

this worked for me...


Pavan Kumar
Tata Consultancy Services
Mailto: [EMAIL PROTECTED]
Website: http://www.tcs.comDISCLAIMER: The information contained in this message is intended only and solely for 
the addressed individual or entity indicated in this message and for the exclusive use 
of the said addressed individual or entity indicated in this message (or responsible 
for delivery
of the message to such person) and may contain legally privileged and confidential 
information belonging to Tata Consultancy Services. It must not be printed, read, 
copied, disclosed, forwarded, distributed or used (in whatsoever manner) by any person 
other than the addressee. 
Unauthorized use, disclosure or copying is strictly prohibited and may constitute 
unlawful act and can possibly attract legal action, civil and/or criminal. The 
contents of this message need not necessarily reflect or endorse the views of Tata 
Consultancy Services on any subject matter.
Any action taken or omitted to be taken based on this message is entirely at your risk 
and neither the originator of this message nor Tata Consultancy Services takes any 
responsibility or liability towards the same. Opinions, conclusions and any other 
information contained in this message
that do not relate to the official business of Tata Consultancy Services shall be 
understood as neither given nor endorsed by Tata Consultancy Services or any affiliate 
of Tata Consultancy Services. If you have received this message in error, you should 
destroy this message and may please notify the sender by e-mail. Thank you.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: How do I build mod_jk.so

2004-01-29 Thread Joost Veldkamp
Ok, good news, i copied the libtool(v 1.5) from the jk/native2 over the
apache version(1.4.3), did a new clean make, and the .so was generated.

--
Joost

On Thu, 2004-01-29 at 10:54, [EMAIL PROTECTED] wrote:
 change the option
 # Whether or not to build shared libraries.
 build_libtool_libs=no 
 in apache/build/libtool
 to 
 # Whether or not to build shared libraries.
 build_libtool_libs=yes
 
 this worked for me...
 
 
 Pavan Kumar
 Tata Consultancy Services
 Mailto: [EMAIL PROTECTED]
 Website: http://www.tcs.com
 
 __
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How do I build mod_jk.so

2004-01-29 Thread Thomas Cherry
Why do I care if the lib is static or not?  Recompiling Apache sounds 
like a lot of work just because I want to compile mod_jk, and to be 
honest, this does not really seam to answer my questions.  Why would I 
even bother with the ant build and not just compile what is in the 
native2 directory?

--
Fear is the path to the Dark Side.  Fear leads to anger, anger leads to 
hate, hate leads to suffering-- Yoda, Jedi Master

On Jan 29, 2004, at 3:54 AM, OUTTERS Guillaume wrote:

Thomas Cherry wrote:

I was expecting to have a mod_jk.so file (which made me question why 
ant was the build tool) but have not found it.
I had this same problem on Solaris. I finally found that it couldn't 
generate a mod_jk2.so (dynamic library), only a static one (mod_jk2.a) 
because Apache didn't provide it dynamic libraries 
($HTTPD_DIR/lib/libapr-0.so and $HTTPD_DIR/lib/libaprutil-0.so). I had 
only their static version, so mod_jk2 detected that and created 
everything in static.

I recompiled Apache with a bunch of options (join lines as necessary):
export HTTPD_DIR=/usr/local/httpd-2.0.48
./configure --prefix=$HTTPD_DIR --enable-module=most 
--enable-shared=most --without-gdbm --without-berkeley-db 
--with-mpm=worker --with-pcre --enable-so --enable-rule=SHARED_CORE 
--enable-static=no --enable-shared=yes
make
, most of which must be unuseful but well it worked.

I've heard that another static-compiled library on Linux could have 
this effect (but I don't remember which one, wondering if it is not 
PCRE), and that disabling it was the right solution.

--
Guillaume Outters
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


smime.p7s
Description: S/MIME cryptographic signature


Re: How do I build mod_jk.so

2004-01-29 Thread Thomas Cherry
How can I tell if apache is already compiled with this option?

--
It is pointless to resist. - Darth Vader, Sith Lord
On Jan 29, 2004, at 4:10 AM, [EMAIL PROTECTED] wrote:

while building apache use ./configure --enable-so option to make  
apache accept
shared libraries..

u can also make change to httpd.conf file(i suppose,not sure) where u  
have a entry
for like Shared library=no..make that to yes..and then make mod_jk.so

Pavan Kumar
Tata Consultancy Services
Mailto: [EMAIL PROTECTED]
Website:  
http:// 
www.tcs.comInterScan_Disclaimer.txt-- 
---
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: How do I build mod_jk.so

2004-01-29 Thread Thomas Cherry
When I try this on my system, I get the following error:

could not find /usr/sbin/apxs
configure: error: You must specify a valid --with-apxs path
but this script does exist.  I know it exists, because I had to fix it 
(was pointing to a bad path).

--
It is pointless to resist. - Darth Vader, Sith Lord
On Jan 29, 2004, at 4:28 AM, Joost Veldkamp wrote:
I have a similar problem on Debian 3.0/stable.
When i compile it, the .so file is not generated with no errors, the
only error i can find is when I try to compile it with apxs manualy.
Warning!  dlname not found in /usr/local/apache2/modules/mod_jk2.la.

compile options:
./configure \
--with-java-home=/usr/local/java \
--with-jni \
--with-tomcat41=/usr/local/tomcat \
--with-apxs2=/usr/local/apache2/bin/apxs \
--with-apr-include=/usr/local/apr/include/apr-0
However, if use the same setup on a Debian unstable system, everything
compiles fine. I can't copy the binaries to the stable system because 
it
uses a different libc.

Does anyone know how i can locate the source of this problem?

--
J
On Thu, 2004-01-29 at 09:54, OUTTERS Guillaume wrote:
Thomas Cherry wrote:

I was expecting to have a mod_jk.so file (which made me question why 
ant was
the build tool) but have not found it.
I had this same problem on Solaris. I finally found that it couldn't
generate a mod_jk2.so (dynamic library), only a static one (mod_jk2.a)
because Apache didn't provide it dynamic libraries
($HTTPD_DIR/lib/libapr-0.so and $HTTPD_DIR/lib/libaprutil-0.so). I had
only their static version, so mod_jk2 detected that and created
everything in static.
I recompiled Apache with a bunch of options (join lines as necessary):
export HTTPD_DIR=/usr/local/httpd-2.0.48
./configure --prefix=$HTTPD_DIR --enable-module=most
--enable-shared=most --without-gdbm --without-berkeley-db
--with-mpm=worker --with-pcre --enable-so --enable-rule=SHARED_CORE
--enable-static=no --enable-shared=yes
make
, most of which must be unuseful but well it worked.
I've heard that another static-compiled library on Linux could have 
this
effect (but I don't remember which one, wondering if it is not PCRE),
and that disabling it was the right solution.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: How do I build mod_jk.so

2004-01-29 Thread Thomas Cherry
Is in not possible to use mod_jk.so files compiled by other people?  I 
just want to know why it's so hard to find a binary.

--
Don't underestimate the Force. - Darth Vader, Sith Lord.
On Jan 29, 2004, at 6:05 AM, Joost Veldkamp wrote:
Ok, good news, i copied the libtool(v 1.5) from the jk/native2 over the
apache version(1.4.3), did a new clean make, and the .so was generated.
--
Joost
On Thu, 2004-01-29 at 10:54, [EMAIL PROTECTED] wrote:
change the option
# Whether or not to build shared libraries.
build_libtool_libs=no
in apache/build/libtool
to
# Whether or not to build shared libraries.
build_libtool_libs=yes
this worked for me...

Pavan Kumar
Tata Consultancy Services
Mailto: [EMAIL PROTECTED]
Website: http://www.tcs.com
__
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: How do I build mod_jk.so

2004-01-29 Thread Dima Gutzeit
What is your OS and Apache versions ? 


- Original Message - 
From: Thomas Cherry [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Thursday, January 29, 2004 2:10 PM
Subject: Re: How do I build mod_jk.so


 Is in not possible to use mod_jk.so files compiled by other people?  I 
 just want to know why it's so hard to find a binary.
 
 --
 Don't underestimate the Force. - Darth Vader, Sith Lord.
 On Jan 29, 2004, at 6:05 AM, Joost Veldkamp wrote:
 
  Ok, good news, i copied the libtool(v 1.5) from the jk/native2 over the
  apache version(1.4.3), did a new clean make, and the .so was generated.
 
  --
  Joost
 
  On Thu, 2004-01-29 at 10:54, [EMAIL PROTECTED] wrote:
  change the option
  # Whether or not to build shared libraries.
  build_libtool_libs=no
  in apache/build/libtool
  to
  # Whether or not to build shared libraries.
  build_libtool_libs=yes
 
  this worked for me...
 
 
  Pavan Kumar
  Tata Consultancy Services
  Mailto: [EMAIL PROTECTED]
  Website: http://www.tcs.com
 
  __
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How do I build mod_jk.so

2004-01-29 Thread Thomas Cherry
Intel (i686)
Mandake 9.0 (which is probable the src of my problems (I wish I choice  
Debian or BSD))

# httpd -v
Server version: Apache-AdvancedExtranetServer/1.3.26 (Mandrake  
Linux/6mdk)
Server built:   Sep  6 2002 19:52:32

--
Fear is the path to the Dark Side.  Fear leads to anger, anger leads to  
hate, hate leads to suffering-- Yoda, Jedi Master

On Jan 29, 2004, at 7:18 AM, Dima Gutzeit wrote:

What is your OS and Apache versions ?

- Original Message -
From: Thomas Cherry [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Thursday, January 29, 2004 2:10 PM
Subject: Re: How do I build mod_jk.so

Is in not possible to use mod_jk.so files compiled by other people?  I
just want to know why it's so hard to find a binary.
--
Don't underestimate the Force. - Darth Vader, Sith Lord.
On Jan 29, 2004, at 6:05 AM, Joost Veldkamp wrote:
Ok, good news, i copied the libtool(v 1.5) from the jk/native2 over  
the
apache version(1.4.3), did a new clean make, and the .so was  
generated.

--
Joost
On Thu, 2004-01-29 at 10:54, [EMAIL PROTECTED] wrote:
change the option
# Whether or not to build shared libraries.
build_libtool_libs=no
in apache/build/libtool
to
# Whether or not to build shared libraries.
build_libtool_libs=yes
this worked for me...

Pavan Kumar
Tata Consultancy Services
Mailto: [EMAIL PROTECTED]
Website: http://www.tcs.com
 
__
 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: How do I build mod_jk.so

2004-01-29 Thread OUTTERS Guillaume
Thomas Cherry wrote:

but this script does exist.  I know it exists, because I had to fix it 
(was pointing to a bad path).
Do all the intermediate links have executable bit set (the configure 
script tests it)?

 Why do I care if the lib is static or not?  Recompiling Apache sounds 
 like a lot of work just because I want to compile mod_jk.

mod_jk2 has to link with Apache libraries to be able to access its 
internals. If the only libs it finds are static (in fact, if just one of 
all libs is), it cannot create a dynamic lib, only a static one. But an 
Apache module has to be a dynamic library. So if you don't have 
$HTTPD_DIR/lib/libapr-0.so and $HTTPD_DIR/lib/libaprutil-0.so, only the 
static ones, the compilation won't give the expected result.

If, after compiling mod_jk2, you find a mod_jk2.a but no mod_jk2.so, 
that's certainly what happened.

--
Guillaume Outters


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: How do I build mod_jk.so

2004-01-29 Thread Tom Cherry
My system came with apache installed, so I don't think I have an apache 
directory, but I do have /etc/httpd/lib which points to /usr/lib. This 
directory does not have the files you indicated.

Why would anyone have static libraries if they are so limiting?  What 
advantage do they have, Faster loads?  If I don't have these lib files, 
is my only option to remove apache and recompile it?

--
End of line
On Jan 29, 2004, at 8:32 AM, OUTTERS Guillaume wrote:

Thomas Cherry wrote:

but this script does exist.  I know it exists, because I had to fix 
it (was pointing to a bad path).
Do all the intermediate links have executable bit set (the 
configure script tests it)?

 Why do I care if the lib is static or not?  Recompiling Apache 
sounds  like a lot of work just because I want to compile mod_jk.

mod_jk2 has to link with Apache libraries to be able to access its 
internals. If the only libs it finds are static (in fact, if just one 
of all libs is), it cannot create a dynamic lib, only a static one. 
But an Apache module has to be a dynamic library. So if you don't have 
$HTTPD_DIR/lib/libapr-0.so and $HTTPD_DIR/lib/libaprutil-0.so, only 
the static ones, the compilation won't give the expected result.

If, after compiling mod_jk2, you find a mod_jk2.a but no mod_jk2.so, 
that's certainly what happened.

--
Guillaume Outters


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


smime.p7s
Description: S/MIME cryptographic signature


Re: How do I build mod_jk.so

2004-01-29 Thread pavan . k

check the apache/build/libtool to find
a entry abt shared libraries

Kakaraparthi Venkata Pavan Kumar
Tata Consultancy Services
Mailto: [EMAIL PROTECTED]
Website: http://www.tcs.com





Thomas Cherry [EMAIL PROTECTED]

01/29/2004 07:01 AM




Please respond to
Tomcat Users List [EMAIL PROTECTED]





To
Tomcat Users List [EMAIL PROTECTED]


cc



Subject
Re: How do I build mod_jk.so








How can I tell if apache is already compiled with
this option?

--
It is pointless to resist. - Darth Vader, Sith Lord

On Jan 29, 2004, at 4:10 AM, [EMAIL PROTECTED] wrote:


 while building apache use ./configure --enable-so option to make 
 apache accept
 shared libraries..

 u can also make change to httpd.conf file(i suppose,not sure) where
u 
 have a entry
 for like Shared library=no..make that to yes..and then make mod_jk.so

 Pavan Kumar
 Tata Consultancy Services
 Mailto: [EMAIL PROTECTED]
 Website: 
 http:// 
 www.tcs.comInterScan_Disclaimer.txt--

 ---
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


ForwardSourceID:NT2F76
 
DISCLAIMER: The information contained in this message is intended only and solely for 
the addressed individual or entity indicated in this message and for the exclusive use 
of the said addressed individual or entity indicated in this message (or responsible 
for delivery
of the message to such person) and may contain legally privileged and confidential 
information belonging to Tata Consultancy Services. It must not be printed, read, 
copied, disclosed, forwarded, distributed or used (in whatsoever manner) by any person 
other than the addressee. 
Unauthorized use, disclosure or copying is strictly prohibited and may constitute 
unlawful act and can possibly attract legal action, civil and/or criminal. The 
contents of this message need not necessarily reflect or endorse the views of Tata 
Consultancy Services on any subject matter.
Any action taken or omitted to be taken based on this message is entirely at your risk 
and neither the originator of this message nor Tata Consultancy Services takes any 
responsibility or liability towards the same. Opinions, conclusions and any other 
information contained in this message
that do not relate to the official business of Tata Consultancy Services shall be 
understood as neither given nor endorsed by Tata Consultancy Services or any affiliate 
of Tata Consultancy Services. If you have received this message in error, you should 
destroy this message and may please notify the sender by e-mail. Thank you.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

How do I build mod_jk.so

2004-01-28 Thread Thomas Cherry
OK, first of all I tried to download mod_jk for linux and I could not 
find it.  Maybe it exists, but I have always found Apache's download 
page to be lacking.  So I downloaded the source code (jk2).  I did what 
the README file said but found it to be wrong so I did what I could to 
get ant to compile the project but now I don't know what to do.  I was 
expecting to have a mod_jk.so file (which made me question why ant was 
the build tool) but have not found it.  Could someone tell me what I 
have done wrong.  All I want to do is connect Apache and Tomcat and at 
ever step of the process I hit a road block.  All documentation on the 
subject seems to be missing key information like how to actually build 
a connector) and I am starting to believe that the Tomcat project is is 
serious disarray.  I hope I can be proved wrong.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: How do I build mod_jk.so

2004-01-28 Thread Lukas Larsson
Hello,

To build the connector go into the directory jk/native2/ then do
./buildconf.sh (or something like that, can't recall the exact name), then
do

./configure --with-apxs2=/apache2/bin/apxs // or wherever you have the apxs
file
make
make install

and you should get the mod_jk2.so file

Hope that help


./Lukas
- Original Message - 
From: Thomas Cherry [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, January 29, 2004 3:04 AM
Subject: How do I build mod_jk.so


 OK, first of all I tried to download mod_jk for linux and I could not
 find it.  Maybe it exists, but I have always found Apache's download
 page to be lacking.  So I downloaded the source code (jk2).  I did what
 the README file said but found it to be wrong so I did what I could to
 get ant to compile the project but now I don't know what to do.  I was
 expecting to have a mod_jk.so file (which made me question why ant was
 the build tool) but have not found it.  Could someone tell me what I
 have done wrong.  All I want to do is connect Apache and Tomcat and at
 ever step of the process I hit a road block.  All documentation on the
 subject seems to be missing key information like how to actually build
 a connector) and I am starting to believe that the Tomcat project is is
 serious disarray.  I hope I can be proved wrong.


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How do I build mod_jk.so

2004-01-28 Thread pavan . k

howdy,

u can visit http://johnturner.com..
thats a good place to look for problem
solutionsof mod_jk..
it also has some builds for linux..


thx
Pavan Kumar
Tata Consultancy Services
Mailto: [EMAIL PROTECTED]
Website: http://www.tcs.com





Lukas Larsson
[EMAIL PROTECTED] 
01/29/2004 01:26 AM




Please respond to
Tomcat Users List [EMAIL PROTECTED]





To
Tomcat Users List
[EMAIL PROTECTED]


cc



Subject
Re: How do I build mod_jk.so








Hello,

To build the connector go into the directory jk/native2/ then do
./buildconf.sh (or something like that, can't recall the exact name), then
do

./configure --with-apxs2=/apache2/bin/apxs // or wherever you have the
apxs
file
make
make install

and you should get the mod_jk2.so file

Hope that help


./Lukas
- Original Message - 
From: Thomas Cherry [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, January 29, 2004 3:04 AM
Subject: How do I build mod_jk.so


 OK, first of all I tried to download mod_jk for linux and I could
not
 find it. Maybe it exists, but I have always found Apache's download
 page to be lacking. So I downloaded the source code (jk2). I
did what
 the README file said but found it to be wrong so I did what I could
to
 get ant to compile the project but now I don't know what to do. I
was
 expecting to have a mod_jk.so file (which made me question why ant
was
 the build tool) but have not found it. Could someone tell me
what I
 have done wrong. All I want to do is connect Apache and Tomcat
and at
 ever step of the process I hit a road block. All documentation
on the
 subject seems to be missing key information like how to actually
build
 a connector) and I am starting to believe that the Tomcat project
is is
 serious disarray. I hope I can be proved wrong.


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


ForwardSourceID:NT2DA2
 
DISCLAIMER: The information contained in this message is intended only and solely for 
the addressed individual or entity indicated in this message and for the exclusive use 
of the said addressed individual or entity indicated in this message (or responsible 
for delivery
of the message to such person) and may contain legally privileged and confidential 
information belonging to Tata Consultancy Services. It must not be printed, read, 
copied, disclosed, forwarded, distributed or used (in whatsoever manner) by any person 
other than the addressee. 
Unauthorized use, disclosure or copying is strictly prohibited and may constitute 
unlawful act and can possibly attract legal action, civil and/or criminal. The 
contents of this message need not necessarily reflect or endorse the views of Tata 
Consultancy Services on any subject matter.
Any action taken or omitted to be taken based on this message is entirely at your risk 
and neither the originator of this message nor Tata Consultancy Services takes any 
responsibility or liability towards the same. Opinions, conclusions and any other 
information contained in this message
that do not relate to the official business of Tata Consultancy Services shall be 
understood as neither given nor endorsed by Tata Consultancy Services or any affiliate 
of Tata Consultancy Services. If you have received this message in error, you should 
destroy this message and may please notify the sender by e-mail. Thank you.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

mod_jk.so not building :(

2003-10-16 Thread James Snelling
Okay - I'm on a MAC OSX machine and I've got apache and tomcat-5.0.12
both installed and working standalone.

Apache was from source, tomcat from a binary.

I'm now trying to build the mod_jk.so so that apache can speak to
tomcat.
I've been following the instructions at
http://www.geektimes.com/macintosh/os/x/10_0/and/tomcat_install.html
But using the latest versions of software - (with the exception of
dlcompat)

Anyone got any ideas? 

Is a Mac OSX binary version of mod_webapp that I can use to do the same
job? (this is mentioned for version tomcat-4.0.1 in a
developer.apple.com article at
http://developer.apple.com/internet/java/tomcat1.html )

Anyway - here's what is happening:

** FIRST I CHECK THE JAVA_HOME AND OTHER VARIABLES  **
% env
JAVA_HOME=/Library/Java/Home
CC=cc
CPPFLAGS=-traditional-cpp

** THEN I GET THE DL-COMPAT STUFF FROM SOURCEFORGE **
% wget http://download.sourceforge.net/fink/dlcompat-20010123.tar.gz

** UNZIP AND UNTAR **
% gnutar zxf dlcompat-20010123.tar.gz

** SET A ENV TO MAKE LIFE EASY **
% setenv MOD_JK_DIR
jakarta-tomcat-5.0.12-src/src/jakarta-tomcat-connectors/jk/native/apache
-1.3/

** CHUCK THE REQUIRED FILES TO THE RIGHT PLACE **
% cp dlcompat-20010123/{dlfcn.h,dlopen.c} $MOD_JK_DIR

** CHANGE TO THE CORRECT DIRECTORY **
% cd $MOD_JK_DIR

** COMPILE THE MODULE **
% apxs -o mod_jk.so -I. -I$JAVA_HOME/Headers -I../jk -DFREEBSD -c *.c
../jk/*.c
cc -DDARWIN -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite
-DSHARED_MODULE -I/usr/include/httpd -I. -I/Library/Java/Home/Headers
-I../jk -DFREEBSD  -c dlopen.c
dlopen.c:84: return type is an incomplete type
dlopen.c: In function `NSMakePrivateModulePublic':
dlopen.c:95: warning: `return' with a value, in function returning void
dlopen.c:97: invalid use of undefined type `enum bool'
dlopen.c:97: warning: `return' with a value, in function returning void
dlopen.c: In function `dlopen':
dlopen.c:255: void value not ignored as it ought to be
dlopen.c:337: void value not ignored as it ought to be
apxs:Break: Command failed with rc=1

BUMMER


James Snelling

[EMAIL PROTECTED]

---

The views expressed here are not those of the Students' Association nor can they be 
assumed to be those of the writer. No liability is accepted for the accuracy or the 
veracity of the contents. You are held to accept this and any use to which you put any 
contents of this communication are entirely your responsibility. 

DISCLAIMER: This e-mail is intended solely for the above-mentioned recipient and it 
may contain confidential or privileged information. If you have received it in error, 
please notify us immediately and delete the e-mail. You must not copy, distribute, 
disclose or take any action in reliance on it. This e-mail message and any attached 
files have been scanned for the presence of computer viruses, however, you are advised 
that you open any attachments at your own risk.

Nothing in this email shall be construed as constituting an order for goods or services

www.upsa.org.uk

 





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: mod_jk.so not building :(

2003-10-16 Thread Giuliano Gavazzi
excuseme, but why did I announce the HOWTO (and binaries) of both 
mod_jk and mod_jk2?

Your link is old, although not even as old as my old howto on mod_jk 
but twice as involved.

Get the real thing: http://www.humph.com/docs/mod_jk.html

Giuliano

At 11:37 +0100 2003/10/16, James Snelling wrote:
Okay - I'm on a MAC OSX machine and I've got apache and tomcat-5.0.12
both installed and working standalone.
Apache was from source, tomcat from a binary.

I'm now trying to build the mod_jk.so so that apache can speak to
tomcat.
I've been following the instructions at
[...]
--
H U M P H
   || |||
 software
Java  C++ Server/Client/Human Interface applications on MacOS - MacOS X
http://www.humph.com/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


deperatly looking for mod_jk.so for Apache/2.0.40 jakarta-tomcat-4.0.4

2003-10-04 Thread Randy Paries
hello,
 
I have spent two days tried t o build the mod_jk.so for Apache/2.0.40
jakarta-tomcat-4.0.4 on redhat 8
 
if  someone has a binary mod_jk.so for  this config , i would REALLY
REALLY appreciate it
 
Thanks


Please help - Unable to create mod_jk.so connector4.1.27 , Apache 2.0.47

2003-09-19 Thread Satya Narayan Dash
Hi All,

I am unable to create mod_jk.so with 
jakarta-tomcat-connectors-4.1.27 and Apache 2.0.47.

In the last few lines it is throwing some errors. But I do not 
what I missed.

My Environment:
---
Red Hat Linux 7.2; JDK - 1.4.0
What I did:
--
1. Installed Apache 2.0.47 and it runs fine.

2. Took the src of jakarta-tomcat-connectors-4.1.27 and followed 
the following steps.

i) $ ./buildconf.sh

libtoolize --force --automake --copy
aclocal
automake -a --foreign -i --copy
automake: configure.in: installing 
`scripts/build/unix/install-sh'
automake: configure.in: installing 
`scripts/build/unix/mkinstalldirs'
automake: configure.in: installing `scripts/build/unix/missing'
autoconf
configure.in:24: AC_PROG_CPP was called before AC_PROG_CC

---

ii) $ ./configure --with-apxs=/home/kernel/satya/instal 
led_apache/bin/apxs

creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for Cygwin environment... no
checking for mingw32 environment... no
checking how to run the C preprocessor... cc -E
checking host system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... 
no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependant libraries... pass_all
checking for object suffix... o
checking for executable suffix... no
checking command to parse /usr/bin/nm -B output... ok
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared 
libraries... yes
checking how to hardcode library paths into programs... 
immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... 
no
checking whether -lc should be explicitly linked in... no
creating libtool
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -g -O2 ) works... yes
checking whether the C compiler (gcc -g -O2 ) is a 
cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for ld used by GCC... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
checking for test... /usr/bin/test
checking for rm... /bin//rm
checking for grep... /bin//grep
checking for echo... /bin//echo
checking for sed... /bin//sed
checking for cp... /bin//cp
checking for mkdir... /bin//mkdir
checking for libtool... /usr/bin/libtool
need to check for Perl first, apxs depends on it...
checking for perl... /usr/bin/perl
building connector for apache-2.0
checking for target platform... unix
no apache given
updating cache ./config.cache
creating ./config.status
creating Makefile
creating apache-1.3/Makefile
creating apache-1.3/Makefile.apxs
creating apache-2.0/Makefile
creating apache-2.0/Makefile.apxs
creating common/Makefile
creating common/list.mk
creating jni/Makefile

---

iii)$ make

Making all in common
make[1]: Entering directory
`/home/kernel/satya/connector/jakarta-tomcat-connectors-4.1.27-src/jk/native/common'
/usr/bin/libtool --mode=compile gcc 
-I/home/kernel/satya/installed_apache//include -g -O2

-g -O2 -pthread -g -O2 -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 
-D_BSD_SOURCE

-D_SVID_SOURCE -D_GNU_SOURCE -I /usr/java/j2sdk1.4.0/bin/:/include 
-I

/usr/java/j2sdk1.4.0/bin/:/include/ -c jk_ajp12_worker.c
mkdir .libs
gcc -I/home/kernel/satya/installed_apache//include -g -O2 -g -O2 
-pthread -g -O2 -DLINUX=2

-D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE 
-D_GNU_SOURCE -I

/usr/java/j2sdk1.4.0/bin/:/include -I 
/usr/java/j2sdk1.4.0/bin/:/include/ -c

Re: Please help - Unable to create mod_jk.so connector4.1.27 , Apache 2.0.47

2003-09-19 Thread Bill Barker
There is an extra ';' on one line, that some compilers don't like.  It's at
or near the line number given, so just edit the file and delete it.

Satya Narayan Dash [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Hi All,

 I am unable to create mod_jk.so with
 jakarta-tomcat-connectors-4.1.27 and Apache 2.0.47.

 In the last few lines it is throwing some errors. But I do not
 what I missed.

 My Environment:
 ---
 Red Hat Linux 7.2; JDK - 1.4.0

 What I did:
 --

 1. Installed Apache 2.0.47 and it runs fine.

 2. Took the src of jakarta-tomcat-connectors-4.1.27 and followed
 the following steps.

 i) $ ./buildconf.sh


 libtoolize --force --automake --copy
 aclocal
 automake -a --foreign -i --copy
 automake: configure.in: installing
 `scripts/build/unix/install-sh'
 automake: configure.in: installing
 `scripts/build/unix/mkinstalldirs'
 automake: configure.in: installing `scripts/build/unix/missing'
 autoconf
 configure.in:24: AC_PROG_CPP was called before AC_PROG_CC

 ---


 ii) $ ./configure --with-apxs=/home/kernel/satya/instal
 led_apache/bin/apxs

 creating cache ./config.cache
 checking for a BSD compatible install... /usr/bin/install -c
 checking whether build environment is sane... yes
 checking whether make sets ${MAKE}... yes
 checking for working aclocal... found
 checking for working autoconf... found
 checking for working automake... found
 checking for working autoheader... found
 checking for working makeinfo... found
 checking for Cygwin environment... no
 checking for mingw32 environment... no
 checking how to run the C preprocessor... cc -E
 checking host system type... i686-pc-linux-gnu
 checking build system type... i686-pc-linux-gnu
 checking for gcc... gcc
 checking whether the C compiler (gcc  ) works... yes
 checking whether the C compiler (gcc  ) is a cross-compiler...
 no
 checking whether we are using GNU C... yes
 checking whether gcc accepts -g... yes
 checking for ld used by GCC... /usr/bin/ld
 checking if the linker (/usr/bin/ld) is GNU ld... yes
 checking for /usr/bin/ld option to reload object files... -r
 checking for BSD-compatible nm... /usr/bin/nm -B
 checking whether ln -s works... yes
 checking how to recognise dependant libraries... pass_all
 checking for object suffix... o
 checking for executable suffix... no
 checking command to parse /usr/bin/nm -B output... ok
 checking for dlfcn.h... yes
 checking for ranlib... ranlib
 checking for strip... strip
 checking for objdir... .libs
 checking for gcc option to produce PIC... -fPIC
 checking if gcc PIC flag -fPIC works... yes
 checking if gcc static flag -static works... yes
 checking if gcc supports -c -o file.o... yes
 checking if gcc supports -c -o file.lo... yes
 checking if gcc supports -fno-rtti -fno-exceptions... yes
 checking whether the linker (/usr/bin/ld) supports shared
 libraries... yes
 checking how to hardcode library paths into programs...
 immediate
 checking whether stripping libraries is possible... yes
 checking dynamic linker characteristics... GNU/Linux ld.so
 checking if libtool supports shared libraries... yes
 checking for dlopen in -ldl... yes
 checking whether a program can dlopen itself... yes
 checking whether a statically linked program can dlopen itself...
 no
 checking whether -lc should be explicitly linked in... no
 creating libtool
 checking for gcc... (cached) gcc
 checking whether the C compiler (gcc -g -O2 ) works... yes
 checking whether the C compiler (gcc -g -O2 ) is a
 cross-compiler... no
 checking whether we are using GNU C... (cached) yes
 checking whether gcc accepts -g... (cached) yes
 checking for ld used by GCC... (cached) /usr/bin/ld
 checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
 checking for test... /usr/bin/test
 checking for rm... /bin//rm
 checking for grep... /bin//grep
 checking for echo... /bin//echo
 checking for sed... /bin//sed
 checking for cp... /bin//cp
 checking for mkdir... /bin//mkdir
 checking for libtool... /usr/bin/libtool
 need to check for Perl first, apxs depends on it...
 checking for perl... /usr/bin/perl
 building connector for apache-2.0
 checking for target platform... unix
 no apache given
 updating cache ./config.cache
 creating ./config.status
 creating Makefile
 creating apache-1.3/Makefile
 creating apache-1.3/Makefile.apxs
 creating apache-2.0/Makefile
 creating apache-2.0/Makefile.apxs
 creating common/Makefile
 creating common/list.mk
 creating jni/Makefile

 ---

 iii)$ make

 Making all in common
 make[1]: Entering directory


`/home/kernel/satya/connector/jakarta-tomcat-connectors-4.1.27-src/jk/native
/common'
 /usr/bin/libtool --mode=compile gcc
 -I/home/kernel/satya/installed_apache//include -g -O2

 -g -O2 -pthread -g -O2 -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500
 -D_BSD_SOURCE

 -D_SVID_SOURCE -D_GNU_SOURCE -I /usr/java/j2sdk1.4.0/bin/:/include

mod_jk.so Solaris 8

2003-09-17 Thread Fernando Espinosa
I have Solaris 8 (Sparc) Apache 3.1.27 Tomcat 4.1.24, and I downloaded
severals mod_jk, some from the jakarta site:
 
 
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v
1.2.0/bin/solaris8/
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1
.2.0/bin/solaris8/. 
 
I thoguth did everything ok, because I did the same but in one linux,
and run perfectly.
 
This the problem:
 
$ ../bin/apachectl configtest
[Thu Sep 11 14:18:05 2003] [warn] module jk_module is already loaded,
skipping Syntax error on line 7 of
/usr/jakarta-tomcat-4.1.24/conf/auto/mod_jk.conf:
Invalid command 'JkWorkersFile', perhaps mis-spelled or defined by a
module not included in the server configuration
 
Any idea???
 
 
Regards...
 


Search MOD_JK.SO for RedHat 7.2, Apache/1.3.23, mod_jk/1.2.4, Apache Tomcat/4.1.27-LE-jdk14

2003-09-09 Thread Daniel Schellöh +++ WWW-Crew
Hello,
can anybody send me the mod_jk for these configuration??
If not, can anybody send me a how to how i can compile mod_jk self?

Many Thanx

Daniel

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Building mod_jk.so

2003-08-01 Thread Johnson, David
Right, I am trying to build mod_jk 1.2.4 on Solaris 9. It seems to build
okay but I get an error when apache tries to start up.

I'll detail the steps I've taken and the error I get.

1. Installed the following GNU packages: make, automake, autoconf, m4,
libtools (they came as Solaris packages, which I have simply run pkgadd
-d on. I haven't set an environment variables for them, not sure if I
should have done?)
2. Set TOMCAT_HOME and CATALINA_HOME to point to my tomcat directory
(which was installed from a binary)
3. Set JAVA_HOME to point to the jdk
4. Unpacked the jakarta-tomcat-connectors-jk-1.2.4-src.tar.
5. Changed into the jk/native directory
6. ./buildconf.sh (no errors)
7. ./configure --with-apxs=/software/web/apache/bin/apxs (no errors)
8. make (no errors)

This leaves me with a mod_jk.so file in the apache-1.3 directory, which
I copy into my APACHE_HOME/libexec directory.

When I try to start apache I get the following error (I've replaced the
full path with APACHE_HOME to make it easier to read):

Syntax error on line 206 of APACHE_HOME/conf/httpd.conf
Cannot load APACHE_HOME/libexec/mod_jk.so into server: ld.so.1:
APACHE_HOME/bin/httpd: fatal: libgcc_s.so.1: open failed: No such file
or directory

Can anyone offer any advice?

Many Thanks
David Johnson


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Building mod_jk.so

2003-08-01 Thread Jørgen Nørgaard
Look like a library is missing, so just a thought: has apache been 
built with gcc so it uses gnu libraries?



Right, I am trying to build mod_jk 1.2.4 on Solaris 9. It seems to build
okay but I get an error when apache tries to start up.
I'll detail the steps I've taken and the error I get.

1. Installed the following GNU packages: make, automake, autoconf, m4,
libtools (they came as Solaris packages, which I have simply run pkgadd
-d on. I haven't set an environment variables for them, not sure if I
should have done?)
2. Set TOMCAT_HOME and CATALINA_HOME to point to my tomcat directory
(which was installed from a binary)
3. Set JAVA_HOME to point to the jdk
4. Unpacked the jakarta-tomcat-connectors-jk-1.2.4-src.tar.
5. Changed into the jk/native directory
6. ./buildconf.sh (no errors)
7. ./configure --with-apxs=/software/web/apache/bin/apxs (no errors)
8. make (no errors)
This leaves me with a mod_jk.so file in the apache-1.3 directory, which
I copy into my APACHE_HOME/libexec directory.
When I try to start apache I get the following error (I've replaced the
full path with APACHE_HOME to make it easier to read):
Syntax error on line 206 of APACHE_HOME/conf/httpd.conf
Cannot load APACHE_HOME/libexec/mod_jk.so into server: ld.so.1:
APACHE_HOME/bin/httpd: fatal: libgcc_s.so.1: open failed: No such file
or directory
Can anyone offer any advice?

--
/jørgen nørgaard
SmartTV A/S
[EMAIL PROTECTED]
Phone: +45 3332 5770
http://smarttv.dk/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Building mod_jk.so

2003-08-01 Thread Johnson, David
I've managed to solve it. I needed to set an environment variable as follows:

LD_LIBRARY_PATH=/usr/local/lib

Dave

 -Original Message-
 From: Jørgen Nørgaard [mailto:[EMAIL PROTECTED] 
 Sent: Friday, August 01, 2003 2:28 PM
 To: Tomcat Users List
 Subject: Re: Building mod_jk.so
 
 
 
 Look like a library is missing, so just a thought: has apache been 
 built with gcc so it uses gnu libraries?
 
 
 
 Right, I am trying to build mod_jk 1.2.4 on Solaris 9. It seems to 
 build okay but I get an error when apache tries to start up.
 
 I'll detail the steps I've taken and the error I get.
 
 1. Installed the following GNU packages: make, automake, 
 autoconf, m4, 
 libtools (they came as Solaris packages, which I have simply run 
 pkgadd -d on. I haven't set an environment variables for them, not 
 sure if I should have done?) 2. Set TOMCAT_HOME and CATALINA_HOME to 
 point to my tomcat directory (which was installed from a binary)
 3. Set JAVA_HOME to point to the jdk
 4. Unpacked the jakarta-tomcat-connectors-jk-1.2.4-src.tar.
 5. Changed into the jk/native directory
 6. ./buildconf.sh (no errors)
 7. ./configure --with-apxs=/software/web/apache/bin/apxs (no errors)
 8. make (no errors)
 
 This leaves me with a mod_jk.so file in the apache-1.3 
 directory, which 
 I copy into my APACHE_HOME/libexec directory.
 
 When I try to start apache I get the following error (I've 
 replaced the 
 full path with APACHE_HOME to make it easier to read):
 
 Syntax error on line 206 of APACHE_HOME/conf/httpd.conf
 Cannot load APACHE_HOME/libexec/mod_jk.so into server: ld.so.1:
 APACHE_HOME/bin/httpd: fatal: libgcc_s.so.1: open failed: No 
 such file 
 or directory
 
 Can anyone offer any advice?
 
 
 -- 
 /jørgen nørgaard
 SmartTV A/S
 [EMAIL PROTECTED]
 Phone: +45 3332 5770
 http://smarttv.dk/
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



which mod_jk.so to use with Apache 1.3

2003-07-17 Thread Astrid Wagner
Hi,

I try to connect tomcat 4.1.24 to an existing Apache 1.3 installation 
(Solaris 8).
To do so I read I need mod_jk.so and I found a download page
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/release/v2.0.2/bin/solaris8/
but below it says to get

   * mod_jk2-1.3-eapi.so is for Apache 1.3.x with mod_ssl
   * mod_jk2-1.3-noeapi.so is for Apache 1.3.x without mod_ssl
and they are not listed above.
Has anyone done sth. similar and can tell me what to use if my
plans aren't impossible (due to old Apache version) at all?
Thanks.
Astrid



Re: which mod_jk.so to use with Apache 1.3

2003-07-17 Thread John Turner
If you are looking for mod_jk.so for Solaris 8, you will have to go all the 
way back to November 2002:

http://jakarta.apache.org/builds/jakarta-tomcat- 
connectors/jk/release/v1.2.1/bin/solaris8/

or else build your own from source.

John

On Thu, 17 Jul 2003 12:24:45 +0200, Astrid Wagner 
[EMAIL PROTECTED] wrote:

Hi,

I try to connect tomcat 4.1.24 to an existing Apache 1.3 installation 
(Solaris 8).
To do so I read I need mod_jk.so and I found a download page
http://jakarta.apache.org/builds/jakarta-tomcat- 
connectors/jk2/release/v2.0.2/bin/solaris8/
but below it says to get

* mod_jk2-1.3-eapi.so is for Apache 1.3.x with mod_ssl
* mod_jk2-1.3-noeapi.so is for Apache 1.3.x without mod_ssl
and they are not listed above.
Has anyone done sth. similar and can tell me what to use if my
plans aren't impossible (due to old Apache version) at all?
Thanks.
Astrid




--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: which mod_jk.so to use with Apache 1.3

2003-07-17 Thread Simon Pabst
For Apache 1.3 you're better off with mod_jk1 since mod_jk2 requires APR 
libraries which aren't included with Apache 1.x.
Building those on Solaris is propably compiler hell ;-).

Download mod_jk 1 source here:
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.4/src/jakarta-tomcat-connectors-jk-1.2.4-src.tar.gz
Build it:
(see 
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/aphowto.html#Building%20mod_jk%20on%20Unix 
)

tar -zxf jakarta-tomcat-connectors-jk-1.2.4-src.tar.gz
cd jakarta-tomcat-connectors-jk-1.2.4-src/jk/native
sh buildconf.sh
#optional - set environment variable to use compiler optimizing (bash syntax)
export CFLAGS=-O2
./configure --with-apxs=/path/to/apache/bin/apxs
#optional - needed for Apache with mod_ssl
--enable-EAPI
make
cp ./apache-1.3/mod_jk.so /path/to/apache/libexec/
At 12:24 17.07.2003 +0200, you wrote:
Hi,

I try to connect tomcat 4.1.24 to an existing Apache 1.3 installation 
(Solaris 8).
To do so I read I need mod_jk.so and I found a download page
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/release/v2.0.2/bin/solaris8/
but below it says to get

   * mod_jk2-1.3-eapi.so is for Apache 1.3.x with mod_ssl
   * mod_jk2-1.3-noeapi.so is for Apache 1.3.x without mod_ssl
and they are not listed above.
Has anyone done sth. similar and can tell me what to use if my
plans aren't impossible (due to old Apache version) at all?
Thanks.
Astrid



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


determining version of mod_jk.so

2003-07-09 Thread Maureen Barger
can someone remind me how to do this under unix? thanks.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: determining version of mod_jk.so

2003-07-09 Thread Eric J. Pinnell
Hi,

I don't know if there is an official way but I did a

'strings mod_jk2.so'

and found:

mod_jk2/2.0.2

YMMV.

-e

On Wed, 9 Jul 2003, Maureen Barger wrote:

 can someone remind me how to do this under unix? thanks.


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: determining version of mod_jk.so

2003-07-09 Thread Rick Roberts
However; I did a 'strings mod_jk2-2.0.43.so'

and found:

mod_jk2/2.0.0

Check to see if your mod_jk2.so is a sym link.
Mine is linked to mod_jk2-2.0.43.so
--
***
* Rick Roberts*
* Advanced Information Technologies, Inc. *
***
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: determining version of mod_jk.so

2003-07-09 Thread Eric J. Pinnell
Ya... that makes sense.  The latest release of JK2 is 2.0.2.   You could
possibly be running 2.0.0.  I don't know where it's getting 2.0.43 from...
sounds like an apache version.

-e

On Wed, 9 Jul 2003, Rick Roberts wrote:

 However; I did a 'strings mod_jk2-2.0.43.so'

 and found:

 mod_jk2/2.0.0


 Check to see if your mod_jk2.so is a sym link.
 Mine is linked to mod_jk2-2.0.43.so

 --
 ***
 * Rick Roberts*
 * Advanced Information Technologies, Inc. *
 ***


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: determining version of mod_jk.so

2003-07-09 Thread Maureen Barger
You are correct -- you can do strings and scroll or start up apache in 
debug and it will appear in the error log file as it loads.

At 01:41 PM 7/9/2003 -0400, Rick Roberts wrote:
However; I did a 'strings mod_jk2-2.0.43.so'

and found:

mod_jk2/2.0.0

Check to see if your mod_jk2.so is a sym link.
Mine is linked to mod_jk2-2.0.43.so

Maureen Barger, CIT/ID, Cornell University
Ithaca, NY 14850
[EMAIL PROTECTED]
http://mo.cit.cornell.edu/
Experience is something you don't get until just after you need it.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


installing new version of mod_jk.so

2003-07-09 Thread Maureen Barger
I am trying to download a previously compiled version of mod_jk.so for AIX 
from 
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.0/bin/aix/
However it seems I can't unpack it into my libexec directory and go - 
starting apache gives me errors that it cannot load this module.  Am I 
missing a step?

Maureen Barger, CIT/ID, Cornell University
Ithaca, NY 14850
[EMAIL PROTECTED]
http://mo.cit.cornell.edu/

Experience is something you don't get until just after you need it.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: determining version of mod_jk.so

2003-07-09 Thread John Turner
The 2.0.43 is an Apache version, it has nothing to do with the version of 
the actual connector source.

You can have a connector that is version 2.0.2, for example, that is 
compiled for Apache 2.0.40, .43, .44, and .46.  The convention when 
delivering the binaries, then, is to tag the .so file with the appropriate 
version of Apache needed to load it.  The Apache modules, especially pre- 
.44, are Apache version sensitive.  You can't use one .so file in place of 
another, so you need some way to differentiate between them.  Using the 
connector source version won't do it.

John

On Wed, 09 Jul 2003 13:41:18 -0400, Rick Roberts [EMAIL PROTECTED] 
wrote:

However; I did a 'strings mod_jk2-2.0.43.so'

and found:

mod_jk2/2.0.0

Check to see if your mod_jk2.so is a sym link.
Mine is linked to mod_jk2-2.0.43.so


--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Creating mod_jk.so from src for HP-UX

2003-06-20 Thread Insley, Simon (Contractor) (DSIO)
My goal is to have a working version of Apache 1.3.27 that invokes Tomcat
4.1.24 using mod_jk, so that the application's JSP files are invoked
correctly from the Apache server.  At this point, I have Apache installed
and working, Tomcat installed and working, independently, but not the
mod_jk.  I can't get a mod_jk.so file compiled from the source file,
jakarta-tomcat-connectors-jk-1.2.4-src.tar.gz, provided on the Tomcat web
site.  

I have tried to read all available documentation on the installation of
mod_jk for Tomcat 4.1.24 and Apache 1.3.27 and earlier releases of both.  I
understand that mod_jk is now in the connectors download.  I am working on
HP-UX, so don't believe any of the binaries with work for me.  So I am
trying to build mod_jk.so from source.  I have searched  the information in
the mail archive, read the John Turner's Howto, and all of the howto's
provided by Apache and Jakarta projects.  The instructions don't apply
because the files aren't in the distribution that I can find. 

The instructions state that I should run configure.  However, there is no
configure.  Other information indicates that I should make buildconf.sh
executable and run it.  I have tried that.  I have libtools installed from
apr-0.9.3, but it can't find libtoolize in that.  I have put this path to
libtool on both the path and the classpath, still no luck.  I error on each
statement in the buildconf.sh script.  Exact error:

$ ./buildconf.sh
libtoolize --force --automake --copy
./buildconf.sh[4]: libtoolize:  not found.
aclocal
./buildconf.sh[8]: aclocal:  not found.
automake -a --foreign -i --copy
./buildconf.sh[10]: automake:  not found.
autoconf
./buildconf.sh[12]: autoconf:  not found.

Other instructions state that I should run ant on the entire connector
directory.  After correcting the file names on many files (java or
properties was cut off because of length), I was able to successfully run
ant.  However, this does not yield a mod_jk.so, nor does it yield a working
configure file anywhere in the jakarta-tomcat-connectors-4.1.24-src
directory.

Just so that you know I am not a complete idiot, I was able to follow the
instructions to create the mod_jk.so file using Tomcat 3.3.1a final.  Since
mod_jk is now separated and there is no configure file among the source,
those instructions and experience don't apply.  

What next?  What are working instructions for building the mod_jk.so library
on HP -UX that use the available software in the source bundle?

Simon


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Creating mod_jk.so from src for HP-UX

2003-06-20 Thread PELOQUIN,JEFFREY (HP-Boise,ex1)
the official HP-UX apache 1.3.27 with mod_jk can be download from

http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo
.pl?productNumber=B9415AA132702



While this come with tomcat 3.3 you can just rm it if you so choose

or
http://www.hp.com/products1/unix/webservers/apache/downloads/index.html

or you could just use the mod_jk with your current installation.

If you would still like to install from scratch you can find the files you
are missing at:
http://hpux.cs.utah.edu/, search on gnu or the file you are missing

the main software site is: http://www.software.hp.com/

Jeff

-Original Message-
From: Insley, Simon (Contractor) (DSIO) [mailto:[EMAIL PROTECTED]
Sent: Friday, June 20, 2003 12:25 PM
To: '[EMAIL PROTECTED]'
Subject: Creating mod_jk.so from src for HP-UX


My goal is to have a working version of Apache 1.3.27 that invokes Tomcat
4.1.24 using mod_jk, so that the application's JSP files are invoked
correctly from the Apache server.  At this point, I have Apache installed
and working, Tomcat installed and working, independently, but not the
mod_jk.  I can't get a mod_jk.so file compiled from the source file,
jakarta-tomcat-connectors-jk-1.2.4-src.tar.gz, provided on the Tomcat web
site.  

I have tried to read all available documentation on the installation of
mod_jk for Tomcat 4.1.24 and Apache 1.3.27 and earlier releases of both.  I
understand that mod_jk is now in the connectors download.  I am working on
HP-UX, so don't believe any of the binaries with work for me.  So I am
trying to build mod_jk.so from source.  I have searched  the information in
the mail archive, read the John Turner's Howto, and all of the howto's
provided by Apache and Jakarta projects.  The instructions don't apply
because the files aren't in the distribution that I can find. 

The instructions state that I should run configure.  However, there is no
configure.  Other information indicates that I should make buildconf.sh
executable and run it.  I have tried that.  I have libtools installed from
apr-0.9.3, but it can't find libtoolize in that.  I have put this path to
libtool on both the path and the classpath, still no luck.  I error on each
statement in the buildconf.sh script.  Exact error:

$ ./buildconf.sh
libtoolize --force --automake --copy
./buildconf.sh[4]: libtoolize:  not found.
aclocal
./buildconf.sh[8]: aclocal:  not found.
automake -a --foreign -i --copy
./buildconf.sh[10]: automake:  not found.
autoconf
./buildconf.sh[12]: autoconf:  not found.

Other instructions state that I should run ant on the entire connector
directory.  After correcting the file names on many files (java or
properties was cut off because of length), I was able to successfully run
ant.  However, this does not yield a mod_jk.so, nor does it yield a working
configure file anywhere in the jakarta-tomcat-connectors-4.1.24-src
directory.

Just so that you know I am not a complete idiot, I was able to follow the
instructions to create the mod_jk.so file using Tomcat 3.3.1a final.  Since
mod_jk is now separated and there is no configure file among the source,
those instructions and experience don't apply.  

What next?  What are working instructions for building the mod_jk.so library
on HP -UX that use the available software in the source bundle?

Simon


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Solaris6 mod_jk.so binary anybody ? (Segmentation fault with mine)

2003-03-17 Thread Stephen Riek

Checking my mod_jk.log and Apache error_log, I found that there was a segmentation 
fault which seems to point to there being a problem with my mod_jk.so
error_log
-
[Mon Mar 17 14:46:07 2003] [notice] child pid  exit signal Segmentation Fault (11)
mod_jk.log
--
[Mon Mar 17 14:46:07 2003]  [jk_uri_worker_map.c (460)]: Into 
jk_uri_worker_map_t::map_uri_to_worker
[Mon Mar 17 14:46:07 2003]  [jk_uri_worker_map.c (477)]: Attempting to map URI 
'/examples/jsp/num/numguess.jsp'
[Mon Mar 17 14:46:07 2003]  [jk_uri_worker_map.c (502)]: 
jk_uri_worker_map_t::map_uri_to_worker, Found a context match worker1 - /
[Mon Mar 17 14:46:07 2003]  [jk_worker.c (132)]: Into wc_get_worker_for_name worker1
[Mon Mar 17 14:46:07 2003]  [jk_worker.c (136)]: wc_get_worker_for_name, done  found a 
worker

Does anybody have a binary mod_jk.so for Solaris 6 (SunOS 5.6) ?
I checked the Jakarta site but somebody seems to have pinched the binaries !
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.1/bin/solaris6/
Please feel free to mail me direct if you do have the binary. Thank you.
Stephen.
 
 
 
 Stephen Riek [EMAIL PROTECTED] wrote:
OK, here's the problem in a nutshell. 

Tomcat is set up and works fine. 
I can access the JSP  servlet examples at http://127.0.0.1:8080/examples
Apache 1.3.x and Mod_jk are also set up. 
I can access the JSP  servlet examples at http://127.0.0.1/examples
The request header servlet works fine.
http://127.0.0.1/examples/servlet/RequestHeaderExample
and it outputs the request headers.
However, add a GET querystring to the URL and it all screws up.
Eg. http://127.0.0.1/examples/servlet/RequestHeaderExample?x=8
will cause an error. 
The error is in catalina.out as a result of the above, is 
[INFO] ChannelSocket - -server has been restarted or reset this connection
[INFO] ChannelSocket - -server has been restarted or reset this connection
Anybody any idea why this might be the case  (my mod_jk config is below)

This is getting so desperate, I might have to look for a commercial
Java application server that handles virtual hosts and has an easier
setup. (any recommendations?). But I would prefer to stick with
Tomcat.

Stephen.


Stephen Riek wrote:
3 weeks already and I still can't get mod_jk to handle query strings :(

I have Apache 1.3.x in front of Tomcat 4.1.18 via JK (and not JK2).

I can follow hyperlinks from one JSP to another JSP, through JK/Apache. 
However, I can not follow links which have a query appended. 

For example,say I have 2 JSPs - A.jsp and B.jsp.
The following link on A.jsp would work - 
A HREF =B.jsp 

But this link on A.jsp would not work -
A HREF=B.jsp?var=value 

The error log in Apache simply reads,
[Wed Feb 19 12:52:46 2003] [notice] child pid 25102 exit signal 
Segmentation Fault (11) 

And the error in Catalina.out reads,
[INFO] ChannelSocket - -server has been restarted or reset this 
connection

At the moment I have set JK to pass ALL requests through with 
JkMount /* worker1

But is there something else I have to do to allow requests with querystrings ?


My httpd/conf/workers.properties is :

worker.list=worker1 
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.socket_timeout=300 

And my httpd.conf uses this: 

LoadModule jk_module modules/mod_jk.so
AddModule mod_jk.c
JkWorkersFile /httpd/conf/workers.properties
JkLogFile /httpd/logs/mod_jk.log
JkLogLevel info
JkLogStampFormat [%a %b %d %H:%M:%S %Y] 
JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
JkRequestLogFormat %w %V %T
JkMount /* worker1

At the moment, this problem is stopping me from launching a site so if anybody can 
help, I'd be very grateful. 

Thank you very much in advance,

Stephen.





-
With Yahoo! Mail you can get a bigger mailbox -- choose a size that fits your needs




-
With Yahoo! Mail you can get a bigger mailbox -- choose a size that fits your needs




-
With Yahoo! Mail you can get a bigger mailbox -- choose a size that fits your needs


RE: build-unix.sh error for mod_jk.so

2003-02-27 Thread David . Vann
I went ahead and ignored the warnings and now I get:
# cd /usr/local/apache/bin
# apachectl start
Syntax error on line 4 of /usr/local/tomcat/conf/auto/mod_jk.conf:
Cannot load /usr/local/apache/libexec/mod_jk.so into server: dlopen: 
/usr/local/
apache/libexec/mod_jk.so: symbol __pthread_mutex_init unresolved
apachectl start: httpd could not be started

Sincerely,

David Vann
Martha Jefferson Hospital
459 Locust Avenue
Charlottesville, VA 22902
[EMAIL PROTECTED]
Phone (434) 244-5911
Fax (434) 982-7351




[EMAIL PROTECTED]
02/26/2003 04:56 PM
Please respond to Tomcat Users List

 
To: Tomcat Users List [EMAIL PROTECTED]
cc: 
Subject:RE: build-unix.sh error for mod_jk.so


Thanks for the help , but now I get:
 cc -pthread -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DSHARE
D_MODULE -I/usr/local/apache/include -I../common 
-I/usr/opt/java131/include -I/u
sr/opt/java131/include/alpha  -c ../common/jk_jni_worker.c
19  cc: Warning: ../common/jk_jni_worker.c, line 751: In this 
statement, the
 referenced type of the pointer value dlsym(...) is void, which is not 

compa
tible with function (pointer to pointer to pointer to const struct 
JNIInvokeInt
erface_, pointer to pointer to pointer to const struct 
JNINativeInterface_, poin
ter to void) returning int. (ptrmismatch)
20  jni_create_java_vm = dlsym(handle, JNI_CreateJavaVM);
21  ^
22  cc: Warning: ../common/jk_jni_worker.c, line 752: In this 
statement, the
 referenced type of the pointer value dlsym(...) is void, which is not 

compa
tible with function (pointer to pointer to pointer to const struct 
JNIInvokeInt
erface_, int, pointer to int) returning int. (ptrmismatch)
23  jni_get_created_java_vms = dlsym(handle, 
JNI_GetCreatedJavaVMs
);
24  ^
25  cc: Warning: ../common/jk_jni_worker.c, line 753: In this 
statement, the
 referenced type of the pointer value dlsym(...) is void, which is not 

compa
tible with function (pointer to void) returning int. (ptrmismatch)
@


Any ideas would be greatly appreciated.

Sincerely,

David Vann
Martha Jefferson Hospital
459 Locust Avenue
Charlottesville, VA 22902
[EMAIL PROTECTED]
Phone (434) 244-5911
Fax (434) 982-7351




Mike Jackson [EMAIL PROTECTED]
02/26/2003 04:23 PM
Please respond to Tomcat Users List

 
To: Tomcat Users List [EMAIL PROTECTED]
cc: 
Subject:RE: build-unix.sh error for mod_jk.so


I don't see the that thread option set, so it must not be using it.  That
option should probably appear after cc, somewhere prior to the -c and
the source file.

--mikej
-=-
mike jackson
[EMAIL PROTECTED]

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, February 26, 2003 12:05 PM
 To: Tomcat Users List
 Subject: build-unix.sh error for mod_jk.so


 When trying to build mod_jk.so  on Tru64 Unix 5.1  using Apache
 1.3.27 and
 tomcat 3.3.1a I get the following error, can someone guild me in the
 correct direction:
  Compiling mod_jk
 13  cc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite
 -DSHARED_MODULE
 -I/usr/local/apache/include -I../common -I/usr/opt/java131/include
 -I/usr/opt/ja
 va131/include/alpha  -c mod_jk.c
 14  cc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite
 -DSHARED_MODULE
 -I/usr/local/apache/include -I../common -I/usr/opt/java131/include
 -I/usr/opt/ja
 va131/include/alpha  -c ../common/jk_ajp12_worker.c
 15  cc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite
 -DSHARED_MODULE
 -I/usr/local/apache/include -I../common -I/usr/opt/java131/include
 -I/usr/opt/ja
 va131/include/alpha  -c ../common/jk_ajp13.c
 16  cc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite
 -DSHARED_MODULE
 -I/usr/local/apache/include -I../common -I/usr/opt/java131/include
 -I/usr/opt/ja
 va131/include/alpha  -c ../common/jk_ajp13_worker.c
 17  cc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite
 -DSHARED_MODULE
 -I/usr/local/apache/include -I../common -I/usr/opt/java131/include
 -I/usr/opt/ja
 va131/include/alpha  -c ../common/jk_connect.c
 18  cc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite
 -DSHARED_MODULE
 -I/usr/local/apache/include -I../common -I/usr/opt/java131/include
 -I/usr/opt/ja
 va131/include/alpha  -c ../common/jk_jni_worker.c
 19  cc: Error: /usr/opt/java131/include/jni.h, line 34: #error
 Modules that
  interface with Java must be compiled and linked with the
 -pthread option
 (erro
 rmessage)
 20  #error Modules that interface with Java must be compiled and
 linked wit
 h the -pthread option
 21  -^

 I thought the -pthread option was set.  If not how do I set it or
 how do I
 compile the java modules?


 Sincerely,

 David Vann
 Martha Jefferson Hospital
 459 Locust Avenue
 Charlottesville, VA 22902
 [EMAIL PROTECTED]
 Phone (434) 244-5911
 Fax (434) 982-7351



-
To unsubscribe, e-mail: [EMAIL

RE: build-unix.sh error for mod_jk.so

2003-02-27 Thread David . Vann
Ok, I know Tru64 Unix has a limited life, but has anyone successfully 
gotten  apache1.3 and tomcat 3.3 to work together on Tru64 5.1?  After 
searching the archives it doesn't look like it.  I think I'm close to a 
resolution, but continue with the below problem.  Can anyone help or am I 
fighting a losing battle?

Sincerely,

David Vann
Martha Jefferson Hospital
459 Locust Avenue
Charlottesville, VA 22902
[EMAIL PROTECTED]
Phone (434) 244-5911
Fax (434) 982-7351




[EMAIL PROTECTED]
02/27/2003 07:39 AM
Please respond to Tomcat Users List

 
To: Tomcat Users List [EMAIL PROTECTED]
cc: 
Subject:RE: build-unix.sh error for mod_jk.so


I went ahead and ignored the warnings and now I get:
# cd /usr/local/apache/bin
# apachectl start
Syntax error on line 4 of /usr/local/tomcat/conf/auto/mod_jk.conf:
Cannot load /usr/local/apache/libexec/mod_jk.so into server: dlopen: 
/usr/local/
apache/libexec/mod_jk.so: symbol __pthread_mutex_init unresolved
apachectl start: httpd could not be started

Sincerely,

David Vann
Martha Jefferson Hospital
459 Locust Avenue
Charlottesville, VA 22902
[EMAIL PROTECTED]
Phone (434) 244-5911
Fax (434) 982-7351




[EMAIL PROTECTED]
02/26/2003 04:56 PM
Please respond to Tomcat Users List

 
To: Tomcat Users List [EMAIL PROTECTED]
cc: 
Subject:RE: build-unix.sh error for mod_jk.so


Thanks for the help , but now I get:
 cc -pthread -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DSHARE
D_MODULE -I/usr/local/apache/include -I../common 
-I/usr/opt/java131/include -I/u
sr/opt/java131/include/alpha  -c ../common/jk_jni_worker.c
19  cc: Warning: ../common/jk_jni_worker.c, line 751: In this 
statement, the
 referenced type of the pointer value dlsym(...) is void, which is not 


compa
tible with function (pointer to pointer to pointer to const struct 
JNIInvokeInt
erface_, pointer to pointer to pointer to const struct 
JNINativeInterface_, poin
ter to void) returning int. (ptrmismatch)
20  jni_create_java_vm = dlsym(handle, JNI_CreateJavaVM);
21  ^
22  cc: Warning: ../common/jk_jni_worker.c, line 752: In this 
statement, the
 referenced type of the pointer value dlsym(...) is void, which is not 


compa
tible with function (pointer to pointer to pointer to const struct 
JNIInvokeInt
erface_, int, pointer to int) returning int. (ptrmismatch)
23  jni_get_created_java_vms = dlsym(handle, 
JNI_GetCreatedJavaVMs
);
24  ^
25  cc: Warning: ../common/jk_jni_worker.c, line 753: In this 
statement, the
 referenced type of the pointer value dlsym(...) is void, which is not 


compa
tible with function (pointer to void) returning int. (ptrmismatch)
@


Any ideas would be greatly appreciated.

Sincerely,

David Vann
Martha Jefferson Hospital
459 Locust Avenue
Charlottesville, VA 22902
[EMAIL PROTECTED]
Phone (434) 244-5911
Fax (434) 982-7351




Mike Jackson [EMAIL PROTECTED]
02/26/2003 04:23 PM
Please respond to Tomcat Users List

 
To: Tomcat Users List [EMAIL PROTECTED]
cc: 
Subject:RE: build-unix.sh error for mod_jk.so


I don't see the that thread option set, so it must not be using it.  That
option should probably appear after cc, somewhere prior to the -c and
the source file.

--mikej
-=-
mike jackson
[EMAIL PROTECTED]

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, February 26, 2003 12:05 PM
 To: Tomcat Users List
 Subject: build-unix.sh error for mod_jk.so


 When trying to build mod_jk.so  on Tru64 Unix 5.1  using Apache
 1.3.27 and
 tomcat 3.3.1a I get the following error, can someone guild me in the
 correct direction:
  Compiling mod_jk
 13  cc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite
 -DSHARED_MODULE
 -I/usr/local/apache/include -I../common -I/usr/opt/java131/include
 -I/usr/opt/ja
 va131/include/alpha  -c mod_jk.c
 14  cc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite
 -DSHARED_MODULE
 -I/usr/local/apache/include -I../common -I/usr/opt/java131/include
 -I/usr/opt/ja
 va131/include/alpha  -c ../common/jk_ajp12_worker.c
 15  cc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite
 -DSHARED_MODULE
 -I/usr/local/apache/include -I../common -I/usr/opt/java131/include
 -I/usr/opt/ja
 va131/include/alpha  -c ../common/jk_ajp13.c
 16  cc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite
 -DSHARED_MODULE
 -I/usr/local/apache/include -I../common -I/usr/opt/java131/include
 -I/usr/opt/ja
 va131/include/alpha  -c ../common/jk_ajp13_worker.c
 17  cc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite
 -DSHARED_MODULE
 -I/usr/local/apache/include -I../common -I/usr/opt/java131/include
 -I/usr/opt/ja
 va131/include/alpha  -c ../common/jk_connect.c
 18  cc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite
 -DSHARED_MODULE
 -I/usr/local/apache/include -I../common -I/usr/opt/java131/include
 -I/usr/opt/ja
 va131/include/alpha  -c ../common

RE: build-unix.sh error for mod_jk.so

2003-02-27 Thread Turner, John

I have zero experience with Tru64.  The only thing I would try, if it were
me, is statically linking JK into Apache, instead of using DSO.  Something
isn't jiving in your current configuration, if I had to guess I would say
that your Apache version is too old and doesn't support something that JK is
trying to do.

John

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: Thursday, February 27, 2003 11:27 AM
 To: Tomcat Users List
 Subject: RE: build-unix.sh error for mod_jk.so
 
 
 Ok, I know Tru64 Unix has a limited life, but has anyone successfully 
 gotten  apache1.3 and tomcat 3.3 to work together on Tru64 
 5.1?  After 
 searching the archives it doesn't look like it.  I think I'm 
 close to a 
 resolution, but continue with the below problem.  Can anyone 
 help or am I 
 fighting a losing battle?
 
 Sincerely,
 
 David Vann
 Martha Jefferson Hospital
 459 Locust Avenue
 Charlottesville, VA 22902
 [EMAIL PROTECTED]
 Phone (434) 244-5911
 Fax (434) 982-7351
 
 
 
 
 [EMAIL PROTECTED]
 02/27/2003 07:39 AM
 Please respond to Tomcat Users List
 
  
 To: Tomcat Users List [EMAIL PROTECTED]
 cc: 
 Subject:RE: build-unix.sh error for mod_jk.so
 
 
 I went ahead and ignored the warnings and now I get:
 # cd /usr/local/apache/bin
 # apachectl start
 Syntax error on line 4 of /usr/local/tomcat/conf/auto/mod_jk.conf:
 Cannot load /usr/local/apache/libexec/mod_jk.so into server: dlopen: 
 /usr/local/
 apache/libexec/mod_jk.so: symbol __pthread_mutex_init unresolved
 apachectl start: httpd could not be started
 
 Sincerely,
 
 David Vann
 Martha Jefferson Hospital
 459 Locust Avenue
 Charlottesville, VA 22902
 [EMAIL PROTECTED]
 Phone (434) 244-5911
 Fax (434) 982-7351
 
 
 
 
 [EMAIL PROTECTED]
 02/26/2003 04:56 PM
 Please respond to Tomcat Users List
 
  
 To: Tomcat Users List [EMAIL PROTECTED]
 cc: 
 Subject:RE: build-unix.sh error for mod_jk.so
 
 
 Thanks for the help , but now I get:
  cc -pthread -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT 
 -I../lib/expat-lite -DSHARE
 D_MODULE -I/usr/local/apache/include -I../common 
 -I/usr/opt/java131/include -I/u
 sr/opt/java131/include/alpha  -c ../common/jk_jni_worker.c
 19  cc: Warning: ../common/jk_jni_worker.c, line 751: In this 
 statement, the
  referenced type of the pointer value dlsym(...) is void, 
 which is not 
 
 
 compa
 tible with function (pointer to pointer to pointer to const struct 
 JNIInvokeInt
 erface_, pointer to pointer to pointer to const struct 
 JNINativeInterface_, poin
 ter to void) returning int. (ptrmismatch)
 20  jni_create_java_vm = dlsym(handle, 
 JNI_CreateJavaVM);
 21  ^
 22  cc: Warning: ../common/jk_jni_worker.c, line 752: In this 
 statement, the
  referenced type of the pointer value dlsym(...) is void, 
 which is not 
 
 
 compa
 tible with function (pointer to pointer to pointer to const struct 
 JNIInvokeInt
 erface_, int, pointer to int) returning int. (ptrmismatch)
 23  jni_get_created_java_vms = dlsym(handle, 
 JNI_GetCreatedJavaVMs
 );
 24  ^
 25  cc: Warning: ../common/jk_jni_worker.c, line 753: In this 
 statement, the
  referenced type of the pointer value dlsym(...) is void, 
 which is not 
 
 
 compa
 tible with function (pointer to void) returning int. (ptrmismatch)
 @
 
 
 Any ideas would be greatly appreciated.
 
 Sincerely,
 
 David Vann
 Martha Jefferson Hospital
 459 Locust Avenue
 Charlottesville, VA 22902
 [EMAIL PROTECTED]
 Phone (434) 244-5911
 Fax (434) 982-7351
 
 
 
 
 Mike Jackson [EMAIL PROTECTED]
 02/26/2003 04:23 PM
 Please respond to Tomcat Users List
 
  
 To: Tomcat Users List [EMAIL PROTECTED]
 cc: 
 Subject:RE: build-unix.sh error for mod_jk.so
 
 
 I don't see the that thread option set, so it must not be 
 using it.  That
 option should probably appear after cc, somewhere prior to 
 the -c and
 the source file.
 
 --mikej
 -=-
 mike jackson
 [EMAIL PROTECTED]
 
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, February 26, 2003 12:05 PM
  To: Tomcat Users List
  Subject: build-unix.sh error for mod_jk.so
 
 
  When trying to build mod_jk.so  on Tru64 Unix 5.1  using Apache
  1.3.27 and
  tomcat 3.3.1a I get the following error, can someone guild me in the
  correct direction:
   Compiling mod_jk
  13  cc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite
  -DSHARED_MODULE
  -I/usr/local/apache/include -I../common -I/usr/opt/java131/include
  -I/usr/opt/ja
  va131/include/alpha  -c mod_jk.c
  14  cc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite
  -DSHARED_MODULE
  -I/usr/local/apache/include -I../common -I/usr/opt/java131/include
  -I/usr/opt/ja
  va131/include/alpha  -c ../common/jk_ajp12_worker.c
  15  cc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite
  -DSHARED_MODULE
  -I/usr/local/apache/include -I../common -I/usr/opt

RE: build-unix.sh error for mod_jk.so

2003-02-27 Thread David . Vann
I'm using apache 1.3.27--Should I upgrade,   if so which version would you 
recommend?
Sincerely,

David Vann
Martha Jefferson Hospital
459 Locust Avenue
Charlottesville, VA 22902
[EMAIL PROTECTED]
Phone (434) 244-5911
Fax (434) 982-7351




Turner, John [EMAIL PROTECTED]
02/27/2003 11:35 AM
Please respond to Tomcat Users List

 
To: 'Tomcat Users List' [EMAIL PROTECTED]
cc: 
Subject:RE: build-unix.sh error for mod_jk.so



I have zero experience with Tru64.  The only thing I would try, if it were
me, is statically linking JK into Apache, instead of using DSO.  Something
isn't jiving in your current configuration, if I had to guess I would say
that your Apache version is too old and doesn't support something that JK 
is
trying to do.

John

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: Thursday, February 27, 2003 11:27 AM
 To: Tomcat Users List
 Subject: RE: build-unix.sh error for mod_jk.so
 
 
 Ok, I know Tru64 Unix has a limited life, but has anyone successfully 
 gotten  apache1.3 and tomcat 3.3 to work together on Tru64 
 5.1?  After 
 searching the archives it doesn't look like it.  I think I'm 
 close to a 
 resolution, but continue with the below problem.  Can anyone 
 help or am I 
 fighting a losing battle?
 
 Sincerely,
 
 David Vann
 Martha Jefferson Hospital
 459 Locust Avenue
 Charlottesville, VA 22902
 [EMAIL PROTECTED]
 Phone (434) 244-5911
 Fax (434) 982-7351
 
 
 
 
 [EMAIL PROTECTED]
 02/27/2003 07:39 AM
 Please respond to Tomcat Users List
 
 
 To: Tomcat Users List [EMAIL PROTECTED]
 cc: 
 Subject:RE: build-unix.sh error for mod_jk.so
 
 
 I went ahead and ignored the warnings and now I get:
 # cd /usr/local/apache/bin
 # apachectl start
 Syntax error on line 4 of /usr/local/tomcat/conf/auto/mod_jk.conf:
 Cannot load /usr/local/apache/libexec/mod_jk.so into server: dlopen: 
 /usr/local/
 apache/libexec/mod_jk.so: symbol __pthread_mutex_init unresolved
 apachectl start: httpd could not be started
 
 Sincerely,
 
 David Vann
 Martha Jefferson Hospital
 459 Locust Avenue
 Charlottesville, VA 22902
 [EMAIL PROTECTED]
 Phone (434) 244-5911
 Fax (434) 982-7351
 
 
 
 
 [EMAIL PROTECTED]
 02/26/2003 04:56 PM
 Please respond to Tomcat Users List
 
 
 To: Tomcat Users List [EMAIL PROTECTED]
 cc: 
 Subject:RE: build-unix.sh error for mod_jk.so
 
 
 Thanks for the help , but now I get:
  cc -pthread -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT 
 -I../lib/expat-lite -DSHARE
 D_MODULE -I/usr/local/apache/include -I../common 
 -I/usr/opt/java131/include -I/u
 sr/opt/java131/include/alpha  -c ../common/jk_jni_worker.c
 19  cc: Warning: ../common/jk_jni_worker.c, line 751: In this 
 statement, the
  referenced type of the pointer value dlsym(...) is void, 
 which is not 
 
 
 compa
 tible with function (pointer to pointer to pointer to const struct 
 JNIInvokeInt
 erface_, pointer to pointer to pointer to const struct 
 JNINativeInterface_, poin
 ter to void) returning int. (ptrmismatch)
 20  jni_create_java_vm = dlsym(handle, 
 JNI_CreateJavaVM);
 21  ^
 22  cc: Warning: ../common/jk_jni_worker.c, line 752: In this 
 statement, the
  referenced type of the pointer value dlsym(...) is void, 
 which is not 
 
 
 compa
 tible with function (pointer to pointer to pointer to const struct 
 JNIInvokeInt
 erface_, int, pointer to int) returning int. (ptrmismatch)
 23  jni_get_created_java_vms = dlsym(handle, 
 JNI_GetCreatedJavaVMs
 );
 24  ^
 25  cc: Warning: ../common/jk_jni_worker.c, line 753: In this 
 statement, the
  referenced type of the pointer value dlsym(...) is void, 
 which is not 
 
 
 compa
 tible with function (pointer to void) returning int. (ptrmismatch)
 @
 
 
 Any ideas would be greatly appreciated.
 
 Sincerely,
 
 David Vann
 Martha Jefferson Hospital
 459 Locust Avenue
 Charlottesville, VA 22902
 [EMAIL PROTECTED]
 Phone (434) 244-5911
 Fax (434) 982-7351
 
 
 
 
 Mike Jackson [EMAIL PROTECTED]
 02/26/2003 04:23 PM
 Please respond to Tomcat Users List
 
 
 To: Tomcat Users List [EMAIL PROTECTED]
 cc: 
 Subject:RE: build-unix.sh error for mod_jk.so
 
 
 I don't see the that thread option set, so it must not be 
 using it.  That
 option should probably appear after cc, somewhere prior to 
 the -c and
 the source file.
 
 --mikej
 -=-
 mike jackson
 [EMAIL PROTECTED]
 
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, February 26, 2003 12:05 PM
  To: Tomcat Users List
  Subject: build-unix.sh error for mod_jk.so
 
 
  When trying to build mod_jk.so  on Tru64 Unix 5.1  using Apache
  1.3.27 and
  tomcat 3.3.1a I get the following error, can someone guild me in the
  correct direction:
   Compiling mod_jk
  13  cc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite
  -DSHARED_MODULE
  -I/usr/local/apache

RE: build-unix.sh error for mod_jk.so

2003-02-27 Thread Turner, John

No, that's the latest I think.  Sorry, I just couldn't remember what you
were using.  Did you build that Apache from source?  If so, I might try
statically linking JK instead of using DSO.

John

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: Thursday, February 27, 2003 11:37 AM
 To: Tomcat Users List
 Subject: RE: build-unix.sh error for mod_jk.so
 
 
 I'm using apache 1.3.27--Should I upgrade,   if so which 
 version would you 
 recommend?
 Sincerely,
 
 David Vann
 Martha Jefferson Hospital
 459 Locust Avenue
 Charlottesville, VA 22902
 [EMAIL PROTECTED]
 Phone (434) 244-5911
 Fax (434) 982-7351
 
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



build-unix.sh error for mod_jk.so

2003-02-26 Thread David . Vann
When trying to build mod_jk.so  on Tru64 Unix 5.1  using Apache 1.3.27 and 
tomcat 3.3.1a I get the following error, can someone guild me in the 
correct direction:
 Compiling mod_jk
13  cc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite 
-DSHARED_MODULE
-I/usr/local/apache/include -I../common -I/usr/opt/java131/include 
-I/usr/opt/ja
va131/include/alpha  -c mod_jk.c
14  cc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite 
-DSHARED_MODULE
-I/usr/local/apache/include -I../common -I/usr/opt/java131/include 
-I/usr/opt/ja
va131/include/alpha  -c ../common/jk_ajp12_worker.c
15  cc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite 
-DSHARED_MODULE
-I/usr/local/apache/include -I../common -I/usr/opt/java131/include 
-I/usr/opt/ja
va131/include/alpha  -c ../common/jk_ajp13.c
16  cc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite 
-DSHARED_MODULE
-I/usr/local/apache/include -I../common -I/usr/opt/java131/include 
-I/usr/opt/ja
va131/include/alpha  -c ../common/jk_ajp13_worker.c
17  cc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite 
-DSHARED_MODULE
-I/usr/local/apache/include -I../common -I/usr/opt/java131/include 
-I/usr/opt/ja
va131/include/alpha  -c ../common/jk_connect.c
18  cc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite 
-DSHARED_MODULE
-I/usr/local/apache/include -I../common -I/usr/opt/java131/include 
-I/usr/opt/ja
va131/include/alpha  -c ../common/jk_jni_worker.c
19  cc: Error: /usr/opt/java131/include/jni.h, line 34: #error 
Modules that
 interface with Java must be compiled and linked with the -pthread option 
(erro
rmessage)
20  #error Modules that interface with Java must be compiled and 
linked wit
h the -pthread option
21  -^

I thought the -pthread option was set.  If not how do I set it or how do I 
compile the java modules?


Sincerely,

David Vann
Martha Jefferson Hospital
459 Locust Avenue
Charlottesville, VA 22902
[EMAIL PROTECTED]
Phone (434) 244-5911
Fax (434) 982-7351

RE: build-unix.sh error for mod_jk.so

2003-02-26 Thread Mike Jackson
I don't see the that thread option set, so it must not be using it.  That
option should probably appear after cc, somewhere prior to the -c and
the source file.

--mikej
-=-
mike jackson
[EMAIL PROTECTED]

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, February 26, 2003 12:05 PM
 To: Tomcat Users List
 Subject: build-unix.sh error for mod_jk.so


 When trying to build mod_jk.so  on Tru64 Unix 5.1  using Apache
 1.3.27 and
 tomcat 3.3.1a I get the following error, can someone guild me in the
 correct direction:
  Compiling mod_jk
 13  cc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite
 -DSHARED_MODULE
 -I/usr/local/apache/include -I../common -I/usr/opt/java131/include
 -I/usr/opt/ja
 va131/include/alpha  -c mod_jk.c
 14  cc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite
 -DSHARED_MODULE
 -I/usr/local/apache/include -I../common -I/usr/opt/java131/include
 -I/usr/opt/ja
 va131/include/alpha  -c ../common/jk_ajp12_worker.c
 15  cc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite
 -DSHARED_MODULE
 -I/usr/local/apache/include -I../common -I/usr/opt/java131/include
 -I/usr/opt/ja
 va131/include/alpha  -c ../common/jk_ajp13.c
 16  cc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite
 -DSHARED_MODULE
 -I/usr/local/apache/include -I../common -I/usr/opt/java131/include
 -I/usr/opt/ja
 va131/include/alpha  -c ../common/jk_ajp13_worker.c
 17  cc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite
 -DSHARED_MODULE
 -I/usr/local/apache/include -I../common -I/usr/opt/java131/include
 -I/usr/opt/ja
 va131/include/alpha  -c ../common/jk_connect.c
 18  cc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite
 -DSHARED_MODULE
 -I/usr/local/apache/include -I../common -I/usr/opt/java131/include
 -I/usr/opt/ja
 va131/include/alpha  -c ../common/jk_jni_worker.c
 19  cc: Error: /usr/opt/java131/include/jni.h, line 34: #error
 Modules that
  interface with Java must be compiled and linked with the
 -pthread option
 (erro
 rmessage)
 20  #error Modules that interface with Java must be compiled and
 linked wit
 h the -pthread option
 21  -^

 I thought the -pthread option was set.  If not how do I set it or
 how do I
 compile the java modules?


 Sincerely,

 David Vann
 Martha Jefferson Hospital
 459 Locust Avenue
 Charlottesville, VA 22902
 [EMAIL PROTECTED]
 Phone (434) 244-5911
 Fax (434) 982-7351



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: build-unix.sh error for mod_jk.so

2003-02-26 Thread David . Vann
Thanks for the help , but now I get:
 cc -pthread -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DSHARE
D_MODULE -I/usr/local/apache/include -I../common 
-I/usr/opt/java131/include -I/u
sr/opt/java131/include/alpha  -c ../common/jk_jni_worker.c
19  cc: Warning: ../common/jk_jni_worker.c, line 751: In this 
statement, the
 referenced type of the pointer value dlsym(...) is void, which is not 
compa
tible with function (pointer to pointer to pointer to const struct 
JNIInvokeInt
erface_, pointer to pointer to pointer to const struct 
JNINativeInterface_, poin
ter to void) returning int. (ptrmismatch)
20  jni_create_java_vm = dlsym(handle, JNI_CreateJavaVM);
21  ^
22  cc: Warning: ../common/jk_jni_worker.c, line 752: In this 
statement, the
 referenced type of the pointer value dlsym(...) is void, which is not 
compa
tible with function (pointer to pointer to pointer to const struct 
JNIInvokeInt
erface_, int, pointer to int) returning int. (ptrmismatch)
23  jni_get_created_java_vms = dlsym(handle, 
JNI_GetCreatedJavaVMs
);
24  ^
25  cc: Warning: ../common/jk_jni_worker.c, line 753: In this 
statement, the
 referenced type of the pointer value dlsym(...) is void, which is not 
compa
tible with function (pointer to void) returning int. (ptrmismatch)
@


Any ideas would be greatly appreciated.

Sincerely,

David Vann
Martha Jefferson Hospital
459 Locust Avenue
Charlottesville, VA 22902
[EMAIL PROTECTED]
Phone (434) 244-5911
Fax (434) 982-7351




Mike Jackson [EMAIL PROTECTED]
02/26/2003 04:23 PM
Please respond to Tomcat Users List

 
To: Tomcat Users List [EMAIL PROTECTED]
cc: 
Subject:RE: build-unix.sh error for mod_jk.so


I don't see the that thread option set, so it must not be using it.  That
option should probably appear after cc, somewhere prior to the -c and
the source file.

--mikej
-=-
mike jackson
[EMAIL PROTECTED]

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, February 26, 2003 12:05 PM
 To: Tomcat Users List
 Subject: build-unix.sh error for mod_jk.so


 When trying to build mod_jk.so  on Tru64 Unix 5.1  using Apache
 1.3.27 and
 tomcat 3.3.1a I get the following error, can someone guild me in the
 correct direction:
  Compiling mod_jk
 13  cc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite
 -DSHARED_MODULE
 -I/usr/local/apache/include -I../common -I/usr/opt/java131/include
 -I/usr/opt/ja
 va131/include/alpha  -c mod_jk.c
 14  cc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite
 -DSHARED_MODULE
 -I/usr/local/apache/include -I../common -I/usr/opt/java131/include
 -I/usr/opt/ja
 va131/include/alpha  -c ../common/jk_ajp12_worker.c
 15  cc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite
 -DSHARED_MODULE
 -I/usr/local/apache/include -I../common -I/usr/opt/java131/include
 -I/usr/opt/ja
 va131/include/alpha  -c ../common/jk_ajp13.c
 16  cc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite
 -DSHARED_MODULE
 -I/usr/local/apache/include -I../common -I/usr/opt/java131/include
 -I/usr/opt/ja
 va131/include/alpha  -c ../common/jk_ajp13_worker.c
 17  cc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite
 -DSHARED_MODULE
 -I/usr/local/apache/include -I../common -I/usr/opt/java131/include
 -I/usr/opt/ja
 va131/include/alpha  -c ../common/jk_connect.c
 18  cc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite
 -DSHARED_MODULE
 -I/usr/local/apache/include -I../common -I/usr/opt/java131/include
 -I/usr/opt/ja
 va131/include/alpha  -c ../common/jk_jni_worker.c
 19  cc: Error: /usr/opt/java131/include/jni.h, line 34: #error
 Modules that
  interface with Java must be compiled and linked with the
 -pthread option
 (erro
 rmessage)
 20  #error Modules that interface with Java must be compiled and
 linked wit
 h the -pthread option
 21  -^

 I thought the -pthread option was set.  If not how do I set it or
 how do I
 compile the java modules?


 Sincerely,

 David Vann
 Martha Jefferson Hospital
 459 Locust Avenue
 Charlottesville, VA 22902
 [EMAIL PROTECTED]
 Phone (434) 244-5911
 Fax (434) 982-7351



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





mod_jk.so for Tru64 5.1

2003-02-25 Thread David . Vann
I'm new to this email list so forgive me if I'm in the wrong group for the 
following question.:

I'm a Lawson client who uses the apache web server 1.3.27 and tomcat 
servlet container 3.2.4 to handle servlets.  I can get apache to run and 
tomcat to run but not together.  I'll start tomcat and thus generate 
/usr/local/tomcat/conf/mod_jk.conf-auto which is referenced by apache in 
the httpd.conf file as: Include /usr/local/tomcat/conf/mod_jk.conf-auto. I 
get the following error:
# ./httpd configtest
Syntax error on line 8 of /usr/local/tomcat/conf/mod_jk.conf-auto:
Cannot load /usr/local/apache/libexec/mod_jk.so into server: dlopen: Can't 
open
needed library: /usr/local/apache/libexec/mod_jk.so

I've tried creating mod_jk.so but have not had any success.  What can I do 
to create this object on Tru64 Unix 5.1.  We are using an ES40 Compaq 
Alpha server.

 I tried the following but it failed with the following:
apxs -o mod_jk.so -I/usr/opt/java131 -I/usr/opt/java131/include 
-I/usr/opt/java131/include/alpha -c *.c /usr/opt/java131/*.c
cc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DSHARED_MODULE 
-I/usr/local/apache/include -I/usr/opt/java131 -I/usr/opt/java131/include 
-I/usr/opt/java131/include/alpha  -c *.c
cc: Severe: No such file or directory
... file is '*.c'
apxs:Break: Command failed with rc=1

Any help would be greatly appreciated.
Sincerely,

David Vann
Martha Jefferson Hospital
459 Locust Avenue
Charlottesville, VA 22902
[EMAIL PROTECTED]
Phone (434) 244-5911
Fax (434) 982-7351

RE: mod_jk.so / apache 1.3.27 / tomcat 4.1.18

2003-02-11 Thread \[de internetman\] Rene Kooyman
Citeren Turner, John [EMAIL PROTECTED]:

 Compile/Recompile:
 
 In CONNECTOR_SRC/jk/native (where CONNECTOR_SRC = wherever you unpacked the
 connector src):
 
 ./buildconf.sh
 ./configure --with-apxs=/path/to/apache/bin/apxs
 make
 make install
 
 The .so file will be in CONNECTOR_SRC/jk/native or native2, I forget which.

Hi John and all others,

I've done this, copied the file(s) to the right location, did all the
proper modifications and still ... everything will work from port 8080,
but not through apache, just have a look:

http://web.jurriaan.org/examples/jsp/   [ nothin ]
http://web.jurriaan.org:8080/examples/jsp/  [ presto: they work ]

I will keep trying to get things right... i think i can ... i think
i can ... i think i can ... i think i can ...

:-)


-- 
Kind regards,

Rene Kooyman


-

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: mod_jk.so / apache 1.3.27 / tomcat 4.1.18

2003-02-11 Thread Bill Barker

[de internetman] Rene Kooyman [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 Citeren Turner, John [EMAIL PROTECTED]:

  Compile/Recompile:
 
  In CONNECTOR_SRC/jk/native (where CONNECTOR_SRC = wherever you unpacked
the
  connector src):
 
  ./buildconf.sh
  ./configure --with-apxs=/path/to/apache/bin/apxs
  make
  make install
 
  The .so file will be in CONNECTOR_SRC/jk/native or native2, I forget
which.

 Hi John and all others,

 I've done this, copied the file(s) to the right location, did all the
 proper modifications and still ... everything will work from port 8080,
 but not through apache, just have a look:

 http://web.jurriaan.org/examples/jsp/   [ nothin ]


Clicking on this link for me gives a nice, pretty Tomcat page.  Are you sure
that you don't have a caching Proxy server between you and it?

 http://web.jurriaan.org:8080/examples/jsp/  [ presto: they work ]

 I will keep trying to get things right... i think i can ... i think
 i can ... i think i can ... i think i can ...

 :-)


 --
 Kind regards,

 Rene Kooyman


 -




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: mod_jk.so / apache 1.3.27 / tomcat 4.1.18

2003-02-11 Thread \[de internetman\] Rene Kooyman
  http://web.jurriaan.org/examples/jsp/   [ nothin ]
 
 Clicking on this link for me gives a nice, pretty Tomcat page.  Are you
 sure
 that you don't have a caching Proxy server between you and it?

Hi Bill,

The problem isn't that these page's show up (fortunatly) but just click
on one of the examples. Then you'll notice that the scripts aren't run,
you'll just get the source code.. But when you add the port 8080 to the
URL... he presto! Odd, ... or isn't it ?

  http://web.jurriaan.org:8080/examples/jsp/  [ presto: they work ]


-- 
Kind regards,

Rene Kooyman


-

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: mod_jk.so / apache 1.3.27 / tomcat 4.1.18

2003-02-11 Thread Turner, John

Yes, very.  This isn't a problem with mod_jk, as far as I can tell.

The 8080 URL didn't work for me just now, which implies to me that Tomcat
isn't even up, but that might be due to maintenance instead of error.

Can you post the log entries that you get when you try to access the
examples on port 80?  Apache's log, mod_jk's log in particular.  You might
need to jack up JK's logging level.

John

 -Original Message-
 From: [de internetman] Rene Kooyman [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, February 11, 2003 4:16 AM
 To: Tomcat Users List; Bill Barker
 Subject: Re: mod_jk.so / apache 1.3.27 / tomcat 4.1.18
 
 
   http://web.jurriaan.org/examples/jsp/   [ nothin ]
  
  Clicking on this link for me gives a nice, pretty Tomcat 
 page.  Are you
  sure
  that you don't have a caching Proxy server between you and it?
 
 Hi Bill,
 
 The problem isn't that these page's show up (fortunatly) but 
 just click
 on one of the examples. Then you'll notice that the scripts 
 aren't run,
 you'll just get the source code.. But when you add the port 
 8080 to the
 URL... he presto! Odd, ... or isn't it ?
 
   http://web.jurriaan.org:8080/examples/jsp/  [ presto: they work ]
 
 
 -- 
 Kind regards,
 
 Rene Kooyman
 
 
 -
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: mod_jk.so / apache 1.3.27 / tomcat 4.1.18

2003-02-11 Thread \[de internetman\] Rene Kooyman
Citeren Turner, John [EMAIL PROTECTED]:

 Yes, very.  This isn't a problem with mod_jk, as far as I can tell.
 
 The 8080 URL didn't work for me just now, which implies to me that Tomcat
 isn't even up, but that might be due to maintenance instead of error.
 
 Can you post the log entries that you get when you try to access the
 examples on port 80?  Apache's log, mod_jk's log in particular.  You might
 need to jack up JK's logging level.
 

Sorry, i've given up on mod_jk and am concentrating on mod_webapp.so now.
Seems to work (a little) better, however still not all is as it should be,
another 12 hour day 'waisted' trying to figure out what's wrong ...

.. just keep on going.. eventually we'll (all) get there ..

-- 
Kind regards,

Rene Kooyman


-

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: mod_jk.so / apache 1.3.27 / tomcat 4.1.18

2003-02-11 Thread Turner, John

Well, if you keep going with mod_webapp, it will all be wasted, eventually.
It's dead.

John

 -Original Message-
 From: [de internetman] Rene Kooyman [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, February 11, 2003 1:47 PM
 To: Tomcat Users List
 Subject: RE: mod_jk.so / apache 1.3.27 / tomcat 4.1.18
 
 
 Citeren Turner, John [EMAIL PROTECTED]:
 
  Yes, very.  This isn't a problem with mod_jk, as far as I can tell.
  
  The 8080 URL didn't work for me just now, which implies to 
 me that Tomcat
  isn't even up, but that might be due to maintenance instead 
 of error.
  
  Can you post the log entries that you get when you try to access the
  examples on port 80?  Apache's log, mod_jk's log in 
 particular.  You might
  need to jack up JK's logging level.
  
 
 Sorry, i've given up on mod_jk and am concentrating on 
 mod_webapp.so now.
 Seems to work (a little) better, however still not all is as 
 it should be,
 another 12 hour day 'waisted' trying to figure out what's wrong ...
 
 .. just keep on going.. eventually we'll (all) get there ..
 
 -- 
 Kind regards,
 
 Rene Kooyman
 
 
 -
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




mod_jk.so / apache 1.3.27 / tomcat 4.1.18

2003-02-10 Thread \[de internetman\] Rene Kooyman
Oke, that's done, just use the: /usr/lib/apache folder .. p,
now were getting somewhere, although i can't compile normaly because
apxs is located in the other folder ... so be it 

Now md_jk.so will load... but here's the error messages i was telling
you about earlier:

[warn] Loaded DSO modules/mod_jk.so uses plain Apache 1.3 API, this module 
might crash under EAPI! (please recompile it with -DEAPI)


And like i said before, should this be safe to ignore ... or do i have to
recompile ... and if so: how ?

-- 
Kind regards,

Rene Kooyman


-

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: mod_jk.so / apache 1.3.27 / tomcat 4.1.18

2003-02-10 Thread Turner, John

Compile/Recompile:

In CONNECTOR_SRC/jk/native (where CONNECTOR_SRC = wherever you unpacked the
connector src):

./buildconf.sh
./configure --with-apxs=/path/to/apache/bin/apxs
make
make install

The .so file will be in CONNECTOR_SRC/jk/native or native2, I forget which.

John

 -Original Message-
 From: [de internetman] Rene Kooyman [mailto:[EMAIL PROTECTED]]
 Sent: Monday, February 10, 2003 3:33 PM
 To: Tomcat Users List
 Subject: mod_jk.so / apache 1.3.27 / tomcat 4.1.18
 
 
 Oke, that's done, just use the: /usr/lib/apache folder .. p,
 now were getting somewhere, although i can't compile normaly because
 apxs is located in the other folder ... so be it 
 
 Now md_jk.so will load... but here's the error messages i was telling
 you about earlier:
 
 [warn] Loaded DSO modules/mod_jk.so uses plain Apache 1.3 
 API, this module 
 might crash under EAPI! (please recompile it with -DEAPI)
 
 
 And like i said before, should this be safe to ignore ... or 
 do i have to
 recompile ... and if so: how ?
 
 -- 
 Kind regards,
 
 Rene Kooyman
 
 
 -
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: mod_jk.so / apache 1.3.27 / tomcat 4.1.18

2003-02-10 Thread Subir Sengupta
I get that too and it doesn't cause any problems.  I didn't build Apache so
I don't know what's causing it.  However you can probably safely ignore it.

Subir

-Original Message-
From: [de internetman] Rene Kooyman [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 10, 2003 12:33 PM
To: Tomcat Users List
Subject: mod_jk.so / apache 1.3.27 / tomcat 4.1.18


Oke, that's done, just use the: /usr/lib/apache folder .. p,
now were getting somewhere, although i can't compile normaly because
apxs is located in the other folder ... so be it 

Now md_jk.so will load... but here's the error messages i was telling
you about earlier:

[warn] Loaded DSO modules/mod_jk.so uses plain Apache 1.3 API, this module 
might crash under EAPI! (please recompile it with -DEAPI)


And like i said before, should this be safe to ignore ... or do i have to
recompile ... and if so: how ?

-- 
Kind regards,

Rene Kooyman


-

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: mod_jk.so / apache 1.3.27 / tomcat 4.1.18

2003-02-10 Thread Bill Barker

[de internetman] Rene Kooyman [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 Oke, that's done, just use the: /usr/lib/apache folder .. p,
 now were getting somewhere, although i can't compile normaly because
 apxs is located in the other folder ... so be it 

 Now md_jk.so will load... but here's the error messages i was telling
 you about earlier:

 [warn] Loaded DSO modules/mod_jk.so uses plain Apache 1.3 API, this module
 might crash under EAPI! (please recompile it with -DEAPI)


 And like i said before, should this be safe to ignore ... or do i have to
 recompile ... and if so: how ?


It will probably crash (unless you disable SSL support at runtime).  You
need to provide the correct --with-apxs path the the mod_jk configure script
so that it knows to compile with the EAPI code.

 --
 Kind regards,

 Rene Kooyman


 -




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




AIX HELP apache won't load mod_jk.so

2003-01-21 Thread HAMILTON, DALE K (SBCSI)
I am trying to connect Apache 1.3.26 to tomcat 4.1.18 via mod_jk or mod_jk2.
Apache has the following modules statically linked:

Compiled-in modules:
  http_core.c
  mod_vhost_alias.c
  mod_env.c
  mod_log_config.c
  mod_mime_magic.c
  mod_mime.c
  mod_negotiation.c
  mod_status.c
  mod_info.c
  mod_include.c
  mod_autoindex.c
  mod_dir.c
  mod_cgi.c
  mod_asis.c
  mod_imap.c
  mod_actions.c
  mod_speling.c
  mod_userdir.c
  mod_alias.c
  mod_rewrite.c
  mod_access.c
  mod_auth.c
  mod_auth_anon.c
  mod_auth_dbm.c
  mod_digest.c
  mod_proxy.c
  mod_cern_meta.c
  mod_expires.c
  mod_headers.c
  mod_usertrack.c
  mod_unique_id.c
  mod_so.c
  mod_setenvif.c
  mod_perl.c

I get the following error -

/appl/optisys/apache/bin apachectl configtest
Syntax error on line 236 of /appl/optisys/apache/conf/httpd.conf:
Cannot load /appl/optisys/apache/libexec/mod_jk.so into server: dlopen:
/appl/op
tisys/apache/libexec/mod_jk.so: 

 Dale K. Hamilton
 Sr. Technical Architect
 Phone 314.331.9383
*[EMAIL PROTECTED]
 This e-mail and any files transmitted with it are property of SBC, are
 confidential, and are intended solely for the use of the individual(s) or
 entity to which this e-mail is addressed.  If you are not one of the named
 recipient(s) or otherwise have reason to believe that you have received
 this message in error, please notify the sender at 314.331.9383 and delete
 this message immediately from your computer.  Any other use, retention,
 dissemination, forwarding, printing or copying of this e-mail is strictly
 prohibited.
 

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Apache 2.0 mod_jk.so bug ?

2002-12-16 Thread Dan Higgins
Hi,

Whether it's a bug or not, it's definitely a strange thing going on, and at
this point in time I suspect the mod_jk.so is the problem. I hope I can get
a little verification.

I have a Location Apache directive inside a SSL-enabled virtualhost, and
if I go to a *directory* under that location that happens to be served by
Tomcat, the URL rewrite gets munged. For example:

 Begin sample Apache conf 
VirtualHost _default_:443

#  General setup for the virtual host
DocumentRoot /test/html/mysite-ssl
ServerName foo.bar.com:443
ServerAdmin [EMAIL PROTECTED]
ErrorLog logs/ssl_error_log
TransferLog logs/ssl_access_log

#   SSL Engine Switch:
#   Enable/Disable SSL for this virtual host.
SSLEngine on

[... (extra config removed)]

Location /my-open-web-context
  Order Deny,Allow
  Allow from all
  Satisfy any
/Location

/VirtualHost

[...]
JkMount /my-open-web-context ajp13
JkMount /my-open-web-context/* ajp13
 End sample Apache conf 

IF I go to
https://foo.bar.com/my-open-web-context/index.jsp
it works FINE. BUT if I go to
https://foo.bar.com/my-open-web-context/ (i.e. no index.jsp)
I get a URL like this in my browser:
http://foo.bar.com:443/my-open-web-context/index.jsp
This URL of course fails because the http on the https port.

Is this really a bug? Is there a better mailing list for mod_jk questions?

Info: RedHat 8.0, Apache 2.0.40, Tomcat 4.0.6LE, mod_jk.so compiled from
jakarta-tomcat-connectors-4.0.6-src package.

Thanks for any pointers,
-Dan


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Apache 2.0 mod_jk.so bug ?

2002-12-16 Thread Dan Higgins
BTW, this all worked fine with Apache 1.3. Also note that any dir handled by
mod_jk NOT under the Location works fine. Smells like a bug.

I'd like to get a developer (mod_jk.c) involved, but I was hoping this list
would give me a little verification first.

Thanks,
-Dan


 -Original Message-
 From: Dan Higgins [mailto:[EMAIL PROTECTED]]
 Sent: Monday, December 16, 2002 1:03 PM
 To: Tomcat Users List
 Subject: Apache 2.0 mod_jk.so bug ?


 Hi,

 Whether it's a bug or not, it's definitely a strange thing going
 on, and at
 this point in time I suspect the mod_jk.so is the problem. I hope
 I can get
 a little verification.

 I have a Location Apache directive inside a SSL-enabled virtualhost, and
 if I go to a *directory* under that location that happens to be served by
 Tomcat, the URL rewrite gets munged. For example:

  Begin sample Apache conf 
 VirtualHost _default_:443

 #  General setup for the virtual host
 DocumentRoot /test/html/mysite-ssl
 ServerName foo.bar.com:443
 ServerAdmin [EMAIL PROTECTED]
 ErrorLog logs/ssl_error_log
 TransferLog logs/ssl_access_log

 #   SSL Engine Switch:
 #   Enable/Disable SSL for this virtual host.
 SSLEngine on

 [... (extra config removed)]

 Location /my-open-web-context
   Order Deny,Allow
   Allow from all
   Satisfy any
 /Location

 /VirtualHost

 [...]
 JkMount /my-open-web-context ajp13
 JkMount /my-open-web-context/* ajp13
  End sample Apache conf 

 IF I go to
 https://foo.bar.com/my-open-web-context/index.jsp
 it works FINE. BUT if I go to
 https://foo.bar.com/my-open-web-context/ (i.e. no index.jsp)
 I get a URL like this in my browser:
 http://foo.bar.com:443/my-open-web-context/index.jsp
 This URL of course fails because the http on the https port.

 Is this really a bug? Is there a better mailing list for mod_jk questions?

 Info: RedHat 8.0, Apache 2.0.40, Tomcat 4.0.6LE, mod_jk.so compiled from
 jakarta-tomcat-connectors-4.0.6-src package.

 Thanks for any pointers,
 -Dan


 --
 To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




MOD_JK.SO

2002-10-29 Thread Mehdi . Nejad

Hi,

We are trying to get Tomcat 4.1.12 and Apache 1 3 26 working together using
mod_jk.so.

We are receiving the followitng error :

Starting httpd: Syntax error on line 224 of /etc/httpd/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/mod_jk.so into server:
/usr/local/apache/libexec/mod_jk.so:
 undefined symbol: ap_ctx_get

Never done this before, and im probably just plain wrong !

Any replys would be apperciated,

Cheers,

M

Mehdi Nejad - Senior Developer
[EMAIL PROTECTED]
~~
Bluewave Ltd - Online Creations
http://www.bluewave.com
Tel. +44 (0)20 7479 8394
~~


   
 
  Jordi Guijarro 
 
  jordi.guijarro@uTo:   
[EMAIL PROTECTED]   
  ab.es   cc: 
 
   Subject:  Run Tomcat 4.1.2 on Novell
 
  29/10/2002 17:38 
 
  Please respond to
 
  Tomcat Users
 
  List
 
   
 
   
 




Hi,

How can I run Tomcat 4.1.2 on Novell Netware 5.1 ¿?  Nowadays I've a
script (ncf file)  to start catalina in Tomcat 4.0.4 version. This
script is not included in Tomcat 4.1.2. Someone knows about it ?

Thank you,

Jordi






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




Re: MOD_JK.SO

2002-10-29 Thread Ben Ricker
I got this on Apache 1.3.27. I assume you downloaded the binary
mod_jk.so. Make sure that you got that fits your use or non-use of SSL
in the server. Not sure where you got the binary, but there is a note on
the jakarta connector download page that lists which binary is for
which.

I myself just compiled the connector from source; I could not get the
binary connector to work with Apache without getting that error.

Ben Ricker
Wellinx.com

On Tue, 2002-10-29 at 12:02, [EMAIL PROTECTED] wrote:
 
 Hi,
 
 We are trying to get Tomcat 4.1.12 and Apache 1 3 26 working together using
 mod_jk.so.
 
 We are receiving the followitng error :
 
 Starting httpd: Syntax error on line 224 of /etc/httpd/conf/httpd.conf:
 Cannot load /usr/local/apache/libexec/mod_jk.so into server:
 /usr/local/apache/libexec/mod_jk.so:
  undefined symbol: ap_ctx_get
 
 Never done this before, and im probably just plain wrong !
 
 Any replys would be apperciated,
 
 Cheers,
 
 M
 
 Mehdi Nejad - Senior Developer
 [EMAIL PROTECTED]
 ~~
 Bluewave Ltd - Online Creations
 http://www.bluewave.com
 Tel. +44 (0)20 7479 8394
 ~~
 
 
  
   
   Jordi Guijarro   
   
   jordi.guijarro@uTo:   
[EMAIL PROTECTED]   
   ab.es   cc:   
   
Subject:  Run Tomcat 4.1.2 on Novell  
   
   29/10/2002 17:38   
   
   Please respond to  
   
   Tomcat Users  
   
   List  
   
  
   
  
   
 
 
 
 
 Hi,
 
 How can I run Tomcat 4.1.2 on Novell Netware 5.1 ¿?  Nowadays I've a
 script (ncf file)  to start catalina in Tomcat 4.0.4 version. This
 script is not included in Tomcat 4.1.2. Someone knows about it ?
 
 Thank you,
 
 Jordi
 
 
 
 
 
 
 --
 To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
 For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
 



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




Re: MOD_JK.SO

2002-10-29 Thread Mehdi . Nejad


according to this :

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/connectors.html

i should need mod_jk2 and not mod_jk (well, mod_jk may also work, but
hey,..) - and its enabled by default on the appserver im using..

If by any chance i am right, can someone tell me why I cant find a humble
link to download the file ?  maybe jakarta are having webserver problems.

I quote from the site :



(Do not hesitate to ask for the binary needed for your platform to  
the Tomcat mail lists, but be patient). 




so here goes : im using linux - can i have this file - please..

thanks 4 reading this far.

Mehdi







   
 
  Mehdi.Nejad@bluew
 
  ave.com  To:   Tomcat Users List 
[EMAIL PROTECTED]   
   cc: 
 
  29/10/2002 18:02 Subject:  MOD_JK.SO 
 
  Please respond to
 
  Tomcat Users
 
  List
 
   
 
   
 





Hi,

We are trying to get Tomcat 4.1.12 and Apache 1 3 26 working together using
mod_jk.so.

We are receiving the followitng error :

Starting httpd: Syntax error on line 224 of /etc/httpd/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/mod_jk.so into server:
/usr/local/apache/libexec/mod_jk.so:
 undefined symbol: ap_ctx_get

Never done this before, and im probably just plain wrong !

Any replys would be apperciated,

Cheers,

M

Mehdi Nejad - Senior Developer
[EMAIL PROTECTED]
~~
Bluewave Ltd - Online Creations
http://www.bluewave.com
Tel. +44 (0)20 7479 8394
~~



  Jordi Guijarro

  jordi.guijarro@uTo:
[EMAIL PROTECTED]
  ab.es   cc:

   Subject:  Run Tomcat 4.1.2
on Novell
  29/10/2002 17:38

  Please respond to

  Tomcat Users

  List







Hi,

How can I run Tomcat 4.1.2 on Novell Netware 5.1 ¿?  Nowadays I've a
script (ncf file)  to start catalina in Tomcat 4.0.4 version. This
script is not included in Tomcat 4.1.2. Someone knows about it ?

Thank you,

Jordi






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






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




Re: MOD_JK.SO

2002-10-29 Thread Ben Ricker
On Tue, 2002-10-29 at 12:22, [EMAIL PROTECTED] wrote:
 
 
 according to this :
 
 http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/connectors.html
 
 i should need mod_jk2 and not mod_jk (well, mod_jk may also work, but
 hey,..) - and its enabled by default on the appserver im using..

I use the mod_jk version for stability reasons: mod_jk2 is rather new,
so I would rather use the mostly tried-and-true mod_jk 1.x. That is my
personal opinion, though. Others use mod_jk2 without any problems.
 
 If by any chance i am right, can someone tell me why I cant find a humble
 link to download the file ?  maybe jakarta are having webserver problems.

Try http://jakarta.apache.org/builds/jakarta-tomcat-connectors/ for
connetor downloads, or go to John Turner's wonderful page:
http://www.johnturner.com/howto/apache-tomcat-howto.html.

Ben Ricker
Wellinx.com


 
 I quote from the site :
 
 
 
 (Do not hesitate to ask for the binary needed for your platform to  
 the Tomcat mail lists, but be patient). 
 
 
 
 
 so here goes : im using linux - can i have this file - please..
 
 thanks 4 reading this far.
 
 Mehdi
 
 
 
 
 
 
 
  
   
   Mehdi.Nejad@bluew  
   
   ave.com  To:   Tomcat Users List 
[EMAIL PROTECTED]   
cc:   
   
   29/10/2002 18:02 Subject:  MOD_JK.SO   
   
   Please respond to  
   
   Tomcat Users  
   
   List  
   
  
   
  
   
 
 
 
 
 
 Hi,
 
 We are trying to get Tomcat 4.1.12 and Apache 1 3 26 working together using
 mod_jk.so.
 
 We are receiving the followitng error :
 
 Starting httpd: Syntax error on line 224 of /etc/httpd/conf/httpd.conf:
 Cannot load /usr/local/apache/libexec/mod_jk.so into server:
 /usr/local/apache/libexec/mod_jk.so:
  undefined symbol: ap_ctx_get
 
 Never done this before, and im probably just plain wrong !
 
 Any replys would be apperciated,
 
 Cheers,
 
 M
 
 Mehdi Nejad - Senior Developer
 [EMAIL PROTECTED]
 ~~
 Bluewave Ltd - Online Creations
 http://www.bluewave.com
 Tel. +44 (0)20 7479 8394
 ~~
 
 
 
   Jordi Guijarro
 
   jordi.guijarro@uTo:
 [EMAIL PROTECTED]
   ab.es   cc:
 
Subject:  Run Tomcat 4.1.2
 on Novell
   29/10/2002 17:38
 
   Please respond to
 
   Tomcat Users
 
   List
 
 
 
 
 
 
 
 Hi,
 
 How can I run Tomcat 4.1.2 on Novell Netware 5.1 ¿?  Nowadays I've a
 script (ncf file)  to start catalina in Tomcat 4.0.4 version. This
 script is not included in Tomcat 4.1.2. Someone knows about it ?
 
 Thank you,
 
 Jordi
 
 
 
 
 
 
 --
 To unsubscribe, e-mail:   
 mailto:tomcat-user-unsubscribe;jakarta.apache.org
 For additional commands, e-mail: 
 mailto:tomcat-user-help;jakarta.apache.org
 
 
 
 
 
 
 --
 To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
 For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
 



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




RE: Building mod_jk.so for Linux

2002-10-15 Thread Brett Knights

Actually it turned out not to be the build!

if I edit httpd.conf thus:
...
LoadModule alias_module modules/mod_alias.so
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule perl_module modules/mod_perl.so
LoadModule jk_module modules/mod_jk.so
...

I then mod_jk is not recognized and the errors below are returned when
apache is started

if I change httpd.conf to the following:
...
LoadModule jk_module modules/mod_jk.so
LoadModule alias_module modules/mod_alias.so
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule perl_module modules/mod_perl.so
...

Apache starts properly and mod_jk works.
Can anyone tell me where this is documented?

HTH

 -Original Message-
 From: Brett Knights [mailto:[EMAIL PROTECTED]]
 Sent: Saturday, October 12, 2002 9:53 AM
 To: 'Tomcat Users List'
 Subject: Building mod_jk.so for Linux
 
 
 Hi,
 I have a RH Linux 7.2 system with Apache 2.0.42 installed.
 
 I am trying to compile mod_jk.so for this system.
 
 I have the jakarta-tomcat-connectors-4.0.6-src files and run 
 the following
 to make the .so
 
 from jk/native
 ./configure --with-apxs=/usr/local/apache2/bin/apxs
 make
 
 this process runs without errors but when I copy the mod_jk.so from
 jk/native/apache-2.0 and try to configure and run apache I get:
 
 Syntax error on line 1025 of /usr/local/apache2/conf/httpd.conf:
 Invalid command 'JkWorkersFile', perhaps mis-spelled or 
 defined by a module
 not included in the server configuration
 
 I did include the line:
 LoadModule jk_module modules/mod_jk.so
 
 Any help on this would be much appreciated.
 
 FWIW I can't run the ant script that is supposed to build the native
 components.
 It fails with the following:
 BUILD FAILED
 file:/usr/local/src/jakarta-tomcat-connectors-4.0.6-src/jk/nat
ive2/build.xml
:341: Link failed libjkjni

--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Building mod_jk.so for Linux

2002-10-15 Thread Turner, John


That's pretty strange.  Mod_jk is the last module loaded for me, at the very
end of httpd.conf, and it works perfectly.

John


 -Original Message-
 From: Brett Knights [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, October 15, 2002 2:22 PM
 To: 'Tomcat Users List'
 Subject: RE: Building mod_jk.so for Linux
 
 
 Actually it turned out not to be the build!
 
 if I edit httpd.conf thus:
 ...
 LoadModule alias_module modules/mod_alias.so
 LoadModule rewrite_module modules/mod_rewrite.so
 LoadModule perl_module modules/mod_perl.so
 LoadModule jk_module modules/mod_jk.so
 ...
 
 I then mod_jk is not recognized and the errors below are returned when
 apache is started
 
 if I change httpd.conf to the following:
 ...
 LoadModule jk_module modules/mod_jk.so
 LoadModule alias_module modules/mod_alias.so
 LoadModule rewrite_module modules/mod_rewrite.so
 LoadModule perl_module modules/mod_perl.so
 ...
 
 Apache starts properly and mod_jk works.
 Can anyone tell me where this is documented?
 
 HTH
 

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Building mod_jk.so for Linux

2002-10-15 Thread Brett Knights



This is with TC 4.0.6, TC Connectors 4.0.6, Apache 2.0.42 and Linux Red Hat
7.2
What versions are you using?

 -Original Message-
 From: Turner, John [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, October 15, 2002 11:28 AM
 To: 'Tomcat Users List'
 Subject: RE: Building mod_jk.so for Linux
 
 
 
 That's pretty strange.  Mod_jk is the last module loaded for 
 me, at the very
 end of httpd.conf, and it works perfectly.
 
 John
 
 
  -Original Message-
  From: Brett Knights [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, October 15, 2002 2:22 PM
  To: 'Tomcat Users List'
  Subject: RE: Building mod_jk.so for Linux
  
  
  Actually it turned out not to be the build!
  
  if I edit httpd.conf thus:
  ...
  LoadModule alias_module modules/mod_alias.so
  LoadModule rewrite_module modules/mod_rewrite.so
  LoadModule perl_module modules/mod_perl.so
  LoadModule jk_module modules/mod_jk.so
  ...
  
  I then mod_jk is not recognized and the errors below are 
 returned when
  apache is started
  
  if I change httpd.conf to the following:
  ...
  LoadModule jk_module modules/mod_jk.so
  LoadModule alias_module modules/mod_alias.so
  LoadModule rewrite_module modules/mod_rewrite.so
  LoadModule perl_module modules/mod_perl.so
  ...
  
  Apache starts properly and mod_jk works.
  Can anyone tell me where this is documented?
  
  HTH
  
 
 --
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]
 

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Building mod_jk.so for Linux

2002-10-15 Thread Turner, John


Various...I've been doing a lot of testing.

I use the auto-gen function of Tomcat's ajp13 connector, which puts the
LoadModule statement at the end of httpd.conf.  Two environments I know are
OK (or seem to be, as far as the errors you're seeing are concerned):

Tomcat 4.0.6, homegrown connector (built from source pre 1.2.0), Apache
1.3.26
Tomcat 4.1.10, homegrown connector, Apache 2.0.4x

John

 -Original Message-
 From: Brett Knights [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, October 15, 2002 2:35 PM
 To: 'Tomcat Users List'
 Subject: RE: Building mod_jk.so for Linux
 
 
 
 
 This is with TC 4.0.6, TC Connectors 4.0.6, Apache 2.0.42 and 
 Linux Red Hat
 7.2
 What versions are you using?
 
  -Original Message-
  From: Turner, John [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, October 15, 2002 11:28 AM
  To: 'Tomcat Users List'
  Subject: RE: Building mod_jk.so for Linux
  
  
  
  That's pretty strange.  Mod_jk is the last module loaded for 
  me, at the very
  end of httpd.conf, and it works perfectly.
  
  John
  
  
   -Original Message-
   From: Brett Knights [mailto:[EMAIL PROTECTED]]
   Sent: Tuesday, October 15, 2002 2:22 PM
   To: 'Tomcat Users List'
   Subject: RE: Building mod_jk.so for Linux
   
   
   Actually it turned out not to be the build!
   
   if I edit httpd.conf thus:
   ...
   LoadModule alias_module modules/mod_alias.so
   LoadModule rewrite_module modules/mod_rewrite.so
   LoadModule perl_module modules/mod_perl.so
   LoadModule jk_module modules/mod_jk.so
   ...
   
   I then mod_jk is not recognized and the errors below are 
  returned when
   apache is started
   
   if I change httpd.conf to the following:
   ...
   LoadModule jk_module modules/mod_jk.so
   LoadModule alias_module modules/mod_alias.so
   LoadModule rewrite_module modules/mod_rewrite.so
   LoadModule perl_module modules/mod_perl.so
   ...
   
   Apache starts properly and mod_jk works.
   Can anyone tell me where this is documented?
   
   HTH
   
  
  --
  To unsubscribe, e-mail:   
  mailto:[EMAIL PROTECTED]
  For additional commands, e-mail: 
  mailto:[EMAIL PROTECTED]
  
 
 --
 To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




  1   2   3   4   5   6   >