留言板

liferay upgrade from 6.0.6 to liferay 6.1.x EE

thumbnail
Abani Sahoo,修改在10 年前。

liferay upgrade from 6.0.6 to liferay 6.1.x EE

New Member 帖子: 12 加入日期: 13-6-14 最近的帖子
Hi,

I am doing the liferay upgrade from liferay 6.0.6 EE to liferay 6.1.x EE version.

First I upgraded the MYSQL DB using the scripts given in the liferay site.But the upgrade scripts zip shows CE edition.Can I use this scripts to upgrade the liferay6.0.6 to 6.1 EE.

Then I copied data folder from the the old version liferay(6.0.6) to new liferay6.1.x EE downloaded from liferay site.
and added the old liferay 6.0.6 EE portal-ext.properties file and copied into new liferay 6.1.x EE under webapps\ROOT\WEB-INF\classes\ path.
then I started the tomcat and i am getting the below errors

19:14:56,200 INFO [pool-2-thread-1][DialectDetector:71] Determine dialect for MySQL 5
19:14:56,232 INFO [pool-2-thread-1][DialectDetector:136] Found dialect org.hibernate.dialect.MySQLDialect
19:15:23,045 ERROR [pool-2-thread-1][ImageLocalServiceImpl:78] Default company logo is not available
19:15:31,467 ERROR [pool-2-thread-1][InstancePool:100] Unable to load with the portal class loader or the current context class loader
java.lang.ClassNotFoundException:
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1711)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1556)
at com.liferay.portal.kernel.util.InstancePool._get(InstancePool.java:92)
at com.liferay.portal.kernel.util.InstancePool._get(InstancePool.java:59)
at com.liferay.portal.kernel.util.InstancePool.get(InstancePool.java:33)
at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.<init>(AutoLoginFilter.java:61)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
at java.lang.Class.newInstance0(Class.java:372)
at java.lang.Class.newInstance(Class.java:325)
at com.liferay.portal.kernel.util.InstanceFactory.newInstance(InstanceFactory.java:63)
at com.liferay.portal.kernel.util.InstanceFactory.newInstance(InstanceFactory.java:27)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterHelper.initFilter(InvokerFilterHelper.java:197)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterHelper.readLiferayFilterWebXML(InvokerFilterHelper.java:292)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doPortalInit(InvokerFilter.java:144)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.init(InvokerFilter.java:91)
at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:277)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:258)
at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:382)
at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:103)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4638)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5294)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:649)
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1585)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
Starting Liferay Portal Community Edition 6.1.1 CE GA2 (Paton / Build 6101 / July 31, 2012)
19:15:34,077 INFO [pool-2-thread-1][BaseDB:455] Database does not support case sensitive queries
19:15:34,889 INFO [pool-2-thread-1][UpgradeProcess:207] Upgrading com.liferay.portal.upgrade.UpgradeProcess_6_1_1
19:15:34,905 INFO [pool-2-thread-1][UpgradeProcess:207] Upgrading com.liferay.portal.upgrade.v6_1_1.UpgradeSchema
19:15:35,233 WARN [pool-2-thread-1][BaseDB:428] Table 'liferayportal.dlsync' doesn't exist: alter table DLSync add description longtext null;

19:15:35,233 WARN [pool-2-thread-1][BaseDB:428] Table 'liferayportal.layoutsetbranch' doesn't exist: alter table LayoutSetBranch add logo tinyint;

19:15:35,233 WARN [pool-2-thread-1][BaseDB:428] Table 'liferayportal.layoutsetbranch' doesn't exist: alter table LayoutSetBranch add logoId bigint;

19:15:35,233 WARN [pool-2-thread-1][BaseDB:428] Table 'liferayportal.layoutsetbranch' doesn't exist: alter table LayoutSetBranch add themeId varchar(75) null;

19:15:35,249 WARN [pool-2-thread-1][BaseDB:428] Table 'liferayportal.layoutsetbranch' doesn't exist: alter table LayoutSetBranch add colorSchemeId varchar(75) null;

19:15:35,264 WARN [pool-2-thread-1][BaseDB:428] Table 'liferayportal.layoutsetbranch' doesn't exist: alter table LayoutSetBranch add wapThemeId varchar(75) null;

19:15:35,264 WARN [pool-2-thread-1][BaseDB:428] Table 'liferayportal.layoutsetbranch' doesn't exist: alter table LayoutSetBranch add wapColorSchemeId varchar(75) null;

