Vista combinada Visión Plana Vista de árbol
Discusiones [ Anterior | Siguiente ]
toggle
sepideh tajeri
Liferay upgrade from 5.2.3 to 6.1.1
17 de diciembre de 2012 21:54
Respuesta

sepideh tajeri

Ranking: Junior Member

Mensajes: 32

Fecha de incorporación: 30 de octubre de 2011

Mensajes recientes

Hi all,
I'd like to upgrade my portal from 5.2.3 to 6.1.1.
first, I shall upgrade it to 6.0.6, I read this page: "http://www.liferay.com/community/wiki/-/wiki/Main/Upgrade+Instructions+from+5.2+to+6.0".
I create file ­portal-ext.properties and add to the portal-ext.properties the following:
***************************************************************************
jdbc.default.driverClassName=com.mysql.jdbc.Driver
jdbc.default.url=jdbc:mysql://localhost/liferay5to6?useUnicode=true&characterEncodi­ng=UTF-8&useFastDateParsing=false
jdbc.default.username=root
jdbc.default.password=password
permissions.user.check.algorithm=5
***************************************************************************
then I move document_liberary and images folder in data directory of liferay 5.2.3 to liferay 6.0.6 then I run startup.bat.
my portal upgrade and startuo good. I shutdown it and I change portal-ext.properties, I remove "permissions.user.check.algorithm=5".
when I do this, my portal don't startup.
so when I upgrade this portal to 6.1.1, I have started the start.bat file. It is showing upgrade process well but after few minutes window is closed.
for upgrade 5.2.3 to 6.1.1, what shal I do?
Vishal Kumar
RE: Liferay upgrade from 5.2.3 to 6.1.1
18 de diciembre de 2012 0:19
Respuesta

Vishal Kumar

Ranking: Junior Member

Mensajes: 36

Fecha de incorporación: 11 de diciembre de 2012

Mensajes recientes

Upgrade from 523 to 611

1. Backup liferay-523 database.
2. Setup liferay-611 bundle.
3. copy all plugins in tomcat/webapps.
4. Update plugins for version 606. Specifically configuration files of theme.
5. copy portal-ext.properties and system-ext.properties in tomcat/webapps/ROOT/WEB-INF/classes
6. Merge all portal-legacy-5.2.properties into portal-ext.properties. Specifically the property permissions.user.check.algorithm=5 is important.
7. Copy /data/jackrabbit and /data/lucene folders from 523 bundle to 606 bundle.
8. Point liferay-606 to existing mysql database of liferay-523:
Copy Resource and mail configuration from liferay-523/tomcat/conf/context.xml to liferay-606/tomcat/conf/context.xml. Verify that JNDI property in portal-ext.properties is pointing to correct database.
9. Also refer "Upgrading From Liferay 5.2 to Liferay 6.0" from http://www.liferay.com/documentation/liferay-portal/6.0/administration/-/ai/upgrading-lifer-4
10. Start the server.


Upgrade permission algorithm from 5 to 6

1. Backup liferay-611 database.
2. Execute permission algorithm migration from 5 to 6.
3. Set permissions.user.check.algorithm=6 in portal-ext.properties.
4. Restart the server and perform quick verification on permissions.

And Give
jdbc.default.url=jdbc:mysql://localhost:3306/liferay5to6?useUnicode=true&characterEncodi­ng=UTF-8&useFastDateParsing=false
sepideh tajeri
RE: Liferay upgrade from 5.2.3 to 6.1.1
18 de diciembre de 2012 2:19
Respuesta

sepideh tajeri

Ranking: Junior Member

Mensajes: 32

Fecha de incorporación: 30 de octubre de 2011

Mensajes recientes

Hi Vishal
thanks for your reply. but I 'm confuse. I think liferay 6.1.1 in part 2 is wrong.
Don't need I move images and document library in new version?
please explain more.
thanks.
Alireza Zare
RE: Liferay upgrade from 5.2.3 to 6.1.1
18 de diciembre de 2012 3:04
Respuesta

Alireza Zare

Ranking: Regular Member

Mensajes: 110

Fecha de incorporación: 3 de septiembre de 2010

Mensajes recientes

Hi,
Look at the following link:

