Tomcat Manager Webapp configuration in Eclipse [message #204637] |
Fri, 16 November 2007 17:15 |
Eclipse User |
|
|
|
Originally posted by: tsunamirower.gmail.com
Howdy,
I've been trying to load and run the "manager" web application from within
the tomcat instance running from my eclipse, but I'm recieving this
message:
SEVERE: Allocate exception for servlet Manager
java.lang.SecurityException: Servlet of class
org.apache.catalina.manager.ManagerServlet is privileged and cannot be
loaded by this web application
I really just want to turn the security off. This is not a production
application and it really doesn't matter, but I can't figure out how.
Ultimately, I have one web application invoking the manager to redeploy a
third web app, but the manager cannot be reached due to the exception I
just mentioned.
I've got everything working with Tomcat running as a service (absent
eclipse), but when I try to run it from within eclipse I keep hitting this
brick wall.
My tomcat-users.xml file is the same, I've tried turning off security in
catalina.properties and I've tried removing security contraints from
web.xml but I still can't get it.
Can someone please let me know what I need to change to make this go away.
Your help is much appreciated.
Thanks,
Rob
|
|
|
Re: Tomcat Manager Webapp configuration in Eclipse [message #204641 is a reply to message #204637] |
Fri, 16 November 2007 17:48 |
Larry Isaacs Messages: 1354 Registered: July 2009 |
Senior Member |
|
|
See the Tomcat FAQ for some general info about the Tomcat support in
WTP, especially the Getting Started questions. For the most part it
applies to WTP 2.0.x as well as WTP 1.5.x. If you are still not sure
how to accomplish what you want in the context of this info, post again.
Cheers,
Larry
[1] http://www.eclipse.org/webtools/faq/TomcatServerFAQ.php
Rob Maguire wrote:
> Howdy,
>
> I've been trying to load and run the "manager" web application from
> within the tomcat instance running from my eclipse, but I'm recieving
> this message:
>
> SEVERE: Allocate exception for servlet Manager
> java.lang.SecurityException: Servlet of class
> org.apache.catalina.manager.ManagerServlet is privileged and cannot be
> loaded by this web application
>
> I really just want to turn the security off. This is not a production
> application and it really doesn't matter, but I can't figure out how.
>
> Ultimately, I have one web application invoking the manager to redeploy
> a third web app, but the manager cannot be reached due to the exception
> I just mentioned.
>
> I've got everything working with Tomcat running as a service (absent
> eclipse), but when I try to run it from within eclipse I keep hitting
> this brick wall.
> My tomcat-users.xml file is the same, I've tried turning off security in
> catalina.properties and I've tried removing security contraints from
> web.xml but I still can't get it.
>
> Can someone please let me know what I need to change to make this go away.
>
> Your help is much appreciated.
>
> Thanks,
>
> Rob
>
|
|
|
Re: Tomcat Manager Webapp configuration in Eclipse [message #204646 is a reply to message #204641] |
Sat, 17 November 2007 11:57 |
Eclipse User |
|
|
|
Originally posted by: eclipse.10.sgfan.spamgourmet.com
Larry Isaacs wrote:
> See the Tomcat FAQ for some general info about the Tomcat support in
> WTP, especially the Getting Started questions. For the most part it
> applies to WTP 2.0.x as well as WTP 1.5.x. If you are still not sure
> how to accomplish what you want in the context of this info, post again.
Hi Larry,
I came across the same problem as Rob.
I read the faq but it didn't tell me how to deploy the tomcat std
webapps and WAR files within my tomcat instance the catalina.base
pointing to my .metadata.
thx
|
|
|
|
Powered by
FUDForum. Page generated in 0.03215 seconds