Forums de discussion

Upgrade from 5.1.2 to 5.2.3 not working

sancho sebastine, modifié il y a 14 années.

Upgrade from 5.1.2 to 5.2.3 not working

New Member Publications: 15 Date d'inscription: 18/10/08 Publications récentes
Hi

I have a application deployed on liferay 5.1.2 tomcat bundle. I want to upgrade it to liferay 5.2.3. I followed the upgrade instruction in admin guide. The new liferay portal 5.2.3 is working fine. But when i point it to the old database by modifiying the root.xml file everything goes for a toss.


I added the following snippet in root.xml

<!-- MySQL -->

<Resource
name="jdbc/LiferayPool"
auth="Container"
type="javax.sql.DataSource"
driverClassName="com.mysql.jdbc.Driver"
url="jdbc:mysql://10.110.50.25/lportal?useUnicode=true&amp;characterEncoding=UTF-8&amp;useFastDateParsing=false"
username="connect"
password="xxxxxxx"
maxActive="20"
/>

1) initially i downloaded liferay5.2.3 bundled with tomcat 6.0
2) copied my portal-ext.properties
3) copied other custom portals (just one and it is a theme)
4) changed root.xml to add the above code snippet.

Please let me know what i am doing wrong. Is there any other tutorial / thread to do upgrade. My application is simple , I do not have much
thumbnail
Aarti Jain, modifié il y a 14 années.

RE: Upgrade from 5.1.2 to 5.2.3 not working

Regular Member Publications: 116 Date d'inscription: 02/09/08 Publications récentes
Hi,

From liferay5.2 and later versions, you need not modify root.xml file.

Configurations are done in portal-ext.properties file.

You can refer the following wiki article : Database Configuration

Regards,
Aarti Jain
Impetus Infotech Pvt. Ltd.
Noida
sancho sebastine, modifié il y a 14 années.

RE: Upgrade from 5.1.2 to 5.2.3 not working

New Member Publications: 15 Date d'inscription: 18/10/08 Publications récentes
Thanks that worked

Never thought this part would be updated due to version change