Re: Problems with APR install

2007-01-09 Thread robert lazarski

I think there was a bug on 5.5.17 and apr . See the 5.5.18 changelog .
Something to do with ipv6 even though I was running ipv4 . You'll know
its working when you see this line:

org.apache.coyote.ajp.AjpAprProtocol] Initializing Coyote AJP/1.3 on
ajp-0.0.0.0-8009

I got exceptions on 5.5.17 when I got to that point using opensuse
10.1 . Try putting the libtcnative-* file in tomcat/bin if in doubt.
My config is:

LD_LIBRARY_PATH=/usr/local/apr/lib:/lib/tls:$LD_LIBRARY_PATH

Actually I have no /lib/tls on my sys , must have copied that from somewhere.

One other thing: try matching your 32bit jvm with 32bit native libs ,
or vice versa with 64bits.

HTH,
Robert

On 1/9/07, Anthony J Biacco <[EMAIL PROTECTED]> wrote:

I'm trying to get APR 1.2.8 working with tomcat 5.5.17 which comes with
tomcat-native 1.1.3.
I'm on RHEL4 on a 64-bit AMD system.
I compiled APR from source into /usr/local/apr, compiled tomcat-native
with /usr/local/apr, no problems.
Added /usr/local/apr/lib to /etc/ld.so.conf and ran ldconfig, no
problem.
Added /usr/local/apr/lib to LD_LIBRARY_PATH in bin/startup.sh
In conf/server.xml I have:


In catalina.out on startup, I get:
14:52:09 INFO [main] org.apache.catalina.core.AprLifecycleListener: The
Apache Tomcat Native library which allows optimal performance in
production environme
nts was not found on the java.library.path:
/usr/java/jdk1.5.0_06/jre/lib/i386/server:/usr/java/jdk1.5.0_06/jre/lib/
i386:/usr/java/jdk1.5.0_06/jre/../lib/i38
6:/usr/local/apr/lib

I can't find anything I missed. Ldd shows cleans for all so files, seems
all libraries are there, don't know what it's looking for.
Any help is appreciated.

*** APR DIR LISTING ***

# ls -lR /usr/local/apr
/usr/local/apr:
total 16
drwxr-xr-x  2 root root 4096 Jan  9 14:01 bin
drwxr-xr-x  2 root root 4096 Jan  9 13:58 build-1
drwxr-xr-x  3 root root 4096 Jan  9 13:58 include
drwxr-xr-x  3 root root 4096 Jan  9 14:05 lib

/usr/local/apr/bin:
total 16
-rwxr-xr-x  1 root root 6936 Jan  9 13:58 apr-1-config
-rwxr-xr-x  1 root root 5769 Jan  9 14:01 apu-1-config

/usr/local/apr/build-1:
total 240
-rw-r--r--  1 root root   6122 Jan  9 13:58 apr_rules.mk
-rwxr-xr-x  1 root root 217294 Jan  9 13:58 libtool
-rw-r--r--  1 root root   2991 Jan  9 13:58 make_exports.awk
-rw-r--r--  1 root root   1023 Jan  9 13:58 make_var_export.awk
-rwxr-xr-x  1 root root980 Jan  9 13:58 mkdir.sh

/usr/local/apr/include:
total 4
drwxr-xr-x  2 root root 4096 Jan  9 14:01 apr-1

/usr/local/apr/include/apr-1:
total 700
-rw-r--r--  1 root root  5334 Jan  9 13:58 apr_allocator.h
-rw-r--r--  1 root root  4903 Jan  9 14:01 apr_anylock.h
-rw-r--r--  1 root root  3766 Jan  9 13:58 apr_atomic.h
-rw-r--r--  1 root root  3615 Jan  9 14:01 apr_base64.h
-rw-r--r--  1 root root 57784 Jan  9 14:01 apr_buckets.h
-rw-r--r--  1 root root  3407 Jan  9 14:01 apr_date.h
-rw-r--r--  1 root root 14323 Jan  9 14:01 apr_dbd.h
-rw-r--r--  1 root root  8205 Jan  9 14:01 apr_dbm.h
-rw-r--r--  1 root root  2700 Jan  9 13:58 apr_dso.h
-rw-r--r--  1 root root  2105 Jan  9 13:58 apr_env.h
-rw-r--r--  1 root root 51421 Jan  9 13:58 apr_errno.h
-rw-r--r--  1 root root 17564 Jan  9 13:58 apr_file_info.h
-rw-r--r--  1 root root 33929 Jan  9 13:58 apr_file_io.h
-rw-r--r--  1 root root  4180 Jan  9 13:58 apr_fnmatch.h
-rw-r--r--  1 root root  7000 Jan  9 13:58 apr_general.h
-rw-r--r--  1 root root  5903 Jan  9 13:58 apr_getopt.h
-rw-r--r--  1 root root  5680 Jan  9 13:58 apr_global_mutex.h
-rw-r--r--  1 root root 11855 Jan  9 13:58 apr.h
-rw-r--r--  1 root root  8087 Jan  9 13:58 apr_hash.h
-rw-r--r--  1 root root  8438 Jan  9 14:01 apr_hooks.h
-rw-r--r--  1 root root  2137 Jan  9 13:58 apr_inherit.h
-rw-r--r--  1 root root  3394 Jan  9 14:01 apr_ldap.h
-rw-r--r--  1 root root  4709 Jan  9 14:01 apr_ldap_init.h
-rw-r--r--  1 root root  7973 Jan  9 14:01 apr_ldap_option.h
-rw-r--r--  1 root root  3625 Jan  9 14:01 apr_ldap_url.h
-rw-r--r--  1 root root  7927 Jan  9 13:58 apr_lib.h
-rw-r--r--  1 root root  4378 Jan  9 14:01 apr_md4.h
-rw-r--r--  1 root root  5426 Jan  9 14:01 apr_md5.h
-rw-r--r--  1 root root  5130 Jan  9 13:58 apr_mmap.h
-rw-r--r--  1 root root 31597 Jan  9 13:58 apr_network_io.h
-rw-r--r--  1 root root  2633 Jan  9 14:01 apr_optional.h
-rw-r--r--  1 root root  3722 Jan  9 14:01 apr_optional_hooks.h
-rw-r--r--  1 root root  7767 Jan  9 13:58 apr_poll.h
-rw-r--r--  1 root root 23956 Jan  9 13:58 apr_pools.h
-rw-r--r--  1 root root 18502 Jan  9 13:58 apr_portable.h
-rw-r--r--  1 root root  6002 Jan  9 13:58 apr_proc_mutex.h
-rw-r--r--  1 root root  3936 Jan  9 14:01 apr_queue.h
-rw-r--r--  1 root root  3267 Jan  9 13:58 apr_random.h
-rw-r--r--  1 root root  5221 Jan  9 14:01 apr_reslist.h
-rw-r--r--  1 root root 17930 Jan  9 13:58 apr_ring.h
-rw-r--r--  1 root root  4631 Jan  9 14:01 apr_rmm.h
-rw-r--r--  1 root root  5925 Jan  9 14:01 apr_sdbm.h
-rw-r--r--  1 root root  3737 Jan  9 14:01 apr_sha1.h
-rw-r--r--  1 root root  5025 Jan  9 13:58 apr_shm.h
-rw-r--r--  1 root root  2756 Ja

RE: Problems with APR install

2007-01-09 Thread Anthony J Biacco
1. The LD_LIBRARY_PATH add didn't add anything to the end, just a :
2. The copy of the tcnative to bin/ didn't help
3. How can I tell if I'm using a 32-bit or 64-bit jvm? I'm assuming if
it's 32-bit I'll have to recompile apr and tcnative as 32-bit, if
possible?
4. I'll check the 5.5.18 changelog, thanx.

-Tony

Anthony J. Biacco
Senior Systems/Network Administrator
Decentrix Inc.
303-899-4000 x303


> -Original Message-
> From: robert lazarski [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, January 09, 2007 3:34 PM
> To: Tomcat Users List
> Subject: Re: Problems with APR install
> 
> I think there was a bug on 5.5.17 and apr . See the 5.5.18 changelog .
> Something to do with ipv6 even though I was running ipv4 . You'll know
> its working when you see this line:
> 
> org.apache.coyote.ajp.AjpAprProtocol] Initializing Coyote AJP/1.3 on
> ajp-0.0.0.0-8009
> 
> I got exceptions on 5.5.17 when I got to that point using opensuse
> 10.1 . Try putting the libtcnative-* file in tomcat/bin if in doubt.
> My config is:
> 
> LD_LIBRARY_PATH=/usr/local/apr/lib:/lib/tls:$LD_LIBRARY_PATH
> 
> Actually I have no /lib/tls on my sys , must have copied that from
> somewhere.
> 
> One other thing: try matching your 32bit jvm with 32bit native libs ,
> or vice versa with 64bits.
> 
> HTH,
> Robert
> 
> On 1/9/07, Anthony J Biacco <[EMAIL PROTECTED]> wrote:
> > I'm trying to get APR 1.2.8 working with tomcat 5.5.17 which comes
> with
> > tomcat-native 1.1.3.
> > I'm on RHEL4 on a 64-bit AMD system.
> > I compiled APR from source into /usr/local/apr, compiled tomcat-
> native
> > with /usr/local/apr, no problems.
> > Added /usr/local/apr/lib to /etc/ld.so.conf and ran ldconfig, no
> > problem.
> > Added /usr/local/apr/lib to LD_LIBRARY_PATH in bin/startup.sh
> > In conf/server.xml I have:
> >  />
> >
> > In catalina.out on startup, I get:
> > 14:52:09 INFO [main] org.apache.catalina.core.AprLifecycleListener:
> The
> > Apache Tomcat Native library which allows optimal performance in
> > production environme
> > nts was not found on the java.library.path:
> >
>
/usr/java/jdk1.5.0_06/jre/lib/i386/server:/usr/java/jdk1.5.0_06/jre/lib
> /
> > i386:/usr/java/jdk1.5.0_06/jre/../lib/i38
> > 6:/usr/local/apr/lib
> >
> > I can't find anything I missed. Ldd shows cleans for all so files,
> seems
> > all libraries are there, don't know what it's looking for.
> > Any help is appreciated.
> >
> > *** APR DIR LISTING ***
> >
> > # ls -lR /usr/local/apr
> > /usr/local/apr:
> > total 16
> > drwxr-xr-x  2 root root 4096 Jan  9 14:01 bin
> > drwxr-xr-x  2 root root 4096 Jan  9 13:58 build-1
> > drwxr-xr-x  3 root root 4096 Jan  9 13:58 include
> > drwxr-xr-x  3 root root 4096 Jan  9 14:05 lib
> >
> > /usr/local/apr/bin:
> > total 16
> > -rwxr-xr-x  1 root root 6936 Jan  9 13:58 apr-1-config
> > -rwxr-xr-x  1 root root 5769 Jan  9 14:01 apu-1-config
> >
> > /usr/local/apr/build-1:
> > total 240
> > -rw-r--r--  1 root root   6122 Jan  9 13:58 apr_rules.mk
> > -rwxr-xr-x  1 root root 217294 Jan  9 13:58 libtool
> > -rw-r--r--  1 root root   2991 Jan  9 13:58 make_exports.awk
> > -rw-r--r--  1 root root   1023 Jan  9 13:58 make_var_export.awk
> > -rwxr-xr-x  1 root root980 Jan  9 13:58 mkdir.sh
> >
> > /usr/local/apr/include:
> > total 4
> > drwxr-xr-x  2 root root 4096 Jan  9 14:01 apr-1
> >
> > /usr/local/apr/include/apr-1:
> > total 700
> > -rw-r--r--  1 root root  5334 Jan  9 13:58 apr_allocator.h
> > -rw-r--r--  1 root root  4903 Jan  9 14:01 apr_anylock.h
> > -rw-r--r--  1 root root  3766 Jan  9 13:58 apr_atomic.h
> > -rw-r--r--  1 root root  3615 Jan  9 14:01 apr_base64.h
> > -rw-r--r--  1 root root 57784 Jan  9 14:01 apr_buckets.h
> > -rw-r--r--  1 root root  3407 Jan  9 14:01 apr_date.h
> > -rw-r--r--  1 root root 14323 Jan  9 14:01 apr_dbd.h
> > -rw-r--r--  1 root root  8205 Jan  9 14:01 apr_dbm.h
> > -rw-r--r--  1 root root  2700 Jan  9 13:58 apr_dso.h
> > -rw-r--r--  1 root root  2105 Jan  9 13:58 apr_env.h
> > -rw-r--r--  1 root root 51421 Jan  9 13:58 apr_errno.h
> > -rw-r--r--  1 root root 17564 Jan  9 13:58 apr_file_info.h
> > -rw-r--r--  1 root root 33929 Jan  9 13:58 apr_file_io.h
> > -rw-r--r--  1 root root  4180 Jan  9 13:58 apr_fnmatch.h
> > -rw-r--r--  1 root root  7000 Jan  9 13:58 apr_general.h
> > -rw-r--r--  1 root root  5903 Jan  9 13:58 apr_getopt.h
> > -rw-r--r--  1 root root  5680 Jan  9

