Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Tomcat Manager Webapp configuration in Eclipse
Tomcat Manager Webapp configuration in Eclipse [message #204637] Fri, 16 November 2007 17:15 Go to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1313
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 Go to previous messageGo to next message
Eclipse UserFriend
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
Re: Tomcat Manager Webapp configuration in Eclipse [message #204708 is a reply to message #204646] Mon, 19 November 2007 13:27 Go to previous message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1313
Registered: July 2009
Senior Member
You can use the Modules tab of the server editor to add external
webapps, or manually add the necessary contexts to the server.xml under
the appropriate subfolder of the Servers project. I just would not
recommend using the manager or admin webapps in this environment because
any changes made using them will be overwritten the next time the server
is published.

Cheers,
Larry


Michael wrote:
> 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
Previous Topic:Remove XML validator problem markers
Next Topic:Deploying WST Plugin recursively
Goto Forum:
  


Current Time: Sun Dec 21 06:26:24 GMT 2014

Powered by FUDForum. Page generated in 0.37044 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software