help with mod_jk autoconfigure

2007-03-07 Thread Todd Nine

Hi all,
 I'm trying to get the mod_jk auto configuration to work.  I have the
following line in my conf/server.xml  right after the Listeners that are
declared in the default file.  Here is what I have



Here is my server information

Server version: Apache Tomcat/5.5.20
Server built:   Sep 12 2006 10:09:20
Server number:  5.5.20.0
OS Name:Linux
OS Version: 2.6.9-5.ELsmp
Architecture:   i386
JVM Version:1.5.0_10-b03
JVM Vendor: Sun Microsystems Inc.

I receive this stack trace in the catalina log.
WARNING: Catalina.start using conf/server.xml:
java.lang.NullPointerException
   at org.apache.tomcat.util.digester.Digester.createSAXException(
Digester.java:2725)
   at org.apache.tomcat.util.digester.Digester.createSAXException(
Digester.java:2751)
   at org.apache.tomcat.util.digester.Digester.startElement(
Digester.java:1278)
   at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(
AbstractSAXParser.java:533)
   at
com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement
(AbstractXMLDocumentParser.java:220)
   at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement
(XMLDocumentFragmentScannerImpl.java:872)
   at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch
(XMLDocumentFragmentScannerImpl.java:1693)
   at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument
(XMLDocumentFragmentScannerImpl.java:368)
   at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(
XML11Configuration.java:834)
   at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(
XML11Configuration.java:764)
   at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(
XMLParser.java:148)
   at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(
AbstractSAXParser.java:1242)
   at org.apache.tomcat.util.digester.Digester.parse(Digester.java
:1561)
   at org.apache.catalina.startup.Catalina.load(Catalina.java:489)
   at org.apache.catalina.startup.Catalina.start(Catalina.java:543)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:585)
   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
Mar 7, 2007 8:30:30 PM org.apache.catalina.startup.Catalina start


Any idea what's wrong, the exception isn't very helpful.  If I comment out
my line everything is fine.  I'm currently testing it running as root to
avoid any permission or port issue.  Any help would be greatly appreciated.

Thanks,
Todd


Unable to install tomcat 5.5 native libraries on Red Hat Enterprise Linux 4

2007-03-12 Thread Todd Nine

Hi all,
 I'm trying to make and install the native runtime libraries for
Tomcat 5.5 on RHEL4, with Apache 2.0.52, OpenSSL 0.9.7a Feb 19 2003,
APR version 0.9.4, and JDK 1.5.  I'm able to configure and make with
the following commands.  Note that configure won't find apr without
the explicit location of the config file.

./configure --with-apr=/usr/bin/apr-config && make && make install


However I receive this errors when I attempt to install it

make[1]: Leaving directory `/root/tomcat-native-1.1.3/jni/native'
make[1]: Entering directory `/root/tomcat-native-1.1.3/jni/native'
make[1]: Nothing to be done for `local-all'.
make[1]: Leaving directory `/root/tomcat-native-1.1.3/jni/native'
/usr/local/apr/include/apr-1 /usr/local/apr/lib/pkgconfig \
/usr/local/apr/lib /usr/local/apr/bin
make: /usr/local/apr/include/apr-1: Command not found
make: *** [install] Error 127


There is no /usr/local/apr directory.  Am I missing another
configuration option?  I have an apr-0 at the location
/usr/include/apr-0.  Any help would be greatly appreciated.

Thanks,
Todd

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]