How to install Tomcat 8.0.0 RC5 on Ubuntu 12.04/12.10/13.04/13.10

Rasho

Linux System Administrator with over 8 years experience in administering production level servers (CentOS/Ubuntu/Debian with apache2/nginx, mysql server, etc)

You may also like...

6 Responses

  1. enzo says:

    thanks a lot ! 🙂

  2. afro54 says:

    I am struggling to install solr 4.7.2 with tomcat 8.

    I followed your instructions to install Tomcat 8.0.5 but Solr, which was manually installed, doesn’t appear in /etc, and my instructions require it – http://webikon.com/cases/installing-apache-solr-4-7-multicore-on-ubuntu-12-04-and-tomcat7

    Now, let’s a get Solr into Tomcat Catalina config. Create a new solr.xml file:

    $ sudo nano /etc/tomcat7/Catalina/localhost/solr.xml

    Any advice on how to establish /etc/tomcat8/Catalina/localhost/solr.xml on my ubuntu server?

  3. afro54 says:

    I’ve solved it now, and would love to delete my question.

  4. stew says:

    I think there is a typo toward the end. Perhaps:

    # sudo update-rc.d tomcat747 defaults

    should be

    # sudo update-rc.d tomcat8 defaults

    Otherwise very helpful, thanks!

  5. Jawahar M says:

    Was really helpful.. thanks for the post..

  6. sathaya says:

    i installed but for the 1st time it was running,after that if i try to shutdown tomcat,it is not shutdowning.SEVERE: Could not contact localhost:8005. Tomcat may not be running.
    Nov 21, 2014 4:39:21 AM org.apache.catalina.startup.Catalina stopServer
    SEVERE: Catalina.stop:
    java.net.ConnectException: Connection refused
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
    at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
    at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    at java.net.Socket.connect(Socket.java:579)
    at java.net.Socket.connect(Socket.java:528)
    at java.net.Socket.(Socket.java:425)
    at java.net.Socket.(Socket.java:208)
    at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:498)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:370)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:457)
    can u help? thnks in advance

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.