Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / March 2008

Tip: Looking for answers? Try searching our database.

Apache Tomcat in Eclipse cannot load /manager/html     (SecurityException)

Thread view: 
Arancaytar - 07 Feb 2008 11:32 GMT
My Tomcat server is running from Eclipse. I have successfully added
the standard webapps folder to my Eclipse configuration, so I can see
the standard index pages. However, when I try to log in to the /
manager/html panel, a 500 error results.

The login prompt works correctly - if the wrong password is entered,
access is blocked with 401. This 500 error only occurs after
successful login. A stack trace is reproduced below.

exception

javax.servlet.ServletException: Error allocating a servlet instance
...

root cause

java.lang.SecurityException: Servlet of class
org.apache.catalina.manager.HTMLManagerServlet is privileged and
cannot be loaded by this web application
   
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:
525)
   
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:
102)
   
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
263)
    org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
844)
    org.apache.coyote.http11.Http11Protocol
$Http11ConnectionHandler.process(Http11Protocol.java:584)
    org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:
447)
    java.lang.Thread.run(Thread.java:619)

(Unfortunately I cannot run the tomcat server outside Eclipse because
that requires installing a Windows Service which I lack privileges
for.)
cobola - 06 Mar 2008 13:39 GMT
I take a same mistake of this

but my tomcat was run on centos

tomcat 6.0

I define
<Context docBase="/usr/local/tomcat/webapps/manager" path="/manager"
reloadable="false"/>

in server.xml

anyone help me ?

> My Tomcat server is running from Eclipse. I have successfully added
> the standard webapps folder to my Eclipse configuration, so I can see
[quoted text clipped - 35 lines]
> that requires installing a Windows Service which I lack privileges
> for.)


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.