Googling for the error turned up the following:

http://jira.icefaces.org/browse/ICE-1104

Matt

On 3/19/08, Haotian Sun <[EMAIL PROTECTED]> wrote:
> To answer my own question, the Apache's commons.el. jar should be thrown
>  into the lib dir in WEB-INF. This solves the initialization problem.
>  However, I got another exception when launching the webapp. I think this
>  commons.el jar is conflict with some other jar there. But no idea now,
>  can anyone give a quick remind?
>
>  javax.servlet.ServletException: java.lang.LinkageError: loader
>  constraints violated when linking javax/el/ExpressionFactory class
>  org.apache.jasper.servlet.JspServlet.service(JspServlet.java:274)
>  javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>  
> com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
>  
> com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
>  
> org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:375)
>  gleam.executive.webapp.filter.GZIPFilter.doFilterInternal(GZIPFilter.java:42)
>  
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)
>  
> gleam.executive.webapp.filter.LocaleFilter.doFilterInternal(LocaleFilter.java:68)
>  
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)
>  
> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:264)
>  
> org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
>  
> org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
>  
> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
>  
> org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:110)
>  
> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
>  
> org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
>  
> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
>  
> org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:135)
>  
> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
>  
> org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81)
>  
> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
>  
> org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:217)
>  
> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
>  org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:108)
>  
> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
>  
> org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:193)
>  
> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
>  org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:148)
>  org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
>  
> org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)
>  
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)
>
>
>  Haotian Sun wrote:
>  > Opps, I seemed to miss this log from localhost*.log yesterday. Checked
>  > log again this morning and found that. I have myfaces-api-1.1.4.jar
>  > and myfaces-impl-1.1.4.jar in my WEB-INF/lib. What else jars am I
>  > missing there?
>  >
>  > SEVERE: Exception sending context initialized event to listener
>  > instance of class org.apache.myfaces.webapp.StartupServletContextListener
>  > java.lang.NoClassDefFoundError: org/apache/commons/el/Logger
>  >    at
>  > org.apache.myfaces.shared_impl.util.ClassUtils.<clinit>(ClassUtils.java:41)
>  >
>  >    at
>  > 
> org.apache.myfaces.config.FacesConfigurator.feedStandardConfig(FacesConfigurator.java:149)
>  >
>  >    at
>  > 
> org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:126)
>  >
>  >    at
>  > 
> org.apache.myfaces.webapp.StartupServletContextListener.initFaces(StartupServletContextListener.java:69)
>  >
>  >    at
>  > 
> org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:52)
>  >
>  >    at
>  > 
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
>  >
>  >    at
>  > org.apache.catalina.core.StandardContext.start(StandardContext.java:4350)
>  >    at
>  > 
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
>  >
>  >    at
>  > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
>  >    at
>  > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
>  >    at
>  > 
> org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)
>  >
>  >    at
>  > 
> org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
>  >
>  >    at
>  > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
>  >    at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1147)
>  >    at
>  > org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
>  >
>  >    at
>  > 
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
>  >
>  >    at
>  > org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
>  >    at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
>  >    at
>  > org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
>  >    at
>  > org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
>  >    at
>  > org.apache.catalina.core.StandardService.start(StandardService.java:516)
>  >    at
>  > org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
>  >    at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
>  >    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>  >    at
>  > 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>  >
>  >    at
>  > 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>  >
>  >    at java.lang.reflect.Method.invoke(Method.java:585)
>  >    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
>  >    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
>  >
>  > Cheers
>  >
>  > Haotian
>  >
>  > Matt Raible wrote:
>  >> This means that AppFuse contains the DataSource instead of configuring
>  >> it in Tomcat, so you should be OK.
>  >>
>  >> Unfortunately, w/o any logging information, it's difficult for me to
>  >> solve this problem for you.
>  >>
>  >> Matt
>  >>
>  >> On 3/18/08, Haotian Sun <[EMAIL PROTECTED]> wrote:
>  >>
>  >>> Yes, I have the the JNDI DataSource that comes with Appfuse by default
>  >>>
>  >>>   <!-- JNDI DataSource for J2EE environments -->
>  >>>     <!--<jee:jndi-lookup id="dataSource"
>  >>>  jndi-name="java:comp/env/jdbc/executive_db"/>-->
>  >>>
>  >>>     <bean id="dataSource"
>  >>>  class="org.apache.commons.dbcp.BasicDataSource"
>  >>> destroy-method="close">
>  >>>         <property name="driverClassName" value="@DB-DRIVERNAME@"/>
>  >>>         <property name="url" value="@DB-URL@"/>
>  >>>         <property name="username" value="@DB-USERNAME@"/>
>  >>>         <property name="password" value="@DB-PASSWORD@"/>
>  >>>         <property name="maxActive" value="100"/>
>  >>>         <property name="maxIdle" value="30"/>
>  >>>         <property name="maxWait" value="1000"/>
>  >>>         <property name="defaultAutoCommit" value="true"/>
>  >>>         <property name="removeAbandoned" value="true"/>
>  >>>         <property name="removeAbandonedTimeout" value="60"/>
>  >>>     </bean>
>  >>>
>  >>>  Can you see what's wrong there?
>  >>>
>  >>>  Haotian
>  >>>
>  >>>
>  >>>  Matt Raible wrote:
>  >>>  > Are you using a JNDI DataSource? If so, it's possible the syntax for
>  >>>  > the context.xml file has changed.
>  >>>  >
>  >>>  > Matt
>  >>>  >
>  >>>  > On Mar 18, 2008, at 10:04 AM, Haotian Sun wrote:
>  >>>  >
>  >>>  >> No, it doesn't. Appologize if it's not the problem from
>  >>>  >> UserCounterListener. I aslo checked the Tomcat migration guide from
>  >>>  >> http://tomcat.apache.org/migration.html, which does not seem useful
>  >>>  >> for me.
>  >>>  >> Btw, I'm using JDK 1.5 as following
>  >>>  >>
>  >>>  >> Java(TM) 2 Runtime Environment, Standard Edition (build
>  >>> 1.5.0_06-b05)
>  >>>  >> Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode)
>  >>>  >>
>  >>>  >> Haotian
>  >>>  >>
>  >>>  >> Matt Raible wrote:
>  >>>  >>> If you remove UserCounterListener, does it solve any
>  >>> initialization
>  >>>  >>> problems?
>  >>>  >>>
>  >>>  >>> Matt
>  >>>  >>>
>  >>>  >>> On Mar 18, 2008, at 9:19 AM, Haotian Sun wrote:
>  >>>  >>>
>  >>>  >>>> I'm afraid that's the only error message I can get from the log.
>  >>>  >>>> The followings are all my listeners defined in web.xml. And I
>  >>> have
>  >>>  >>>> tried to print something from UserCounterListener and it fails to
>  >>>  >>>> get printout from the incrementUserCounter().
>  >>>  >>>>
>  >>>  >>>>    <listener>
>  >>>  >>>>
>  >>>  >>>>
>  >>> 
> <listener-class>com.opensymphony.clickstream.ClickstreamListener</listener-class>
>  >>>
>  >>>  >>>>
>  >>>  >>>>    </listener>
>  >>>  >>>>    <listener>
>  >>>  >>>>
>  >>>  >>>>
>  >>> 
> <listener-class>net.sf.navigator.menu.MenuContextListener</listener-class>
>  >>>
>  >>>  >>>>
>  >>>  >>>>    </listener>
>  >>>  >>>>    <listener>
>  >>>  >>>>
>  >>>  >>>>
>  >>> 
> <listener-class>org.springframework.web.util.IntrospectorCleanupListener</listener-class>
>  >>>
>  >>>  >>>>
>  >>>  >>>>    </listener>
>  >>>  >>>>    <listener>
>  >>>  >>>>
>  >>>  >>>>
>  >>> 
> <listener-class>gleam.executive.webapp.listener.StartupListener</listener-class>
>  >>>
>  >>>  >>>>
>  >>>  >>>>    </listener>
>  >>>  >>>>    <listener>
>  >>>  >>>>
>  >>>  >>>>
>  >>> 
> <listener-class>gleam.executive.webapp.listener.UserCounterListener</listener-class>
>  >>>
>  >>>  >>>>
>  >>>  >>>>    </listener>
>  >>>  >>>>
>  >>>  >>>>    <listener>
>  >>>  >>>>
>  >>>
>  >>>
>  >>>>>>> 
> <listener-class>org.directwebremoting.servlet.EfficientShutdownServletContextAttributeListener</listener-class>
>  >>>>>>>
>  >>>>>>>
>  >>>  >>>>
>  >>>  >>>>  </listener>
>  >>>  >>>>  <listener>
>  >>>  >>>>
>  >>>  >>>>
>  >>> 
> <listener-class>org.directwebremoting.servlet.EfficientShutdownServletContextListener</listener-class>
>  >>>
>  >>>
>  >>>      >>>>  </listener>
>  >>>  >>>>
>  >>>  >>>> Haotian
>  >>>  >>>>
>  >>>  >>>> Matt Raible wrote:
>  >>>  >>>>> Can you look in $CATALINA_HOME/logs/localhost*.log to see if
>  >>> there's
>  >>>  >>>>> more information on why initialization failed?
>  >>>  >>>>>
>  >>>  >>>>> Thanks,
>  >>>  >>>>>
>  >>>  >>>>> Matt
>  >>>  >>>>>
>  >>>  >>>>> On 3/18/08, Haotian Sun <[EMAIL PROTECTED]> wrote:
>  >>>  >>>>>
>  >>>  >>>>>> Hi Matt,
>  >>>  >>>>>>
>  >>>  >>>>>>  My project uses Appfuse 1.9.4 and is not able to deploy under
>  >>>  >>>>>> Tomcat 6,
>  >>>  >>>>>>  where it gets
>  >>>  >>>>>>
>  >>>  >>>>>>  17-Mar-2008 20:00:19
>  >>> org.apache.catalina.core.StandardContext start
>  >>>  >>>>>>  SEVERE: Error listenerStart
>  >>>  >>>>>>  17-Mar-2008 20:00:19
>  >>> org.apache.catalina.core.StandardContext start
>  >>>  >>>>>>  SEVERE: Context [/dev/executive] startup failed due to
>  >>> previous
>  >>>  >>>>>> errors
>  >>>  >>>>>>
>  >>>  >>>>>>  I looked into the web.xml and found that it was caused by the
>  >>>  >>>>>>  UserCounterListener, which seems to be the method
>  >>>  >>>>>>  incrementUserCounter(), but I don't see anything wrong there.
>  >>>  >>>>>> Can you
>  >>>  >>>>>>  please help?
>  >>>  >>>>>>
>  >>>  >>>>>>  Cheers
>  >>>  >>>>>>
>  >>>  >>>>>>  Haotian
>  >>>  >>>>>>
>  >>>  >>>>>>
>  >>> ---------------------------------------------------------------------
>  >>>  >>>>>>
>  >>>  >>>>>>  To unsubscribe, e-mail: [EMAIL PROTECTED]
>  >>>  >>>>>>  For additional commands, e-mail:
>  >>> [EMAIL PROTECTED]
>  >>>  >>>>>>
>  >>>  >>>>>>
>  >>>  >>>>>>
>  >>>  >>>>>
>  >>>  >>>>>
>  >>> ---------------------------------------------------------------------
>  >>>  >>>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>  >>>  >>>>> For additional commands, e-mail: [EMAIL PROTECTED]
>  >>>  >>>>>
>  >>>  >>>>>
>  >>>  >>>>
>  >>>  >>>>
>  >>>  >>>>
>  >>> ---------------------------------------------------------------------
>  >>>  >>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>  >>>  >>>> For additional commands, e-mail: [EMAIL PROTECTED]
>  >>>  >>>>
>  >>>  >>>
>  >>>  >>>
>  >>>  >>>
>  >>> ---------------------------------------------------------------------
>  >>>  >>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>  >>>  >>> For additional commands, e-mail: [EMAIL PROTECTED]
>  >>>  >>>
>  >>>  >>
>  >>>  >>
>  >>>  >>
>  >>> ---------------------------------------------------------------------
>  >>>  >> To unsubscribe, e-mail: [EMAIL PROTECTED]
>  >>>  >> For additional commands, e-mail: [EMAIL PROTECTED]
>  >>>  >>
>  >>>  >
>  >>>  >
>  >>>
>  >>>
>  >>>> ---------------------------------------------------------------------
>  >>>>       To unsubscribe, e-mail: [EMAIL PROTECTED]
>  >>>>
>  >>>  > For additional commands, e-mail: [EMAIL PROTECTED]
>  >>>  >
>  >>>
>  >>>
>  >>>  ---------------------------------------------------------------------
>  >>>  To unsubscribe, e-mail: [EMAIL PROTECTED]
>  >>>  For additional commands, e-mail: [EMAIL PROTECTED]
>  >>>
>  >>>
>  >>>
>  >>
>  >> ---------------------------------------------------------------------
>  >> To unsubscribe, e-mail: [EMAIL PROTECTED]
>  >> For additional commands, e-mail: [EMAIL PROTECTED]
>  >>
>  >>
>  >
>  >
>  > ---------------------------------------------------------------------
>  > To unsubscribe, e-mail: [EMAIL PROTECTED]
>  > For additional commands, e-mail: [EMAIL PROTECTED]
>  >
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: [EMAIL PROTECTED]
>  For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to