19:15:35,264 WARN [pool-2-thread-1][BaseDB:428] Table 'liferayportal.layoutsetbranch' doesn't exist: alter table LayoutSetBranch add css longtext null;

19:15:35,264 WARN [pool-2-thread-1][BaseDB:428] Table 'liferayportal.layoutsetbranch' doesn't exist: alter table LayoutSetBranch add settings_ longtext null;

19:15:35,264 WARN [pool-2-thread-1][BaseDB:428] Table 'liferayportal.layoutsetbranch' doesn't exist: alter table LayoutSetBranch add layoutSetPrototypeUuid varchar(75) null;

19:15:35,264 WARN [pool-2-thread-1][BaseDB:428] Table 'liferayportal.layoutsetbranch' doesn't exist: alter table LayoutSetBranch add layoutSetPrototypeLinkEnabled tinyint;

19:15:35,264 WARN [pool-2-thread-1][BaseDB:428] Table 'liferayportal.layoutsetbranch' doesn't exist: update LayoutSetBranch set logo = 1;

19:15:35,264 WARN [pool-2-thread-1][BaseDB:428] Table 'liferayportal.layoutsetbranch' doesn't exist: update LayoutSetBranch set logoId = 0;

19:15:35,264 WARN [pool-2-thread-1][BaseDB:428] Table 'liferayportal.layoutsetbranch' doesn't exist: update LayoutSetBranch set layoutSetPrototypeLinkEnabled = 0;

19:15:35,280 INFO [pool-2-thread-1][UpgradeProcess:207] Upgrading com.liferay.portal.upgrade.v6_1_1.UpgradeDocumentLibrary
19:15:35,295 INFO [pool-2-thread-1][UpgradeProcess:207] Upgrading com.liferay.portal.upgrade.v6_1_1.UpgradeLayout
19:15:35,327 ERROR [pool-2-thread-1][MainServlet:217] com.liferay.portal.kernel.events.ActionException: com.liferay.portal.kernel.upgrade.UpgradeException: com.liferay.portal.kernel.upgrade.UpgradeException: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Unknown column 'layoutPrototypeUuid' in 'field list'
com.liferay.portal.kernel.events.ActionException: com.liferay.portal.kernel.upgrade.UpgradeException: com.liferay.portal.kernel.upgrade.UpgradeException: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Unknown column 'layoutPrototypeUuid' in 'field list'
at com.liferay.portal.events.StartupAction.run(StartupAction.java:58)
at com.liferay.portal.servlet.MainServlet.processStartupEvents(MainServlet.java:1306)
at com.liferay.portal.servlet.MainServlet.init(MainServlet.java:214)
at javax.servlet.GenericServlet.init(GenericServlet.java:160)
at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1266)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1185)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1080)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5015)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5302)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:649)
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1585)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
Caused by: com.liferay.portal.kernel.upgrade.UpgradeException: com.liferay.portal.kernel.upgrade.UpgradeException: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Unknown column 'layoutPrototypeUuid' in 'field list'
at com.liferay.portal.kernel.upgrade.UpgradeProcess.upgrade(UpgradeProcess.java:213)
at com.liferay.portal.upgrade.UpgradeProcessUtil._upgradeProcess(UpgradeProcessUtil.java:103)
at com.liferay.portal.upgrade.UpgradeProcessUtil.upgradeProcess(UpgradeProcessUtil.java:56)
at com.liferay.portal.upgrade.UpgradeProcessUtil.upgradeProcess(UpgradeProcessUtil.java:36)
at com.liferay.portal.events.StartupHelper.upgradeProcess(StartupHelper.java:130)
at com.liferay.portal.events.StartupHelperUtil.upgradeProcess(StartupHelperUtil.java:48)
at com.liferay.portal.tools.DBUpgrader.upgrade(DBUpgrader.java:129)
at com.liferay.portal.events.StartupAction.doRun(StartupAction.java:144)
at com.liferay.portal.events.StartupAction.run(StartupAction.java:52)
... 20 more
Caused by: com.liferay.portal.kernel.upgrade.UpgradeException: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Unknown column 'layoutPrototypeUuid' in 'field list'
at com.liferay.portal.kernel.upgrade.UpgradeProcess.upgrade(UpgradeProcess.java:213)
at com.liferay.portal.kernel.upgrade.UpgradeProcess.upgrade(UpgradeProcess.java:227)
at com.liferay.portal.upgrade.UpgradeProcess_6_1_1.doUpgrade(UpgradeProcess_6_1_1.java:39)
at com.liferay.portal.kernel.upgrade.UpgradeProcess.upgrade(UpgradeProcess.java:210)
... 28 more
Caused by: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Unknown column 'layoutPrototypeUuid' in 'field list'
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2985)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1631)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1723)
at com.mysql.jdbc.Connection.execSQL(Connection.java:3256)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1313)
at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1448)
at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewProxyPreparedStatement.java:76)
at com.liferay.portal.upgrade.v6_1_1.UpgradeLayout.updateSourcePrototypeLayoutUuid(UpgradeLayout.java:128)
at com.liferay.portal.upgrade.v6_1_1.UpgradeLayout.doUpgrade(UpgradeLayout.java:32)
at com.liferay.portal.kernel.upgrade.UpgradeProcess.upgrade(UpgradeProcess.java:210)
... 31 more
Stopping the server due to unexpected startup errors


