We help IT Professionals succeed at work.

Tomcat 5.5 startup problems getting, java.lang.NoSuchMethodException: org.apache.catalina.startup.Catalina.setAwait(boolean)

temj
temj asked
on
1,546 Views
Last Modified: 2012-05-05
I get the following message when I try to start Tomcat:

java.lang.NoSuchMethodException: org.apache.catalina.startup.Catalina.setAwait(boolean)
      at java.lang.Class.getMethod(Unknown Source)
      at org.apache.catalina.startup.Bootstrap.setAwait(Bootstrap.java:358)
      at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:430)

the method that it refers to is a part of catalina.jar which is located under Tomcat 5.5\server\lib, as far as I can see.

Any help would be very much appriciated :)



Comment
Watch Question

Commented:
Was this a fresh install?? Looks like you have an older version of catalina.jar.. you can this. Download tomcat5.5 as a zip from tomcat.apache.org. Unzip, & extract the catalina.jar to the server/lib and then check.
Looks like a classpath issue. Do you have other catalina.jar files in your classpath ?
Try starting the 5.5 tomcat from the catalina.home (ie. Tomcat 5.5\bin) using the catalina.bat

Commented:
yeah - n_sachin1's idea is a good one.

you need to run the command:

catalina run

the logs / op will be on the console itself..

Author

Commented:
It's a fresh install of Tomcat 5.5, and I've checked the classpath, and it refers to Tomcat 5.5\server\lib

My catalina.jar is 635kb and was created 12. september 2006, 16:10:27.  I tried catalina run, and it set the classpath to my tomcat installation, (it was right in the first place though, but just to make sure). I then tried to overwrite the catalina.jar with newer ones, even from the new 6.0 version of tomcat, but I still get the same error.






Author

Commented:
It was the j2ee.jar in my server\lib that was causing the problem. Remove it and problem solved :)
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.