Re: Strange problem with Apache2/Tomcat4 part II

2004-08-02 Thread Harold Pritchett
Harold Pritchett wrote:
OK, i gave up on the mod_jk version 1.2 connector.  I downloaded the
version 2 connector and built it with:
Thnaks to everyone here, I got it to work.  I ended up downloading the
mod_JK2 source, built it (after editing the makefile to add in all the
missing libs) and installed it.  Started tomcat and it started fine and
built the unix socket file.  Started httpd, and it could display the
http://localhost/jkstatus page just fine, but barfed on localhost/examples.
The "page not available" message.  Poked around a bit and found that
the httpd.conf file as distributed was starting with user and group equal
to nobody.  Fixed this to point to the actual user/group, and all is
well.
That bit about the default user/group for apache httpd seems to have
escaped me.
Thanks again for all the help.  At some point, I'll post my complete
notes for putting this together.
Harold
--
Harold Pritchett
[EMAIL PROTECTED]+1.706.546.0692
pgp public key: http://www.arches.uga.edu/~harold/pgpkey.html
"They that can give up essential liberty to obtain a little
temporary safety deserve neither liberty nor safety."
   Benjamin Franklin, Historical Review of Pennsylvania, 1759.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Strange problem with Apache2/Tomcat4 part II

2004-07-30 Thread Mark Eggers
I think that this has been discussed on the list before.

You might want to check the archives.

If I remember correctly, this happens on a Redhat 9 system where the SSL
libraries have been installed via RPMs.

Before running your configure commmand, setting an environment variable
via the following:

export LDFLAGS=-L/usr/kerberos/lib

You may also run into gdm issues as well, but given your location of
Apache, I'm guessing that you compiled httpd on your own.

If this doesn't solve your problem, check out the marcs.theaimsgroup.com
archives and look for md5.

HTH

/mde/
just my two cents . . . .



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



Strange problem with Apache2/Tomcat4 part II

2004-07-30 Thread Harold Pritchett
OK, i gave up on the mod_jk version 1.2 connector.  I downloaded the
version 2 connector and built it with:
./configure --with-apxs2=/usr/local/apache2/bin/apxs \
  --with-tomcat-41=/usr/local/tomcat \
  --with-java-home=/usr/lib/java \
  --with-jni
Installed jkjni.so and mod_jk2.so in /usr/local/apache2/modules
added
LoadModule jk2_module /usr/local/apache2/modules/mod_jk2.so
to httpd.conf
Created all of the appropriate files.
www:/usr/local/tomcat/conf # more jk2.properties
# jk2.properties
# Configured for channel UNIX
# Set the desired handler list
handler.list=apr,request,channelUnix
# UNIX Domain socket location
channelUnix.file=/usr/local/tomcat/work/jk2.socket
# Dynamic Library
serverRoot=/usr/local/apache2
apr.NativeSo=/usr/local/apache2/modules/jkjni.so
www:/usr/local/tomcat/conf # cat workers2.properties
# workers2.properties
# Shared memory handling. Needs to be set.
[shm]
info=Scoreboard. Required for reconfiguration and status with multiprocess servers
file=/usr/local/tomcat/logs/jk2.shm
size=1048576
debug=0
disabled=0
# UNIX domain socket
[channel.un:/usr/local/tomcat/work/jk2.socket]
tomcatId=localhost:8009
debug=0
# define the worker
[ajp13:/usr/local/tomcat/work/jk2.socket]
channel=channel.un:/usr/local/tomcat/work/jk2.socket
# Announce a "status" worker
[status:status]
info=Status worker. Displays runtime information.
[uri:/jkstatus/*]
group=status:status
# Uri mapping
[uri:/examples/*]
# Uri mapping for MyFirst
[uri:/MyFirst/*]
Then, when I start tomcat I get the following in the log file.
www:/var/log/tomcat # more catalina.out
Jul 30, 2004 7:59:39 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
Starting service Tomcat-Standalone
Apache Tomcat/4.1.30
Jul 30, 2004 7:59:42 PM org.apache.struts.util.PropertyMessageResources 
INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
Jul 30, 2004 7:59:42 PM org.apache.struts.util.PropertyMessageResources 
INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
Jul 30, 2004 7:59:43 PM org.apache.struts.util.PropertyMessageResources 
INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources', 
returnNull=true
Jul 30, 2004 7:59:46 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8080
Jul 30, 2004 7:59:46 PM org.apache.jk.server.JkMain start
INFO: APR not loaded, disabling jni components: java.io.IOException: 
java.lang.UnsatisfiedLinkErro
r: /usr/local/apache2/modules/jkjni.so: /usr/local/apache2/modules/jkjni.so: undefined 
symbol: apr
_md5_final
Jul 30, 2004 7:59:46 PM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
Jul 30, 2004 7:59:46 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=1/62  config=/usr/local/tomcat/conf/jk2.properties
What does this error mean?
Thanks
Harold


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