Please help me to resolve the above issue

Thanks in advance ...
thumbnail
Abani Sahoo,修改在10 年前。

RE: liferay upgrade from 6.0.6 to liferay 6.1.x EE

New Member 帖子: 12 加入日期: 13-6-14 最近的帖子
is there nobody out there to answer the above query?
thumbnail
Sudhanshu Srivastava,修改在10 年前。

RE: liferay upgrade from 6.0.6 to liferay 6.1.x EE

Junior Member 帖子: 53 加入日期: 12-4-12 最近的帖子
Hi,

We need more information as you mentioned that you are about to upgrade to 6.1 EE but if I see the error logs it says "Starting Liferay Portal Community Edition 6.1.1 CE GA2 (Paton / Build 6101 / July 31, 2012)" .

I would require the portal-ext of the version 6.0.6 as well as for 6.1(the particular version you want to upgrade to)

Please let me know the exact version which you want to upgrade to.

If you are about to upgrade to a latest EE version of Liferay, you may have to install a patch. That can only be recommended only if you could tell which version of Liferay you are about to upgrade as all the patches are version specific. emoticon

Regards,
Sudhanshu
thumbnail
Abani Sahoo,修改在10 年前。

RE: liferay upgrade from 6.0.6 to liferay 6.1.x EE

New Member 帖子: 12 加入日期: 13-6-14 最近的帖子
Hi All,

Thanks for the quick reply. Actually I made a mistake in specifying the exact vesion. I wanted to upgrade from liferay-portal-6.0-ee-sp1 to liferay-portal-6.1.20-ee-ga2.

Can you please help me out.

Thanks in advance.
thumbnail
Sudhanshu Srivastava,修改在10 年前。

RE: liferay upgrade from 6.0.6 to liferay 6.1.x EE

Junior Member 帖子: 53 加入日期: 12-4-12 最近的帖子
Thanks for providing the exact version. You need to install a fix pack core-5 to upgrade to this version.

You can download this fix pack from http://www.liferay.com/ -> Customer Portal.

Regards,
Sudhanshu.
thumbnail
Olaf Kock,修改在10 年前。

RE: liferay upgrade from 6.0.6 to liferay 6.1.x EE

Liferay Legend 帖子: 6403 加入日期: 08-9-23 最近的帖子
Which version of 6.1 EE are you updating to? Which of the available fixpacks did you install? You'll find them on the customer portal and should install them prior to updating.
You're not mentioning that you're configuring the legacy properties - read about this in the user guide
Also, you might want to identify if your portal-ext.properties contains any settings that contain hardcoded paths etc, so you can't "just" copy portal-ext.properties - make sure the settings are still applicable. Some properties might have changed - you'll find them in portal-legacy-6.0.properties.
Also, if you have support with your EE subscription: Updates are supported, you might want to open a ticket or contact your sales representative.
Lastly: Is there something missing in that ClassNotFoundException in your stacktrace?
thumbnail
Abani Sahoo,修改在10 年前。

RE: liferay upgrade from 6.0.6 to liferay 6.1.x EE

New Member 帖子: 12 加入日期: 13-6-14 最近的帖子
Hi,

Thanks for the quick reply, I am using liferay 6.0.6 EE which is having the licence.But I want to upgrade to liferay 6.1.20 EE .
I went through the wiki page
http://www.liferay.com/community/wiki/-/wiki/Main/Upgrade+Instructions+from+6.0+to+6.1

I find the upgrade for community Edition, But I did not find any documentation for Enterprise Edition.

I downloaded the liferay 6.1.20 EE trail version and copied the old liferay data folder into new liferay 6.1.20 EE.

and also copied the portal-ext.properties file and try to start the tomcat server.

