组合视图 统一视图 树状图
讨论主题 [ 上一个 | 下一个 ]
toggle
Michael Poznecki
Error when deploying ICEFaces portlet
2010年1月13日 下午12:45
答复

Michael Poznecki

等级: Expert

帖子: 301

加入日期: 2008年12月10日

最近的帖子

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
2010年6月8日 下午1:43
答复

David Ilechukwu

等级: Regular Member

帖子: 128

加入日期: 2010年6月7日

最近的帖子

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
2010年6月16日 下午2:35
答复

Neil Griffin

LIFERAY STAFF

等级: Liferay Legend

帖子: 2336

加入日期: 2005年7月26日

最近的帖子

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
2012年4月26日 上午6:46
答复

Peter Ruzicka

等级: Junior Member

帖子: 48

加入日期: 2006年12月7日

最近的帖子

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
2012年4月26日 上午6:51
答复

Neil Griffin

LIFERAY STAFF

等级: Liferay Legend

帖子: 2336

加入日期: 2005年7月26日

最近的帖子

Thanks Peter emoticon