Combination View Flat View Tree View
Threads [ Previous | Next ]
Vincenzo Giancaterino
CMIS:Migration from 6.0.4 to 6.0.5
August 31, 2010 9:33 AM
Answer

Vincenzo Giancaterino

Rank: New Member

Posts: 7

Join Date: August 3, 2010

Recent Posts

After migration from 6.0.4 to 6.0.5 I receive the following error in log

2010-08-31 17:28:11,666 ERROR (liferay/scheduler_dispatch) Exception in thread "liferay/scheduler_dispatch"
2010-08-31 17:28:11,666 ERROR (liferay/scheduler_dispatch) java.lang.ExceptionInInitializerError
2010-08-31 17:28:11,667 ERROR (liferay/scheduler_dispatch) at com.liferay.documentlibrary.util.CMISHook.<init>(CMISHook.java:54)
2010-08-31 17:28:11,667 ERROR (liferay/scheduler_dispatch) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
2010-08-31 17:28:11,667 ERROR (liferay/scheduler_dispatch) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
2010-08-31 17:28:11,667 ERROR (liferay/scheduler_dispatch) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
2010-08-31 17:28:11,667 ERROR (liferay/scheduler_dispatch) at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
2010-08-31 17:28:11,667 ERROR (liferay/scheduler_dispatch) at java.lang.Class.newInstance0(Class.java:355)
2010-08-31 17:28:11,667 ERROR (liferay/scheduler_dispatch) at java.lang.Class.newInstance(Class.java:308)
2010-08-31 17:28:11,667 ERROR (liferay/scheduler_dispatch) at com.liferay.documentlibrary.util.HookFactory.getInstance(HookFactory.java:37)
2010-08-31 17:28:11,668 ERROR (liferay/scheduler_dispatch) at com.liferay.documentlibrary.util.HookProxyImpl.addDirectory(HookProxyImpl.java:35)
2010-08-31 17:28:11,668 ERROR (liferay/scheduler_dispatch) at com.liferay.documentlibrary.util.SafeFileNameHookWrapper.addDirectory(SafeFileNameHookWrapper.java:51)
2010-08-31 17:28:11,668 ERROR (liferay/scheduler_dispatch) at com.liferay.documentlibrary.service.impl.DLServiceImpl.addDirectory(DLServiceImpl.java:64)
2010-08-31 17:28:11,668 ERROR (liferay/scheduler_dispatch) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2010-08-31 17:28:11,668 ERROR (liferay/scheduler_dispatch) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2010-08-31 17:28:11,668 ERROR (liferay/scheduler_dispatch) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2010-08-31 17:28:11,668 ERROR (liferay/scheduler_dispatch) at java.lang.reflect.Method.invoke(Method.java:597)
2010-08-31 17:28:11,668 ERROR (liferay/scheduler_dispatch) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
2010-08-31 17:28:11,668 ERROR (liferay/scheduler_dispatch) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
2010-08-31 17:28:11,668 ERROR (liferay/scheduler_dispatch) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
2010-08-31 17:28:11,668 ERROR (liferay/scheduler_dispatch) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
2010-08-31 17:28:11,668 ERROR (liferay/scheduler_dispatch) at com.liferay.portal.dao.jdbc.aop.DynamicDataSourceTransactionInterceptor.invoke(DynamicDataSourceTransactionInterceptor.java:44)
2010-08-31 17:28:11,668 ERROR (liferay/scheduler_dispatch) at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58)
2010-08-31 17:28:11,668 ERROR (liferay/scheduler_dispatch) at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58)
2010-08-31 17:28:11,669 ERROR (liferay/scheduler_dispatch) at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58)
2010-08-31 17:28:11,669 ERROR (liferay/scheduler_dispatch) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
2010-08-31 17:28:11,669 ERROR (liferay/scheduler_dispatch) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
2010-08-31 17:28:11,669 ERROR (liferay/scheduler_dispatch) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
2010-08-31 17:28:11,669 ERROR (liferay/scheduler_dispatch) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
2010-08-31 17:28:11,669 ERROR (liferay/scheduler_dispatch) at $Proxy570.addDirectory(Unknown Source)
2010-08-31 17:28:11,669 ERROR (liferay/scheduler_dispatch) at com.liferay.knowledgebase.service.impl.ArticleLocalServiceImpl.checkAttachments(ArticleLocalServiceImpl.java:878)
2010-08-31 17:28:11,669 ERROR (liferay/scheduler_dispatch) at com.liferay.knowledgebase.service.impl.ArticleLocalServiceImpl.checkAttachments(ArticleLocalServiceImpl.java:229)
2010-08-31 17:28:11,669 ERROR (liferay/scheduler_dispatch) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2010-08-31 17:28:11,669 ERROR (liferay/scheduler_dispatch) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2010-08-31 17:28:11,669 ERROR (liferay/scheduler_dispatch) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2010-08-31 17:28:11,670 ERROR (liferay/scheduler_dispatch) at java.lang.reflect.Method.invoke(Method.java:597)
2010-08-31 17:28:11,670 ERROR (liferay/scheduler_dispatch) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
2010-08-31 17:28:11,670 ERROR (liferay/scheduler_dispatch) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
2010-08-31 17:28:11,670 ERROR (liferay/scheduler_dispatch) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
2010-08-31 17:28:11,670 ERROR (liferay/scheduler_dispatch) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
2010-08-31 17:28:11,670 ERROR (liferay/scheduler_dispatch) at com.liferay.portal.dao.jdbc.aop.DynamicDataSourceTransactionInterceptor.invoke(DynamicDataSourceTransactionInterceptor.java:44)
2010-08-31 17:28:11,670 ERROR (liferay/scheduler_dispatch) at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58)
2010-08-31 17:28:11,670 ERROR (liferay/scheduler_dispatch) at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58)
2010-08-31 17:28:11,670 ERROR (liferay/scheduler_dispatch) at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58)
2010-08-31 17:28:11,670 ERROR (liferay/scheduler_dispatch) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
2010-08-31 17:28:11,670 ERROR (liferay/scheduler_dispatch) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
2010-08-31 17:28:11,670 ERROR (liferay/scheduler_dispatch) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
2010-08-31 17:28:11,671 ERROR (liferay/scheduler_dispatch) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
2010-08-31 17:28:11,671 ERROR (liferay/scheduler_dispatch) at $Proxy835.checkAttachments(Unknown Source)
2010-08-31 17:28:11,671 ERROR (liferay/scheduler_dispatch) at com.liferay.knowledgebase.service.ArticleLocalServiceUtil.checkAttachments(ArticleLocalServiceUtil.java:289)
2010-08-31 17:28:11,671 ERROR (liferay/scheduler_dispatch) at com.liferay.knowledgebase.admin.messaging.CheckAttachmentsMessageListener.doReceive(CheckAttachmentsMessageListener.java:39)
2010-08-31 17:28:11,671 ERROR (liferay/scheduler_dispatch) at com.liferay.knowledgebase.admin.messaging.CheckAttachmentsMessageListener.receive(CheckAttachmentsMessageListener.java:31)
2010-08-31 17:28:11,671 ERROR (liferay/scheduler_dispatch) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2010-08-31 17:28:11,671 ERROR (liferay/scheduler_dispatch) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2010-08-31 17:28:11,671 ERROR (liferay/scheduler_dispatch) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2010-08-31 17:28:11,671 ERROR (liferay/scheduler_dispatch) at java.lang.reflect.Method.invoke(Method.java:597)
2010-08-31 17:28:11,671 ERROR (liferay/scheduler_dispatch) at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:54)
2010-08-31 17:28:11,671 ERROR (liferay/scheduler_dispatch) at $Proxy846.receive(Unknown Source)
2010-08-31 17:28:11,671 ERROR (liferay/scheduler_dispatch) at com.liferay.portal.kernel.scheduler.messaging.SchedulerEventMessageListenerWrapper.receive(SchedulerEventMessageListenerWrapper.java:57)
2010-08-31 17:28:11,671 ERROR (liferay/scheduler_dispatch) at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:63)
2010-08-31 17:28:11,671 ERROR (liferay/scheduler_dispatch) at com.liferay.portal.kernel.messaging.ParallelDestination$1.run(ParallelDestination.java:61)
2010-08-31 17:28:11,672 ERROR (liferay/scheduler_dispatch) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
2010-08-31 17:28:11,672 ERROR (liferay/scheduler_dispatch) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
2010-08-31 17:28:11,672 ERROR (liferay/scheduler_dispatch) at java.lang.Thread.run(Thread.java:619)
2010-08-31 17:28:11,672 ERROR (liferay/scheduler_dispatch) Caused by: java.lang.NullPointerException
2010-08-31 17:28:11,672 ERROR (liferay/scheduler_dispatch) at com.liferay.portal.cmis.CMISUtil.<init>(CMISUtil.java:157)
2010-08-31 17:28:11,672 ERROR (liferay/scheduler_dispatch) at com.liferay.portal.cmis.CMISUtil.<clinit>(CMISUtil.java:454)
2010-08-31 17:28:11,672 ERROR (liferay/scheduler_dispatch) ... 62 more


