tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luka Pavlič <luka.pav...@gmail.com>
Subject Running Manager App with Security Manager turned on - Tomcat 8.0.15
Date Thu, 20 Nov 2014 11:00:52 GMT
Hi,

I am running tomcat 8.0.15, win64 ZIP, on Windows 2008R2, Oracle JRE 8.0.20.

Running with "catalina start", /manager app works perfectly.

Running "catalina start -security" will result in not deployed manager app.

I would *definitely need* both: running Tomcat with Security Manager turned
on, and manager application. (I would like to enable "non-trusted" people
to deploy their applications to my server via manager app)

Any idea what to do?

Thank you in advance!

Error log:

20-Nov-2014 11:28:46.242 SEVERE [localhost-startStop-1]
org.apache.catalina.startup.HostConfig.deployDirectory The web application
with context path [/manager] was not deployed because it contained a
deployment descriptor
[C:\Deployments\SOA\apache-tomcat-8.0.15\webapps\manager\META-INF\context.xml]
which may include configuration necessary for the secure deployment of the
application but processing of deployment descriptors is prevented by the
deployXML setting of this host. An appropriate descriptor should be created
at
[C:\Deployments\SOA\apache-tomcat-8.0.15\conf\Catalina\localhost\manager.xml]
to deploy this application.
20-Nov-2014 11:28:46.258 SEVERE [localhost-startStop-1]
org.apache.catalina.core.ContainerBase.addChildInternal
ContainerBase.addChild: start:
 org.apache.catalina.LifecycleException: Failed to start component
[/manager]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)
at org.apache.catalina.core.ContainerBase.access$000(ContainerBase.java:131)
at
org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(ContainerBase.java:153)
at
org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(ContainerBase.java:143)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:699)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:714)
at
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1069)
at
org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1719)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: org.apache.catalina.LifecycleException: Failed to process either
the global, per-host or context-specific context.xml file therefore the
[/manager] Context cannot be started.
at
org.apache.catalina.startup.FailedContext.startInternal(FailedContext.java:199)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
... 14 more

Bests, Luka.

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