Mark,

you where right. I was able to track down the root cause: race condition
between copy the .war and the .xml, when the .xml finishes copying first,
the context wont start (.war not found).



Thanks.

2017-03-02 11:58 GMT-03:00 Mark Thomas <ma...@apache.org>:

> On 02/03/17 13:13, Tiago Oliveira wrote:
> > Hello,
> >
> > i guess the title describes our situation. I pasted the stack trace from
> > catalina.out in a gist:
> > https://gist.github.com/tiagojco/2e05203095e262c559d2f679dd6b42ff
>
> That stack trace is a failure to clean up properly. The real error
> occurred earlier. What is in the logs before that?
>
> Mark
> >
> > While performing "hot deployment", the second context does not start (see
> > stack trace). After restarting the enviroment, both goes up.
> >
> > My Host @ server.xml is declared with both unpackWARs="true" and
> > undeployOldVersions="true"
> >
> > My environment is:
> > OS: Ubuntu 16.04 Xenial Xeros
> > TOMCAT: 8.0.33 manually instaled in /opt/tomcat
> >
> > I'm deploying both the contexts via XML in
> > /opt/tomcat/conf/Catalina/domain/ROOT##VERSION.xml
> >
> > Version 1.2.13: ROOT##20170217_090754.xml
> > https://gist.github.com/tiagojco/2d9ca99281355b218d4d14386bad7459
> >
> > Version 1.2.14: ROOT##20170302_092302.xml
> > https://gist.github.com/tiagojco/f43d509e06febd3d735df92467610f73
> >
> > Maybe relevant:
> > - context XML and .war file in partition A
> > (/opt/tomcat/conf/Catalina/domain and /apps/wars/domain)
> > - Resource dir in partition B (/apps/pd)
> >
> > Sorry for being too succint and/or for the grammar errors. English is not
> > my first language.
> >
> >
> > Thanks in advance.
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>


-- 
[image: Tiago Oliveira] Tiago OliveiraAnálise de sistemas[image: Contato]+55
83 99331.5541 <+5583993315541>/ 83 3506.8310 <+558335068310>[image: Email]
tiago.olive...@behoh.com <tiago.olive...@behoh.com>
[image: BeHOH]
[image: Facebook] <https://www.facebook.com/behoh.co>[image: Twitter]
<https://twitter.com/@BeHOHmyfriend>[image: Instagram]
<https://www.instagram.com/behoh.co/>
  [image: Website]behoh.com <http://www.behoh.com/>[image: Localização]
goo.gl/FtUZdn <http://goo.gl/FtUZdn>

Reply via email to