Para Desenvolvedores

ContainerBase.addChild: start

Alguem já teve o erro abaixo na hora de inicionar o Lumis Portal  11.0.1 com o tomcar 8.5?

fev 18, 2019 8:27:42 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: Server version:        Apache Tomcat/8.5.38
fev 18, 2019 8:27:42 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: Server built:          Feb 5 2019 11:42:42 UTC
fev 18, 2019 8:27:42 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: Server number:         8.5.38.0
fev 18, 2019 8:27:42 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: OS Name:               Windows 10
fev 18, 2019 8:27:42 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: OS Version:            10.0
fev 18, 2019 8:27:42 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: Architecture:          amd64
fev 18, 2019 8:27:42 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: Java Home:             C:\Program Files\Java\jre1.8.0_201
fev 18, 2019 8:27:42 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: JVM Version:           1.8.0_201-b09
fev 18, 2019 8:27:42 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: JVM Vendor:            Oracle Corporation
fev 18, 2019 8:27:42 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: CATALINA_BASE:         D:\fenae\dev\apache-tomcat-8.5.38
fev 18, 2019 8:27:42 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: CATALINA_HOME:         D:\fenae\dev\apache-tomcat-8.5.38
fev 18, 2019 8:27:42 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: Command line argument: -Dcatalina.base=D:\fenae\dev\apache-tomcat-8.5.38
fev 18, 2019 8:27:42 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: Command line argument: -Dcatalina.home=D:\fenae\dev\apache-tomcat-8.5.38
fev 18, 2019 8:27:42 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: Command line argument: -Dwtp.deploy=D:\fenae\dev\apache-tomcat-8.5.38\wtpwebapps
fev 18, 2019 8:27:42 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: Command line argument: -Djava.endorsed.dirs=D:\fenae\dev\apache-tomcat-8.5.38\endorsed
fev 18, 2019 8:27:42 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: Command line argument: -Dfile.encoding=Cp1252
fev 18, 2019 8:27:42 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFORMAÇÕES: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [C:\Program Files\Java\jre1.8.0_201\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/Program Files/Java/jre1.8.0_201/bin/server;C:/Program Files/Java/jre1.8.0_201/bin;C:/Program Files/Java/jre1.8.0_201/lib/amd64;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files\Microsoft MPI\Bin\;C:\ProgramData\Boxstarter;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\Java\jdk1.8.0_201\bin;C:\ProgramData\chocolatey\bin;D:\angular\nodejs\;C:\Program Files (x86)\Microsoft SQL Server\140\Tools\Binn\;C:\Program Files\Microsoft SQL Server\140\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\140\DTS\Binn\;C:\Program Files\Microsoft SQL Server\140\DTS\Binn\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\130\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\Client SDK\ODBC\130\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\140\Tools\Binn\ManagementStudio\;C:\Program Files\TortoiseSVN\bin;C:\Users\rogeriorodrigues\AppData\Local\Microsoft\WindowsApps;C:\Users\rogeriorodrigues\AppData\Roaming\npm;C:\Users\rogeriorodrigues\AppData\Local\atom\bin;D:\fenae\dev\eclipse;;.]
fev 18, 2019 8:27:43 AM org.apache.coyote.AbstractProtocol init
INFORMAÇÕES: Initializing ProtocolHandler ["http-nio-8080"]
fev 18, 2019 8:27:43 AM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
INFORMAÇÕES: Using a shared selector for servlet write/read
fev 18, 2019 8:27:43 AM org.apache.coyote.AbstractProtocol init
INFORMAÇÕES: Initializing ProtocolHandler ["ajp-nio-8009"]
fev 18, 2019 8:27:43 AM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
INFORMAÇÕES: Using a shared selector for servlet write/read
fev 18, 2019 8:27:43 AM org.apache.catalina.startup.Catalina load
INFORMAÇÕES: Initialization processed in 917 ms
fev 18, 2019 8:27:43 AM org.apache.catalina.core.StandardService startInternal
INFORMAÇÕES: Starting service [Catalina]
fev 18, 2019 8:27:43 AM org.apache.catalina.core.StandardEngine startInternal
INFORMAÇÕES: Starting Servlet Engine: Apache Tomcat/8.5.38
fev 18, 2019 8:27:43 AM org.apache.catalina.startup.HostConfig deployDescriptor
INFORMAÇÕES: Deploying configuration descriptor [D:\fenae\dev\apache-tomcat-8.5.38\conf\Catalina\localhost\portal.xml]
fev 18, 2019 8:27:43 AM org.apache.catalina.core.ContainerBase addChildInternal
GRAVE: ContainerBase.addChild: start: 
org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/portal]]
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:754)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
	at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:629)
	at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1839)
	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 start component [org.apache.catalina.webresources.StandardRoot@90f9e77]
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)
	at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4932)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5067)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	... 10 more
