Search code examples
tomcatliferaytomcat7liferay-6ubuntu-server

Liferay Portal hosting on a n ubuntu server


I'm trying to install liferay on a Ubuntu server. I'm folowing this tutorialInstallation and Configuration of a Liferay Portal on a Ubuntu Server

when I finished, I tryed to start the server by executing ./startup.sh.

I got this error in yhe log file: catalina.out:

Java.net.BindException: Adress Already in use <null>:8080

Solution

  • This means some other application/service is using the same port which is causing a conflict. So change the tomcats default HTTP port from 8080 to something else, like 8081 for example. Restart your server after this change.

    It's in /tomcat-home/conf/server.xml
    
    Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" URIEncoding="UTF-8" />