You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2017/06/10 16:08:50 UTC

[Bug 61174] New: Cannot install apache tomcat8 on linux mint v18 cinnamon

https://bz.apache.org/bugzilla/show_bug.cgi?id=61174

            Bug ID: 61174
           Summary: Cannot install apache tomcat8 on linux mint v18
                    cinnamon
           Product: Tomcat 8
           Version: 8.5.x-trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: pweyand@gmail.com
  Target Milestone: ----

I am having trouble installing apache tomcat v8 (and 7) on linux mint v18. This
appears to be a general problem with people having a debian backend, as I have
seen other questions that are very similar to mine. (One example here:
https://askubuntu.com/questions/841655/cannot-install-tomcat8-on-16-04).
Unfortunately, I have not found any good answers on how to debug.

So here is the issue. The apache tomcat software will say that it installs
correctly, but it cannot run and "exits on status code 1". Googling does not
provide an answer to what this is or how to fix it. My logs that I am supposed
to check are also equally cryptic.

Here are the logs:

patientplatypus@next$ systemctl status tomcat8.service
● tomcat8.service - LSB: Start Tomcat.
   Loaded: loaded (/etc/init.d/tomcat8; bad; vendor preset: enabled)
   Active: failed (Result: exit-code) since Sat 2017-06-10 09:43:31 CDT; 13s
ago
     Docs: man:systemd-sysv-generator(8)
  Process: 29021 ExecStart=/etc/init.d/tomcat8 start (code=exited,
status=1/FAILURE)

Jun 10 09:43:26 next systemd[1]: Starting LSB: Start Tomcat....
Jun 10 09:43:26 next tomcat8[29021]:  * Starting Tomcat servlet engine tomcat8
Jun 10 09:43:31 next tomcat8[29021]:    ...fail!
Jun 10 09:43:31 next systemd[1]: tomcat8.service: Control process exited,
code=exited status=1
Jun 10 09:43:31 next systemd[1]: Failed to start LSB: Start Tomcat..
Jun 10 09:43:31 next systemd[1]: tomcat8.service: Unit entered failed state.
Jun 10 09:43:31 next systemd[1]: tomcat8.service: Failed with result
'exit-code'.


patientplatypus@next$ journalctl -xe
Jun 10 09:38:45 next systemd[1]: tomcat8.service: Failed with result
'exit-code'.
Jun 10 09:38:45 next sudo[27644]: pam_unix(sudo:session): session closed for
user root
Jun 10 09:38:56 next sudo[27744]: patientplatypus : TTY=pts/1 ;
PWD=/home/patientplatypus ; USER=root ; COMMAND=/usr/sbin/service tomcat8 start
Jun 10 09:38:56 next sudo[27744]: pam_unix(sudo:session): session opened for
user root by (uid=0)
Jun 10 09:38:57 next systemd[1]: Starting LSB: Start Tomcat....
-- Subject: Unit tomcat8.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit tomcat8.service has begun starting up.
Jun 10 09:38:57 next tomcat8[27773]:  * Starting Tomcat servlet engine tomcat8
Jun 10 09:39:02 next tomcat8[27773]:    ...fail!
Jun 10 09:39:02 next systemd[1]: tomcat8.service: Control process exited,
code=exited status=1
Jun 10 09:39:02 next systemd[1]: Failed to start LSB: Start Tomcat..
-- Subject: Unit tomcat8.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit tomcat8.service has failed.
-- 
-- The result is failed.
Jun 10 09:39:02 next systemd[1]: tomcat8.service: Unit entered failed state.
Jun 10 09:39:02 next systemd[1]: tomcat8.service: Failed with result
'exit-code'.
Jun 10 09:39:02 next sudo[27744]: pam_unix(sudo:session): session closed for
user root
Jun 10 09:39:23 next sudo[27842]: patientplatypus : TTY=unknown ;
PWD=/home/patientplatypus ; USER=root ;
COMMAND=/usr/lib/linuxmint/mintUpdate/checkAPT.py
Jun 10 09:39:23 next sudo[27842]: pam_unix(sudo:session): session opened for
user root by (uid=0)
Jun 10 09:39:27 next sudo[27842]: pam_unix(sudo:session): session closed for
user root
Jun 10 09:42:04 next sudo[28838]: patientplatypus : TTY=pts/1 ;
PWD=/home/patientplatypus ; USER=root ; COMMAND=/bin/mkdir /opt/tomcat/
Jun 10 09:42:04 next sudo[28838]: pam_unix(sudo:session): session opened for
user root by (uid=0)
Jun 10 09:42:04 next sudo[28838]: pam_unix(sudo:session): session closed for
user root
Jun 10 09:43:25 next sudo[28992]: patientplatypus : TTY=pts/1 ; PWD=/opt/tomcat
; USER=root ; COMMAND=/usr/sbin/service tomcat8 start
Jun 10 09:43:25 next sudo[28992]: pam_unix(sudo:session): session opened for
user root by (uid=0)
Jun 10 09:43:26 next systemd[1]: Starting LSB: Start Tomcat....
-- Subject: Unit tomcat8.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit tomcat8.service has begun starting up.
Jun 10 09:43:26 next tomcat8[29021]:  * Starting Tomcat servlet engine tomcat8
Jun 10 09:43:31 next tomcat8[29021]:    ...fail!
Jun 10 09:43:31 next systemd[1]: tomcat8.service: Control process exited,
code=exited status=1
Jun 10 09:43:31 next systemd[1]: Failed to start LSB: Start Tomcat..
-- Subject: Unit tomcat8.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit tomcat8.service has failed.
-- 
-- The result is failed.
Jun 10 09:43:31 next systemd[1]: tomcat8.service: Unit entered failed state.
Jun 10 09:43:31 next systemd[1]: tomcat8.service: Failed with result
'exit-code'.
Jun 10 09:43:31 next sudo[28992]: pam_unix(sudo:session): session closed for
user root
lines 1480-1531/1531 (END)



Uninstalling and reinstalling from the linux mint site
(https://community.linuxmint.com/software/view/tomcat8) also results in the
same error.

I have just tried with tomcat7 and get the same error. For clarification I am
installing with sudo apt-get install tomcat8.

Someone suggested that there might be a possible fix by unistalling jre and and
re-installing the default. So I tried entering the following two commands:

sudo apt-get --purge remove openjdk*

sudo apt-get install default-jre
and then  sudo apt-get install tomcat8.

Unfortunately, this did not work either. I still had the same issue.

Someone else also suggested to print out my logs, so I have found the tail logs
for tomcat8. Unfortunately I am not entirely sure what they mean (I am new to
all this). Perhaps they will say something to someone who has more experience
than I.

patientplatypus@next /var/log/tomcat8 $ tail catalina.2017-06-10.log
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:351)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:485)

