File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Tomcat sysdeo plugin - desparate to get it working. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat sysdeo plugin - desparate to get it working." Watch "Tomcat sysdeo plugin - desparate to get it working." New topic
Author

Tomcat sysdeo plugin - desparate to get it working.

Suma Rangaraj
Ranch Hand

Joined: Feb 02, 2005
Posts: 50

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)
Bauke Scholtz
Ranch Hand

Joined: Oct 08, 2006
Posts: 2458
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

Joined: Feb 02, 2005
Posts: 50
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

Joined: Oct 08, 2006
Posts: 2458
As said, it is built in Eclipse as part of WTP. Get "Eclipse for Java EE".
Kees Jan Koster
JavaMonitor Support
Rancher

Joined: Mar 31, 2009
Posts: 251
    
    5
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.


Java-monitor, JVM monitoring made easy <- right here on Java Ranch
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat sysdeo plugin - desparate to get it working.
 
Similar Threads
Tomcat error while running JForum integrated project
Unable to get Web Service running
c:out gives error
server: error ListenerStart
404 error in eclipse after running Spring App