tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dark Before Dawn <>
Subject Re: Tomcat 7 Embedded: Manager
Date Fri, 01 Jul 2011 09:40:39 GMT
Hi again,
this is realy driving me nuts for weeks :)

I am developing a Java SE application using *Tomcat* 7 in embedded mode. 
  I am attempting to use the *tomcat* manager application 
(ManagerServlet) and Ant tasks to perform operations on the running 
*tomcat* instance.  Tasks such as list, start, stop work fine, however 
the deploy and undeploy tasks *fail* with the following *exception* (see 
below).  I actually get the same *exception* when trying to use the 
manager web interface (HTMLManagerServlet) which leads me to believe 
that this is a general configuration issue somewhere or misunderstanding 
in my code.

I guess there is still something wrong with my mappings as Chuck noticed.


I realy read the API Documentation and UnitTest examples and haven't got 
any further :(


Errors via ANT and Web:

FAIL - Encountered exception Tomcat:type=Deployer,host=localhost

01.07.2011 11:28:57 org.apache.catalina.core.ApplicationContext log
manager-servlet: managerServlet.check[/sample] Tomcat:type=Deployer,host=localhost
	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(
	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(
	at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(
	at org.apache.catalina.manager.ManagerServlet.isServiced(
	at org.apache.catalina.manager.ManagerServlet.deploy(
	at org.apache.catalina.manager.ManagerServlet.doGet(
	at javax.servlet.http.HttpServlet.service(
	at javax.servlet.http.HttpServlet.service(
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(
	at org.apache.catalina.core.StandardWrapperValve.invoke(
	at org.apache.catalina.core.StandardContextValve.invoke(
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(
	at org.apache.catalina.core.StandardHostValve.invoke(
	at org.apache.catalina.valves.ErrorReportValve.invoke(
	at org.apache.catalina.core.StandardEngineValve.invoke(
	at org.apache.catalina.connector.CoyoteAdapter.service(
	at org.apache.coyote.http11.Http11Processor.process(
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
	at java.util.concurrent.ThreadPoolExecutor$

Cheers Darky

Am 28.06.2011 03:42, schrieb Caldarale, Charles R:
>> From: Dark Before Dawn []
>> Subject: Re: Tomcat 7 Embedded: Manager
>> When using HTMLManagerServlet and navigating to http://localhost/manager
>> the Manager's HTML Interface will appear.
> It shouldn't, unless you've been playing with the mappings in WEB-INF/web.xml.  The valid
URL paths are:
> /manager/html
> /manager/jmxproxy
> /manager/status
> /manager/text
> There is no /manager mapping, nor is there supposed to be one.  Note that each mapping
has its own security constraint.
>   - Chuck
is thus for use only by the intended recipient. If you received this in error, please contact
the sender and delete the e-mail and its attachments from all computers.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message