http://liferay.webs.com/apps/blog/show/7387517-migration-from-liferay-5-0-to-6-0

Regards,
Alireza
sepideh tajeri
RE: Liferay upgrade from 5.2.3 to 6.1.1
18 de diciembre de 2012 21:10
Respuesta

sepideh tajeri

Ranking: Junior Member

Mensajes: 32

Fecha de incorporación: 30 de octubre de 2011

Mensajes recientes

Hi AliReza
thanks for your answer, I could upgrade my portal from 5.2.3 to 6.0.6. now, I want upgrade this to 6.1.1.
My database has 197 tables instead of 185, It has 12 extra tables such as "tagsasset,tagsassets_tagsentries,...".
I don't know how to migrate data folder to liferay 6.1.1 because liferay 6.1.1 doesn't have images folder.
When I add data folder same liferay 6.0.6 to new version and I use upgraded database (5.2.3 to 6.0.6 with 197tables) and startup liferay 6.1.1, after few minutes tomcat window(console) is closed.
Alireza Zare
RE: Liferay upgrade from 5.2.3 to 6.1.1
19 de diciembre de 2012 8:24
Respuesta

Alireza Zare

Ranking: Regular Member

Mensajes: 110

Fecha de incorporación: 3 de septiembre de 2010

Mensajes recientes

Have you looked at this link?
http://www.liferay.com/web/guest/community/wiki/-/wiki/Main/Upgrade+Instructions+%28disambiguation%29

I've not done the upgrade but you could find some information there.
Just don't rely on your version. Go trough all version to see if you find some information.

Best Regards,
Alireza
Ahmed Hasan
RE: Liferay upgrade from 5.2.3 to 6.1.1
19 de diciembre de 2012 11:00
Respuesta

Ahmed Hasan

Ranking: Expert

Mensajes: 303

Fecha de incorporación: 13 de abril de 2007

Mensajes recientes

Sister,

Please get in touch with my colleague Arun (arun@mpowerglobal.com) who has recently done this migration for a major client in Malaysia.
sepideh tajeri
RE: Liferay upgrade from 5.2.3 to 6.1.1
21 de diciembre de 2012 20:18
Respuesta

sepideh tajeri

Ranking: Junior Member

Mensajes: 32

Fecha de incorporación: 30 de octubre de 2011

Mensajes recientes

Thanks Ahmed.
sepideh tajeri
RE: Liferay upgrade from 5.2.3 to 6.1.1
22 de diciembre de 2012 0:00
Respuesta

sepideh tajeri

Ranking: Junior Member

Mensajes: 32

Fecha de incorporación: 30 de octubre de 2011

Mensajes recientes

