0 Replies Latest reply on Sep 22, 2008 4:34 PM by Savvas Sopiadis

    Glassfish ExtendedFunctionMapper error

    Savvas Sopiadis Newbie

      Hello forum!


      First of all apologize my (miss)understanging of the seam (and JEE) world (cause it's new to me)! :)


      The fact that i don't understand the following error drives me crazy!!



      I 'm using Netbeans 6.1, Glassfish v2ur2, Seam 2.0.1.GA (Facelets and Hibernate as persistence provider). Creating an EAR application (with two subprojects: Web and EJB). All the ejbs i've written are loaded succesfully (so states Glassfish), but somehow after loading the ejbs i get this  very misterious error (at least for me it's  misterious):


      PWC1406: Servlet.service() for servlet Faces Servlet threw exception


      Do i miss something? I  followed this (McDonalds's) tutorial but it seems something is missing!


      The complete stack trace is here:


      2008-09-22T16:49:33.664+0300|SEVERE|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=16;_ThreadName=httpSSLWorkerThread-8080-0;_RequestID=cb9dd410-c8ef-4e4c-96b8-a501da70704d;|StandardWrapperValve[Faces Servlet]: PWC1406: Servlet.service() for servlet Faces Servlet threw exception
      java.lang.NoClassDefFoundError: org/jboss/el/lang/ExtendedFunctionMapper
           at java.lang.ClassLoader.defineClass1(Native Method)
           at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
           at com.sun.enterprise.loader.EJBClassLoader.findClass(EJBClassLoader.java:691)
           at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
           at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
           at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
           at org.jboss.seam.jsf.SeamApplication.getExpressionFactory(SeamApplication.java:413)
           at com.sun.facelets.compiler.Compiler.createExpressionFactory(Compiler.java:131)
           at com.sun.facelets.impl.DefaultFaceletFactory.createFacelet(DefaultFaceletFactory.java:198)
           at com.sun.facelets.impl.DefaultFaceletFactory.getFacelet(DefaultFaceletFactory.java:144)
           at com.sun.facelets.impl.DefaultFaceletFactory.getFacelet(DefaultFaceletFactory.java:95)
           at com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHandler.java:517)
           at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:567)
           at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
           at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
           at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
           at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
           at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411)
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:317)
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
           at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:390)
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
           at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:288)
           at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:271)
           at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:202)
           at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
           at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
           at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
           at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206)
           at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
           at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
           at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
           at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
           at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150)
           at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
           at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
           at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
           at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
           at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:272)
           at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:637)
           at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:568)
           at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:813)
           at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
           at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
           at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
           at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
           at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
      |#]