• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

SEVERE errors when starting tomcat on a mac

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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...
 
Sheriff
Posts: 67752
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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!
 
David Morisset
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for the advice and trust me, i won't forget it !
 
Bear Bibeault
Sheriff
Posts: 67752
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
 
Ranch Hand
Posts: 75
Tomcat Server Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
In the renaissance, how big were the dinosaurs? Did you have tiny ads?
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic