掲示板

Install Liferay 6 on Jboss 5.1.2

12年前 に Alessandro Sebastiano によって更新されました。

Install Liferay 6 on Jboss 5.1.2

New Member 投稿: 13 参加年月日: 12/03/09 最新の投稿
Hi all,
I have to install the Liferay 6 Enterprise on Jboss 5.1.2 on Linux Redhat 5
I don't want to make the liferay war files in the Root.war directory.

Can I define another directory?
Moreover, I have to connect with external Oracle database. How I define the connection?

Thanks a lot for your help
Alex
thumbnail
11年前 に Darko Joseph Hojnik によって更新されました。

RE: Install Liferay 6 on Jboss 5.1.2

Regular Member 投稿: 125 参加年月日: 09/08/03 最新の投稿
6.0.x is known to work with Jboss 5.1. Liferay 6.1 makes currently massive problems.

You have to delete inside the Liferay WAR File stax.jar xercesImpl.jar jaxrpc.jar xml-apis.jar

Define the context path in WEB-INF/jboss-web.xml also in WEB-INF/classes/portal-ext.properties

create two JNDI Datasources once for your Databaes and another obe for your Mailserver

You could define it in WEB-INF/classes/portal-ext.properties like

# Liferay Datasources
jdbc.default.jndi.name=jdbc/portal-hosting
mail.session.jndi.name=mail/Session

#Liferay contextpath
portal.ctx=/portal-hosting

# For Jboss
hibernate.validator.apply_to_ddl=false
hibernate.validator.autoregister_listeners=false

cheers Darko