Manning's Countdown to 2014
. Use discount code crdotd14 all month for 50% off every deal.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Cannot invoke Tomcat manager: FAIL - Deployed application at context path /Document Manager Gui but
Joined: Jan 10, 2009
Jun 17, 2013 02:56:14
I get this error when I try to deploy a spring application using
Cannot invoke Tomcat manager: FAIL - Deployed application at context path /DocumentManagerGui but context failed to start
My settings.xml file in maven is :
<server> <id>localhost</id> <username>script</username> <password>script</password> </server>
my tomcat-user xml file is
role rolename="manager-gui"/> <role rolename="manager-script"/> <role rolename="manager-jmx"/> <role rolename="manager-status"/> <role rolename="admin-gui"/> <role rolename="admin-script"/> <user username="script" password="script" roles="manager-gui,manager-script,manager-jmx,manager-status,admin-gui,admin-script"/>
my context file is in src directory META-INF folder. the content is
<?xml version="1.0" encoding="UTF-8"?> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --><!-- The contents of this file will be loaded for each web application --> <Context antiJARLocking="true" antiResourceLocking="true"> <!-- Default set of monitored resources --> <WatchedResource>WEB-INF/web.xml</WatchedResource> <!-- Uncomment this to disable session persistence across Tomcat restarts --> <!-- <Manager pathname="" /> <Manager pathname="" /> --> <!-- Uncomment this to enable Comet connection tacking (provides events on session expiration as well as webapp lifecycle) --> <!-- <Valve className="org.apache.catalina.valves.CometConnectionManagerValve" /> --> <Loader loaderClass="org.springframework.instrument.classloading.tomcat.TomcatInstrumentableClassLoader" /> <Transaction factory="com.atomikos.icatch.jta.UserTransactionFactory" timeout="60" /> </Context>
my pom file tomcat plugin is:
<plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>tomcat-maven-plugin</artifactId> <configuration> <url>http://localhost:8080/manager/text</url> <path>/DocumentManagerGui</path> <server>localhost</server> <mode>both</mode> </configuration> </plugin> </plugins>
SCJP 6.0 (83%)
Joined: Jun 25, 2001
Jun 17, 2013 04:56:14
FAIL - Deployed application at context path /DocumentManagerGui but context failed to start
Apparently, your Maven deployment client did manage to contact the Tomcat manager, but the webapp failed when starting up.
To know why, we'd need to see the log in catalina.out.
Customer surveys are for companies who didn't pay proper attention to begin with.
Joined: Jan 10, 2009
Jun 17, 2013 05:38:18
Where is this log file located on windows. I can only see the log folder in the home directory of my tomcat installation
Don't get me started about those stupid
subject: Cannot invoke Tomcat manager: FAIL - Deployed application at context path /Document Manager Gui but
Starting Apache Tomcat Server 6
Cannot log into management pages
Unable to login to manager GUI
Make script to install war files in Tomcat
Richfaces + Spring + Maven Setup help
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013