tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r.bott...@afterbit.com
Subject debian 9 and tomcat 8 error at startup
Date Tue, 26 Sep 2017 05:56:41 GMT
Hi,
i have installed tomcat 8 on a Debian server using aptitude command.
but when tomcat starts, I get this strange error :


26-Sep-2017 07:47:14.613 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Server version:    
     Apache Tomcat/8.5.14 (Debian)
26-Sep-2017 07:47:14.614 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Server built:      
     Sep 3 2017 17:51:58 UTC
26-Sep-2017 07:47:14.614 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Server number:     
     8.5.14.0
26-Sep-2017 07:47:14.614 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log OS Name:           
     Linux
26-Sep-2017 07:47:14.614 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log OS Version:        
     4.9.0-3-amd64
26-Sep-2017 07:47:14.614 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Architecture:      
     amd64
26-Sep-2017 07:47:14.614 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Java Home:         
     /usr/lib/jvm/java-8-oracle/jre
26-Sep-2017 07:47:14.614 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log JVM Version:       
     1.8.0_144-b01
26-Sep-2017 07:47:14.614 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:        
     Oracle Corporation
26-Sep-2017 07:47:14.615 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:     
     /var/lib/tomcat8
26-Sep-2017 07:47:14.615 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:     
     /usr/share/tomcat8
26-Sep-2017 07:47:14.615 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line 
argument: 
-Djava.util.logging.config.file=/var/lib/tomcat8/conf/logging.properties
26-Sep-2017 07:47:14.615 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line 
argument: 
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
26-Sep-2017 07:47:14.615 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line 
argument: -Djava.awt.headless=true
26-Sep-2017 07:47:14.615 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line 
argument: -XX:+UseConcMarkSweepGC
26-Sep-2017 07:47:14.615 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line 
argument: -Djdk.tls.ephemeralDHKeySize=2048
26-Sep-2017 07:47:14.616 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line 
argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
26-Sep-2017 07:47:14.616 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line 
argument: -Dcatalina.base=/var/lib/tomcat8
26-Sep-2017 07:47:14.616 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line 
argument: -Dcatalina.home=/usr/share/tomcat8
26-Sep-2017 07:47:14.616 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line 
argument: -Djava.io.tmpdir=/tmp/tomcat8-tomcat8-tmp
26-Sep-2017 07:47:14.616 INFO [main] 
org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR 
based Apache Tomcat Native library which allows optimal performance in 
production environments was not found on the java.library.path: 
/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
26-Sep-2017 07:47:14.764 INFO [main] 
org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler 
["http-nio-8080"]
26-Sep-2017 07:47:14.789 INFO [main] 
org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a 
shared selector for servlet write/read
26-Sep-2017 07:47:14.791 INFO [main] 
org.apache.catalina.startup.Catalina.load Initialization processed in 
684 ms
26-Sep-2017 07:47:14.826 INFO [main] 
org.apache.catalina.core.StandardService.startInternal Starting service 
Catalina
26-Sep-2017 07:47:14.826 INFO [main] 
org.apache.catalina.core.StandardEngine.startInternal Starting Servlet 
Engine: Apache Tomcat/8.5.14 (Debian)
26-Sep-2017 07:47:14.843 INFO [localhost-startStop-1] 
org.apache.catalina.startup.HostConfig.deployDirectory Deploying web 
application directory /var/lib/tomcat8/webapps/ROOT
26-Sep-2017 07:47:15.141 WARNING [localhost-startStop-1] 
org.apache.tomcat.util.scan.StandardJarScanner.scan Failed to scan 
[file:/usr/share/java/el-api-3.0.jar] from classloader hierarchy
  java.io.FileNotFoundException: /usr/share/java/el-api-3.0.jar (No such 
file or directory)
	at java.util.zip.ZipFile.open(Native Method)
	at java.util.zip.ZipFile.<init>(ZipFile.java:225)
	at java.util.zip.ZipFile.<init>(ZipFile.java:155)
	at java.util.jar.JarFile.<init>(JarFile.java:166)
	at java.util.jar.JarFile.<init>(JarFile.java:130)
	at 
org.apache.tomcat.util.scan.JarFileUrlJar.<init>(JarFileUrlJar.java:60)
	at 
org.apache.tomcat.util.scan.JarFactory.newInstance(JarFactory.java:49)
	at 
org.apache.tomcat.util.scan.StandardJarScanner.process(StandardJarScanner.java:338)
	at 
org.apache.tomcat.util.scan.StandardJarScanner.scan(StandardJarScanner.java:288)
	at 
org.apache.catalina.startup.ContextConfig.processJarsForWebFragments(ContextConfig.java:1898)
	at 
org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1126)
	at 
org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:775)
	at 
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:299)
	at 
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:94)
	at 
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5105)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752)
	at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728)
	at 
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
	at 
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1107)
	at 
org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1841)
	at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)

26-Sep-2017 07:47:15.142 WARNING [localhost-startStop-1] 
org.apache.tomcat.util.scan.StandardJarScanner.scan Failed to scan 
[file:/usr/share/java/jsp-api-2.3.jar] from classloader hierarchy
  java.io.FileNotFoundException: /usr/share/java/jsp-api-2.3.jar (No such 
file or directory)
	at java.util.zip.ZipFile.open(Native Method)
	at java.util.zip.ZipFile.<init>(ZipFile.java:225)
	at java.util.zip.ZipFile.<init>(ZipFile.java:155)
	at java.util.jar.JarFile.<init>(JarFile.java:166)
	at java.util.jar.JarFile.<init>(JarFile.java:130)
	at 
org.apache.tomcat.util.scan.JarFileUrlJar.<init>(JarFileUrlJar.java:60)
	at 
org.apache.tomcat.util.scan.JarFactory.newInstance(JarFactory.java:49)
	at 
org.apache.tomcat.util.scan.StandardJarScanner.process(StandardJarScanner.java:338)
	at 
org.apache.tomcat.util.scan.StandardJarScanner.scan(StandardJarScanner.java:288)
	at 
org.apache.catalina.startup.ContextConfig.processJarsForWebFragments(ContextConfig.java:1898)
	at 
org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1126)
	at 
org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:775)
	at 
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:299)
	at 
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:94)
	at 
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5105)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752)
	at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728)
	at 
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
	at 
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1107)
	at 
org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1841)
	at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)

.....

setted JAVA_HOME=/usr/lib/jvm/java-8-oracle

regards
Roberto.





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message