Don't know for sure, but you can start by adding the web.xml
org.apache.myfaces.CHECK_EXTENSIONS_FILTER context-param to get rid of
the warning.

Typically if you have a duplicate class issue, it's because you have
two copies of the jar file, possibly with different versions, in your
path somewhere.   I think the class in question is part of
myfaces-impl.jar.   Make sure you don't have any old version jars like
myfaces-all or myfaces-shared in your path as well.

On 1/25/07, Leyzerzon, Simeon <[EMAIL PROTECTED]> wrote:



Hi,
We are trying to trace the root cause of the following run-time exception
which seems to be happening every time the server gets restarted and a link
in the application gets clicked.  We use Weblogic 8.1 sp2 with the following
myFaces jars:

        myfaces-api-1.1.4.jar
        myfaces-impl-1.1.4.jar
        tomahawk.jar-1.1.3.jar
Has anyone experiensed this error? Any suggestions on how to prevent it from
happening?

10:44:58,068 INFO MyfacesConfig:133 - No context init parameter
'org.apache.myf
 aces.CHECK_EXTENSIONS_FILTER' found, using default value true
 <Jan 25, 2007 10:44:58 AM EST> <Error> <HTTP> <BEA-101017>
<[ServletContext(id=3
 1984775,name=GISWeb,context-path=/GISWeb)] Root cause of
ServletException.
 javax.faces.FacesException: duplicate class definition:
org/apache/myfaces/tagli
 b/html/HtmlSelectOneMenuTag
 at
org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatc
 h(ServletExternalContextImpl.java:422)
 at
org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspV
 iewHandlerImpl.java:234)
 at
org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapp
 er.java:101)
 at
org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandle
 r.java:222)
 at
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:
 384)
 at
javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
 at
org.apache.myfaces.webapp.MyFacesServlet.service(MyFacesServlet.java:
 74)
 at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
 (ServletStubImpl.java:971)
 at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
 pl.java:402)
 at
weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
 at
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
 va:27)
 at
org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(Extensions
 Filter.java:144)
 at
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
 va:27)
 at
org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseX
 MLFilter.java:75)
 at
org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.
 java:213)
 at
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
 va:27)
 at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
 n.run(WebAppServletContext.java:6356)
 at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
 dSubject.java:317)
 at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
 118)
 at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
 rvletContext.java:3635)
 at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
 pl.java:2585)
 at
weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
 at
weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)


Thank you in advance for help.

Simeon Leyzerzon

==============================================================================
Please access the attached hyperlink for an important electronic
communications disclaimer:

http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
==============================================================================




Reply via email to