I upgraded liferay portal from 5.2.3 version to 6.0.6, it has bellow error:

  1Oct 16, 2012 8:35:51 AM org.apache.catalina.core.AprLifecycleListener init
  2INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/server:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
  3Oct 16, 2012 8:35:51 AM org.apache.coyote.http11.Http11Protocol init
  4SEVERE: Error initializing endpoint
  5java.net.BindException: Address already in use <null>:8080
  6    at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:549)
  7    at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:176)
  8    at org.apache.catalina.connector.Connector.initialize(Connector.java:1014)
  9    at org.apache.catalina.core.StandardService.initialize(StandardService.java:680)
 10    at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:795)
 11    at org.apache.catalina.startup.Catalina.load(Catalina.java:524)
 12    at org.apache.catalina.startup.Catalina.load(Catalina.java:548)
 13    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 14    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 15    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 16    at java.lang.reflect.Method.invoke(Method.java:616)
 17    at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:261)
 18    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
 19Caused by: java.net.BindException: Address already in use
 20    at java.net.PlainSocketImpl.socketBind(Native Method)
 21    at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:353)
 22    at java.net.ServerSocket.bind(ServerSocket.java:336)
 23    at java.net.ServerSocket.<init>(ServerSocket.java:202)
 24    at java.net.ServerSocket.<init>(ServerSocket.java:158)
 25    at org.apache.tomcat.util.net.DefaultServerSocketFactory.createSocket(DefaultServerSocketFactory.java:50)
 26    at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:538)
 27    ... 12 more
 28Oct 16, 2012 8:35:51 AM org.apache.catalina.startup.Catalina load
 29SEVERE: Catalina.start
 30LifecycleException:  Protocol handler initialization failed: java.net.BindException: Address already in use <null>:8080
 31    at org.apache.catalina.connector.Connector.initialize(Connector.java:1016)
 32    at org.apache.catalina.core.StandardService.initialize(StandardService.java:680)
 33    at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:795)
 34    at org.apache.catalina.startup.Catalina.load(Catalina.java:524)
 35    at org.apache.catalina.startup.Catalina.load(Catalina.java:548)
 36    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 37    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 38    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 39    at java.lang.reflect.Method.invoke(Method.java:616)
 40    at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:261)
 41    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
 42Oct 16, 2012 8:35:51 AM org.apache.catalina.startup.Catalina load
 43INFO: Initialization processed in 1728 ms
 44Oct 16, 2012 8:35:52 AM org.apache.catalina.core.StandardService start
 45INFO: Starting service Catalina
 46Oct 16, 2012 8:35:52 AM org.apache.catalina.core.StandardEngine start
 47INFO: Starting Servlet Engine: Apache Tomcat/6.0.29
 48Oct 16, 2012 8:35:52 AM org.apache.catalina.startup.HostConfig deployDescriptor
 49INFO: Deploying configuration descriptor ROOT.xml
 50Loading jar:file:/opt/liferay-portal-6.0.6/tomcat-6.0.29/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/system.properties
 51Loading jar:file:/opt/liferay-portal-6.0.6/tomcat-6.0.29/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/portal.properties
 52Loading file:/opt/liferay-portal-6.0.6/tomcat-6.0.29/webapps/ROOT/WEB-INF/classes/portal-ext.properties
 5308:36:05,195 INFO  [DialectDetector:69] Determining dialect for MySQL 5
 5408:36:05,331 INFO  [DialectDetector:49] Using dialect org.hibernate.dialect.MySQLDialect
 5508:36:10,810 INFO  [PortalImpl:278] Global lib directory /opt/liferay-portal-6.0.6/tomcat-6.0.29/lib/ext/
 5608:36:10,812 INFO  [PortalImpl:298] Portal lib directory /opt/liferay-portal-6.0.6/tomcat-6.0.29/webapps/ROOT/WEB-INF/lib/
 57Starting Liferay Portal Community Edition 6.0.6 CE (Bunyan / Build 6006 / February 17, 2011)
 5808:36:30,500 ERROR [JDBCExceptionReporter:101] Table 'liferay5to6.Lock_' doesn't exist
 5908:36:31,606 INFO  [BaseDB:403] Database does not support case sensitive queries
 6008:36:31,636 INFO  [UpgradeProcess:108] Upgrading com.liferay.portal.upgrade.UpgradeProcess_6_0_0
 6108:36:31,638 INFO  [UpgradeProcess:108] Upgrading com.liferay.portal.upgrade.v6_0_0.UpgradeSchema
 6208:37:16,570 INFO  [UpgradeProcess:108] Upgrading com.liferay.portal.upgrade.v6_0_0.UpgradeAsset
 6308:40:41,766 INFO  [UpgradeProcess:108] Upgrading com.liferay.portal.upgrade.v6_0_0.UpgradeAssetPublisher
 6408:40:42,806 INFO  [UpgradeProcess:108] Upgrading com.liferay.portal.upgrade.v6_0_0.UpgradeBlogs
 6508:40:42,862 INFO  [Table:371] Starting backup of BlogsEntry to /opt/liferay-portal-6.0.6/tomcat-6.0.29/temp/temp-db-BlogsEntry-1350376842862
 6608:40:42,938 INFO  [Table:407] Finished backup of BlogsEntry to /opt/liferay-portal-6.0.6/tomcat-6.0.29/temp/temp-db-BlogsEntry-1350376842862 in 76 ms
 6708:40:42,959 INFO  [UpgradeProcess:108] Upgrading com.liferay.portal.upgrade.v6_0_0.UpgradeDocumentLibrary
 6808:40:43,665 INFO  [Table:371] Starting backup of DLFileEntry to /opt/liferay-portal-6.0.6/tomcat-6.0.29/temp/temp-db-DLFileEntry-1350376843665
 6908:40:43,717 INFO  [Table:407] Finished backup of DLFileEntry to /opt/liferay-portal-6.0.6/tomcat-6.0.29/temp/temp-db-DLFileEntry-1350376843665 in 52 ms
 7008:40:43,978 INFO  [Table:371] Starting backup of DLFileRank to /opt/liferay-portal-6.0.6/tomcat-6.0.29/temp/temp-db-DLFileRank-1350376843978
 7108:40:43,992 INFO  [Table:407] Finished backup of DLFileRank to /opt/liferay-portal-6.0.6/tomcat-6.0.29/temp/temp-db-DLFileRank-1350376843978 in 14 ms
 7208:40:44,141 INFO  [Table:371] Starting backup of DLFileShortcut to /opt/liferay-portal-6.0.6/tomcat-6.0.29/temp/temp-db-DLFileShortcut-1350376844141
 7308:40:44,144 INFO  [Table:407] Finished backup of DLFileShortcut to /opt/liferay-portal-6.0.6/tomcat-6.0.29/temp/temp-db-DLFileShortcut-1350376844141 in 3 ms
 7408:40:44,243 INFO  [Table:371] Starting backup of DLFileVersion to /opt/liferay-portal-6.0.6/tomcat-6.0.29/temp/temp-db-DLFileVersion-1350376844243
 7508:40:44,252 INFO  [Table:407] Finished backup of DLFileVersion to /opt/liferay-portal-6.0.6/tomcat-6.0.29/temp/temp-db-DLFileVersion-1350376844243 in 9 ms
 7608:40:44,363 INFO  [UpgradeProcess:108] Upgrading com.liferay.portal.upgrade.v6_0_0.UpgradeExpando
 7708:40:44,372 INFO  [UpgradeProcess:108] Upgrading com.liferay.portal.upgrade.v6_0_0.UpgradeGroup
 7808:40:44,427 INFO  [UpgradeProcess:108] Upgrading com.liferay.portal.upgrade.v6_0_0.UpgradeJournal
 7908:40:50,266 INFO  [UpgradeProcess:108] Upgrading com.liferay.portal.upgrade.v6_0_0.UpgradePolls
 8008:40:50,590 INFO  [UpgradeProcess:108] Upgrading com.liferay.portal.upgrade.v6_0_0.UpgradePortletId
 8108:40:51,092 INFO  [UpgradeProcess:108] Upgrading com.liferay.portal.upgrade.v6_0_0.UpgradeResourceAction
 8208:40:51,247 INFO  [UpgradeProcess:108] Upgrading com.liferay.portal.upgrade.v6_0_0.UpgradeShopping
 8308:40:51,660 INFO  [UpgradeProcess:108] Upgrading com.liferay.portal.upgrade.v6_0_0.UpgradeSocial
 8408:40:52,125 INFO  [Table:371] Starting backup of SocialActivity to /opt/liferay-portal-6.0.6/tomcat-6.0.29/temp/temp-db-SocialActivity-1350376852125
 8508:40:52,132 INFO  [Table:407] Finished backup of SocialActivity to /opt/liferay-portal-6.0.6/tomcat-6.0.29/temp/temp-db-SocialActivity-1350376852125 in 7 ms
 8608:40:52,263 INFO  [Table:371] Starting backup of SocialRelation to /opt/liferay-portal-6.0.6/tomcat-6.0.29/temp/temp-db-SocialRelation-1350376852263
 8708:40:52,266 INFO  [Table:407] Finished backup of SocialRelation to /opt/liferay-portal-6.0.6/tomcat-6.0.29/temp/temp-db-SocialRelation-1350376852263 in 3 ms
 8808:40:52,412 INFO  [Table:371] Starting backup of SocialRequest to /opt/liferay-portal-6.0.6/tomcat-6.0.29/temp/temp-db-SocialRequest-1350376852412
 8908:40:52,417 INFO  [Table:407] Finished backup of SocialRequest to /opt/liferay-portal-6.0.6/tomcat-6.0.29/temp/temp-db-SocialRequest-1350376852412 in 5 ms
 9008:40:52,527 INFO  [UpgradeProcess:108] Upgrading com.liferay.portal.upgrade.v6_0_0.UpgradeWiki
 9108:40:53,150 INFO  [UpgradeProcess:108] Upgrading com.liferay.portal.upgrade.UpgradeProcess_6_0_1
 9208:40:53,151 INFO  [UpgradeProcess:108] Upgrading com.liferay.portal.upgrade.v6_0_1.UpgradeSchema
 9308:40:53,349 INFO  [UpgradeProcess:108] Upgrading com.liferay.portal.upgrade.v6_0_1.UpgradeDocumentLibrary
 9408:40:53,447 INFO  [UpgradeProcess:108] Upgrading com.liferay.portal.upgrade.UpgradeProcess_6_0_2
 9508:40:53,448 INFO  [UpgradeProcess:108] Upgrading com.liferay.portal.upgrade.v6_0_2.UpgradeSchema
 9608:40:58,684 INFO  [UpgradeProcess:108] Upgrading com.liferay.portal.upgrade.v6_0_2.UpgradeExpando
 9708:40:58,691 INFO  [UpgradeProcess:108] Upgrading com.liferay.portal.upgrade.v6_0_2.UpgradeNestedPortlets
 9808:40:58,718 INFO  [UpgradeProcess:108] Upgrading com.liferay.portal.upgrade.UpgradeProcess_6_0_3
 9908:40:58,719 INFO  [UpgradeProcess:108] Upgrading com.liferay.portal.upgrade.v6_0_3.UpgradeSchema