Caused by: org.apache.catalina.LifecycleException: Failed to initialize component [org.apache.catalina.webresources.JarResourceSet@17b35ee7]
	at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:112)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:140)
	at org.apache.catalina.webresources.StandardRoot.startInternal(StandardRoot.java:724)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	... 13 more
Caused by: java.lang.IllegalArgumentException: java.util.zip.ZipException: invalid END header (bad central directory offset)
	at org.apache.catalina.webresources.AbstractSingleArchiveResourceSet.initInternal(AbstractSingleArchiveResourceSet.java:142)
	at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:107)
	... 16 more
Caused by: java.util.zip.ZipException: invalid END header (bad central directory offset)
	at java.util.zip.ZipFile.open(Native Method)
	at java.util.zip.ZipFile.<init>(Unknown Source)
	at java.util.zip.ZipFile.<init>(Unknown Source)
	at java.util.jar.JarFile.<init>(Unknown Source)
	at java.util.jar.JarFile.<init>(Unknown Source)
	at org.apache.tomcat.util.compat.JreCompat.jarFileNewInstance(JreCompat.java:196)
	at org.apache.tomcat.util.compat.JreCompat.jarFileNewInstance(JreCompat.java:181)
	at org.apache.catalina.webresources.AbstractSingleArchiveResourceSet.initInternal(AbstractSingleArchiveResourceSet.java:139)
	... 17 more

fev 18, 2019 8:27:43 AM org.apache.catalina.startup.HostConfig deployDescriptor
GRAVE: Error deploying configuration descriptor [D:\fenae\dev\apache-tomcat-8.5.38\conf\Catalina\localhost\portal.xml]
java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/portal]]
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:758)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
	at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:629)
	at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1839)
	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)

