Re: jk2 problems

2004-05-18 Thread Nikola Milutinovic
[EMAIL PROTECTED] wrote:
I'm getting error in my apache tomcat configuration and
I don't know why.
I'm running Tomcat 4.1.18 with apache 2.0.49 under linux.
And I can't make apache running with mod jk stuff.
Here is an extract of my apache httpd.conf file
LoadModule jk2_module modules/mod_jk2.so
IfModule mod_jk2.c
JkWorkersFile 
/opt/jboss/prod-intraneta/intraneta/prod/conf/workers.properties
JkLogFile /var/log/apache/inet/jk.log
JkLogLevel info 
JkMount /jmx-console/* ajp13 
/IfModule

when I start apache, I get the error message below
Invalid command 'JkWorkersFile', perhaps mis-spelled or defined by a 
module not included in the server configuration

can someone tells me what I'm doing wrong
Those directives are from mod_jk and you're using mod_jk2. Take a look 
at Tomcat docs (on Jakarta's site, if you can't get your local copy 
running). There is a section on JK connectors. The examples are mostly OK.

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


Re: jk2 problems

2004-03-19 Thread Allan Bruce
 Allan,
 
 the problem is the mod_jk2.so shared library is not able to find the
 undefined symbol ap_server_root. I don't know in which library it
 resides, but I have a similar problem with a different library, since my
 connexion uses Unix sockets. You can look at the content of the shared
 library using the nm command. The symbol prefixed by a U are the
 undefined symbols and the symbols defined within the library are
 prefixed with a T.
 
 For example, nm libjkjni.so | grep md5 will produce the following
 output:
 
  U apr_md5_final
  U apr_md5_init
  U apr_md5_update
 c460 T jk2_md5
 
 The jk2_md5 symbol is defined within the library and it probably
 requires apr_md5_final, apr_md5_init and apr_md5_update which are tagged
 undefined.
 
 $ nm libaprutil-0.so.0.9.5 | grep md5
 8590 T apr_md5
 8f80 T apr_md5_encode
 84d0 T apr_md5_final
 82a0 T apr_md5_init
 82e0 T apr_md5_set_xlate
 8330 T apr_md5_update
 
 Shows required symbols are in the libaprutil-0.so.0.9.5 shared library.
 
 Normally, with a right shared library configuration /etc/ld.so.conf or
 appropriate LD_LIBRARY_PATH, the required symbols in libjkjni.so should
 be resolved properly. And the error message from your catalina.out
 logfile should not appear.
 
 Now, why it happens? I just don't know. I am getting a apr_md5_final
 undefined symbol error even if my configuration seems OK. Is there
 something different when the library is loaded from the Java JNI? I
 don't know.
 
 So, at least you better understand what is happening, even if I am
 useless to provide you with a solution...
 
 

I just get lots of  `no symbols`, e.g.

[EMAIL PROTECTED] apache2]# nm jkjni.so 
nm: jkjni.so: no symbols


Allan


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



Re: jk2 problems

2004-03-18 Thread Daniel Savard
Le jeu 18/03/2004 à 19:14, Allan Bruce a écrit :

 - catalina.out
 18-Mar-2004 10:01:57 org.apache.coyote.http11.Http11Protocol start
 INFO: Starting Coyote HTTP/1.1 on port 8080
 18-Mar-2004 10:01:58 org.apache.jk.server.JkMain start
 INFO: APR not loaded, disabling jni components: java.io.IOException:
 /usr/lib/apache2/mod_jk2.so: /usr/lib/apache2/mod_jk2.so: undefined symbol:
 ap_server_root
 18-Mar-2004 10:01:58 org.apache.jk.common.ChannelSocket init
 INFO: JK2: ajp13 listening on /0.0.0.0:8019
 18-Mar-2004 10:01:58 org.apache.jk.server.JkMain start
 INFO: Jk running ID=0 time=23/505
 config=/usr/local/sites/tomcat/tomcat/conf/jk2.properties
 18-Mar-2004 10:01:58 org.apache.jk.server.JkMain start
 INFO: APR not loaded, disabling jni components: java.io.IOException:
 /usr/lib/apache2/mod_jk2.so: /usr/lib/apache2/mod_jk2.so: undefined symbol:
 ap_server_root
 18-Mar-2004 10:01:58 org.apache.jk.common.ChannelSocket init
 INFO: JK2: ajp13 listening on /0.0.0.0:8009
 18-Mar-2004 10:01:58 org.apache.jk.server.JkMain start
 INFO: Jk running ID=0 time=5/126
 config=/usr/local/sites/tomcat/tomcat/conf/jk2.properties
 

Allan,

the problem is the mod_jk2.so shared library is not able to find the
undefined symbol ap_server_root. I don't know in which library it
resides, but I have a similar problem with a different library, since my
connexion uses Unix sockets. You can look at the content of the shared
library using the nm command. The symbol prefixed by a U are the
undefined symbols and the symbols defined within the library are
prefixed with a T.

For example, nm libjkjni.so | grep md5 will produce the following
output:

 U apr_md5_final
 U apr_md5_init
 U apr_md5_update
c460 T jk2_md5

The jk2_md5 symbol is defined within the library and it probably
requires apr_md5_final, apr_md5_init and apr_md5_update which are tagged
undefined.

$ nm libaprutil-0.so.0.9.5 | grep md5
8590 T apr_md5
8f80 T apr_md5_encode
84d0 T apr_md5_final
82a0 T apr_md5_init
82e0 T apr_md5_set_xlate
8330 T apr_md5_update

Shows required symbols are in the libaprutil-0.so.0.9.5 shared library.

Normally, with a right shared library configuration /etc/ld.so.conf or
appropriate LD_LIBRARY_PATH, the required symbols in libjkjni.so should
be resolved properly. And the error message from your catalina.out
logfile should not appear.

Now, why it happens? I just don't know. I am getting a apr_md5_final
undefined symbol error even if my configuration seems OK. Is there
something different when the library is loaded from the Java JNI? I
don't know.

So, at least you better understand what is happening, even if I am
useless to provide you with a solution...


-- 

===
Daniel Savard

===



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



Re: JK2 problems

2003-07-15 Thread John Turner
OK, now we have more information.

Apache 1.3.20?  Godd luck getting mod_jk or mod_jk2 to work.  You will need 
to build your own connector from source, and if it were me, I wouldn't 
waste any time whatsoever on JK2 with 1.3.20.  Even JK is dicey.

There is a complete Linux HOWTO here: http://www.johnturner.com/howto.  It 
is for JK, and it is as painless as I can make it.  Every change to default 
configuration files, without exception, is described.

Your first problem will be getting an Apache module compatible with 1.3.20. 
Once that is done, the rest is easy.

John

On Tue, 15 Jul 2003 14:03:45 +0200, Werner van Mook [EMAIL PROTECTED] 
wrote:

Hi Again,

after a not succesfull attempt to get mod_jk working I'm now trying to 
get
mod_jk2 to work.

Apache 1.3.20
tomcat 4.1.24
linux customized version of RedHat  2.2.16C35_III
It's a sun cobalt box somewhere in europe. This means it's not in my room 
so I can't touch the box or do anything with it.
Only remote access is possible.

httpd.conf additions :

LoadModule jk2_module modules/mod_jk2.so

IfModule mod_jk2.so
AddModule mod_jk2.c
JKWorkersFile /etc/httpd/conf/workers.properties
/IfModule


worker2.properties :

[shm]
info=Scoreboard. Required see tomcat book pg 116
file=/etc/httpd/logs/shm.file
size=100
debug=0
disabled=0
#my server is not a localhost
# or is it localhost because apache and tomcat run on the same server?
[channel.socket:localhost:8009]
info=Ajp13 forwarding over socket
debug=0
port=8009
host=127.0.0.1
# define the worker
[status:status]
[uri:/jkstatus/*]
info=Display status information and check the config file for changes
worker=status:status
# define the worker
[ajp13:localhost:8009]
channel=channel.socket:localhost:8009
#The webapp I want to connect to is running on 
www.connecties.com:8080/Friss
#Is this mapping correct?

# Uri mapping
[uri:/Friss/*]
worker=ajp13:localhost:8009
debug=1
the generated jk2_log logfile contains :

( info) [jk_logger_file.c (217)]: Level DEBUG 0
( info) [jk_uriEnv.c (211)]: uriEnv.setAttribute() the worker directive 
is depriciated
( info) [jk_uriEnv.c (211)]: uriEnv.setAttribute() the worker directive 
is depriciated
( info) [jk_logger_file.c (177)]: Initializing log file 
/etc/httpd/logs/jk2.log
(debug) [jk_uriMap.c (337)]: uriMap.init() Fixing Host *
(debug) [jk_uriMap.c (423)]: uriMap: fix uri (null) context (null)
(debug) [jk_uriMap.c (423)]: uriMap: fix uri /jkstatus/* context (null)
(debug) [jk_uriMap.c (423)]: uriMap: fix uri /Friss/* context (null)
(debug) [jk_uriMap.c (423)]: uriMap: fix uri (null) context (null)
(debug) [jk_uriMap.c (423)]: uriMap: fix uri / context /
(debug) [jk_uriEnv.c (367)]: uriEnv.init() prefix mapping 
/Friss/=ajp13:localhost:8009
(debug) [jk_uriEnv.c (386)]: uriEnv.init()  uri:/Friss/*  host=*  
uri=/Friss/* type=1 ctx=(null) prefix=/Friss/ suffix=(null)
( info) [jk_workerEnv.c (403)]: workerEnv.init() ok 
/etc/httpd/conf/workers2.properties

Here is catalina.out :

Jul 15, 2003 1:14:57 PM org.apache.commons.modeler.Registry loadRegistry
INFO: Loading registry information
Jul 15, 2003 1:14:57 PM org.apache.commons.modeler.Registry getRegistry
INFO: Creating new Registry instance
Jul 15, 2003 1:15:00 PM org.apache.commons.modeler.Registry getServer
INFO: Creating MBeanServer
Jul 15, 2003 1:15:04 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
Starting service Tomcat-Standalone
Apache Tomcat/4.1.24
Jul 15, 2003 1:15:22 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8080
Jul 15, 2003 1:15:22 PM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
Jul 15, 2003 1:15:23 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=4/869  config=/usr/jakarta-tomcat- 
4.1.24/conf/jk2.properties

I have changed nothing in server.xml, jk2.properties or any other file 
that I can think of.

Is there somewhere somebody who can hold my hand and fix it with/for me?
I need it up and running somewhere next week.
Kind regards
Werner
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--
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: JK2 problems

2003-07-15 Thread Werner van Mook
Hi John,

Thanx for your response.

I did all that is in your HOWTO.
I still have no luck with it.
I downloaded : mod_jk-1.3-eapi.so from jakarta.apacheetc and 
renamed it to mod_jk.so.

Could you please have look ?
Or some else of course.
This is a piece of my localhost_log file :

2003-07-15 15:17:02 StandardHost[www.connecties.com]: Installing web 
application at context path /Friss from URL 
file:/usr/jakarta-tomcat-4.1.24/webapps/Friss
2003-07-15 15:17:02 WebappLoader[/Friss]: Deploying class repositories 
to work directory 
/usr/jakarta-tomcat-4.1.24/work/Standalone/www.connecties.com/Friss
2003-07-15 15:17:02 WebappLoader[/Friss]: Deploy class files 
/WEB-INF/classes to 
/usr/jakarta-tomcat-4.1.24/webapps/Friss/WEB-INF/classes
2003-07-15 15:17:03 ContextConfig[/Friss]: Configured an authenticator 
for method FORM
2003-07-15 15:17:03 StandardManager[/Friss]: Seeding random number 
generator class java.security.SecureRandom
2003-07-15 15:17:03 StandardManager[/Friss]: Seeding of random number 
generator has been completed
2003-07-15 15:17:03 StandardWrapper[/Friss:default]: Loading container 
servlet default
2003-07-15 15:17:03 StandardWrapper[/Friss:invoker]: Loading container 
servlet invoker

Here are some parts of the auto generated mod_jk conf file :

# Auto generated on Tue Jul 15 15:16:47 CEST 2003##

IfModule !mod_jk.c
  LoadModule jk_module /etc/httpd/modules/mod_jk.so
/IfModule
JkWorkersFile /usr/jakarta-tomcat-4.1.24/conf/jk/workers.properties
JkLogFile /usr/jakarta-tomcat-4.1.24/logs/mod_jk.log
JkLogLevel emerg



VirtualHost www.connecties.com
ServerName www.connecties.com
.
.
.
 www.connecties.com:/Friss 

# Static files
Alias /Friss /usr/jakarta-tomcat-4.1.24/webapps/Friss
Directory /usr/jakarta-tomcat-4.1.24/webapps/Friss
Options Indexes FollowSymLinks
DirectoryIndex index.html index.htm index.jsp
/Directory
# Deny direct access to WEB-INF and META-INF
#
Location /Friss/WEB-INF/*
AllowOverride None
deny from all
/Location
Location /Friss/META-INF/*
AllowOverride None
deny from all
/Location
JkMount /Friss/login/j_security_check  ajp13
JkMount /Friss/klanten/Login  ajp13
JkMount /Friss/admin/Werktijden  ajp13
JkMount /Friss/admin/UpdateExpertise  ajp13
JkMount /Friss/admin/Logout  ajp13
JkMount /Friss/kapper/Confirm  ajp13
JkMount /Friss/klanten/Datum  ajp13
JkMount /Friss/Store  ajp13
JkMount /Friss/klanten/Kapper  ajp13
JkMount /Friss/Tijd  ajp13
JkMount /Friss/klanten/StoreNaw  ajp13
JkMount /Friss/*.jsp  ajp13
JkMount /Friss/klanten/Behandeling  ajp13
JkMount /Friss/admin/Personeel  ajp13
JkMount /Friss/klanten/Naw  ajp13
JkMount /Friss/admin/OpeningsTijden  ajp13
JkMount /Friss/admin/Behandel  ajp13
.
.
.
/VirtualHost
substitute the 3 dots with the 'standard' tomcat webapps.

I added this to my httpd.conf :

LoadModule jk_module modules/mod_jk.so

and at the end :

Include /usr/jakarta-tomcat-4.1.24/conf/auto/mod_jk.conf

Starting tomcat.wait 10 or more seconds  start apache

If I try to get to www.connecties.com/Friss I still get a 404 file not 
found.

In the error log file for apache it says :

[Tue Jul 15 15:36:22 2003] [crit] (98)Address already in use: 
make_sock: could not bind to port 80

I can still go to www.connecties.com (which is a normal website with 
some static pages).

Kind regards,

Werner van Mook
Java Lead Developer / Trainer
Connecties Voor Internet
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: JK2 problems

2003-07-15 Thread John Turner
Sounds like you have more than one copy of Apache running, and the copy of 
Apache you are modifying isn't the running copy.

Also, change your JkLogLevel to info.

Also, please post the output of apachectl configtest.

John

On Tue, 15 Jul 2003 15:44:24 +0200, Werner van Mook [EMAIL PROTECTED] 
wrote:

Hi John,

Thanx for your response.

I did all that is in your HOWTO.
I still have no luck with it.
I downloaded : mod_jk-1.3-eapi.so from jakarta.apacheetc and renamed 
it to mod_jk.so.

Could you please have look ?
Or some else of course.
This is a piece of my localhost_log file :

2003-07-15 15:17:02 StandardHost[www.connecties.com]: Installing web 
application at context path /Friss from URL file:/usr/jakarta-tomcat- 
4.1.24/webapps/Friss
2003-07-15 15:17:02 WebappLoader[/Friss]: Deploying class repositories to 
work directory /usr/jakarta-tomcat- 
4.1.24/work/Standalone/www.connecties.com/Friss
2003-07-15 15:17:02 WebappLoader[/Friss]: Deploy class files /WEB- 
INF/classes to /usr/jakarta-tomcat-4.1.24/webapps/Friss/WEB-INF/classes
2003-07-15 15:17:03 ContextConfig[/Friss]: Configured an authenticator 
for method FORM
2003-07-15 15:17:03 StandardManager[/Friss]: Seeding random number 
generator class java.security.SecureRandom
2003-07-15 15:17:03 StandardManager[/Friss]: Seeding of random number 
generator has been completed
2003-07-15 15:17:03 StandardWrapper[/Friss:default]: Loading container 
servlet default
2003-07-15 15:17:03 StandardWrapper[/Friss:invoker]: Loading container 
servlet invoker

Here are some parts of the auto generated mod_jk conf file :

# Auto generated on Tue Jul 15 15:16:47 CEST 2003##

IfModule !mod_jk.c
LoadModule jk_module /etc/httpd/modules/mod_jk.so
/IfModule
JkWorkersFile /usr/jakarta-tomcat-4.1.24/conf/jk/workers.properties
JkLogFile /usr/jakarta-tomcat-4.1.24/logs/mod_jk.log
JkLogLevel emerg



VirtualHost www.connecties.com
ServerName www.connecties.com
.
.
.
 www.connecties.com:/Friss 

# Static files
Alias /Friss /usr/jakarta-tomcat-4.1.24/webapps/Friss
Directory /usr/jakarta-tomcat-4.1.24/webapps/Friss
Options Indexes FollowSymLinks
DirectoryIndex index.html index.htm index.jsp
/Directory
# Deny direct access to WEB-INF and META-INF
#
Location /Friss/WEB-INF/*
AllowOverride None
deny from all
/Location
Location /Friss/META-INF/*
AllowOverride None
deny from all
/Location
JkMount /Friss/login/j_security_check  ajp13
JkMount /Friss/klanten/Login  ajp13
JkMount /Friss/admin/Werktijden  ajp13
JkMount /Friss/admin/UpdateExpertise  ajp13
JkMount /Friss/admin/Logout  ajp13
JkMount /Friss/kapper/Confirm  ajp13
JkMount /Friss/klanten/Datum  ajp13
JkMount /Friss/Store  ajp13
JkMount /Friss/klanten/Kapper  ajp13
JkMount /Friss/Tijd  ajp13
JkMount /Friss/klanten/StoreNaw  ajp13
JkMount /Friss/*.jsp  ajp13
JkMount /Friss/klanten/Behandeling  ajp13
JkMount /Friss/admin/Personeel  ajp13
JkMount /Friss/klanten/Naw  ajp13
JkMount /Friss/admin/OpeningsTijden  ajp13
JkMount /Friss/admin/Behandel  ajp13
.
.
.
/VirtualHost
substitute the 3 dots with the 'standard' tomcat webapps.

I added this to my httpd.conf :

LoadModule jk_module modules/mod_jk.so

and at the end :

Include /usr/jakarta-tomcat-4.1.24/conf/auto/mod_jk.conf

Starting tomcat.wait 10 or more seconds  start apache

If I try to get to www.connecties.com/Friss I still get a 404 file not 
found.

In the error log file for apache it says :

[Tue Jul 15 15:36:22 2003] [crit] (98)Address already in use: make_sock: 
could not bind to port 80

I can still go to www.connecties.com (which is a normal website with some 
static pages).

Kind regards,

Werner van Mook
Java Lead Developer / Trainer
Connecties Voor Internet
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--
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: JK2 problems

2003-07-15 Thread Werner van Mook
Call me stupid if you wish,

Where do I have to change the JkLogLevel ?
I did it in the auto generated file without restarting tomcat ( then it 
will be overwritten. I know)

I do not have apachectl on my machine. so I can't do a config test.
Sorry.
If I want this I have to reinstall Apache.
I don't know how that is going to affect my Cobalt machine?
Do you know sun cobalt? It's a completely pre-configured web server.
It can be very usefull if you have only static webpages or if you want 
to use asp/perl.

For java well I don't know jet.

Werner

On Tuesday, July 15, 2003, at 03:47 PM, John Turner wrote:

Sounds like you have more than one copy of Apache running, and the 
copy of Apache you are modifying isn't the running copy.

Also, change your JkLogLevel to info.

Also, please post the output of apachectl configtest.

John

On Tue, 15 Jul 2003 15:44:24 +0200, Werner van Mook 
[EMAIL PROTECTED] wrote:

Hi John,

Thanx for your response.

I did all that is in your HOWTO.
I still have no luck with it.
I downloaded : mod_jk-1.3-eapi.so from jakarta.apacheetc and 
renamed it to mod_jk.so.

Could you please have look ?
Or some else of course.
This is a piece of my localhost_log file :

2003-07-15 15:17:02 StandardHost[www.connecties.com]: Installing web 
application at context path /Friss from URL file:/usr/jakarta-tomcat- 
4.1.24/webapps/Friss
2003-07-15 15:17:02 WebappLoader[/Friss]: Deploying class 
repositories to work directory /usr/jakarta-tomcat- 
4.1.24/work/Standalone/www.connecties.com/Friss
2003-07-15 15:17:02 WebappLoader[/Friss]: Deploy class files /WEB- 
INF/classes to 
/usr/jakarta-tomcat-4.1.24/webapps/Friss/WEB-INF/classes
2003-07-15 15:17:03 ContextConfig[/Friss]: Configured an 
authenticator for method FORM
2003-07-15 15:17:03 StandardManager[/Friss]: Seeding random number 
generator class java.security.SecureRandom
2003-07-15 15:17:03 StandardManager[/Friss]: Seeding of random number 
generator has been completed
2003-07-15 15:17:03 StandardWrapper[/Friss:default]: Loading 
container servlet default
2003-07-15 15:17:03 StandardWrapper[/Friss:invoker]: Loading 
container servlet invoker

Here are some parts of the auto generated mod_jk conf file :

# Auto generated on Tue Jul 15 15:16:47 CEST 2003##

IfModule !mod_jk.c
LoadModule jk_module /etc/httpd/modules/mod_jk.so
/IfModule
JkWorkersFile /usr/jakarta-tomcat-4.1.24/conf/jk/workers.properties
JkLogFile /usr/jakarta-tomcat-4.1.24/logs/mod_jk.log
JkLogLevel emerg



VirtualHost www.connecties.com
ServerName www.connecties.com
.
.
.
 www.connecties.com:/Friss 

# Static files
Alias /Friss /usr/jakarta-tomcat-4.1.24/webapps/Friss
Directory /usr/jakarta-tomcat-4.1.24/webapps/Friss
Options Indexes FollowSymLinks
DirectoryIndex index.html index.htm index.jsp
/Directory
# Deny direct access to WEB-INF and META-INF
#
Location /Friss/WEB-INF/*
AllowOverride None
deny from all
/Location
Location /Friss/META-INF/*
AllowOverride None
deny from all
/Location
JkMount /Friss/login/j_security_check  ajp13
JkMount /Friss/klanten/Login  ajp13
JkMount /Friss/admin/Werktijden  ajp13
JkMount /Friss/admin/UpdateExpertise  ajp13
JkMount /Friss/admin/Logout  ajp13
JkMount /Friss/kapper/Confirm  ajp13
JkMount /Friss/klanten/Datum  ajp13
JkMount /Friss/Store  ajp13
JkMount /Friss/klanten/Kapper  ajp13
JkMount /Friss/Tijd  ajp13
JkMount /Friss/klanten/StoreNaw  ajp13
JkMount /Friss/*.jsp  ajp13
JkMount /Friss/klanten/Behandeling  ajp13
JkMount /Friss/admin/Personeel  ajp13
JkMount /Friss/klanten/Naw  ajp13
JkMount /Friss/admin/OpeningsTijden  ajp13
JkMount /Friss/admin/Behandel  ajp13
.
.
.
/VirtualHost
substitute the 3 dots with the 'standard' tomcat webapps.

I added this to my httpd.conf :

LoadModule jk_module modules/mod_jk.so

and at the end :

Include /usr/jakarta-tomcat-4.1.24/conf/auto/mod_jk.conf

Starting tomcat.wait 10 or more seconds  start apache

If I try to get to www.connecties.com/Friss I still get a 404 file 
not found.

In the error log file for apache it says :

[Tue Jul 15 15:36:22 2003] [crit] (98)Address already in use: 
make_sock: could not bind to port 80

I can still go to www.connecties.com (which is a normal website with 
some static pages).

Kind regards,

Werner van Mook
Java Lead Developer / Trainer
Connecties Voor Internet


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


Re: JK2 problems

2003-07-15 Thread Werner van Mook
I have a bad feeling about this.

After going to the advised webpage I restarted apache and got :

Cannot load /etc/httpd/modules/mod_webapp.so into server: 
/lib/libc.so.6: version `GLIBC_2.2' not found (required by 
/etc/httpd/modules/mod_webapp.so)

When trying to install glibc 2.2 I got all kinds of dependence problems.

I will contact the support team of my provider.

Kind regards to all who tried to help me.

Werner



On Tuesday, July 15, 2003, at 04:15 PM, John Turner wrote:


If you changed it in your auto generated file, did you restart Apache?

This link might be of some help: 
http://www.spaceprogram.com/knowledge/tomcat4_on_cobalt_setup.html

John

On Tue, 15 Jul 2003 16:09:23 +0200, Werner van Mook 
[EMAIL PROTECTED] wrote:



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