组合视图 统一视图 树状图
讨论主题 [ 上一个 | 下一个 ]
toggle
Namrata Hangal
Liferay 6.1 with existing database
2012年5月10日 下午10:43
答复

Namrata Hangal

等级: Regular Member

帖子: 161

加入日期: 2010年7月26日

最近的帖子

We have setup Liferay 6.1 GA1 CE on jBoss 5.1 successfully using the default hsql.

The next step is to connect the instance with an existing DB2 database.

Now the catch is that, the DB2 instance has all tables and data as per Liferay 5.2.3.(our previously created portal). We cannot create new database and must reuse the tables/data. Any changes to database may result in our live site collapsing.

How do I go about connecting 6.1 with the existing database?
I'm sure the db schema is different in 6.1 compared to 5.2.3. So what should be the first step?

Can anyone outline the steps to be followed?

Thanks!
Hitoshi Ozawa
RE: Liferay 6.1 with existing database
2012年5月10日 下午10:55
答复

Hitoshi Ozawa

等级: Liferay Legend

帖子: 7949

加入日期: 2010年3月23日

最近的帖子

Do several liferay upgrades to update your database. I think you'll have to upgrade to 6.0 and then to 6.1.
Namrata Hangal
RE: Liferay 6.1 with existing database
2012年5月10日 下午11:27
答复

Namrata Hangal

等级: Regular Member

帖子: 161

加入日期: 2010年7月26日

最近的帖子

Thanks Hitoshi.

Can you point me to any documentation?
Gowtham Mani
RE: Liferay 6.1 with existing database
2012年5月10日 下午11:40
答复

Gowtham Mani

等级: Junior Member

帖子: 56

加入日期: 2008年11月25日

最近的帖子

Hi Namrata,

Place these values in the portal-ext.properties along with any other older properties value.

#
# Input a list of comma delimited class names that implement
# com.liferay.portal.upgrade.UpgradeProcess. These classes will run on
# startup to upgrade older data to match with the latest version.
#
upgrade.processes=

have a look at the portal.properties for the list of all the classes.

Gowtham