10008:41:02,539 WARN  [BaseDB:376] Duplicate column name 'minSymbols': alter table PasswordPolicy add minSymbols INTEGER;
10108:41:03,468 INFO  [UpgradeProcess:108] Upgrading com.liferay.portal.upgrade.v6_0_3.UpgradeAsset
10208:46:00,901 INFO  [UpgradeProcess:108] Upgrading com.liferay.portal.upgrade.v6_0_3.UpgradeAssetPublisher
10308:46:01,981 INFO  [UpgradeProcess:108] Upgrading com.liferay.portal.upgrade.v6_0_3.UpgradeDocumentLibrary
10408:46:02,083 INFO  [UpgradeProcess:108] Upgrading com.liferay.portal.upgrade.v6_0_3.UpgradeLookAndFeel
10508:46:02,594 INFO  [UpgradeProcess:108] Upgrading com.liferay.portal.upgrade.v6_0_3.UpgradePermission
10608:46:03,478 INFO  [UpgradeProcess:108] Upgrading com.liferay.portal.upgrade.v6_0_3.UpgradeScopes
10708:46:04,066 ERROR [JDBCExceptionReporter:101] Duplicate entry '14302-0-/?????-????-?-????????' for key 'IX_BC2C4231'
10808:46:04,117 ERROR [MainServlet:202] com.liferay.portal.kernel.events.ActionException: com.liferay.portal.kernel.upgrade.UpgradeException: com.liferay.portal.kernel.upgrade.UpgradeException: java.lang.reflect.InvocationTargetException
109com.liferay.portal.kernel.events.ActionException: com.liferay.portal.kernel.upgrade.UpgradeException: com.liferay.portal.kernel.upgrade.UpgradeException: java.lang.reflect.InvocationTargetException
110    at com.liferay.portal.events.StartupAction.run(StartupAction.java:53)
111    at com.liferay.portal.servlet.MainServlet.processStartupEvents(MainServlet.java:1166)
112    at com.liferay.portal.servlet.MainServlet.init(MainServlet.java:199)
113    at javax.servlet.GenericServlet.init(GenericServlet.java:212)
114    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173)
115    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993)
116    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4350)
117    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4659)
118    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
119    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
120    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)
121    at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:637)
122    at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:563)
123    at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498)
124    at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
125    at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
126    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
127    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
128    at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
129    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
130    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)
131    at org.apache.catalina.core.StandardService.start(StandardService.java:519)
132    at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
133    at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
134    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
135    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
136    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
137    at java.lang.reflect.Method.invoke(Method.java:616)
138    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
139    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
140Caused by: com.liferay.portal.kernel.upgrade.UpgradeException: com.liferay.portal.kernel.upgrade.UpgradeException: java.lang.reflect.InvocationTargetException
141    at com.liferay.portal.kernel.upgrade.UpgradeProcess.upgrade(UpgradeProcess.java:114)
142    at com.liferay.portal.upgrade.UpgradeProcessUtil._upgradeProcess(UpgradeProcessUtil.java:80)
143    at com.liferay.portal.upgrade.UpgradeProcessUtil.upgradeProcess(UpgradeProcessUtil.java:37)
144    at com.liferay.portal.events.StartupHelper.upgradeProcess(StartupHelper.java:73)
145    at com.liferay.portal.events.StartupHelperUtil.upgradeProcess(StartupHelperUtil.java:40)
146    at com.liferay.portal.tools.DBUpgrader.upgrade(DBUpgrader.java:94)
147    at com.liferay.portal.events.StartupAction.doRun(StartupAction.java:117)
148    at com.liferay.portal.events.StartupAction.run(StartupAction.java:47)
149    ... 29 more
150Caused by: com.liferay.portal.kernel.upgrade.UpgradeException: java.lang.reflect.InvocationTargetException
151    at com.liferay.portal.kernel.upgrade.UpgradeProcess.upgrade(UpgradeProcess.java:114)
152    at com.liferay.portal.kernel.upgrade.UpgradeProcess.upgrade(UpgradeProcess.java:130)
153    at com.liferay.portal.upgrade.UpgradeProcess_6_0_3.doUpgrade(UpgradeProcess_6_0_3.java:44)
154    at com.liferay.portal.kernel.upgrade.UpgradeProcess.upgrade(UpgradeProcess.java:111)
155    ... 36 more
156Caused by: java.lang.reflect.InvocationTargetException
157    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
158    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
159    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
160    at java.lang.reflect.Method.invoke(Method.java:616)
161    at com.liferay.portal.kernel.util.MethodHandler.invoke(MethodHandler.java:81)
162    at com.liferay.portal.kernel.util.MethodHandler.invoke(MethodHandler.java:75)
163    at com.liferay.portal.verify.VerifyUUID.verifyModel(VerifyUUID.java:91)
164    at com.liferay.portal.verify.VerifyUUID.verifyModel(VerifyUUID.java:62)
165    at com.liferay.portal.upgrade.v6_0_3.UpgradeScopes.doUpgrade(UpgradeScopes.java:33)
166    at com.liferay.portal.kernel.upgrade.UpgradeProcess.upgrade(UpgradeProcess.java:111)
167    ... 39 more
168Caused by: com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update
169    at com.liferay.portal.service.persistence.impl.BasePersistenceImpl.processException(BasePersistenceImpl.java:195)
170    at com.liferay.portal.service.persistence.LayoutPersistenceImpl.updateImpl(LayoutPersistenceImpl.java:468)
171    at com.liferay.portal.service.persistence.LayoutPersistenceImpl.updateImpl(LayoutPersistenceImpl.java:1)
172    at com.liferay.portal.service.persistence.impl.BasePersistenceImpl.update(BasePersistenceImpl.java:262)
173    at com.liferay.portal.service.base.LayoutLocalServiceBaseImpl.updateLayout(LayoutLocalServiceBaseImpl.java:398)
174    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
175    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
176    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
177    at java.lang.reflect.Method.invoke(Method.java:616)
178    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
179    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
180    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
181    at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:82)
182    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58)
183    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58)
184    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58)
185    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58)
186    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
187    at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
188    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
189    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
190    at $Proxy28.updateLayout(Unknown Source)
191    at com.liferay.portal.service.LayoutLocalServiceUtil.updateLayout(LayoutLocalServiceUtil.java:224)
192    ... 49 more
193Caused by: com.liferay.portal.kernel.dao.orm.ORMException: org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update
194    at com.liferay.portal.dao.orm.hibernate.ExceptionTranslator.translate(ExceptionTranslator.java:30)
195    at com.liferay.portal.dao.orm.hibernate.SessionImpl.flush(SessionImpl.java:111)
196    at sun.reflect.GeneratedMethodAccessor138.invoke(Unknown Source)
197    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
198    at java.lang.reflect.Method.invoke(Method.java:616)
199    at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:54)
200    at $Proxy234.flush(Unknown Source)
201    at com.liferay.portal.service.persistence.BatchSessionImpl.update(BatchSessionImpl.java:95)
202    at com.liferay.portal.service.persistence.BatchSessionUtil.update(BatchSessionUtil.java:49)
203    at com.liferay.portal.service.persistence.LayoutPersistenceImpl.updateImpl(LayoutPersistenceImpl.java:463)
204    ... 70 more
205Caused by: org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update
206    at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:96)
207    at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
208    at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:275)
209    at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:263)
210    at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:180)
211    at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)
212    at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:51)
213    at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1206)
214    at com.liferay.portal.dao.orm.hibernate.SessionImpl.flush(SessionImpl.java:108)
215    ... 78 more
216Caused by: java.sql.BatchUpdateException: Duplicate entry '14302-0-/?????-????-?-????????' for key 'IX_BC2C4231'
217    at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:1257)
218    at com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:943)
219    at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeBatch(NewProxyPreparedStatement.java:1723)
220    at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:70)
221    at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:268)
222    ... 84 more
223Stopping the server due to unexpected startup errors

