On 4 March 2010 14:13, maven apache <apachemav...@gmail.com> wrote:
> 2010/3/4 Markus Schönhaber <tomcat-us...@list-post.mks-mail.de>
>
>> 04.03.2010 15:01, maven apache:
>>
>> > 2010/3/4 Caldarale, Charles R <chuck.caldar...@unisys.com>
>> >
>> >>> From: maven apache [mailto:apachemav...@gmail.com]
>> >>> Subject: Re: can not start tomcat and the jre_home var error
>> >>>
>> >>> In the terminal , I enter this the bin directory and run " sudo
>> >>> ./startup.sh"
>> >>
>> >> Try it without the sudo.  You should never run Tomcat as root.
>> >>
>> > Thanks, it works. But I wonder why?
>>
>> Because, by default, sudo resets the environment.
>>
> Oh, thanks I got it.
> Now I found there is something wrong with the apr component  because I got
> the info:
>
> INFO: The APR based Apache Tomcat Native library which allows optimal
> performance in production environments was not found on the
> java.library.path:
> /home/kk/ProgramFiles/jdk1.6.0_17/jre/lib/i386/client:/home/kk/ProgramFiles/jdk1.6.0_17/jre/lib/i386:/home/kk/ProgramFiles/jdk1.6.0_17/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib
>
>  And the whole logs can be found here:http://dpaste.com/167789/
> Does it matter?

That depends if you want to use the APR library or not. Try:-

http://tomcat.apache.org/tomcat-6.0-doc/apr.html

Cheers,
Phil.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to