構造的に表示 平面上に表示 ツリー上に表示
スレッド [ 前へ | 次へ ]
toggle
Alessandro Sebastiano
Install Liferay 6 on Jboss 5.1.2
2012/03/12 4:56
答え

Alessandro Sebastiano

ランク: New Member

投稿: 13

参加年月日: 2012/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
Darko Joseph Hojnik
RE: Install Liferay 6 on Jboss 5.1.2
2012/04/02 0:19
答え

Darko Joseph Hojnik

ランク: Regular Member

投稿: 125

参加年月日: 2009/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