using document library I receive error

java.lang.NoClassDefFoundError: Could not initialize class com.liferay.portal.cmis.CMISUtil
com.liferay.documentlibrary.util.CMISHook.<init>(CMISHook.java:54)
Brice Muangkhot
RE: CMIS:Migration from 6.0.4 to 6.0.5
September 1, 2010 2:35 AM
Answer

Brice Muangkhot

Rank: New Member

Posts: 4

Join Date: January 20, 2010

Recent Posts

Hi,

I have the same problem.
Please can you help.

Thanks.

Brice
Vincenzo Giancaterino
RE: CMIS:Migration from 6.0.4 to 6.0.5
September 8, 2010 12:58 AM
Answer

Vincenzo Giancaterino

Rank: New Member

Posts: 7

Join Date: August 3, 2010

Recent Posts

Debugging the code in com.liferay.portal.cmis.CMISUtil class constructor the statement:

_abdera = Abdera.getInstance();
Factory factory = _abdera.getFactory();

factory is null.
I dont know if this can help to find a solution
Brice Muangkhot
RE: CMIS:Migration from 6.0.4 to 6.0.5
September 9, 2010 1:32 AM
Answer

Brice Muangkhot

Rank: New Member

Posts: 4

Join Date: January 20, 2010

Recent Posts