fev 18, 2019 8:27:43 AM org.apache.catalina.startup.HostConfig deployDescriptor
INFORMAÇÕES: Deployment of configuration descriptor [D:\fenae\dev\apache-tomcat-8.5.38\conf\Catalina\localhost\portal.xml] has finished in [208] ms
fev 18, 2019 8:27:43 AM org.apache.catalina.startup.HostConfig deployDirectory
INFORMAÇÕES: Deploying web application directory [D:\fenae\dev\apache-tomcat-8.5.38\webapps\docs]
fev 18, 2019 8:27:44 AM org.apache.jasper.servlet.TldScanner scanJars
INFORMAÇÕES: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
fev 18, 2019 8:27:44 AM org.apache.catalina.startup.HostConfig deployDirectory
INFORMAÇÕES: Deployment of web application directory [D:\fenae\dev\apache-tomcat-8.5.38\webapps\docs] has finished in [598] ms
fev 18, 2019 8:27:44 AM org.apache.catalina.startup.HostConfig deployDirectory
INFORMAÇÕES: Deploying web application directory [D:\fenae\dev\apache-tomcat-8.5.38\webapps\examples]
fev 18, 2019 8:27:44 AM org.apache.jasper.servlet.TldScanner scanJars
INFORMAÇÕES: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
fev 18, 2019 8:27:44 AM org.apache.catalina.core.ApplicationContext log
INFORMAÇÕES: ContextListener: contextInitialized()
fev 18, 2019 8:27:44 AM org.apache.catalina.core.ApplicationContext log
INFORMAÇÕES: SessionListener: contextInitialized()
fev 18, 2019 8:27:44 AM org.apache.catalina.core.ApplicationContext log
INFORMAÇÕES: ContextListener: attributeAdded('StockTicker', 'async.Stockticker@45020cbd')
fev 18, 2019 8:27:44 AM org.apache.catalina.startup.HostConfig deployDirectory
INFORMAÇÕES: Deployment of web application directory [D:\fenae\dev\apache-tomcat-8.5.38\webapps\examples] has finished in [479] ms
fev 18, 2019 8:27:44 AM org.apache.catalina.startup.HostConfig deployDirectory
INFORMAÇÕES: Deploying web application directory [D:\fenae\dev\apache-tomcat-8.5.38\webapps\host-manager]
fev 18, 2019 8:27:45 AM org.apache.jasper.servlet.TldScanner scanJars
INFORMAÇÕES: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
fev 18, 2019 8:27:45 AM org.apache.catalina.startup.HostConfig deployDirectory
INFORMAÇÕES: Deployment of web application directory [D:\fenae\dev\apache-tomcat-8.5.38\webapps\host-manager] has finished in [301] ms
fev 18, 2019 8:27:45 AM org.apache.catalina.startup.HostConfig deployDirectory
INFORMAÇÕES: Deploying web application directory [D:\fenae\dev\apache-tomcat-8.5.38\webapps\manager]
fev 18, 2019 8:27:45 AM org.apache.jasper.servlet.TldScanner scanJars
INFORMAÇÕES: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
fev 18, 2019 8:27:45 AM org.apache.catalina.startup.HostConfig deployDirectory
INFORMAÇÕES: Deployment of web application directory [D:\fenae\dev\apache-tomcat-8.5.38\webapps\manager] has finished in [296] ms
fev 18, 2019 8:27:45 AM org.apache.catalina.startup.HostConfig deployDirectory
INFORMAÇÕES: Deploying web application directory [D:\fenae\dev\apache-tomcat-8.5.38\webapps\ROOT]
fev 18, 2019 8:27:45 AM org.apache.jasper.servlet.TldScanner scanJars
INFORMAÇÕES: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
fev 18, 2019 8:27:45 AM org.apache.catalina.startup.HostConfig deployDirectory
INFORMAÇÕES: Deployment of web application directory [D:\fenae\dev\apache-tomcat-8.5.38\webapps\ROOT] has finished in [265] ms
fev 18, 2019 8:27:45 AM org.apache.coyote.AbstractProtocol start
INFORMAÇÕES: Starting ProtocolHandler ["http-nio-8080"]
fev 18, 2019 8:27:45 AM org.apache.coyote.AbstractProtocol start
INFORMAÇÕES: Starting ProtocolHandler ["ajp-nio-8009"]
fev 18, 2019 8:27:45 AM org.apache.catalina.startup.Catalina start
INFORMAÇÕES: Server startup in 2210 ms

Por Webmaster

Em 18/02/19 08:35

Acompanhar pergunta

1 resposta(s):

Ordenar por:

Eu nunca vi isso, mas pela mensagem eu suspeito que tenha arquivos JAR corrompidos em seu disco.

Se vc tiver bash, uma forma de descobrir seria rodar nele:


find <path> -name '*.jar' -exec echo jar -tvf {} \;

Isso vai escrever na saída comandos de teste que vc pode copiar e rodar depois para ver qual deles falha. Rode ele trocando <path> com o caminho da instalação de seu tomcat e com o caminho do www/WEB-INF/lib, pois o JAR corrompido pode estar em quaisquer destes dois lugares.

Sem bash, uma forma é buscar por *.jar nesses locais pelo Windows Explorer, e usar algum aplicativo, como 7-zip, onde vc pode selecionar todos os jars e right-click e escolher no menu de contexto que ele disponibiliza a opção de Testar arquivo compactado.

Por Rodrigo Cesar

Em 24/02/19 19:19

Entrar

Interaja com a comunidade e tenha acesso a conteúdos exclusivos.

Houve algum erro ao acessar o banco de dados. Tente novamente mais tarde.