Combination View Flat View Tree View
Threads [ Previous | Next ]
Alessandro Sebastiano
Install Liferay 6 on Jboss 5.1.2
March 12, 2012 4:56 AM
Answer

Alessandro Sebastiano

Rank: New Member

Posts: 13

Join Date: March 9, 2012

Recent Posts

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
April 2, 2012 12:19 AM
Answer

Darko Joseph Hojnik

Rank: Regular Member

Posts: 125

Join Date: August 3, 2009

Recent Posts

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