10-Jun-2017 10:30:18.216 INFO [main] org.apache.coyote.AbstractProtocol.pause
Pausing ProtocolHandler ["http-nio-8080"]
10-Jun-2017 10:30:18.216 INFO [main]
org.apache.catalina.core.StandardService.stopInternal Stopping service Catalina
10-Jun-2017 10:30:18.224 INFO [main] org.apache.coyote.AbstractProtocol.stop
Stopping ProtocolHandler ["http-nio-8080"]
10-Jun-2017 10:30:18.225 INFO [main] org.apache.coyote.AbstractProtocol.destroy
Destroying ProtocolHandler ["http-nio-8080"]



I have opened an issue on stackoverflow related to this issue (which can be
found here:
https://stackoverflow.com/questions/44474821/difficulty-installing-apache-tomcat8-on-linux-mint-v18-cinnamon).

Thank you very much for your help!

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 61174] Cannot install apache tomcat8 on linux mint v18 cinnamon

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61174

--- Comment #3 from patientplatypus <pw...@gmail.com> ---
Mark,

Unfortunately, that *is* the full stack trace. Googling does make it appear
that it is cut off as "at....." would make one assume that there should be
"there is a problem blah blah, *at*..." but that is not what is showing up in
the logs. I am sorry about that, but I do not have a better log. Someone
suggested I try 

patientplatypus@next ~ $ sudo /etc/init.d/tomcat8 start
[....] Starting tomcat8 (via systemctl): tomcat8.serviceJob for tomcat8.service
failed because the control process exited with error code. See "systemctl
status tomcat8.service" and "journalctl -xe" for details.
 failed!

But as you can see that also results in an error. As for starting and stopping
tomcat8 there is not much more I can provide. The installation is already
shown. If I try and start tomcat8 this is what happens: 

patientplatypus@next ~ $ sudo service tomcat8 start
Job for tomcat8.service failed because the control process exited with error
code. See "systemctl status tomcat8.service" and "journalctl -xe" for details.

I have already provided those two logs as well. 


Perhaps I do not know the exact commands that you would like me to run (I am
new to this after all)? If you have any specific commands I should execute,
please let me know. Thank you so much for your help on this Saturday!

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 61174] Cannot install apache tomcat8 on linux mint v18 cinnamon

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61174

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |---

