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)
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.
Joined: Feb 02, 2005
Many thanks for your response. Could you name the eclipse tomcat plugin? I would liek to try it out..
Thanks a bunch!!
Joined: Oct 08, 2006
As said, it is built in Eclipse as part of WTP. Get "Eclipse for Java EE".
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.