Re: Problems with APR install

2007-01-09 Thread robert lazarski

One other thing: If you are using 'java service wrapper' or perhaps
some other type of dameon on tomcat , you may not pick up the
LD_LIBRARY_PATH . In the 'java service wrapper' case you need to add
the dir manually in wrapper.conf .

On 1/9/07, Anthony J Biacco <[EMAIL PROTECTED]> wrote:

1. The LD_LIBRARY_PATH add didn't add anything to the end, just a :
2. The copy of the tcnative to bin/ didn't help
3. How can I tell if I'm using a 32-bit or 64-bit jvm? I'm assuming if
it's 32-bit I'll have to recompile apr and tcnative as 32-bit, if
possible?
4. I'll check the 5.5.18 changelog, thanx.

-Tony

Anthony J. Biacco
Senior Systems/Network Administrator
Decentrix Inc.
303-899-4000 x303


> -Original Message-
> From: robert lazarski [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, January 09, 2007 3:34 PM
> To: Tomcat Users List
> Subject: Re: Problems with APR install
>
> I think there was a bug on 5.5.17 and apr . See the 5.5.18 changelog .
> Something to do with ipv6 even though I was running ipv4 . You'll know
> its working when you see this line:
>
> org.apache.coyote.ajp.AjpAprProtocol] Initializing Coyote AJP/1.3 on
> ajp-0.0.0.0-8009
>
> I got exceptions on 5.5.17 when I got to that point using opensuse
> 10.1 . Try putting the libtcnative-* file in tomcat/bin if in doubt.
> My config is:
>
> LD_LIBRARY_PATH=/usr/local/apr/lib:/lib/tls:$LD_LIBRARY_PATH
>
> Actually I have no /lib/tls on my sys , must have copied that from
> somewhere.
>
> One other thing: try matching your 32bit jvm with 32bit native libs ,
> or vice versa with 64bits.
>
> HTH,
> Robert
>
> On 1/9/07, Anthony J Biacco <[EMAIL PROTECTED]> wrote:
> > I'm trying to get APR 1.2.8 working with tomcat 5.5.17 which comes
> with
> > tomcat-native 1.1.3.
> > I'm on RHEL4 on a 64-bit AMD system.
> > I compiled APR from source into /usr/local/apr, compiled tomcat-
> native
> > with /usr/local/apr, no problems.
> > Added /usr/local/apr/lib to /etc/ld.so.conf and ran ldconfig, no
> > problem.
> > Added /usr/local/apr/lib to LD_LIBRARY_PATH in bin/startup.sh
> > In conf/server.xml I have:
> >  />
> >
> > In catalina.out on startup, I get:
> > 14:52:09 INFO [main] org.apache.catalina.core.AprLifecycleListener:
> The
> > Apache Tomcat Native library which allows optimal performance in
> > production environme
> > nts was not found on the java.library.path:
> >
>
/usr/java/jdk1.5.0_06/jre/lib/i386/server:/usr/java/jdk1.5.0_06/jre/lib
> /
> > i386:/usr/java/jdk1.5.0_06/jre/../lib/i38
> > 6:/usr/local/apr/lib
> >
> > I can't find anything I missed. Ldd shows cleans for all so files,
> seems
> > all libraries are there, don't know what it's looking for.
> > Any help is appreciated.
> >
> > *** APR DIR LISTING ***
> >
> > # ls -lR /usr/local/apr
> > /usr/local/apr:
> > total 16
> > drwxr-xr-x  2 root root 4096 Jan  9 14:01 bin
> > drwxr-xr-x  2 root root 4096 Jan  9 13:58 build-1
> > drwxr-xr-x  3 root root 4096 Jan  9 13:58 include
> > drwxr-xr-x  3 root root 4096 Jan  9 14:05 lib
> >
> > /usr/local/apr/bin:
> > total 16
> > -rwxr-xr-x  1 root root 6936 Jan  9 13:58 apr-1-config
> > -rwxr-xr-x  1 root root 5769 Jan  9 14:01 apu-1-config
> >
> > /usr/local/apr/build-1:
> > total 240
> > -rw-r--r--  1 root root   6122 Jan  9 13:58 apr_rules.mk
> > -rwxr-xr-x  1 root root 217294 Jan  9 13:58 libtool
> > -rw-r--r--  1 root root   2991 Jan  9 13:58 make_exports.awk
> > -rw-r--r--  1 root root   1023 Jan  9 13:58 make_var_export.awk
> > -rwxr-xr-x  1 root root980 Jan  9 13:58 mkdir.sh
> >
> > /usr/local/apr/include:
> > total 4
> > drwxr-xr-x  2 root root 4096 Jan  9 14:01 apr-1
> >
> > /usr/local/apr/include/apr-1:
> > total 700
> > -rw-r--r--  1 root root  5334 Jan  9 13:58 apr_allocator.h
> > -rw-r--r--  1 root root  4903 Jan  9 14:01 apr_anylock.h
> > -rw-r--r--  1 root root  3766 Jan  9 13:58 apr_atomic.h
> > -rw-r--r--  1 root root  3615 Jan  9 14:01 apr_base64.h
> > -rw-r--r--  1 root root 57784 Jan  9 14:01 apr_buckets.h
> > -rw-r--r--  1 root root  3407 Jan  9 14:01 apr_date.h
> > -rw-r--r--  1 root root 14323 Jan  9 14:01 apr_dbd.h
> > -rw-r--r--  1 root root  8205 Jan  9 14:01 apr_dbm.h
> > -rw-r--r--  1 root root  2700 Jan  9 13:58 apr_dso.h
> > -rw-r--r--  1 root root  2105 Jan  9 13:58 apr_env.h
> > -rw-r--r--  1 root root 51421 Jan  9 13:58 apr_errno.h
> > -rw-r--r--  1 root root 17564 Jan  9 13:58 apr_file_info.h
&g

RE: Problems with APR install

2007-01-09 Thread Anthony J Biacco
I think the problem is the 32-bit mixed with 64-bit one you mentioned.
The jvm is 32-bit. I tried compiling apr as 32-bit which eventually
worked, but apr-util wouldn't.
Right now I'm just gonna try installing the 64 bit amd java and be done
with it.

Thanx,

-Tony

Anthony J. Biacco
Senior Systems/Network Administrator
Decentrix Inc.
303-899-4000 x303


> -Original Message-
> From: robert lazarski [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, January 09, 2007 4:37 PM
> To: Tomcat Users List
> Subject: Re: Problems with APR install
> 
> One other thing: If you are using 'java service wrapper' or perhaps
> some other type of dameon on tomcat , you may not pick up the
> LD_LIBRARY_PATH . In the 'java service wrapper' case you need to add
> the dir manually in wrapper.conf .
> 
> On 1/9/07, Anthony J Biacco <[EMAIL PROTECTED]> wrote:
> > 1. The LD_LIBRARY_PATH add didn't add anything to the end, just a :
> > 2. The copy of the tcnative to bin/ didn't help
> > 3. How can I tell if I'm using a 32-bit or 64-bit jvm? I'm assuming
> if
> > it's 32-bit I'll have to recompile apr and tcnative as 32-bit, if
> > possible?
> > 4. I'll check the 5.5.18 changelog, thanx.
> >
> > -Tony
> > 
> > Anthony J. Biacco
> > Senior Systems/Network Administrator
> > Decentrix Inc.
> > 303-899-4000 x303
> >
> >
> > > -Original Message-
> > > From: robert lazarski [mailto:[EMAIL PROTECTED]
> > > Sent: Tuesday, January 09, 2007 3:34 PM
> > > To: Tomcat Users List
> > > Subject: Re: Problems with APR install
> > >
> > > I think there was a bug on 5.5.17 and apr . See the 5.5.18
> changelog .
> > > Something to do with ipv6 even though I was running ipv4 . You'll
> know
> > > its working when you see this line:
> > >
> > > org.apache.coyote.ajp.AjpAprProtocol] Initializing Coyote AJP/1.3
> on
> > > ajp-0.0.0.0-8009
> > >
> > > I got exceptions on 5.5.17 when I got to that point using opensuse
> > > 10.1 . Try putting the libtcnative-* file in tomcat/bin if in
> doubt.
> > > My config is:
> > >
> > > LD_LIBRARY_PATH=/usr/local/apr/lib:/lib/tls:$LD_LIBRARY_PATH
> > >
> > > Actually I have no /lib/tls on my sys , must have copied that from
> > > somewhere.
> > >
> > > One other thing: try matching your 32bit jvm with 32bit native
libs
> ,
> > > or vice versa with 64bits.
> > >
> > > HTH,
> > > Robert
> > >
> > > On 1/9/07, Anthony J Biacco <[EMAIL PROTECTED]> wrote:
> > > > I'm trying to get APR 1.2.8 working with tomcat 5.5.17 which
> comes
> > > with
> > > > tomcat-native 1.1.3.
> > > > I'm on RHEL4 on a 64-bit AMD system.
> > > > I compiled APR from source into /usr/local/apr, compiled tomcat-
> > > native
> > > > with /usr/local/apr, no problems.
> > > > Added /usr/local/apr/lib to /etc/ld.so.conf and ran ldconfig, no
> > > > problem.
> > > > Added /usr/local/apr/lib to LD_LIBRARY_PATH in bin/startup.sh
> > > > In conf/server.xml I have:
> > > >  className="org.apache.catalina.core.AprLifecycleListener"
> > > />
> > > >
> > > > In catalina.out on startup, I get:
> > > > 14:52:09 INFO [main]
> org.apache.catalina.core.AprLifecycleListener:
> > > The
> > > > Apache Tomcat Native library which allows optimal performance in
> > > > production environme
> > > > nts was not found on the java.library.path:
> > > >
> > >
> >
>
/usr/java/jdk1.5.0_06/jre/lib/i386/server:/usr/java/jdk1.5.0_06/jre/lib
> > > /
> > > > i386:/usr/java/jdk1.5.0_06/jre/../lib/i38
> > > > 6:/usr/local/apr/lib
> > > >
> > > > I can't find anything I missed. Ldd shows cleans for all so
> files,
> > > seems
> > > > all libraries are there, don't know what it's looking for.
> > > > Any help is appreciated.
> > > >
> > > > *** APR DIR LISTING ***
> > > >
> > > > # ls -lR /usr/local/apr
> > > > /usr/local/apr:
> > > > total 16
> > > > drwxr-xr-x  2 root root 4096 Jan  9 14:01 bin
> > > > drwxr-xr-x  2 root root 4096 Jan  9 13:58 build-1
> > > > drwxr-xr-x  3 root root 4096 Jan  9 13:58 include
> > > > drwxr-

RE: Problems with APR install

2007-01-09 Thread Anthony J Biacco
Installing the 64-bit JVM fixed it. Thanx!

-Tony

Anthony J. Biacco
Senior Systems/Network Administrator
Decentrix Inc.
303-899-4000 x303


> -Original Message-
> From: Anthony J Biacco [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, January 09, 2007 4:44 PM
> To: Tomcat Users List
> Subject: RE: Problems with APR install
> 
> I think the problem is the 32-bit mixed with 64-bit one you mentioned.
> The jvm is 32-bit. I tried compiling apr as 32-bit which eventually
> worked, but apr-util wouldn't.
> Right now I'm just gonna try installing the 64 bit amd java and be
done
> with it.
> 
> Thanx,
> 
> -Tony
> 
> Anthony J. Biacco
> Senior Systems/Network Administrator
> Decentrix Inc.
> 303-899-4000 x303
> 
> 
> > -Original Message-
> > From: robert lazarski [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, January 09, 2007 4:37 PM
> > To: Tomcat Users List
> > Subject: Re: Problems with APR install
> >
> > One other thing: If you are using 'java service wrapper' or perhaps
> > some other type of dameon on tomcat , you may not pick up the
> > LD_LIBRARY_PATH . In the 'java service wrapper' case you need to add
> > the dir manually in wrapper.conf .
> >
> > On 1/9/07, Anthony J Biacco <[EMAIL PROTECTED]> wrote:
> > > 1. The LD_LIBRARY_PATH add didn't add anything to the end, just a
:
> > > 2. The copy of the tcnative to bin/ didn't help
> > > 3. How can I tell if I'm using a 32-bit or 64-bit jvm? I'm
assuming
> > if
> > > it's 32-bit I'll have to recompile apr and tcnative as 32-bit, if
> > > possible?
> > > 4. I'll check the 5.5.18 changelog, thanx.
> > >
> > > -Tony
> > > 
> > > Anthony J. Biacco
> > > Senior Systems/Network Administrator
> > > Decentrix Inc.
> > > 303-899-4000 x303
> > >
> > >
> > > > -Original Message-
> > > > From: robert lazarski [mailto:[EMAIL PROTECTED]
> > > > Sent: Tuesday, January 09, 2007 3:34 PM
> > > > To: Tomcat Users List
> > > > Subject: Re: Problems with APR install
> > > >
> > > > I think there was a bug on 5.5.17 and apr . See the 5.5.18
> > changelog .
> > > > Something to do with ipv6 even though I was running ipv4 .
You'll
> > know
> > > > its working when you see this line:
> > > >
> > > > org.apache.coyote.ajp.AjpAprProtocol] Initializing Coyote
AJP/1.3
> > on
> > > > ajp-0.0.0.0-8009
> > > >
> > > > I got exceptions on 5.5.17 when I got to that point using
> opensuse
> > > > 10.1 . Try putting the libtcnative-* file in tomcat/bin if in
> > doubt.
> > > > My config is:
> > > >
> > > > LD_LIBRARY_PATH=/usr/local/apr/lib:/lib/tls:$LD_LIBRARY_PATH
> > > >
> > > > Actually I have no /lib/tls on my sys , must have copied that
> from
> > > > somewhere.
> > > >
> > > > One other thing: try matching your 32bit jvm with 32bit native
> libs
> > ,
> > > > or vice versa with 64bits.
> > > >
> > > > HTH,
> > > > Robert
> > > >
> > > > On 1/9/07, Anthony J Biacco <[EMAIL PROTECTED]> wrote:
> > > > > I'm trying to get APR 1.2.8 working with tomcat 5.5.17 which
> > comes
> > > > with
> > > > > tomcat-native 1.1.3.
> > > > > I'm on RHEL4 on a 64-bit AMD system.
> > > > > I compiled APR from source into /usr/local/apr, compiled
> tomcat-
> > > > native
> > > > > with /usr/local/apr, no problems.
> > > > > Added /usr/local/apr/lib to /etc/ld.so.conf and ran ldconfig,
> no
> > > > > problem.
> > > > > Added /usr/local/apr/lib to LD_LIBRARY_PATH in bin/startup.sh
> > > > > In conf/server.xml I have:
> > > > >  > className="org.apache.catalina.core.AprLifecycleListener"
> > > > />
> > > > >
> > > > > In catalina.out on startup, I get:
> > > > > 14:52:09 INFO [main]
> > org.apache.catalina.core.AprLifecycleListener:
> > > > The
> > > > > Apache Tomcat Native library which allows optimal performance
> in
> > > > > production environme
> > > > > nts was not found on the java.library.path:
> > > > &