LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
LinkBack Search this Thread
Old 09-19-2008, 02:57 PM   #1
Asagath
Member
 
Registered: Dec 2004
Location: Colombia
Posts: 42

Rep: Reputation: 15
Exclamation Errors with apache tomcat 6.0.18 on a centOS 5.2


I'm using a centOS 5.2 and I have installed an Apache Tomcat 6.0.18 on it. As I entered the url http://localhost:8080 I get the message that Tomcat has been successfully installed, but as I check the log catalina.out I'm getting the next errors:

WARNING: error instantiating 'org.apache.juli.ClassLoaderLogManager' referenced by java.util.
logging.manager, class not found
java.lang.ClassNotFoundException: org.apache.juli.ClassLoaderLogManager not found
<<No stacktrace available>>
WARNING: error instantiating '1catalina.org.apache.juli.FileHandler,' referenced by handlers,
class not found
java.lang.ClassNotFoundException: 1catalina.org.apache.juli.FileHandler,
<<No stacktrace available>>
Exception during runtime initialization
java.lang.ExceptionInInitializerError
<<No stacktrace available>>
Caused by: java.lang.NullPointerException
<<No stacktrace available>>
19-sep-2008 12:18:26 org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in producti
on environments was not found on the java.library.path: /usr/java/jdk1.6.0_10/jre/lib/i386/se
rver:/usr/java/jdk1.6.0_10/jre/lib/i386:/usr/java/jdk1.6.0_10/jre/../lib/i386:/usr/java/packa
ges/lib/i386:/lib:/usr/lib

What do they mean and how can I fix'em?

Thanks
 
Old 09-19-2008, 03:23 PM   #2
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 10,003

Rep: Reputation: 1189Reputation: 1189Reputation: 1189Reputation: 1189Reputation: 1189Reputation: 1189Reputation: 1189Reputation: 1189Reputation: 1189
Quote:
Originally Posted by Asagath View Post
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/jdk1.6.0_10/jre/lib/i386/se
rver:/usr/java/jdk1.6.0_10/jre/lib/i386:/usr/java/jdk1.6.0_10/jre/../lib/i386:/usr/java/packa
ges/lib/i386:/lib:/usr/lib
You need to include servlet-api.jar and jsp-api.jar in your java path that's specified above (or at least make sure they're there). I remember seeing this in the past, but not sure if this applies now.

From what I remember, there was a problem with my Java installation. Either I had an older version, or there were two versions found in the path, etc. Hope this helps.
 
Old 09-22-2008, 04:08 PM   #3
Asagath
Member
 
Registered: Dec 2004
Location: Colombia
Posts: 42

Original Poster
Rep: Reputation: 15
Both files (server-api.jar and jsp-api.jar) are in the next path:

/usr/apache-tomcat-6.0.18/lib/servlet-api.jar
/usr/apache-tomcat-6.0.18/lib/jsp-api.jar

Should I move them to another location?
 
Old 09-24-2008, 05:41 PM   #4
Asagath
Member
 
Registered: Dec 2004
Location: Colombia
Posts: 42

Original Poster
Rep: Reputation: 15
Thanks, I finally get to install apache tomcat successfully.
 
Old 02-02-2009, 11:11 AM   #5
carvv
LQ Newbie
 
Registered: Feb 2009
Posts: 1

Rep: Reputation: 0
Quote:
Originally Posted by Asagath View Post
Thanks, I finally get to install apache tomcat successfully.
What did you do to get it working? I am having the same problem.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Tomcat Errors Tyler_H72 Linux - Server 12 07-31-2008 05:14 PM
Tomcat 5.5 high processor load in Centos 5.1 cluster tijn_sol Linux - Server 0 02-08-2008 05:44 PM
apache-tomcat and jakarta-tomcat shifter Programming 1 07-28-2007 10:36 PM
Centos: Using Yum and Tomcat Swakoo Linux - General 2 03-28-2007 12:46 AM
[SOLVED] Need to setup a subdomain in Tomcat 5.5.9 CentOS 4.2 thedonkdonk Linux - General 2 09-27-2006 09:41 AM


All times are GMT -5. The time now is 04:48 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration