Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Shilpa B
Exception in thread "liferay/scheduler_dispatch-113"
May 12, 2013 9:09 AM
Answer

Shilpa B

Rank: Junior Member

Posts: 56

Join Date: August 2, 2012

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...
Bart Simpson
RE: Exception in thread "liferay/scheduler_dispatch-113"
May 12, 2013 8:30 PM
Answer

Bart Simpson

Rank: Liferay Master

Posts: 524

Join Date: August 29, 2011

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?
Shilpa B
RE: Exception in thread "liferay/scheduler_dispatch-113"
June 2, 2013 10:22 PM
Answer

Shilpa B

Rank: Junior Member

Posts: 56

Join Date: August 2, 2012

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
RE: Exception in thread "liferay/scheduler_dispatch-113"
July 9, 2013 1:35 AM
Answer

Philippe Tran

Rank: Junior Member

Posts: 34

Join Date: January 22, 2009

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