Fórum

Installing liferay on JBoss

thumbnail
Roman Hoyenko, modificado 7 Anos atrás.

Installing liferay on JBoss

Liferay Master Postagens: 878 Data de Entrada: 08/10/07 Postagens Recentes
I want to install liferay on JBoss, what is the preferred way to do it? I don't see a JBoss bundle there. Is it supported? Should I get the tomcat one and then put the required jars in? Maybe there is a manual somewhere.

I am trying to get the latest version.

I tried compiling from source, but that didn't work - it couldn't download some of the classes. I am behind proxy and updated that in the build.properties but it didn't help.

I also tried the Maven version that is supposed to download everything, but it also doesn't seem to be able to download even though I added this:
<target if="setproxy.proxy.host" name="setproxy">
<setproxy proxyhost="${setproxy.proxy.host}" proxyport="${setproxy.proxy.port}" />
</target>
to build.xml

and set variables up in build.properties.
thumbnail
Juan Gonzalez, modificado 7 Anos atrás.

RE: Installing liferay on JBoss

Liferay Legend Postagens: 3089 Data de Entrada: 28/10/08 Postagens Recentes
Which Liferay version?
thumbnail
Roman Hoyenko, modificado 7 Anos atrás.

RE: Installing liferay on JBoss

Liferay Master Postagens: 878 Data de Entrada: 08/10/07 Postagens Recentes
The latest. 7 ga3
thumbnail
Roman Hoyenko, modificado 7 Anos atrás.

RE: Installing liferay on JBoss

Liferay Master Postagens: 878 Data de Entrada: 08/10/07 Postagens Recentes
Anyone?
thumbnail
Luiz Fernando Severnini, modificado 6 Anos atrás.

RE: Installing liferay on JBoss

New Member Postagens: 2 Data de Entrada: 29/04/14 Postagens Recentes
Despite this is a little old post, but here is how I compiled Liferay 7.0x from source code behind an authenticated proxy.

I downloaded source code:
git clone -b 7.0.x https://github.com/liferay/liferay-portal.git --depth 1 liferay-portal-7-ce


In file build-common.xml

Put these properties after line of
<property environment="env" />

	<property name="setproxy.proxy.host" value="proxyserver" />
	<property name="setproxy.proxy.port" value="portnumber" />
	<property name="setproxy.proxy.user" value="username" />
	<property name="setproxy.proxy.pass" value="password" />


or

Put these properties in build.{user}.properties file
setproxy.proxy.host=proxyserver
setproxy.proxy.port=portnumber
setproxy.proxy.user=username
setproxy.proxy.pass=password


Configure Gradle and Maven as stated here
https://dev.liferay.com/pt/develop/tutorials/-/knowledge_base/7-0/setting-proxy-requirements-for-liferay-workspace

In file build-common.xml modify the setproxy ant task
from

	<target if="setproxy.proxy.host" name="setproxy">
		<setproxy proxyhost="${setproxy.proxy.host}" proxyport="${setproxy.proxy.port}" />
	</target>

to

	<target if="setproxy.proxy.host" name="setproxy">
		<setproxy proxyhost="${setproxy.proxy.host}" proxyport="${setproxy.proxy.port}" proxyuser="${setproxy.proxy.user}" proxypassword="${setproxy.proxy.pass}" />
	</target>


In file build-dist.xml
For every <target/> that contains <mirror-get/> add attribute "depends" as <target depends="setproxy">
Or change only for your choosed server, as in my case <target name="unzip-tomcat" depends="setproxy">

Maybe there is a simpler way but doing that worked for me and is ok for now :-)