I opened the command prompt and went to tomcat\bin folder and try to run the startup.bat [/b ]file, But I am getting lot of errors and the tomcat started.
But I am not sure that my Database was upgraded or Not? and opened the release_ table and the build version was showing 6011.
Could you please inform how to find that the DB was upgraded successfully or Not ?

Thanks in advance.
thumbnail
Olaf Kock,修改在10 年前。

RE: liferay upgrade from 6.0.6 to liferay 6.1.x EE

Liferay Legend 帖子: 6403 加入日期: 08-9-23 最近的帖子
sorry, it's still not clear to me what you want to do:

6.0.6 is CE. If you want to upgrade to 6.1.20, you should install the upgrade fixpacks that are on customer portal if you're already a customer. If you're using the trial version, that implies that you did not yet license EE - in that case you'd probably upgrade to 6.1.1 (which is 6.1 GA2 CE). Or contact your sales representative with this problem.
thumbnail
Abani Sahoo,修改在10 年前。

RE: liferay upgrade from 6.0.6 to liferay 6.1.x EE

New Member 帖子: 12 加入日期: 13-6-14 最近的帖子
Hi Olaf Kock,

I just want to upgrade from liferay-portal-6.0-ee-sp1 to liferay-portal-6.1.20-ee-ga2 which previously I was mentioned wrongly.
After making some changes in the portal-ext.properties file again i started the server.

These are the below errors it showed.


