Vista Combinata Vista Piatta Vista ad Albero
Discussioni [ Precedente | Successivo ]
toggle
Michael Poznecki
Error when deploying ICEFaces portlet
13 gennaio 2010 12.45
Risposta

Michael Poznecki

Punteggio: Expert

Messaggi: 301

Data di Iscrizione: 10 dicembre 2008

Messaggi recenti

Hello all,
when I deploy my ICEFaces portlet I receive the following error:

 1
 2INFO: Undeploying context [/iceFaces-attempt-portlet]
 320:39:57,727 INFO  [PortletHotDeployListener:333] Unregistering portlets for iceFaces-attempt-portlet
 420:39:57,727 INFO  [PortletHotDeployListener:362] 1 portlet for iceFaces-attempt-portlet was unregistered
 520:39:57,731 INFO  [ContextEventRepeater:162] Servlet Context Name: iceFaces-attempt-portlet, Server Info: Apache Tomcat/6.0.18
 6Jan 13, 2010 8:39:58 PM org.apache.catalina.core.StandardContext addApplicationListener
 7INFO: The listener "com.icesoft.faces.util.event.servlet.ContextEventRepeater" is already configured for this context. The duplicate definition has been ignored.
 820:39:58,836 INFO  [D2DViewHandler:84]
 9ICEsoft Technologies, Inc.
10ICEfaces 1.7.0 RC1
11Build number: 7
12Revision: 16090
13
1420:39:59,186 INFO  [D2DViewHandler:124] ICEfaces JSP parser disabled. This is a facelets-only configuration.java.lang.NoClassDefFoundError: org/apache/commons/digester/RuleSet
1520:39:59,268 INFO  [PortletHotDeployListener:219] Registering portlets for iceFaces-attempt-portlet
1620:39:59,360 INFO  [PortletHotDeployListener:298] 1 portlet for iceFaces-attempt-portlet is available for use
17Jan 13, 2010 8:39:59 PM org.apache.catalina.core.StandardContext start
18SEVERE: Error listenerStart
19Jan 13, 2010 8:39:59 PM org.apache.catalina.core.StandardContext start
20SEVERE: Context [/iceFaces-attempt-portlet] startup failed due to previous errors


Does anyone know why at the last moment it will say "startup failed due to previous errors"? I did not see any previous errors.

Thanks,
Michael
David Ilechukwu
RE: Error when deploying ICEFaces portlet
8 giugno 2010 13.43
Risposta

David Ilechukwu

Punteggio: Regular Member

Messaggi: 116

Data di Iscrizione: 7 giugno 2010

Messaggi recenti

Hi Michael,
I'm getting same error too, trying to deploy sample-icefaces-jsf-1.2-sun-facelets-portlet-5.2.1.1 on Liferay 5.2.3. Doesn't show errors either on my console or my log file.

Folks, please any help with this?
Need to get this thing down ...

Peter
Neil Griffin
RE: Error when deploying ICEFaces portlet
16 giugno 2010 14.35
Risposta

Neil Griffin

LIFERAY STAFF

Punteggio: Liferay Legend

Messaggi: 2250

Data di Iscrizione: 26 luglio 2005

Messaggi recenti

If you're using Tomcat, then the problem is that Tomcat is using the lava.util.logging standard API for logging, and it doesn't report all the details of the exception. The way I've always been successful in getting the details of the exception was to switch over to Log4J. Just search Google for "tomcat 6 log4j" and you'll find instructions. You'll want to set log4j.properties to be the following in order to get the details:

log4j.rootLogger=INFO, R
log4j.appender.R=org.apache.log4j.ConsoleAppender
log4j.appender.R.layout=org.apache.log4j.PatternLayout
log4j.appender.R.layout.ConversionPattern=%p %t %c - %m%n
log4j.logger.org.apache.catalina.core.StandardContext=DEBUG, R

Typically, this will reveal a NoClassDefFoundError exception or something like that. Whenever I get NoClassDefFoundError exceptions on hot deployment, my mind immediately jumps to the conclusion that I have a JAR conflict. Normally, there is a JAR in WEB-INF/lib that doesn't belong.
Peter Ruzicka
RE: Error when deploying ICEFaces portlet
26 aprile 2012 6.46
Risposta

Peter Ruzicka

Punteggio: Junior Member

Messaggi: 48

Data di Iscrizione: 7 dicembre 2006

Messaggi recenti

Hello,

I know that this is the old thread, but I hit the same error in 6.1 ICEFaces sample portlet. Sample portlet is working but my first ICEFaces portlet didn't work with the same error as Michaels one.

Difference is in liferay-plugin-package.xml in sample portlet. I needed to add these jar-dependencies into my portlet

1portal-dependency-jars=\
2    commons-beanutils.jar,\
3    commons-collections.jar,\
4    commons-digester.jar,\
5    commons-fileupload.jar,\
6    commons-lang.jar,\
7    commons-validator.jar,\
8    oro.jar


Maybe it helps someone...
Neil Griffin
RE: Error when deploying ICEFaces portlet
26 aprile 2012 6.51
Risposta

Neil Griffin

LIFERAY STAFF

Punteggio: Liferay Legend

Messaggi: 2250

Data di Iscrizione: 26 luglio 2005

Messaggi recenti

Thanks Peter emoticon