Hi,

Does it work for you now? What did you do?

Thanks.
Vincenzo Giancaterino
RE: CMIS:Migration from 6.0.4 to 6.0.5
September 9, 2010 5:31 AM
Answer

Vincenzo Giancaterino

Rank: New Member

Posts: 7

Join Date: August 3, 2010

Recent Posts

Hi Brice,
I have no solution until now.
I hoped might be of help to find the heart of the problem.
Vincenzo Giancaterino
R:CMIS:Migration from 6.0.4 to 6.0.5
September 9, 2010 1:58 PM
Answer

Vincenzo Giancaterino

Rank: New Member

Posts: 7

Join Date: August 3, 2010

Recent Posts

The error does not appear if in our environment CENTOS/JBOSS/LIFERAY/ALFRESCO) we set in host file
the 127.0.0.1 address to the hostname.
Brice Muangkhot
RE: R:CMIS:Migration from 6.0.4 to 6.0.5
September 10, 2010 6:19 AM
Answer

Brice Muangkhot

Rank: New Member

Posts: 4

Join Date: January 20, 2010

Recent Posts

Hi Vincenzo,

Thanks for the update.

I am running on debian Lenny and Tomcat embedded with the Liferay 6.0.5 package.

I have no problem with Liferay 6.0.4, but have the same error than you with 6.0.5 new installation.

I have have no idea how to figure out.


Cordially,

Brice