and after this error, tomcat windows is closed. What shall I do?
Jelmer Kuperus
RE: Liferay upgrade from 5.2.3 to 6.1.1
22 de diciembre de 2012 1:21
Respuesta

Jelmer Kuperus

Ranking: Liferay Legend

Mensajes: 1190

Fecha de incorporación: 10 de marzo de 2010

Mensajes recientes

That most likely means that you still have a liferay instance running in the background

check your process list and kill all java processes
sepideh tajeri
RE: Liferay upgrade from 5.2.3 to 6.1.1
22 de diciembre de 2012 3:48
Respuesta

sepideh tajeri

Ranking: Junior Member

Mensajes: 32

Fecha de incorporación: 30 de octubre de 2011

Mensajes recientes

Hi Jelmer
I check my process list and kill all java processes and I reboot my server,
When I startup my liferay again, I have that error.
Jelmer Kuperus
RE: Liferay upgrade from 5.2.3 to 6.1.1
22 de diciembre de 2012 5:37
Respuesta

Jelmer Kuperus

Ranking: Liferay Legend

Mensajes: 1190

Fecha de incorporación: 10 de marzo de 2010

Mensajes recientes

assuming you are deploying to linux you can run

1sudo netstat -aopn | grep LISTEN | grep 8080


to find out what the id is of the process that is using that port

