tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steltner, Jörn HTC/DE/ESS" <Joern.Stelt...@hochtief.de>
Subject RE: Appache v2.0.40 + Tomcat 4.1.x + Connectors II
Date Fri, 27 Sep 2002 09:25:35 GMT
I don't have any TOMCAT or Catalina variables in my Environment. I start it
witj ./startup.sh thats all.

-----Original Message-----
From: Robert L Sowders [mailto:rsowders@usgs.gov]
Sent: Freitag, 27. September 2002 11:18
To: Tomcat Users List
Subject: Re: Appache v2.0.40 + Tomcat 4.1.x + Connectors II


Have you set the Tomcat home in the environment in which it starts?
Type env at the cmd line and look for all TOMCAT variables.






"Steltner, Jörn  HTC/DE/ESS" <Joern.Steltner@hochtief.de>
09/27/2002 02:13 AM
Please respond to "Tomcat Users List"

 
        To:     "'tomcat-user@jakarta.apache.org'"
<tomcat-user@jakarta.apache.org>
        cc: 
        Subject:        Appache v2.0.40 + Tomcat 4.1.x + Connectors II

Hallo,

thanks for the reply. Again, I installed the Apache (/opt/apache2) and
Tomcat (/opt/jakarta) from source. Both are running well. I compiled the 
jk2
connectors and made the configuration. Apache is loading the module, but
couldn't find the jk-worker. The Tomcat installation gets an error in the
Log-File. It seems that Apache can no find the Tomcat process....

My environment is a Suse Prof v8.0, 2.4.18 kernel 

I need some help.

Regards
Joern


Part I: mod_jk.log

[Fri Sep 27 09:35:26 2002]  [jk_uri_worker_map.c (477)]: Attempting to map
URI '/examples/jsp/source.jsp'
[Fri Sep 27 09:35:26 2002]  [jk_uri_worker_map.c (558)]:
jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match ajp13 -> 
*.jsp
[Fri Sep 27 09:35:26 2002]  [mod_jk.c (1277)]: Into handler r->proxyreq=0
r->handler=jakarta-servlet r->notes=135575144 worker=ajp13
[Fri Sep 27 09:35:26 2002]  [jk_worker.c (132)]: Into 
wc_get_worker_for_name
ajp13
[Fri Sep 27 09:35:26 2002]  [jk_worker.c (136)]: wc_get_worker_for_name,
done did not found a worker

Part II: catalina.out

Starting service Tomcat-Standalone
Apache Tomcat/4.1.10
[ERROR] JkMain - -No class name for request  request 
[INFO] JkMain - -APR not loaded, disabling jni components:
java.io.IOException: /opt/jakarta/lib/libjkjni.so: libapr.so.0: cannot 
open
shared object file: No such file or directory
[INFO] ChannelSocket - -JK2: ajp13 listening on tcp port 8009
[INFO] ChannelUn - -No file, disabling unix channel
[INFO] JkMain - -Jk running ID=0 time=1/75
config=/opt/jakarta/conf/jk2.properties


Part III: j2.properties

## THIS FILE MAY BE OVERRIDEN AT RUNTIME. MAKE SURE TOMCAT IS STOPED
## WHEN YOU EDIT THE FILE.

## COMMENTS WILL BE _LOST_

## DOCUMENTATION OF THE FORMAT IN JkMain javadoc.

# Override the default port for the socketChannel
channelSocket.port=8009

# list of needed handlers. 
handler.list=apr,channelSocket,channelUnix,request 

# Set the default port for the channelSocket 
channelSocket.port=8009 

# State where the UNIX domain socket is located 
#channelUnix.file=/opt/jakarta/work/jk2.socket 

# Just to check if the the config  is working
# shm.file=${jkHome}/work/jk2.shm


# If set to inprocess the mod_jk2 will Register natives itself
# This will enable the starting of the Tomcat from mod_jk2
# apr.jniModeSo=inprocess

# Dynamic library
serverRoot=/opt/apache2
apr.NativeSo=/opt/jakarta/lib/libjkjni.so


# In order to enable jni use any channelJni directive
# channelJni.disabled = 0
# And one of the following directives:
#apr.jniModeSo=/opt/apache2/modules/mod_jk2.so

Part IV: worker2.properties

[logger]
level=DEBUG

[config:]
file=${serverRoot}/conf/workers2.properties
debug=0
debugEnv=0

# Shared memory handling. Needs to be set.
[shm]
file=/opt/apache2/logs/shm.file
size=1048576



[uriMap:]
info=Maps the requests. Options: debug
debug=1

[shm:]
info=Scoreboard. Required for reconfiguration and status with multiprocess
servers
file=${serverRoot}/logs/jk2.shm
size=1000000
debug=0
disabled=0

[channel.socket:localhost:8009]
info=Ajp13 forwarding over socket
port=8009
debug=1
host=127.0.0.1
tomcatId=localhost:8009

# Example UNIX domain socket
[channel.un:/opt/jakarta/work/jk2.socket]
tomcatId=localhost:8009
debug=0


# define the worker
[ajp13:localhost:8009]
#channel=channel.un:/usr/local/tomcat/work/jk2.socket
# To use the TCP/IP socket instead, just comment out the above
# line, and uncomment the one below
channel=channel.socket:localhost:8009
 
# Announce a "status" worker
[status:status]
 
# Uri mapping
[uri:/examples/*]
worker=ajp13:localhost:8009
#worker=ajp13:/usr/local/tomcat/work/jk2.socket
 
[uri:/status/*]
worker=status:status

--
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>


Mime
View raw message