フォーラム

ホーム » Liferay Portal » Português

構造的に表示 平面上に表示 ツリー上に表示
スレッド [ 前へ | 次へ ]
toggle
Marcelo Guimarães Melo
Migração Liferay 5.2.3 para 6.0.6 CE
2012/03/28 18:35
答え

Marcelo Guimarães Melo

ランク: Regular Member

投稿: 230

参加年月日: 2008/09/29

最近の投稿

Pessoal,

Eu fiz a migração do liferay 5.2.3CE para o 6.0.6E, a princípio foi tudo bem, mas quando eu tento inserir uma nova imagem na Galeria de Imagem, ocorre o seguinte erro^

  118:40:23,976 ERROR [jsp:154] com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: org.hibernate.exception.DataException: Could not execute JDBC batch update
  2    at com.liferay.portal.service.persistence.impl.BasePersistenceImpl.processException(BasePersistenceImpl.java:195)
  3    at com.liferay.portlet.social.service.persistence.SocialActivityPersistenceImpl.updateImpl(SocialActivityPersistenceImpl.java:411)
  4    at com.liferay.portlet.social.service.persistence.SocialActivityPersistenceImpl.updateImpl(SocialActivityPersistenceImpl.java:1)
  5    at com.liferay.portal.service.persistence.impl.BasePersistenceImpl.update(BasePersistenceImpl.java:262)
  6    at com.liferay.portlet.social.service.impl.SocialActivityLocalServiceImpl.addActivity(SocialActivityLocalServiceImpl.java:78)
  7    at com.liferay.portlet.social.service.impl.SocialActivityLocalServiceImpl.addActivity(SocialActivityLocalServiceImpl.java:127)
  8    at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:82)
  9    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58)
 10    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58)
 11    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58)
 12    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58)
 13    at com.liferay.portlet.imagegallery.service.impl.IGImageLocalServiceImpl.addImage(IGImageLocalServiceImpl.java:174)
 14    at com.liferay.portlet.imagegallery.service.impl.IGImageLocalServiceImpl.addImage(IGImageLocalServiceImpl.java:76)
 15    at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:82)
 16    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58)
 17    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58)
 18    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58)
 19    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58)
 20    at com.liferay.portlet.imagegallery.service.impl.IGImageServiceImpl.addImage(IGImageServiceImpl.java:46)
 21    at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:82)
 22Caused by: com.liferay.portal.kernel.dao.orm.ORMException: org.hibernate.exception.DataException: Could not execute JDBC batch update
 23    at com.liferay.portal.dao.orm.hibernate.ExceptionTranslator.translate(ExceptionTranslator.java:30)
 24    at com.liferay.portal.dao.orm.hibernate.SessionImpl.flush(SessionImpl.java:111)
 25    at sun.reflect.GeneratedMethodAccessor283.invoke(Unknown Source)
 26    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 27    at java.lang.reflect.Method.invoke(Method.java:616)
 28    at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:54)
 29    at $Proxy234.flush(Unknown Source)
 30    at com.liferay.portal.service.persistence.BatchSessionImpl.update(BatchSessionImpl.java:95)
 31    at com.liferay.portal.service.persistence.BatchSessionUtil.update(BatchSessionUtil.java:49)
 32    at com.liferay.portlet.social.service.persistence.SocialActivityPersistenceImpl.updateImpl(SocialActivityPersistenceImpl.java:406)
 33    at com.liferay.portlet.social.service.persistence.SocialActivityPersistenceImpl.updateImpl(SocialActivityPersistenceImpl.java:1)
 34    at com.liferay.portal.service.persistence.impl.BasePersistenceImpl.update(BasePersistenceImpl.java:262)
 35    at com.liferay.portlet.social.service.impl.SocialActivityLocalServiceImpl.addActivity(SocialActivityLocalServiceImpl.java:78)
 36    at com.liferay.portlet.social.service.impl.SocialActivityLocalServiceImpl.addActivity(SocialActivityLocalServiceImpl.java:127)
 37    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 38    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 39    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 40    at java.lang.reflect.Method.invoke(Method.java:616)
 41    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
 42    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
 43    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
 44    at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:82)
 45    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58)
 46    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58)
 47    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58)
 48    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58)
 49    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
 50    at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
 51    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
 52    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
 53    at $Proxy155.addActivity(Unknown Source)
 54    at com.liferay.portlet.imagegallery.service.impl.IGImageLocalServiceImpl.addImage(IGImageLocalServiceImpl.java:174)
 55    at com.liferay.portlet.imagegallery.service.impl.IGImageLocalServiceImpl.addImage(IGImageLocalServiceImpl.java:76)
 56    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 57    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 58    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 59    at java.lang.reflect.Method.invoke(Method.java:616)
 60    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
 61    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
 62    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
 63    at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:82)
 64    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58)
 65    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58)
 66    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58)
 67    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58)
 68    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
 69    at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
 70    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
 71    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
 72    at $Proxy203.addImage(Unknown Source)
 73    at com.liferay.portlet.imagegallery.service.impl.IGImageServiceImpl.addImage(IGImageServiceImpl.java:46)
 74    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 75    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 76    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 77    at java.lang.reflect.Method.invoke(Method.java:616)
 78    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
 79    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
 80    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
 81    at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:82)
 82    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58)
 83    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58)
 84    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58)
 85    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58)
 86    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
 87    at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
 88    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
 89    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
 90    at $Proxy204.addImage(Unknown Source)
 91    at com.liferay.portlet.imagegallery.service.IGImageServiceUtil.addImage(IGImageServiceUtil.java:45)
 92    at com.liferay.portlet.imagegallery.action.EditImageAction.updateImage(EditImageAction.java:190)
 93    at com.liferay.portlet.imagegallery.action.EditImageAction.processAction(EditImageAction.java:69)
 94    at com.liferay.portal.struts.PortletRequestProcessor.process(PortletRequestProcessor.java:169)
 95    at com.liferay.portlet.StrutsPortlet.processAction(StrutsPortlet.java:186)
 96    at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:70)
 97    at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:48)
 98    at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:652)
 99    at com.liferay.portlet.InvokerPortletImpl.invokeAction(InvokerPortletImpl.java:687)
