Hmm

  I read the BUILDING file of tomcat-native (the one that comes in TOMCAT\bin). 
It says something
like:

2 - In bin/setenv.sh add the following: 
    CATALINA_OPTS="$CATALINA_OPTS -Djava.library.path=tclib_location"
    In my machine I am using:
    /home/jfclere/jakarta-tomcat-connectors/jni/native/.libs for tclib_location

  Did you try that?

  Right now I am at work and my all configurations are at home. If things do 
not work, I will try
to rebuild it when I go home. See above helps.


Regards,
Dhaval
--- Stefan Wachter <[EMAIL PROTECTED]> wrote:

> Hi Dhaval,
> 
> I don't think, that an old APR is involved. I compiled the latest APR 
> (version 1.2.7) using the sources from apr.apache.org. The created 
> library was placed into /usr/local/apr/lib by "make install".
> 
> Yet, there is an old version of the APR installed on my system that came 
> with httpd 2.0.x (named "libapr-0"). Do you think that "libapr-0" does 
> interfere with "libapr-1"?
> 
> Cheers,
> --Stefan
> 
> Dhaval Patel wrote:
> > Hi,
> >
> >    I think your APR library is old. (You might have install using Yast). 
> > Tomcat 5.5 requires
> APR
> > 1.2+. So you might have to compile it by yourself.
> > (http://tomcat.apache.org/tomcat-5.5-doc/apr.html)
> >
> >    I remembered that I had to compile APR for SuSE 10. Here is what I did:
> > 1) Make sure you have Apache Devel. headers and library are installed. 
> > (YaST will help you)
> > 2) Download APR from (http://apr.apache.org/). Follow the instruction to 
> > compile and make.
> Make
> > sure that you remember the location of APR because you need that in Tomcat.
> > 3) Go to TOMCAT_HOME\bin. Unpack tomcat-native.tar.gz.
> > 4) Follow the instruction to build it.
> > 5) Then you might have to use SetENV.sh.
> >
> >    See above things works. I may able to help you if it does not work.
> >
> > Regards,
> > Dhaval
> >
> > --- Stefan Wachter <[EMAIL PROTECTED]> wrote:
> >
> >   
> >> Hi Rajeev,
> >>
> >> I changed the order of the directories to /usr/lib:/usr/local/apr/lib 
> >> but I did not help.
> >>
> >> Cheers,
> >> --Stefan
> >>
> >>
> >> Rajeev N. Jha wrote:
> >>     
> >>> Try putting the ssl libs in front of apr/tcnative.
> >>>
> >>> Thanks
> >>> - Rajeev.
> >>>
> >>> Stefan Wachter wrote:
> >>>       
> >>>> Hi all,
> >>>>
> >>>> I tried to run Tomcat using the APR under (Suse-)Linux but did not 
> >>>> succeed. During startup there is still the well known message:
> >>>>
> >>>> The Apache Tomcat Native library which allows optimal performance in 
> >>>> production environments was not found on the java.library.path: 
> >>>>
> >>>>         
> >
>
/java/jdk1.5.0_05/jre/lib/i386/client:/java/jdk1.5.0_05/jre/lib/i386:/java/jdk1.5.0_05/jre/../lib/i386:/usr/local/apr/lib:/usr/lib
> >   
> >>>> Yet, in the directory /usr/local/apr/lib there are the apr and 
> >>>> tcnative libraries. This is the listing of that directory:
> >>>>
> >>>> -rw-r--r--  1 root root    7661 2006-06-30 09:56 apr.exp
> >>>> -rw-r--r--  1 root root 1164070 2006-06-30 09:56 libapr-1.a
> >>>> -rwxr-xr-x  1 root root     831 2006-06-30 09:56 libapr-1.la
> >>>> lrwxrwxrwx  1 root root      17 2006-06-30 09:56 libapr-1.so -> 
> >>>> libapr-1.so.0.2.7
> >>>> lrwxrwxrwx  1 root root      17 2006-06-30 09:56 libapr-1.so.0 -> 
> >>>> libapr-1.so.0.2.7
> >>>> -rwxr-xr-x  1 root root  636499 2006-06-30 09:56 libapr-1.so.0.2.7
> >>>> -rw-r--r--  1 root root 1380234 2006-06-30 10:07 libtcnative-1.a
> >>>> -rwxr-xr-x  1 root root     912 2006-06-30 10:07 libtcnative-1.la
> >>>> lrwxrwxrwx  1 root root      22 2006-06-30 10:07 libtcnative-1.so -> 
> >>>> libtcnative-1.so.0.2.7
> >>>> lrwxrwxrwx  1 root root      22 2006-06-30 10:07 libtcnative-1.so.0 
> >>>> -> libtcnative-1.so.0.2.7
> >>>> -rwxr-xr-x  1 root root  800108 2006-06-30 10:07 libtcnative-1.so.0.2.7
> >>>> drwxr-xr-x  2 root root     104 2006-06-30 10:07 pkgconfig
> >>>>
> >>>> In addition the directory /usr/lib contains the openssl library:
> >>>>
> >>>> lrwxrwxrwx  1 root root     15 2005-11-01 14:39 libssl.so.0 -> 
> >>>> libssl.so.0.9.7
> >>>> -rwxr-xr-x  1 root root 220153 2005-10-14 18:14 libssl.so.0.9.7
> >>>>
> >>>> I also including these two directories in the LD_LIBRARY_PATH. For 
> >>>> that purpose I created a setenv.sh with the line
> >>>>
> >>>> export LD_LIBRARY_PATH=/usr/local/apr/lib:/usr/lib
> >>>>
> >>>> Can anyone help me with this problem?
> >>>>
> >>>> Regards,
> >>>> --Stefan
> >>>>
> >>>>
> >>>> ---------------------------------------------------------------------
> >>>> To start a new topic, e-mail: users@tomcat.apache.org
> >>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>>> For additional commands, e-mail: [EMAIL PROTECTED]
> >>>>
> >>>>
> >>>>         
> >>> ---------------------------------------------------------------------
> >>> To start a new topic, e-mail: users@tomcat.apache.org
> >>> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>> For additional commands, e-mail: [EMAIL PROTECTED]
> >>>
> >>>
> >>>       
> >> ---------------------------------------------------------------------
> >> To start a new topic, e-mail: users@tomcat.apache.org
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >>     
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam protection around 
> > http://mail.yahoo.com 
> >
> > ---------------------------------------------------------------------
> > To start a new topic, e-mail: users@tomcat.apache.org
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >   
> 
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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

Reply via email to