On 20/07/2011 07:58, Alexander Diedler wrote: > Hello, > > We have a big problem with deployment over war in a Tomcat 6.0.32. If > there is no application yet, the initial upload through the manger > works. If we redeploy the running application again, the undeploy > process fails and we have a half installation, in the Manager the > application name is empty. To get free out of this situation, we have to > click three times to “undeploy” and then all files are deleted and the > Context Descriptor will be deleted.
> War File named ROOT.war resists in D:/tecracer/apps/apps1 > > The deployed file in /conf/Catalina/app1/ROOT.xml contains: > > <?xml version="1.0" encoding="UTF-8"?> > > <Context path="" docBase="D:/tecracer/apps/app1/" privileged="true" > reloadable="true" unpackWAR="true" antiJARLocking="true"> If the app is named ROOT.war, you don't need path & docBase in context.xml. > In the Server.xml we have inside the Engine: > > <Host name="app1 " appBase="D:/tecracer/apps/app1" unpackWARs="true" > deployOnStartup="true"> You can't set docBase and appBase to the same value. There shouldn't be a space in the Host name attribute. p > <Valve > className="org.apache.catalina.valves.AccessLogValve" directory="logs" > > prefix="app1_access_log." suffix=".txt" pattern="common" > resolveHosts="false"/> > > </Host> > > > > Do we make a thinking mistake in the understanding of automatical > deployment? > > > > Greetings > > Alexander Diedler > > > > >
signature.asc
Description: OpenPGP digital signature