mercredi 21 mai 2014

Java - ne pouvait pas réserver suffisamment d'espace pour un tomcat de liferay objet tas - Stack Overflow


When I am running i am getting following exception repeatedly each time i try to run the program.



Several ports (8005, 8080, 8009) required by Liferay v6.1 CE Server (Tomcat 7) at localhost are already in use. The server may already be running in another process, or a system process may be using the port. To start this server you will need to stop the other process or change the port number(s).



I tired to increase my virtual memory(page size) and ram size. But it not workinge Currently, I used win 7 64 bit, java jdk, jre 64 bit. I tried to change JDK,JRE (32 bit). However, the result is the same. :(



Can any one tell me how can i eliminate this error.





Either figure out which other program uses the ports that Liferay/Tomcat would like to use out of the box (most likely: 8080) and terminate it.


Or, in your liferay installation, locate the file tomcat-[version]/conf/server.xml, edit it with your favourite text editor and locate all the port instructions and change them to unused values - e.g. change "8080" to "9090", "8009" to "9009" and "8005" to "9005" (or anything else, the point is to find ports that are not yet in use)


After this, assumed that you made the choices I named above, connect to your Liferay installation at http://localhost:9090/ and have fun.



When I am running i am getting following exception repeatedly each time i try to run the program.



Several ports (8005, 8080, 8009) required by Liferay v6.1 CE Server (Tomcat 7) at localhost are already in use. The server may already be running in another process, or a system process may be using the port. To start this server you will need to stop the other process or change the port number(s).



I tired to increase my virtual memory(page size) and ram size. But it not workinge Currently, I used win 7 64 bit, java jdk, jre 64 bit. I tried to change JDK,JRE (32 bit). However, the result is the same. :(



Can any one tell me how can i eliminate this error.




Either figure out which other program uses the ports that Liferay/Tomcat would like to use out of the box (most likely: 8080) and terminate it.


Or, in your liferay installation, locate the file tomcat-[version]/conf/server.xml, edit it with your favourite text editor and locate all the port instructions and change them to unused values - e.g. change "8080" to "9090", "8009" to "9009" and "8005" to "9005" (or anything else, the point is to find ports that are not yet in use)


After this, assumed that you made the choices I named above, connect to your Liferay installation at http://localhost:9090/ and have fun.


0 commentaires:

Enregistrer un commentaire