Message Boards

Exception in thread "liferay/scheduler_dispatch-113"

thumbnail
Shilpa B, modified 10 Years ago.

Exception in thread "liferay/scheduler_dispatch-113"

Junior Member Posts: 61 Join Date: 8/2/12 Recent Posts
Hi,

I'm using liferay-portal-6.1.20-ee-ga2.

Most often i'm getting the below error in console. Any help is appreciated.

Exception in thread "liferay/scheduler_dispatch-113" java.lang.NoClassDefFoundError: Could not initialize class com.liferay.portal.kernel.util.InetAddressUtil$LocalHostNameHolder
at com.liferay.portal.kernel.util.InetAddressUtil.getLocalHostName(InetAddressUtil.java:32)
at com.liferay.portal.kernel.scheduler.SchedulerEngineUtil._auditSchedulerJobs(SchedulerEngineUtil.java:455)
at com.liferay.portal.kernel.scheduler.SchedulerEngineUtil.auditSchedulerJobs(SchedulerEngineUtil.java:92)
at com.liferay.portal.kernel.scheduler.messaging.SchedulerEventMessageListenerWrapper.receive(SchedulerEventMessageListenerWrapper.java:103)
at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:63)
at com.liferay.portal.kernel.messaging.ParallelDestination$1.run(ParallelDestination.java:114)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:671)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:582)
at java.lang.Thread.run(Thread.java:722)

Thank you, in advance...
thumbnail
Bart Simpson, modified 10 Years ago.

RE: Exception in thread "liferay/scheduler_dispatch-113"

Liferay Master Posts: 522 Join Date: 8/29/11 Recent Posts
Have you created any custom implementation related to scheduling a process? The required class doesn't seem to be in the classpath. Could you specify the code where this class is being called?
thumbnail
Shilpa B, modified 10 Years ago.

RE: Exception in thread "liferay/scheduler_dispatch-113"

Junior Member Posts: 61 Join Date: 8/2/12 Recent Posts
Thank you for your reply...
I created a normal lifeary portlet, still i have to start with the code. While deploying normal portlet itself i'm getting this error. I have setup LDS in two different systems. But it's not working fine in one system but the same is working fine in other system, what is the issue actually i'm not able to figure it out.
Philippe Tran, modified 10 Years ago.

RE: Exception in thread "liferay/scheduler_dispatch-113"

New Member Posts: 20 Join Date: 1/22/09 Recent Posts
Hi Shilpa,

I'm getting the same error when calling NetworkInterface.getByInetAddress(address) with Liferay security manager enabled.

My solution is not to call it when System.getSecurityManager() is not null (security-manager enabled).

Hope this helps,
Philippe
ronak vora, modified 3 Years ago.

RE: Exception in thread "liferay/scheduler_dispatch-113"

Junior Member Posts: 25 Join Date: 9/26/18 Recent Posts
Facing same problem in Liferay 6.2

Exception in thread "liferay/scheduler_dispatch-59" java.lang.NoClassDefFoundError: Could not initialize class com.liferay.ibm.icu.impl.ICUResourceBundle
    at com.liferay.ibm.icu.impl.ZoneMeta.getSystemTimeZone(ZoneMeta.java:585)
    at com.liferay.ibm.icu.util.TimeZone.getTimeZone(TimeZone.java:675)
    at com.liferay.ibm.icu.util.TimeZone.getTimeZone(TimeZone.java:644)
    at com.liferay.ibm.icu.util.TimeZone.getDefault(TimeZone.java:807)
    at com.liferay.ibm.icu.util.Calendar.getInstanceInternal(Calendar.java:1630)
    at com.liferay.ibm.icu.util.Calendar.getInstance(Calendar.java:1561)
    at com.liferay.portlet.blogs.util.LinkbackProducerUtil.sendQueuedPingbacks(LinkbackProducerUtil.java:62)
    at com.liferay.portlet.blogs.messaging.LinkbackMessageListener.doReceive(LinkbackMessageListener.java:31)
    at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
    at sun.reflect.GeneratedMethodAccessor334.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:67)
    at com.sun.proxy.$Proxy299.receive(Unknown Source)
    at com.liferay.portal.kernel.scheduler.messaging.SchedulerEventMessageListenerWrapper.receive(SchedulerEventMessageListenerWrapper.java:77)
    at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:72)
    at com.liferay.portal.kernel.messaging.ParallelDestination$1.run(ParallelDestination.java:71)
    at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:682)
    at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:593)
    at java.lang.Thread.run(Thread.java:748)