--- Comment #2 from Mark Thomas <ma...@apache.org> ---
Whoops. Revert status change.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 61174] Cannot install apache tomcat8 on linux mint v18 cinnamon

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61174

--- Comment #4 from patientplatypus <pw...@gmail.com> ---
AHhhh


My bad. It *was* only showing the last 10 lines. I had no idea that tail
defaulted to that in linux. Here is the full log: 

10-Jun-2017 11:21:48.154 WARNING [main]
org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with JAR
file [/usr/share/tomcat8/lib/commons-dbcp.jar], exists: [false], canRead:
[false]
10-Jun-2017 11:21:48.157 WARNING [main]
org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with JAR
file [/usr/share/tomcat8/lib/commons-pool.jar], exists: [false], canRead:
[false]
10-Jun-2017 11:21:48.158 WARNING [main]
org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with
directory [/usr/share/tomcat8/common/classes], exists: [false], isDirectory:
[false], canRead: [false]
10-Jun-2017 11:21:48.159 WARNING [main]
org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with
directory [/usr/share/tomcat8/common], exists: [false], isDirectory: [false],
canRead: [false]
10-Jun-2017 11:21:48.160 WARNING [main]
org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with
directory [/usr/share/tomcat8/server/classes], exists: [false], isDirectory:
[false], canRead: [false]
10-Jun-2017 11:21:48.161 WARNING [main]
org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with
directory [/usr/share/tomcat8/server], exists: [false], isDirectory: [false],
canRead: [false]
10-Jun-2017 11:21:48.162 WARNING [main]
org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with
directory [/usr/share/tomcat8/shared/classes], exists: [false], isDirectory:
[false], canRead: [false]
10-Jun-2017 11:21:48.162 WARNING [main]
org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with
directory [/usr/share/tomcat8/shared], exists: [false], isDirectory: [false],
canRead: [false]
10-Jun-2017 11:21:48.424 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Server version:       
Apache Tomcat/8.0.32 (Ubuntu)
10-Jun-2017 11:21:48.425 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Server built:         
Mar 9 2017 21:38:04 UTC
10-Jun-2017 11:21:48.426 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Server number:        
8.0.32.0
10-Jun-2017 11:21:48.426 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log OS Name:              
Linux
10-Jun-2017 11:21:48.427 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log OS Version:           
4.4.0-78-generic
10-Jun-2017 11:21:48.427 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Architecture:         
amd64
10-Jun-2017 11:21:48.428 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Java Home:            
/usr/lib/jvm/java-8-openjdk-amd64/jre
10-Jun-2017 11:21:48.428 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log JVM Version:          
1.8.0_131-8u131-b11-0ubuntu1.16.04.2-b11
10-Jun-2017 11:21:48.429 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:           
Oracle Corporation
10-Jun-2017 11:21:48.429 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:        
/var/lib/tomcat8
10-Jun-2017 11:21:48.430 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:        
/usr/share/tomcat8
10-Jun-2017 11:21:48.430 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line argument:
-Djava.util.logging.config.file=/var/lib/tomcat8/conf/logging.properties
10-Jun-2017 11:21:48.431 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line argument:
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
10-Jun-2017 11:21:48.431 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line argument:
-Djava.awt.headless=true
10-Jun-2017 11:21:48.432 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line argument:
-Xmx128m
10-Jun-2017 11:21:48.432 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line argument:
-XX:+UseConcMarkSweepGC
10-Jun-2017 11:21:48.432 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line argument:
-Djava.endorsed.dirs=/usr/share/tomcat8/endorsed
10-Jun-2017 11:21:48.433 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line argument:
-Dcatalina.base=/var/lib/tomcat8
10-Jun-2017 11:21:48.433 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line argument:
-Dcatalina.home=/usr/share/tomcat8
10-Jun-2017 11:21:48.434 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line argument:
-Djava.io.tmpdir=/tmp/tomcat8-tomcat8-tmp
10-Jun-2017 11:21:48.495 INFO [main] org.apache.coyote.AbstractProtocol.init
Initializing ProtocolHandler ["http-nio-8080"]
10-Jun-2017 11:21:48.504 SEVERE [main] org.apache.coyote.AbstractProtocol.init
Failed to initialize end point associated with ProtocolHandler
["http-nio-8080"]
 java.net.BindException: Address already in use
        at sun.nio.ch.Net.bind0(Native Method)
        at sun.nio.ch.Net.bind(Net.java:433)
        at sun.nio.ch.Net.bind(Net.java:425)
        at
sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
        at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
        at org.apache.tomcat.util.net.NioEndpoint.bind(NioEndpoint.java:340)
        at
org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:742)
        at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:458)
        at
org.apache.coyote.http11.AbstractHttp11JsseProtocol.init(AbstractHttp11JsseProtocol.java:120)
        at
org.apache.catalina.connector.Connector.initInternal(Connector.java:960)
        at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
        at
org.apache.catalina.core.StandardService.initInternal(StandardService.java:568)
        at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
        at
org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:851)
        at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
        at org.apache.catalina.startup.Catalina.load(Catalina.java:580)
        at org.apache.catalina.startup.Catalina.load(Catalina.java:603)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:310)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:484)

10-Jun-2017 11:21:48.505 SEVERE [main]
org.apache.catalina.core.StandardService.initInternal Failed to initialize
connector [Connector[HTTP/1.1-8080]]
 org.apache.catalina.LifecycleException: Failed to initialize component
[Connector[HTTP/1.1-8080]]
        at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:107)
        at
org.apache.catalina.core.StandardService.initInternal(StandardService.java:568)
        at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
        at
org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:851)
        at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
        at org.apache.catalina.startup.Catalina.load(Catalina.java:580)
        at org.apache.catalina.startup.Catalina.load(Catalina.java:603)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:310)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:484)
Caused by: org.apache.catalina.LifecycleException: Protocol handler
initialization failed
        at
org.apache.catalina.connector.Connector.initInternal(Connector.java:964)
        at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
        ... 12 more
Caused by: java.net.BindException: Address already in use
        at sun.nio.ch.Net.bind0(Native Method)
        at sun.nio.ch.Net.bind(Net.java:433)
        at sun.nio.ch.Net.bind(Net.java:425)
        at
sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
        at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
        at org.apache.tomcat.util.net.NioEndpoint.bind(NioEndpoint.java:340)
        at
org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:742)
        at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:458)
        at
org.apache.coyote.http11.AbstractHttp11JsseProtocol.init(AbstractHttp11JsseProtocol.java:120)
        at
org.apache.catalina.connector.Connector.initInternal(Connector.java:960)
        ... 13 more

10-Jun-2017 11:21:48.506 INFO [main] org.apache.catalina.startup.Catalina.load
Initialization processed in 328 ms
10-Jun-2017 11:21:48.520 INFO [main]
org.apache.catalina.core.StandardService.startInternal Starting service
Catalina
10-Jun-2017 11:21:48.521 INFO [main]
org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine:
Apache Tomcat/8.0.32 (Ubuntu)
10-Jun-2017 11:21:48.527 INFO [localhost-startStop-1]
org.apache.catalina.startup.HostConfig.deployDirectory Deploying web
application directory /var/lib/tomcat8/webapps/ROOT
10-Jun-2017 11:21:48.964 INFO [localhost-startStop-1]
org.apache.jasper.servlet.TldScanner.scanJars 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.
10-Jun-2017 11:21:48.993 INFO [localhost-startStop-1]
org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web
application directory /var/lib/tomcat8/webapps/ROOT has finished in 466 ms
10-Jun-2017 11:21:48.996 INFO [main] org.apache.catalina.startup.Catalina.start
Server startup in 489 ms
10-Jun-2017 11:21:48.997 SEVERE [main]
org.apache.catalina.core.StandardServer.await StandardServer.await:
create[localhost:8005]: 
 java.net.BindException: Address already in use (Bind failed)
        at java.net.PlainSocketImpl.socketBind(Native Method)
        at
java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:387)
        at java.net.ServerSocket.bind(ServerSocket.java:375)
        at java.net.ServerSocket.<init>(ServerSocket.java:237)
        at
org.apache.catalina.core.StandardServer.await(StandardServer.java:421)
        at org.apache.catalina.startup.Catalina.await(Catalina.java:717)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:663)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:351)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:485)

10-Jun-2017 11:21:48.998 INFO [main] org.apache.coyote.AbstractProtocol.pause
Pausing ProtocolHandler ["http-nio-8080"]
10-Jun-2017 11:21:48.999 INFO [main]
org.apache.catalina.core.StandardService.stopInternal Stopping service Catalina
10-Jun-2017 11:21:49.006 INFO [main] org.apache.coyote.AbstractProtocol.stop
Stopping ProtocolHandler ["http-nio-8080"]
10-Jun-2017 11:21:49.007 INFO [main] org.apache.coyote.AbstractProtocol.destroy
Destroying ProtocolHandler ["http-nio-8080"]
10-Jun-2017 11:29:11.000 WARNING [main]
org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with JAR
file [/usr/share/tomcat8/lib/commons-dbcp.jar], exists: [false], canRead:
[false]
10-Jun-2017 11:29:11.004 WARNING [main]
org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with JAR
file [/usr/share/tomcat8/lib/commons-pool.jar], exists: [false], canRead:
[false]
10-Jun-2017 11:29:11.005 WARNING [main]
org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with
directory [/usr/share/tomcat8/common/classes], exists: [false], isDirectory:
[false], canRead: [false]
10-Jun-2017 11:29:11.006 WARNING [main]
org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with
directory [/usr/share/tomcat8/common], exists: [false], isDirectory: [false],
canRead: [false]
10-Jun-2017 11:29:11.008 WARNING [main]
org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with
directory [/usr/share/tomcat8/server/classes], exists: [false], isDirectory:
[false], canRead: [false]
10-Jun-2017 11:29:11.008 WARNING [main]
org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with
directory [/usr/share/tomcat8/server], exists: [false], isDirectory: [false],
canRead: [false]
10-Jun-2017 11:29:11.009 WARNING [main]
org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with
directory [/usr/share/tomcat8/shared/classes], exists: [false], isDirectory:
[false], canRead: [false]
10-Jun-2017 11:29:11.009 WARNING [main]
org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with
directory [/usr/share/tomcat8/shared], exists: [false], isDirectory: [false],
canRead: [false]
10-Jun-2017 11:29:11.250 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Server version:       
Apache Tomcat/8.0.32 (Ubuntu)
10-Jun-2017 11:29:11.250 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Server built:         
Mar 9 2017 21:38:04 UTC
10-Jun-2017 11:29:11.251 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Server number:        
8.0.32.0
10-Jun-2017 11:29:11.251 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log OS Name:              
Linux
10-Jun-2017 11:29:11.252 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log OS Version:           
4.4.0-78-generic
10-Jun-2017 11:29:11.252 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Architecture:         
amd64
10-Jun-2017 11:29:11.253 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Java Home:            
/usr/lib/jvm/java-8-openjdk-amd64/jre
10-Jun-2017 11:29:11.253 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log JVM Version:          
1.8.0_131-8u131-b11-0ubuntu1.16.04.2-b11
10-Jun-2017 11:29:11.254 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:           
Oracle Corporation
10-Jun-2017 11:29:11.254 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:        
/var/lib/tomcat8
10-Jun-2017 11:29:11.255 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:        
/usr/share/tomcat8
10-Jun-2017 11:29:11.255 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line argument:
-Djava.util.logging.config.file=/var/lib/tomcat8/conf/logging.properties
10-Jun-2017 11:29:11.256 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line argument:
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
10-Jun-2017 11:29:11.256 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line argument:
-Djava.awt.headless=true
10-Jun-2017 11:29:11.256 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line argument:
-Xmx128m
10-Jun-2017 11:29:11.257 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line argument:
-XX:+UseConcMarkSweepGC
10-Jun-2017 11:29:11.257 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line argument:
-Djava.endorsed.dirs=/usr/share/tomcat8/endorsed
10-Jun-2017 11:29:11.258 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line argument:
-Dcatalina.base=/var/lib/tomcat8
10-Jun-2017 11:29:11.258 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line argument:
-Dcatalina.home=/usr/share/tomcat8
10-Jun-2017 11:29:11.258 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line argument:
-Djava.io.tmpdir=/tmp/tomcat8-tomcat8-tmp
10-Jun-2017 11:29:11.320 INFO [main] org.apache.coyote.AbstractProtocol.init
Initializing ProtocolHandler ["http-nio-8080"]
10-Jun-2017 11:29:11.329 SEVERE [main] org.apache.coyote.AbstractProtocol.init
Failed to initialize end point associated with ProtocolHandler
["http-nio-8080"]
 java.net.BindException: Address already in use
        at sun.nio.ch.Net.bind0(Native Method)
        at sun.nio.ch.Net.bind(Net.java:433)
        at sun.nio.ch.Net.bind(Net.java:425)
        at
sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
        at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
        at org.apache.tomcat.util.net.NioEndpoint.bind(NioEndpoint.java:340)
        at
org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:742)
        at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:458)
        at
org.apache.coyote.http11.AbstractHttp11JsseProtocol.init(AbstractHttp11JsseProtocol.java:120)
        at
org.apache.catalina.connector.Connector.initInternal(Connector.java:960)
        at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
        at
org.apache.catalina.core.StandardService.initInternal(StandardService.java:568)
        at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
        at
org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:851)
        at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
        at org.apache.catalina.startup.Catalina.load(Catalina.java:580)
        at org.apache.catalina.startup.Catalina.load(Catalina.java:603)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:310)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:484)

10-Jun-2017 11:29:11.330 SEVERE [main]
org.apache.catalina.core.StandardService.initInternal Failed to initialize
connector [Connector[HTTP/1.1-8080]]
 org.apache.catalina.LifecycleException: Failed to initialize component
[Connector[HTTP/1.1-8080]]
        at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:107)
        at
org.apache.catalina.core.StandardService.initInternal(StandardService.java:568)
        at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
        at
org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:851)
        at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
        at org.apache.catalina.startup.Catalina.load(Catalina.java:580)
        at org.apache.catalina.startup.Catalina.load(Catalina.java:603)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:310)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:484)
Caused by: org.apache.catalina.LifecycleException: Protocol handler
initialization failed
        at
org.apache.catalina.connector.Connector.initInternal(Connector.java:964)
        at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
        ... 12 more
Caused by: java.net.BindException: Address already in use
        at sun.nio.ch.Net.bind0(Native Method)
        at sun.nio.ch.Net.bind(Net.java:433)
        at sun.nio.ch.Net.bind(Net.java:425)
        at
sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
        at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
        at org.apache.tomcat.util.net.NioEndpoint.bind(NioEndpoint.java:340)
        at
org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:742)
        at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:458)
        at
org.apache.coyote.http11.AbstractHttp11JsseProtocol.init(AbstractHttp11JsseProtocol.java:120)
        at
org.apache.catalina.connector.Connector.initInternal(Connector.java:960)
        ... 13 more

10-Jun-2017 11:29:11.331 INFO [main] org.apache.catalina.startup.Catalina.load
Initialization processed in 306 ms
10-Jun-2017 11:29:11.345 INFO [main]
org.apache.catalina.core.StandardService.startInternal Starting service
Catalina
10-Jun-2017 11:29:11.346 INFO [main]
org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine:
Apache Tomcat/8.0.32 (Ubuntu)
10-Jun-2017 11:29:11.352 INFO [localhost-startStop-1]
org.apache.catalina.startup.HostConfig.deployDirectory Deploying web
application directory /var/lib/tomcat8/webapps/ROOT
10-Jun-2017 11:29:11.749 INFO [localhost-startStop-1]
org.apache.jasper.servlet.TldScanner.scanJars 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.
10-Jun-2017 11:29:11.770 INFO [localhost-startStop-1]
org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web
application directory /var/lib/tomcat8/webapps/ROOT has finished in 417 ms
10-Jun-2017 11:29:11.772 INFO [main] org.apache.catalina.startup.Catalina.start
Server startup in 440 ms
10-Jun-2017 11:29:11.773 SEVERE [main]
org.apache.catalina.core.StandardServer.await StandardServer.await:
create[localhost:8005]: 
 java.net.BindException: Address already in use (Bind failed)
        at java.net.PlainSocketImpl.socketBind(Native Method)
        at
java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:387)
        at java.net.ServerSocket.bind(ServerSocket.java:375)
        at java.net.ServerSocket.<init>(ServerSocket.java:237)
        at
org.apache.catalina.core.StandardServer.await(StandardServer.java:421)
        at org.apache.catalina.startup.Catalina.await(Catalina.java:717)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:663)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:351)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:485)