18:23:43,755 ERROR [pool-2-thread-1][InstancePool:100] Unable to load with the portal class loader or the current context class loader
java.lang.ClassNotFoundException:
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1711)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1556)
at com.liferay.portal.kernel.util.InstancePool._get(InstancePool.java:92)
at com.liferay.portal.kernel.util.InstancePool._get(InstancePool.java:59)
at com.liferay.portal.kernel.util.InstancePool.get(InstancePool.java:33)
at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.<init>(AutoLoginFilter.java:61)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
at java.lang.Class.newInstance0(Class.java:372)
at java.lang.Class.newInstance(Class.java:325)
at com.liferay.portal.kernel.util.InstanceFactory.newInstance(InstanceFactory.java:63)
at com.liferay.portal.kernel.util.InstanceFactory.newInstance(InstanceFactory.java:27)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterHelper.initFilter(InvokerFilterHelper.java:197)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterHelper.readLiferayFilterWebXML(InvokerFilterHelper.java:292)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doPortalInit(InvokerFilter.java:144)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.init(InvokerFilter.java:91)
at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:277)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:258)
at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:382)
at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:103)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4638)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5294)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:649)
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1585)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
Starting Liferay Portal Enterprise Edition 6.1.20 EE (Paton / Build 6120 / July 31, 2012)
18:23:47,598 INFO [pool-2-thread-1][BaseDB:455] Database does not support case sensitive queries
18:23:47,848 INFO [pool-2-thread-1][UpgradeProcess:207] Upgrading com.liferay.portal.upgrade.UpgradeProcess_6_0_12
18:23:47,863 INFO [pool-2-thread-1][UpgradeProcess:207] Upgrading com.liferay.portal.upgrade.v6_0_12.UpgradeSchema
18:23:52,659 INFO [pool-2-thread-1][UpgradeProcess:207] Upgrading com.liferay.portal.upgrade.v6_0_12.UpgradeAsset
18:23:52,862 INFO [pool-2-thread-1][UpgradeProcess:207] Upgrading com.liferay.portal.upgrade.v6_0_12.UpgradeBlogs
18:23:52,940 INFO [pool-2-thread-1][UpgradeProcess:207] Upgrading com.liferay.portal.upgrade.v6_0_12.UpgradeDocumentLibrary
18:23:52,940 INFO [pool-2-thread-1][UpgradeProcess:207] Upgrading com.liferay.portal.upgrade.v6_0_12.UpgradeExpando
18:23:52,940 INFO [pool-2-thread-1][UpgradeProcess:207] Upgrading com.liferay.portal.upgrade.v6_0_12.UpgradeLock
18:23:53,128 INFO [pool-2-thread-1][UpgradeProcess:207] Upgrading com.liferay.portal.upgrade.v6_0_12.UpgradeMessageBoards
18:23:53,315 INFO [pool-2-thread-1][UpgradeProcess:207] Upgrading com.liferay.portal.upgrade.v6_0_12.UpgradePermission
18:23:54,393 INFO [pool-2-thread-1][UpgradeProcess:207] Upgrading com.liferay.portal.upgrade.v6_0_12.UpgradePortletPreferences
18:23:54,799 INFO [pool-2-thread-1][UpgradeProcess:207] Upgrading com.liferay.portal.upgrade.v6_0_12.UpgradeResourcePermission
18:23:54,815 INFO [pool-2-thread-1][UpgradeProcess:207] Upgrading com.liferay.portal.upgrade.v6_0_12.UpgradeScheduler
18:23:54,955 ERROR [pool-2-thread-1][MainServlet:217] com.liferay.portal.kernel.events.ActionException: com.liferay.portal.kernel.upgrade.UpgradeException: com.liferay.portal.kernel.upgrade.UpgradeException: java.io.StreamCorruptedException: invalid stream header: C2ACC3AD
com.liferay.portal.kernel.events.ActionException: com.liferay.portal.kernel.upgrade.UpgradeException: com.liferay.portal.kernel.upgrade.UpgradeException: java.io.StreamCorruptedException: invalid stream header: C2ACC3AD
at com.liferay.portal.events.StartupAction.run(StartupAction.java:58)
at com.liferay.portal.servlet.MainServlet.processStartupEvents(MainServlet.java:1306)
at com.liferay.portal.servlet.MainServlet.init(MainServlet.java:214)
at javax.servlet.GenericServlet.init(GenericServlet.java:160)
at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1266)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1185)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1080)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5015)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5302)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:649)
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1585)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
Caused by: com.liferay.portal.kernel.upgrade.UpgradeException: com.liferay.portal.kernel.upgrade.UpgradeException: java.io.StreamCorruptedException: invalid stream header: C2ACC3AD
at com.liferay.portal.kernel.upgrade.UpgradeProcess.upgrade(UpgradeProcess.java:213)
at com.liferay.portal.upgrade.UpgradeProcessUtil._upgradeProcess(UpgradeProcessUtil.java:103)
at com.liferay.portal.upgrade.UpgradeProcessUtil.upgradeProcess(UpgradeProcessUtil.java:56)
at com.liferay.portal.upgrade.UpgradeProcessUtil.upgradeProcess(UpgradeProcessUtil.java:36)
at com.liferay.portal.events.StartupHelper.upgradeProcess(StartupHelper.java:130)
at com.liferay.portal.events.StartupHelperUtil.upgradeProcess(StartupHelperUtil.java:48)
at com.liferay.portal.tools.DBUpgrader.upgrade(DBUpgrader.java:129)
at com.liferay.portal.events.StartupAction.doRun(StartupAction.java:144)
at com.liferay.portal.ee.license.StartupAction.doRun(Unknown Source)
at com.liferay.portal.events.StartupAction.run(StartupAction.java:52)
... 20 more
Caused by: com.liferay.portal.kernel.upgrade.UpgradeException: java.io.StreamCorruptedException: invalid stream header: C2ACC3AD
at com.liferay.portal.kernel.upgrade.UpgradeProcess.upgrade(UpgradeProcess.java:213)
at com.liferay.portal.kernel.upgrade.UpgradeProcess.upgrade(UpgradeProcess.java:227)
at com.liferay.portal.upgrade.UpgradeProcess_6_0_12.doUpgrade(UpgradeProcess_6_0_12.java:57)
at com.liferay.portal.kernel.upgrade.UpgradeProcess.upgrade(UpgradeProcess.java:210)
... 29 more
Caused by: java.io.StreamCorruptedException: invalid stream header: C2ACC3AD
at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:801)
at java.io.ObjectInputStream.<init>(ObjectInputStream.java:298)
at com.liferay.portal.upgrade.v6_0_12.UpgradeScheduler.getUpgradeQuartzData(UpgradeScheduler.java:123)
at com.liferay.portal.upgrade.v6_0_12.UpgradeScheduler.doUpgrade(UpgradeScheduler.java:70)
at com.liferay.portal.kernel.upgrade.UpgradeProcess.upgrade(UpgradeProcess.java:210)
... 32 more
Stopping the server due to unexpected startup errors


So,can you please help me out.

Thanks in Advance.
thumbnail
Olaf Kock,修改在10 年前。

RE: liferay upgrade from 6.0.6 to liferay 6.1.x EE

Liferay Legend 帖子: 6403 加入日期: 08-9-23 最近的帖子
It's quite hard to say what's wrong when all the information you give is "I made some changes, it doesn't work". Also, did you update your installation with the latest fixpacks (see above) before attempting to upgrade? You might want to contact support or sales - upgrade is a supported operation IMHO