Erro ao provisionar a vm web2

23 views
Skip to first unread message

alber...@gmail.com

unread,
Sep 12, 2016, 3:31:19 PM9/12/16
to Livro "Devops na Prática"
Estou no capitulo 4 e ao destruir as vms web2 e web e mandar reconstruir, a aplicação não esta subindo.

Fui olhar o log no tomcat e esta dando essas msgs de erro:

> SEVERE: Error waiting for multi-thread deployment of WAR files to complete
> java.lang.InterruptedException
> at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1000)
> at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1304)
> at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:248)
> at java.util.concurrent.FutureTask.get(FutureTask.java:111)
> at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:751)
> at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:471)
> at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1453)
> at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:295)
> at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1379)
> at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1537)
> at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1547)
> at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1526)
> at java.lang.Thread.run(Thread.java:701)




> WARNING: Failed to process JAR [jar:file:/var/lib/tomcat7/webapps/devopsnapratica/WEB-INF/lib/guava-r05.jar!/] for TLD files
> java.util.zip.ZipException: error in opening zip file
> at java.util.zip.ZipFile.open(Native Method)
> at java.util.zip.ZipFile.<init>(ZipFile.java:145)
> at java.util.jar.JarFile.<init>(JarFile.java:153)
> at java.util.jar.JarFile.<init>(JarFile.java:90)
> at sun.net.www.protocol.jar.URLJarFile.<init>(URLJarFile.java:90)
> at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:66)
> at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:86)
> at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:122)
> at sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:89)
> at org.apache.tomcat.util.scan.FileUrlJar.<init>(FileUrlJar.java:40)
> at org.apache.tomcat.util.scan.JarFactory.newInstance(JarFactory.java:34)
> at org.apache.catalina.startup.TldConfig.tldScanJar(TldConfig.java:460)
> at org.apache.catalina.startup.TldConfig.access$100(TldConfig.java:58)
> at org.apache.catalina.startup.TldConfig$TldJarScannerCallback.scan(TldConfig.java:276)
> at org.apache.tomcat.util.scan.StandardJarScanner.process(StandardJarScanner.java:241)
> at org.apache.tomcat.util.scan.StandardJarScanner.scan(StandardJarScanner.java:166)
> at org.apache.catalina.startup.TldConfig.execute(TldConfig.java:250)
> at org.apache.catalina.startup.TldConfig.lifecycleEvent(TldConfig.java:540)
> at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5161)
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
> at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
> at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
> at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:958)
> at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1599)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> at java.util.concurrent.FutureTask.run(FutureTask.java:166)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:701)
> Sep 10, 2016 12:54:17 PM org.apache.catalina.core.StandardContext startInternal
> SEVERE: Error listenerStart




Sep 10, 2016 12:54:17 PM org.apache.catalina.core.StandardC> ontext startInternal
> SEVERE: Context [/devopsnapratica] startup failed due to previous errors



Alguém sabe o que pode ser?

Danilo Sato

unread,
Sep 12, 2016, 3:32:26 PM9/12/16
to alber...@gmail.com, Livro Devops na Prática


--
Você está recebendo esta mensagem porque se inscreveu no grupo "Livro "Devops na Prática"" dos Grupos do Google.
Para cancelar inscrição nesse grupo e parar de receber e-mails dele, envie um e-mail para livro-devops-na-pratica+unsub...@googlegroups.com.
Para obter mais opções, acesse https://groups.google.com/d/optout.



--
Reply all
Reply to author
Forward
0 new messages