100    at com.liferay.portlet.InvokerPortletImpl.processAction(InvokerPortletImpl.java:360)
101    at com.liferay.portal.action.LayoutAction.processPortletRequest(LayoutAction.java:784)
102    at com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.java:582)
103    at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:232)
104    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
105    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
106    at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:153)
107    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
108    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
109    at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
110    at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:508)
111    at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:485)
112    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
113    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
114    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
115    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
116    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)
117    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
118    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
119    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
120    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)
121    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
122    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
123    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
124    at com.liferay.portal.servlet.filters.strip.StripFilter.processFilter(StripFilter.java:309)
125    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
126    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
127    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
128    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
129    at com.liferay.portal.servlet.filters.themepreview.ThemePreviewFilter.processFilter(ThemePreviewFilter.java:88)
130    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
131    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
132    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
133    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
134    at com.liferay.portal.servlet.filters.gzip.GZipFilter.processFilter(GZipFilter.java:121)
135    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
136    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
137    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
138    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
139    at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:182)
140    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
141    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
142    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
143    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
144    at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:254)
145    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
146    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
147    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
148    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
149    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
150    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
151    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
152    at com.liferay.portal.servlet.FriendlyURLServlet.service(FriendlyURLServlet.java:134)
153    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
154    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
155    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
156    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
157    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)
158    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
159    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
160    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
161    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)
162    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
163    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
164    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
165    at com.liferay.portal.servlet.filters.strip.StripFilter.processFilter(StripFilter.java:261)
166    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
167    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
168    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
169    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
170    at com.liferay.portal.servlet.filters.themepreview.ThemePreviewFilter.processFilter(ThemePreviewFilter.java:88)
171    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
172    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
173    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
174    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
175    at com.liferay.portal.servlet.filters.gzip.GZipFilter.processFilter(GZipFilter.java:110)
176    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
177    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
178    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
179    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
180    at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:182)
181    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
182    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
183    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
184    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
185    at com.liferay.portal.servlet.filters.i18n.I18nFilter.processFilter(I18nFilter.java:222)
186    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
187    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
188    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
189    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
190    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)
191    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
192    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
193    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
194    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)
195    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
196    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
197    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
198    at com.liferay.portal.servlet.filters.etag.ETagFilter.processFilter(ETagFilter.java:45)
199    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
200    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
201    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
202    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
203    at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:254)
204    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
205    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
206    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
207    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
208    at com.liferay.portal.servlet.filters.sso.ntlm.NtlmPostFilter.processFilter(NtlmPostFilter.java:81)
209    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
210    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
211    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
212    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
213    at com.liferay.portal.sharepoint.SharepointFilter.processFilter(SharepointFilter.java:179)
214    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
215    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
216    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
217    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
218    at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.processFilter(VirtualHostFilter.java:240)
219    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
220    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
221    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
222    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
223    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)
224    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
225    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
226    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
227    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)
228    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
229    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
230    at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)
231    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
232    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
233    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
234    at com.liferay.portal.servlet.filters.threadlocal.ThreadLocalFilter.processFilter(ThreadLocalFilter.java:35)
235    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
236    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
237    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
238    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
239    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
240    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470)
241    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
242    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
243    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
244    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
245    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
246    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
247    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
248    at java.lang.Thread.run(Thread.java:679)
249Caused by: org.hibernate.exception.DataException: Could not execute JDBC batch update
250    at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:102)
251    at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
252    at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:275)
253    at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:263)
254    at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:179)
255    at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)
256    at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:51)
257    at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1206)
258    at com.liferay.portal.dao.orm.hibernate.SessionImpl.flush(SessionImpl.java:108)
259    ... 224 more
260Caused by: java.sql.BatchUpdateException: Data truncation: Incorrect datetime value: '1332960021397' for column 'createDate' at row 1
261    at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:1257)
262    at com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:943)
263    at org.apache.tomcat.dbcp.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:297)
264    at org.apache.tomcat.dbcp.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:297)
265    at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:70)
266    at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:268)
267    ... 230 more


Alguém poderia me ajudar?

Obrigado,

Marcelo
Marcelo Guimarães Melo
RE: Migração Liferay 5.2.3 para 6.0.6 CE
2012/03/29 8:31
答え

Marcelo Guimarães Melo

ランク: Regular Member

投稿: 230

参加年月日: 2008/09/29

最近の投稿

Solução

O Liferay na versão 5.2.3 tabela SocialActivity utiliza o campo createDate do tipo createDate e na versão 6.0.6 utiliza o tipo bigint, o seguinte script resolve o problema:

 1create table SocialActivityTemp (
 2 activityId bigint not null primary key,
 3 groupId bigint,
 4 companyId bigint,
 5 userId bigint,
 6 createDate bigint,
 7 mirrorActivityId bigint,
 8 classNameId bigint,
 9 classPK bigint,
10 type_ integer,
11 extraData longtext null,
12 receiverUserId bigint
13) engine InnoDB;
14insert into SocialActivityTemp select activityId, groupId, companyId, userId, unix_timestamp(createDate), mirrorActivityId, classNameId, classPK, type_, extraData, receiverUserId from SocialActivity;
15drop table SocialActivity;
16create table SocialActivity (
17 activityId bigint not null primary key,
18 groupId bigint,
19 companyId bigint,
20 userId bigint,
21 createDate bigint,
22 mirrorActivityId bigint,
23 classNameId bigint,
24 classPK bigint,
25 type_ integer,
26 extraData longtext null,
27 receiverUserId bigint
28) engine InnoDB;
29insert into SocialActivity select * from SocialActivityTemp;
30drop table SocialActivityTemp;


Abs,

Marcelo