on windows you can use tcpview
Jack Bakker
RE: Liferay upgrade from 5.2.3 to 6.1.1
22 de diciembre de 2012 8:19
Respuesta

Jack Bakker

Ranking: Liferay Master

Mensajes: 500

Fecha de incorporación: 3 de enero de 2010

Mensajes recientes

if on linux u might have a tomcat starting at startup ; remove it from startup
sepideh tajeri
RE: Liferay upgrade from 5.2.3 to 6.1.1
23 de diciembre de 2012 2:06
Respuesta

sepideh tajeri

Ranking: Junior Member

Mensajes: 32

Fecha de incorporación: 30 de octubre de 2011

Mensajes recientes

Thanks my friends for your answers.
I'm sure that all of my procees on server are shutdown, but I have same errorsemoticon
sepideh tajeri
RE: Liferay upgrade from 5.2.3 to 6.1.1
23 de diciembre de 2012 2:11
Respuesta

sepideh tajeri

Ranking: Junior Member

Mensajes: 32

Fecha de incorporación: 30 de octubre de 2011

Mensajes recientes

Hi Jelmer
I use this command
1sudo netstat -aopn | grep LISTEN | grep 8080

and it didn't show me any open port.
Jelmer Kuperus
RE: Liferay upgrade from 5.2.3 to 6.1.1
23 de diciembre de 2012 7:52
Respuesta

Jelmer Kuperus

Ranking: Liferay Legend

Mensajes: 1190

Fecha de incorporación: 10 de marzo de 2010

Mensajes recientes

Can you execute : telnet localhost 8080

before you start the server to see if you can connect on that port ?

If you can't check your tomcat/conf/server.xml file

See if you have any duplicate connectors in there and check what port you have configured on the server element