0

portal-ext.properties にデータベースを変更する手順を追加し、SQLServer2005 でデータベースを作成しました。 create database lportal tomcat を起動すると、次のエラーが発生しました: `

INFO: Deploying web application directory knowledge-base-portlet
12:54:46,782 ERROR [JDBCExceptionReporter:234] Data truncation
12:54:46,783 ERROR [JDBCExceptionReporter:234] String or binary data would be tr
uncated.
12:54:46,795 ERROR [SerialDestination:104] Unable to process message {destinatio
nName=liferay/hot_deploy, response=null, responseDestinationName=null, responseI
d=null, payload=null, values={principalPassword=null, principalName=null, comman
d=deploy, companyId=0, servletContextName=kaleo-web}}
com.liferay.portal.kernel.messaging.MessageListenerException: com.liferay.portal
.kernel.workflow.WorkflowException: com.liferay.portal.kernel.exception.SystemEx
ception: com.liferay.portal.kernel.dao.orm.ORMException: org.hibernate.exception
.DataException: Could not execute JDBC batch update
        at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseM
essageListener.java:31)
        at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(In
vokerMessageListener.java:65)
        at com.liferay.portal.kernel.messaging.SerialDestination$1.run(SerialDes
tination.java:101)
        at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._r
unTask(ThreadPoolExecutor.java:669)
        at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.ru
n(ThreadPoolExecutor.java:580)
        at java.lang.Thread.run(Thread.java:662)
Caused by: com.liferay.portal.kernel.workflow.WorkflowException: com.liferay.por
tal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMExcep
tion: org.hibernate.exception.DataException: Could not execute JDBC batch update

        at com.liferay.portal.workflow.kaleo.runtime.DefaultWorkflowEngineImpl.d
eployWorkflowDefinition(DefaultWorkflowEngineImpl.java:107)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti
on(AopUtils.java:309)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo
inpoint(ReflectiveMethodInvocation.java:183)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:150)
        at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(T
ransactionInterceptor.java:71)
        at com.liferay.portal.dao.jdbc.aop.DynamicDataSourceTransactionIntercept
or.invoke(DynamicDataSourceTransactionInterceptor.java:44)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invok
e(ExposeInvocationInterceptor.java:89)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami
cAopProxy.java:202)
        at com.sun.proxy.$Proxy346.deployWorkflowDefinition(Unknown Source)
        at com.liferay.portal.workflow.kaleo.WorkflowDefinitionManagerImpl.deplo
yWorkflowDefinition(WorkflowDefinitionManagerImpl.java:47)
        at com.liferay.portal.workflow.kaleo.manager.DefaultPortalKaleoManager.d
eployDefaultDefinitions(DefaultPortalKaleoManager.java:160)
        at com.liferay.portal.workflow.kaleo.manager.DefaultPortalKaleoManager.d
eployDefaultDefinitions(DefaultPortalKaleoManager.java:121)
        at com.liferay.portal.workflow.kaleo.manager.DefaultPortalKaleoManager.d
eployKaleoDefaults(DefaultPortalKaleoManager.java:199)
        at com.liferay.portal.workflow.kaleo.manager.messaging.KaleoDeploymentEv
entMessageListener.doReceive(KaleoDeploymentEventMessageListener.java:48)
        at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseM
essageListener.java:25)
        ... 5 more
Caused by: com.liferay.portal.kernel.exception.SystemException: com.liferay.port
al.kernel.dao.orm.ORMException: org.hibernate.exception.DataException: Could not
 execute JDBC batch update
        at com.liferay.portal.service.persistence.impl.BasePersistenceImpl.proce
ssException(BasePersistenceImpl.java:190)
        at com.liferay.portal.workflow.kaleo.service.persistence.KaleoDefinition
PersistenceImpl.updateImpl(KaleoDefinitionPersistenceImpl.java:431)
        at com.liferay.portal.workflow.kaleo.service.persistence.KaleoDefinition
PersistenceImpl.updateImpl(KaleoDefinitionPersistenceImpl.java:1)
        at com.liferay.portal.service.persistence.impl.BasePersistenceImpl.updat
e(BasePersistenceImpl.java:254)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti
on(AopUtils.java:309)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo
inpoint(ReflectiveMethodInvocation.java:183)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:150)
        at com.liferay.portal.dao.shard.advice.ShardPersistenceAdvice.invoke(Sha
rdPersistenceAdvice.java:52)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invok
e(ExposeInvocationInterceptor.java:89)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami
cAopProxy.java:202)
        at com.sun.proxy.$Proxy299.update(Unknown Source)
        at com.liferay.portal.workflow.kaleo.service.impl.KaleoDefinitionLocalSe
rviceImpl.addKaleoDefinition(KaleoDefinitionLocalServiceImpl.java:116)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(Ser
viceBeanMethodInvocation.java:112)
        at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(T
ransactionInterceptor.java:71)
        at com.liferay.portal.dao.jdbc.aop.DynamicDataSourceTransactionIntercept
or.invoke(DynamicDataSourceTransactionInterceptor.java:44)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(Ser
viceBeanMethodInvocation.java:108)
        at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(T
ransactionInterceptor.java:71)
        at com.liferay.portal.dao.jdbc.aop.DynamicDataSourceTransactionIntercept
or.invoke(DynamicDataSourceTransactionInterceptor.java:44)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(Ser
viceBeanMethodInvocation.java:108)
        at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableM
ethodAdvice.java:59)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(Ser
viceBeanMethodInvocation.java:108)
        at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableM
ethodAdvice.java:59)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(Ser
viceBeanMethodInvocation.java:108)
        at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableM
ethodAdvice.java:59)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(Ser
viceBeanMethodInvocation.java:108)
        at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanA
opProxy.java:211)
        at com.sun.proxy.$Proxy316.addKaleoDefinition(Unknown Source)
        at com.liferay.portal.workflow.kaleo.service.KaleoDefinitionLocalService
Util.addKaleoDefinition(KaleoDefinitionLocalServiceUtil.java:290)
        at com.liferay.portal.workflow.kaleo.deployment.DefaultWorkflowDeployer.
deploy(DefaultWorkflowDeployer.java:61)
        at com.liferay.portal.workflow.kaleo.runtime.DefaultWorkflowEngineImpl.d
eployWorkflowDefinition(DefaultWorkflowEngineImpl.java:101)
        ... 25 more
Caused by: com.liferay.portal.kernel.dao.orm.ORMException: org.hibernate.excepti
on.DataException: Could not execute JDBC batch update
        at com.liferay.portal.dao.orm.hibernate.ExceptionTranslator.translate(Ex
ceptionTranslator.java:30)
        at com.liferay.portal.dao.orm.hibernate.SessionImpl.flush(SessionImpl.ja
va:122)
        at com.liferay.portal.kernel.dao.orm.ClassLoaderSession.flush(ClassLoade
rSession.java:218)
        at com.liferay.portal.service.persistence.BatchSessionImpl.update(BatchS
essionImpl.java:95)
        at com.liferay.portal.service.persistence.BatchSessionUtil.update(BatchS
essionUtil.java:49)
        at com.liferay.portal.workflow.kaleo.service.persistence.KaleoDefinition
PersistenceImpl.updateImpl(KaleoDefinitionPersistenceImpl.java:426)
        ... 63 more
Caused by: org.hibernate.exception.DataException: Could not execute JDBC batch u
pdate
        at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.j
ava:102)
        at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelp
er.java:66)
        at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:
275)
        at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:268)

        at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:184)

        at org.hibernate.event.def.AbstractFlushingEventListener.performExecutio
ns(AbstractFlushingEventListener.java:321)
        at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlus
hEventListener.java:51)
        at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1216)
        at com.liferay.portal.dao.orm.hibernate.SessionImpl.flush(SessionImpl.ja
va:119)
        ... 67 more
Caused by: java.sql.BatchUpdateException: Data truncation
        at net.sourceforge.jtds.jdbc.JtdsStatement.executeBatch(JtdsStatement.ja
va:947)
        at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeBatch(NewPr
oxyPreparedStatement.java:1723)
        at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.jav
a:70)
        at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:
268)
        ... 73 more

`

ブラウザでページを見ることは可能ですが、この問題を解決したいと思います。誰かがその問題を解決するのを手伝ってくれませんか。前もって感謝します

4

0 に答える 0