10-Jun-2017 11:29:11.774 INFO [main] org.apache.coyote.AbstractProtocol.pause
Pausing ProtocolHandler ["http-nio-8080"]
10-Jun-2017 11:29:11.774 INFO [main]
org.apache.catalina.core.StandardService.stopInternal Stopping service Catalina
10-Jun-2017 11:29:11.781 INFO [main] org.apache.coyote.AbstractProtocol.stop
Stopping ProtocolHandler ["http-nio-8080"]
10-Jun-2017 11:29:11.781 INFO [main] org.apache.coyote.AbstractProtocol.destroy
Destroying ProtocolHandler ["http-nio-8080"]
10-Jun-2017 11:35:12.305 WARNING [main]
org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with JAR
file [/usr/share/tomcat8/lib/commons-dbcp.jar], exists: [false], canRead:
[false]
10-Jun-2017 11:35:12.308 WARNING [main]
org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with JAR
file [/usr/share/tomcat8/lib/commons-pool.jar], exists: [false], canRead:
[false]
10-Jun-2017 11:35:12.309 WARNING [main]
org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with
directory [/usr/share/tomcat8/common/classes], exists: [false], isDirectory:
[false], canRead: [false]
10-Jun-2017 11:35:12.310 WARNING [main]
org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with
directory [/usr/share/tomcat8/common], exists: [false], isDirectory: [false],
canRead: [false]
10-Jun-2017 11:35:12.312 WARNING [main]
org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with
directory [/usr/share/tomcat8/server/classes], exists: [false], isDirectory:
[false], canRead: [false]
10-Jun-2017 11:35:12.312 WARNING [main]
org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with
directory [/usr/share/tomcat8/server], exists: [false], isDirectory: [false],
canRead: [false]
10-Jun-2017 11:35:12.313 WARNING [main]
org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with
directory [/usr/share/tomcat8/shared/classes], exists: [false], isDirectory:
[false], canRead: [false]
10-Jun-2017 11:35:12.313 WARNING [main]
org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with
directory [/usr/share/tomcat8/shared], exists: [false], isDirectory: [false],
canRead: [false]
10-Jun-2017 11:35:12.550 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Server version:       
Apache Tomcat/8.0.32 (Ubuntu)
10-Jun-2017 11:35:12.551 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Server built:         
Mar 9 2017 21:38:04 UTC
10-Jun-2017 11:35:12.551 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Server number:        
8.0.32.0
10-Jun-2017 11:35:12.552 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log OS Name:              
Linux
10-Jun-2017 11:35:12.552 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log OS Version:           
4.4.0-78-generic
10-Jun-2017 11:35:12.553 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Architecture:         
amd64
10-Jun-2017 11:35:12.553 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Java Home:            
/usr/lib/jvm/java-8-openjdk-amd64/jre
10-Jun-2017 11:35:12.554 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log JVM Version:          
1.8.0_131-8u131-b11-0ubuntu1.16.04.2-b11
10-Jun-2017 11:35:12.554 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:           
Oracle Corporation
10-Jun-2017 11:35:12.555 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:        
/var/lib/tomcat8
10-Jun-2017 11:35:12.555 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:        
/usr/share/tomcat8
10-Jun-2017 11:35:12.556 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line argument:
-Djava.util.logging.config.file=/var/lib/tomcat8/conf/logging.properties
10-Jun-2017 11:35:12.556 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line argument:
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
10-Jun-2017 11:35:12.556 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line argument:
-Djava.awt.headless=true
10-Jun-2017 11:35:12.557 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line argument:
-Xmx128m
10-Jun-2017 11:35:12.557 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line argument:
-XX:+UseConcMarkSweepGC
10-Jun-2017 11:35:12.558 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line argument:
-Djava.endorsed.dirs=/usr/share/tomcat8/endorsed
10-Jun-2017 11:35:12.558 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line argument:
-Dcatalina.base=/var/lib/tomcat8
10-Jun-2017 11:35:12.558 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line argument:
-Dcatalina.home=/usr/share/tomcat8
10-Jun-2017 11:35:12.559 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line argument:
-Djava.io.tmpdir=/tmp/tomcat8-tomcat8-tmp
10-Jun-2017 11:35:12.615 INFO [main] org.apache.coyote.AbstractProtocol.init
Initializing ProtocolHandler ["http-nio-8080"]
10-Jun-2017 11:35:12.629 SEVERE [main] org.apache.coyote.AbstractProtocol.init
Failed to initialize end point associated with ProtocolHandler
["http-nio-8080"]
 java.net.BindException: Address already in use
        at sun.nio.ch.Net.bind0(Native Method)
        at sun.nio.ch.Net.bind(Net.java:433)
        at sun.nio.ch.Net.bind(Net.java:425)
        at
sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
        at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
        at org.apache.tomcat.util.net.NioEndpoint.bind(NioEndpoint.java:340)
        at
org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:742)
        at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:458)
        at
org.apache.coyote.http11.AbstractHttp11JsseProtocol.init(AbstractHttp11JsseProtocol.java:120)
        at
org.apache.catalina.connector.Connector.initInternal(Connector.java:960)
        at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
        at
org.apache.catalina.core.StandardService.initInternal(StandardService.java:568)
        at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
        at
org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:851)
        at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
        at org.apache.catalina.startup.Catalina.load(Catalina.java:580)
        at org.apache.catalina.startup.Catalina.load(Catalina.java:603)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:310)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:484)

10-Jun-2017 11:35:12.633 SEVERE [main]
org.apache.catalina.core.StandardService.initInternal Failed to initialize
connector [Connector[HTTP/1.1-8080]]
 org.apache.catalina.LifecycleException: Failed to initialize component
[Connector[HTTP/1.1-8080]]
        at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:107)
        at
org.apache.catalina.core.StandardService.initInternal(StandardService.java:568)
        at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
        at
org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:851)
        at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
        at org.apache.catalina.startup.Catalina.load(Catalina.java:580)
        at org.apache.catalina.startup.Catalina.load(Catalina.java:603)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:310)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:484)
Caused by: org.apache.catalina.LifecycleException: Protocol handler
initialization failed
        at
org.apache.catalina.connector.Connector.initInternal(Connector.java:964)
        at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
        ... 12 more
Caused by: java.net.BindException: Address already in use
        at sun.nio.ch.Net.bind0(Native Method)
        at sun.nio.ch.Net.bind(Net.java:433)
        at sun.nio.ch.Net.bind(Net.java:425)
        at
sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
        at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
        at org.apache.tomcat.util.net.NioEndpoint.bind(NioEndpoint.java:340)
        at
org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:742)
        at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:458)
        at
org.apache.coyote.http11.AbstractHttp11JsseProtocol.init(AbstractHttp11JsseProtocol.java:120)
        at
org.apache.catalina.connector.Connector.initInternal(Connector.java:960)
        ... 13 more

10-Jun-2017 11:35:12.635 INFO [main] org.apache.catalina.startup.Catalina.load
Initialization processed in 305 ms
10-Jun-2017 11:35:12.655 INFO [main]
org.apache.catalina.core.StandardService.startInternal Starting service
Catalina
10-Jun-2017 11:35:12.656 INFO [main]
org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine:
Apache Tomcat/8.0.32 (Ubuntu)
10-Jun-2017 11:35:12.663 INFO [localhost-startStop-1]
org.apache.catalina.startup.HostConfig.deployDirectory Deploying web
application directory /var/lib/tomcat8/webapps/ROOT
10-Jun-2017 11:35:13.065 INFO [localhost-startStop-1]
org.apache.jasper.servlet.TldScanner.scanJars 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.
10-Jun-2017 11:35:13.087 INFO [localhost-startStop-1]
org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web
application directory /var/lib/tomcat8/webapps/ROOT has finished in 424 ms
10-Jun-2017 11:35:13.089 INFO [main] org.apache.catalina.startup.Catalina.start
Server startup in 453 ms
10-Jun-2017 11:35:13.091 SEVERE [main]
org.apache.catalina.core.StandardServer.await StandardServer.await:
create[localhost:8005]: 
 java.net.BindException: Address already in use (Bind failed)
        at java.net.PlainSocketImpl.socketBind(Native Method)
        at
java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:387)
        at java.net.ServerSocket.bind(ServerSocket.java:375)
        at java.net.ServerSocket.<init>(ServerSocket.java:237)
        at
org.apache.catalina.core.StandardServer.await(StandardServer.java:421)
        at org.apache.catalina.startup.Catalina.await(Catalina.java:717)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:663)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:351)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:485)

10-Jun-2017 11:35:13.092 INFO [main] org.apache.coyote.AbstractProtocol.pause
Pausing ProtocolHandler ["http-nio-8080"]
10-Jun-2017 11:35:13.093 INFO [main]
org.apache.catalina.core.StandardService.stopInternal Stopping service Catalina
10-Jun-2017 11:35:13.100 INFO [main] org.apache.coyote.AbstractProtocol.stop
Stopping ProtocolHandler ["http-nio-8080"]
10-Jun-2017 11:35:13.101 INFO [main] org.apache.coyote.AbstractProtocol.destroy
Destroying ProtocolHandler ["http-nio-8080"]

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 61174] Cannot install apache tomcat8 on linux mint v18 cinnamon

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61174

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Mark Thomas <ma...@apache.org> ---
What is the full stack trace from the end of tail catalina.2017-06-10.log ?

Better still, stop Tomcat. Remove that file. Start Tomcat and attach the full
log file to this issue.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 61174] Cannot install apache tomcat8 on linux mint v18 cinnamon

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61174

patientplatypus <pw...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|REOPENED                    |RESOLVED

--- Comment #5 from patientplatypus <pw...@gmail.com> ---
Got it to work with

patientplatypus@next /var/log/tomcat8 $ lsof -i:8080
COMMAND   PID            USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
java    26993 patientplatypus   54u  IPv6 845164      0t0  TCP *:http-alt
(LISTEN)
patientplatypus@next /var/log/tomcat8 $ kill 26993


Issue is resolved. Thanks for the help!

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org