0 Replies Latest reply on Jan 3, 2007 5:30 PM by Marcin buojk

    IceFaces Instalation help

    Marcin buojk Newbie

      Hi!
      I'm newbie in IceFaces and Seam...and have little problem with Seam classloader and IceFaces.

      Can anyone post me here link to easy example how to deploy IceFaces & Seam project or help me to resolve my problem.

      here is my error:

      23:06:00,708 WARN [ServiceController] Problem creating service jboss.j2ee:service=EJB3,module=expertEJB.jar
      java.lang.NoClassDefFoundError: com/icesoft/faces/component/paneltabset/TabChangeListener
       at java.lang.ClassLoader.defineClass1(Native Method)
       at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
       at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
       at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
       at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
       at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
       at java.security.AccessController.doPrivileged(Native Method)
       at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
      


      23:06:10,793 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
      
      --- MBeans waiting for other MBeans ---
      ObjectName: jboss.j2ee:service=EJB3,module=expertEJB.jar
       State: FAILED
       Reason: java.lang.NoClassDefFoundError: com/icesoft/faces/component/paneltabset/TabChangeListener
      
      --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
      ObjectName: jboss.j2ee:service=EJB3,module=expertEJB.jar
       State: FAILED
       Reason: java.lang.NoClassDefFoundError: com/icesoft/faces/component/paneltabset/TabChangeListener
      


      Here is my web.xml
       <listener> <listener-class>org.jboss.seam.servlet.SeamListener</listener-class>
       </listener>
      
       <context-param>
       <param-name>javax.faces.CONFIG_FILES</param-name>
       <param-value>/WEB-INF/navigation.xml</param-value>
       </context-param>
      
       <context-param> <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
       <param-value>client</param-value>
       </context-param>
      
       <context-param>
       <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
       <param-value>.xhtml</param-value>
       </context-param>
      
       <context-param>
       <param-name>facelets.DEVELOPMENT</param-name>
       <param-value>true</param-value>
       </context-param>
      
       <context-param> <param-name>com.icesoft.faces.doJSFStateManagement</param-name>
       <param-value>true</param-value>
       </context-param>
      
       <context-param>
       <param-name>com.icesoft.faces.actionURLSuffix</param-name>
       <param-value>.seam</param-value>
       </context-param>
      
       <context-param> <param-name>com.icesoft.faces.synchronousUpdate</param-name>
       <param-value>true</param-value>
       </context-param>
      
       <servlet>
       <servlet-name>Faces Servlet</servlet-name>
       <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
       <load-on-startup>1</load-on-startup>
       </servlet>
      
       <servlet>
       <servlet-name>Blocking Servlet</servlet-name>
       <servlet-class>com.icesoft.faces.webapp.xmlhttp.BlockingServlet</servlet-class>
       <load-on-startup> 1 </load-on-startup>
       </servlet>
      
       <servlet>
       <servlet-name>Persistent Faces Servlet</servlet-name>
       <servlet-class>com.icesoft.faces.webapp.xmlhttp.PersistentFacesServlet</servlet-class>
       <load-on-startup>1</load-on-startup>
       </servlet>
      
       <servlet-mapping>
       <servlet-name>Persistent Faces Servlet</servlet-name>
       <url-pattern>/xmlhttp/*</url-pattern>
       </servlet-mapping>
      
       <servlet-mapping>
       <servlet-name>Persistent Faces Servlet</servlet-name>
       <url-pattern>*.iface</url-pattern>
       </servlet-mapping>
      
       <!-- Blocking Servlet Mapping -->
       <servlet-mapping>
       <servlet-name>Blocking Servlet</servlet-name>
       <url-pattern>/block/*</url-pattern>
       </servlet-mapping>
      
       <!-- Faces Servlet Mapping -->
       <servlet-mapping>
       <servlet-name>Persistent Faces Servlet</servlet-name>
       <url-pattern>*.seam</url-pattern>
       </servlet-mapping>
      
       <!-- MyFaces -->
       <listener> <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
       </listener>
      
       <session-config>
       <session-timeout>30</session-timeout>
       </session-config>
      



      My application.xml (in ear file)
       <module>
       <ejb>expertEJB.jar</ejb>
       </module>
       <module>
       <java>jboss-seam.jar</java>
       </module>
       <module>
       <java>el-api.jar</java>
       </module>
       <module>
       <java>el-ri.jar</java>
       </module>
      


      also in war file/WEB-INF/lib/ have following libs
      commons-fileupload.jar
      icefaces.jar
      icefaces-comps.jar
      icefaces-facelets.jar
      jboss-seam-debug.jar
      jboss-seam-ui.jar
      oscache-2.3.2.jar
      


      finally I setted true in
      \server\default\deploy\jbossweb-tomcat55.sar\META-INF
      jboss-service.xml

      seam booking example working fine, but my new project created based on booking can't load libs, why?
      Can anyone help me?