On 4 March 2010 14:13, maven apache <[email protected]> wrote:
> 2010/3/4 Markus Schönhaber <[email protected]>
>
>> 04.03.2010 15:01, maven apache:
>>
>> > 2010/3/4 Caldarale, Charles R <[email protected]>
>> >
>> >>> From: maven apache [mailto:[email protected]]
>> >>> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to