Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have installed Tomcat on windows XP through the Tomcat installer. I have installed JDK 1.6. But when I start Tomacat from services.msi on XP, I get the following error:

java.lang.ClassNotFoundException: org.apache.catalina.core.AprLifecycleListener
at$ Source)
at Method)
at Source)
at sun.misc.Launcher$ExtClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.apache.commons.digester.ObjectCreateRule.begin(
at org.apache.commons.digester.Rule.begin(
at org.apache.commons.digester.Digester.startElement(
at Source)
at Source)
at Source)
at$ Source)
at Source)
share|improve this question

migrated from Feb 19 '11 at 13:53

This question came from our site for professional and enthusiast programmers.

Does it run when you launch it from the .exe in Tomcat's /bin directory? – Bill the Lizard Feb 19 '11 at 13:52
no it doesnt get start rfrom bin directory.I have installed tomcat through windows installer – user71538 Feb 21 '11 at 10:44
Did you set CATALINA_HOME to the base directory of your Tomcat server? It seems like it can't find one of the JAva class file that comes with Tomcat. – Nikolas Sakic May 1 '13 at 14:17

I believe the jar catalina.jar is not found.

Tomcat works like this.

  1. It just needs a jar called Bootstrap.jar.
  2. Then this Bootstrap looks for an architecture dependent binary library called APR (for Apache RunTime) through this APR lifecycle listener class that is not found.

So I think either something got wrong with the Tomcat Installation (this jar lives in the lib folder (assuming Tomcat version 6+)).

Do you have CATALINA_HOME environment variable defined (I have to check this is needed for Windows actually) ?

Update: You don't need the CATALINA_HOME system variable for window. When you installed Tomcat, I understand you also checked the service (and possibly) option.

One thing I'm thinking also is that you might have a previous (say tomcat 6) installation and have now installed a newer (say tomcat 7) and may be thought the service was going to be the same. Actually no, they don't have the same registry key in \HKLM\System\services, the new one is called Tomcat 7. So may be you are trying to start a new installation with an older tomcat setup. It's better to uninstall everything (if you did not add webapps or config) and reinstall (tick both 'native' and 'system' options (these are the APR, for better perfs and the new service setup respectively).

share|improve this answer
no i havent installed tomcat before on same machine.its new copy.The bin folder also contains bootstrap.jar – user71538 Feb 21 '11 at 10:46

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.