This forum is no longer active. Please post your questions to our new community site

Forums Liferay

Liferay install on OSX Server

Subscribe to Liferay install on OSX Server 8 post(s), 2 voice(s)

 
Avatar je 5 post(s)

I am trying to install Liferay on a Mac OSX (Leopard) server. It already has apache running and has the option of turning on Tomcat (8080).

When I begin the install and get to “Tomcat port configuration” it gives me the error “Unable to find the given port number. Please select another Tomcat Server Port.” Sorry I’m a bit confused at this point. I’ve tried various port numbers with the native Tomcat turned off and on.

Suggestions? Thanks in advance.

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Hi,

What ports are you used? Maybe you should change other Tomcat ports such as Shutdown port or AJP port.

 
Avatar je 5 post(s)

Beltran,

Sorry for not replying, life interrupted and this got put on the todo pile for a while. I’m back on task. I found the latest install for the mac x86 and tried installing that. Worked like a dream. Then I started using it. Everything was going just great. I was really, really, really happy. I was almost completed configuring my site when I added an application to a page and POW, I got an “Internal Server Error” and the page I was working on froze up.

I spent some time trying to fix it and gave up and re-installed it all and again everything was working fine until part way through setting up I was adding another application to a page and Wham, another server freeze-up. The rest of the server is still working but the Enterprise Admin app is dead and any pages I was working on are dead. The only similarity is that it only happens (randomly) when adding an application to a page.

My system is a pretty stock Mac Leopard server with all the latest patches etc.

Frankly I’m pretty disappointed. The application looks really good and I need it but the days where I have time to enjoy mucking about in the innards of my systems and of having an occasionally crashing system are behind me. The promise of vitualized plug and run web applications is a God-sent but has again eluded me. :(

Hopefully there is an easy fix to this as I would love to use it.

John

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Hi,

It is possible a memory issue. It is common in Java application. Could you post the last entries of the <installdir>apache-tomcat/logs/catalina.out log file?

Cheers.

 
Avatar je 5 post(s)

Beltran,

I think I see the problem. It appears to be trying to call home. The way the firewalls are setup does not allow the server to make its own calls out. I’m not sure why it’s doing this. Are there plugins that I should be installing? Is there a way to get around it doing these calls?

Here is the log:

14:11:48,261 INFO [PluginPackageUtil:76] Reloading repositories
14:11:58,276 ERROR [PluginPackageUtil:52] Unable to load repository http://plugins.liferay.com/official com.liferay.portal.plugin.PluginPackageException: Unable to communicate with repository http://plugins.liferay.com/official
14:12:08,277 ERROR [PluginPackageUtil:52] Unable to load repository http://plugins.liferay.com/community com.liferay.portal.plugin.PluginPackageException: Unable to communicate with repository http://plugins.liferay.com/community
14:12:18,279 WARN [PluginPackageUtil:124] Unable to communicate with repository http://plugins.liferay.com/official
14:12:28,280 WARN [PluginPackageUtil:124] Unable to communicate with repository http://plugins.liferay.com/community

 
Avatar je 5 post(s)

Beltran,

Any hints on how to work around this?
Thanks

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Hi,

I have checked on Linux and the application can connect to the Liferay repositories. Could you try to install the new version? Maybe the Liferay repositories are not available in this moment.

 
Avatar je 5 post(s)

My problem is the corporate firewall doesn’t allow servers to initiate an external connection (ie to prevent trojans). Is there a way to manually install these plugins or some other work around?
Thanks again.

Forums Liferay