aspose file tools*
The moose likes Tomcat and the fly likes SEVERE errors when starting tomcat on a mac Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "SEVERE errors when starting tomcat on a mac" Watch "SEVERE errors when starting tomcat on a mac" New topic
Author

SEVERE errors when starting tomcat on a mac

David Morisset
Greenhorn

Joined: Oct 08, 2012
Posts: 4
Hello,


I installed Tomcat 7.0.35 on two different macs running java 1.6 : one on OS X 10.8.1 and the other 10.6.8 and i get the same issue on both.
I followed the instructions from Wolf Paulus both times, except for the small GUI that i didn't install.
The only other thing i did was copy javax.servlet.jar in /Library/java/Extensions.
At first it works, i can see the home page on http://localhost:8080 and browse the examples.

Then, when i reboot my mac and try to run startup.sh , i can see it being initialised with the following :


but then i can't access anything. Here is the output from Catalina.out



The only info i found regarding these messages has to do with using different versions of java on Tomcat and JVM. It doesn't seem relevant since i am on 1.6 which is the version required.
Does anyone have an idea what i am doing wrong ?

Thanks in advance
David Morisset
Greenhorn

Joined: Oct 08, 2012
Posts: 4
The answer was in the question, it's the javax.servlet.jar that was causing the problem and it took me all day to find it.
Learning the hard way...
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61433
    
  67

Never ever ever copy the servlet jars files out of Tomcat to anywhere else. Ever.

That way lies ruin and disaster.

But don't feel bad; this has bitten many people in the past. Especially when they copy those jars into WEB-INF/lib!


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
David Morisset
Greenhorn

Joined: Oct 08, 2012
Posts: 4
Thanks for the advice and trust me, i won't forget it !
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61433
    
  67

K. Gil
Ranch Hand

Joined: Apr 29, 2011
Posts: 75

btw, version 7.0.35 has nasty bugs, and it was so urgent to fix these, that release 7.0.36 was cancelled,
and 7.0.37 was released instead with bug fixes for 7.0.35, while that what was planned for 7.0.36 was moved to 7.0.38 schedule.
I would stay away from 7.0.35
 
Consider Paul's rocket mass heater.
 
subject: SEVERE errors when starting tomcat on a mac