Tribune

Home » Liferay Portal » English » 3. Development

Vista Combinata Vista Piatta Vista ad Albero
Discussioni [ Precedente | Successivo ]
toggle
Gwowen Fu
Problem - portlets-liferay plugin for Grails
4 marzo 2013 20.51
Risposta

Gwowen Fu

Punteggio: Expert

Messaggi: 302

Data di Iscrizione: 27 dicembre 2010

Messaggi recenti

Hi,

I followed the instructions at http://grails.org/plugin/portlets to create a Liferay portlet from Grails.

When deployed on Liferay 6.1.1 CE ga2, Liferay throws
 1Exception in thread "liferay/scheduler_dispatch-7986" java.lang.NoClassDefFoundE
 2rror: Could not initialize class com.liferay.portal.kernel.util.InetAddressUtil$
 3LocalHostNameHolder
 4        at com.liferay.portal.kernel.util.InetAddressUtil.getLocalHostName(InetA
 5ddressUtil.java:32)
 6        at com.liferay.portal.kernel.scheduler.SchedulerEngineUtil._auditSchedul
 7erJobs(SchedulerEngineUtil.java:455)
 8        at com.liferay.portal.kernel.scheduler.SchedulerEngineUtil.auditSchedule
 9rJobs(SchedulerEngineUtil.java:92)
10        at com.liferay.portal.kernel.scheduler.messaging.SchedulerEventMessageLi
11stenerWrapper.receive(SchedulerEventMessageListenerWrapper.java:103)
12        at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(In
13vokerMessageListener.java:63)
14        at com.liferay.portal.kernel.messaging.ParallelDestination$1.run(Paralle
15lDestination.java:114)
16        at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._r
17unTask(ThreadPoolExecutor.java:671)
18        at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.ru
19n(ThreadPoolExecutor.java:582)
20        at java.lang.Thread.run(Thread.java:619)


Does anyone know if this plugin is good enough to build a real world project?

Thanks!
Gwowen
Victor Zorin
RE: Problem - portlets-liferay plugin for Grails
5 marzo 2013 0.28
Risposta

Victor Zorin

Punteggio: Liferay Legend

Messaggi: 1176

Data di Iscrizione: 14 aprile 2008

Messaggi recenti

This "could not initialize class .. InetAddressUtil" comes up on GA2 even without your Grails portlet, so it is very likely that this error is not related to your custom project.

Could be something with the latest published Liferay build, we have not observed this error previously, only on installations that were using ga2 downloaded in February 2013.