• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Tomcat sysdeo plugin - desparate to get it working.

 
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

I am desperate to get thsi working. Not sure what went wrong.
I have uninstalled an older version of tomcat and re-sinstalelr a newer version.
I have set up tomcat sysdeo plugin to run tomcat within eclipse as before.
I also did a clean start for eclipse. Re-installing eclipse is the last idea I have.

But now When I click on the tomcat in debug mode in eclipse, it gives an error -



When I click on tomcat button in eclipse, it is giving a different error -

java.lang.ExceptionInInitializerError
at org.apache.catalina.startup.Bootstrap.<clinit>(Bootstrap.java:54)
Caused by: java.security.AccessControlException: access denied (java.util.PropertyPermission org.apache.commons.logging.LogFactory.HashtableImpl read)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
at java.lang.System.getProperty(Unknown Source)
at org.apache.commons.logging.LogFactory.createFactoryStore(LogFactory.java:320)
at org.apache.commons.logging.LogFactory.<clinit>(LogFactory.java:1725)
 
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Why don't you just use Eclipse's own Tomcat plugin? Or are you using a very old version of Eclipse before the WTP kicked in? Or are you maybe simply using a wrong variant (you need the "Eclipse for Java EE" variant to develop webapps)?

By the way, you don't "reinstall" Eclipse. It has in fact no installer. You just extract the zip and run it. It's written entirely in Java, no need for nasty platform dependences like an installer.
 
Suma Rangaraj
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi bauke,

Many thanks for your response. Could you name the eclipse tomcat plugin? I would liek to try it out..

Thanks a bunch!!
 
Bauke Scholtz
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
As said, it is built in Eclipse as part of WTP. Get "Eclipse for Java EE".
 
JavaMonitor Support
Posts: 251
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear Suma,

You don't mention what OS you are running on, but I will bet it is something Debian-like and you installed that Tomcat using apt/yum/rpm. Such repackaged Tomcat servers are generally broken and you are much better off using a real Tomcat that you download and install manually from tomcat.apache.org.

If you want to stick with the repackaged Tomcat, check out this discussion about java.security.AccessControlException on Debian or Ubuntu.
 
Skool. Stay in. Smartness. Tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic