voyent
Messages posted by: diablo341  XML
Profile for diablo341 -> Messages posted by diablo341 [11]
Author Message
I'm facing a similar issue. You've probably seen my post in this forum. I also have a post in the JBoss Seam forum.

http://www.jboss.com/index.html?module=bb&op=viewtopic&t=94822&postdays=0&postorder=asc&start=20

There are some good responses, but I haven't had a chance to try any solutions. How is it that an ArrayList class can be loaded in an EJB classloader, saved in the context, accessed by the presentation layer, and work fine, yet the same doesn't work if the class is an ICEfaces class? I'm not that familiar with classloading, but from what I've read, a classloader that loads a class in the EJB layer would look like:

ejbClassLoader.java.util.List

In the WAR layer, it would be:

warClassLoader.java.util.List

Is this accurate? Is this an example of being strongly-typed? Below is the the response I got that led me to the above example:
This sounds similar to a few other issues we're having with Seam. It seems that the IceUserObject loaded by the EJB in one classloader doesn't agree with the class loaded by the renderkit, which uses a different classloader.  

If this was accurate, we couldn't pass objects between layers/servers because the classes wouldn't agree based on different classloaders.

Maybe the issue is that the JAR they have in the renderkit doesn't match the JAR I have in the EJB layer.

Any input?
I'm using the basic example from the tree tutorial. I've got my backing bean, which is a SFSB:
Code:
package com.halliburton.workforce;
 
 import javax.ejb.Remove;
 import javax.ejb.Stateful;
 import javax.persistence.EntityManager;
 import javax.persistence.PersistenceContext;
 import javax.swing.tree.DefaultMutableTreeNode;
 import javax.swing.tree.DefaultTreeModel;
 
 import org.jboss.seam.ScopeType;
 import org.jboss.seam.annotations.Destroy;
 import org.jboss.seam.annotations.In;
 import org.jboss.seam.annotations.Logger;
 import org.jboss.seam.annotations.Name;
 import org.jboss.seam.annotations.Scope;
 import org.jboss.seam.core.FacesMessages;
 import org.jboss.seam.log.Log;
 
 import com.icesoft.faces.component.tree.IceUserObject;
 
 /**
  * <p/>
  * A basic backing bean for a ice:tree component.  The only instance variable
  * needed is a DefaultTreeModel Object which is bound to the icefaces tree
  * component in the jspx code.</p>
  * <p/>
  * The tree created by this backing bean is used to control the selected
  * panel in a ice:panelStack.
  * </p>
  */
 @Stateful
 @Scope(ScopeType.SESSION)
 @Name("treeBean")
 public class TreeBeanAction implements TreeBean {
 
 	@PersistenceContext
 	private EntityManager em;
 
 	@In(create = true)
 	private transient FacesMessages facesMessages;
 
 	@Logger
 	private Log log;
 
     // tree default model, used as a value for the tree component
     private DefaultTreeModel model;
 
     // default node icons for xp thme
     private static final String XP_BRANCH_CONTRACTED_ICON = "./xmlhttp/css/xp/css-images/tree_folder_open.gif";
     private static final String XP_BRANCH_EXPANDED_ICON = "./xmlhttp/css/xp/css-images/tree_folder_close.gif";
     private static final String XP_BRANCH_LEAF_ICON = "./xmlhttp/css/xp/css-images/tree_document.gif";
 
     public TreeBeanAction() {
         // create root node with its children expanded
         DefaultMutableTreeNode rootTreeNode = new DefaultMutableTreeNode();
         IceUserObject rootObject = new IceUserObject(rootTreeNode);
         rootObject.setText("Root Node");
         rootObject.setExpanded(true);
         rootObject.setBranchContractedIcon(XP_BRANCH_CONTRACTED_ICON);
         rootObject.setBranchExpandedIcon(XP_BRANCH_EXPANDED_ICON);
         rootObject.setLeafIcon(XP_BRANCH_LEAF_ICON);
         rootTreeNode.setUserObject(rootObject);
 
         //model is accessed by by the ice:tree component
         model = new DefaultTreeModel(rootTreeNode);
         
         // add some child notes
         for (int i = 0; i < 3; i++) {
             DefaultMutableTreeNode branchNode = new DefaultMutableTreeNode();
             IceUserObject branchObject = new IceUserObject(branchNode);
             branchObject.setText("node-" + i);
             branchObject.setBranchContractedIcon(XP_BRANCH_CONTRACTED_ICON);
             branchObject.setBranchExpandedIcon(XP_BRANCH_EXPANDED_ICON);
             branchObject.setLeafIcon(XP_BRANCH_LEAF_ICON);
             branchNode.setUserObject(branchObject);
             rootTreeNode.add(branchNode);
             // add some more sub children
             for (int k = 0; k < 2; k++) {
                 DefaultMutableTreeNode subBranchNode = new DefaultMutableTreeNode();
                 IceUserObject subBranchObject = new IceUserObject(subBranchNode);
                 subBranchObject.setText("sub-node-" + i + "-" + k);
                 subBranchObject.setBranchContractedIcon(XP_BRANCH_CONTRACTED_ICON);
                 subBranchObject.setBranchExpandedIcon(XP_BRANCH_EXPANDED_ICON);
                 subBranchObject.setLeafIcon(XP_BRANCH_LEAF_ICON);
                 subBranchNode.setUserObject(subBranchObject);
                 branchNode.add(subBranchNode);
             }
         }
     }
 
     /**
      * Gets the tree's default model.
      *
      * @return tree model.
      */
     public DefaultTreeModel getModel() {
         return model;
     }
 
     @Destroy
 	@Remove
 	public void destroy() {
 	}
 }

And the xhtml page:
Code:
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <ui:composition xmlns="http://www.w3.org/1999/xhtml"
 	    		xmlns:ui="http://java.sun.com/jsf/facelets"
 	  			xmlns:h="http://java.sun.com/jsf/html"
 	  			xmlns:f="http://java.sun.com/jsf/core"
 	  			xmlns:s="http://jboss.com/products/seam/taglib"
                 xmlns:ice="http://www.icesoft.com/icefaces/component"
 				template="template.xhtml">
 
 <!-- content -->
 <ui:define name="content">
 
 	<div class="section">
 		<h1>Tree Hierarchy</h1>
 	</div>
 
 	<div class="section">
 		<ice:form>
 
         <!-- first column, for tree navigation -->
         <ice:panelGroup style="border: 1px solid gray; height: 300px;">
             <!--
                 Fully styled Xp themed tree.
             -->
             <ice:tree id="tree"
                       value="#{treeBean.model}"
                       var="item"
                       hideRootNode="false"
                       hideNavigation="false"
                       imageDir="./xmlhttp/css/xp/css-images/">
                 <ice:treeNode>
                     <f:facet name="icon">
                         <ice:panelGroup style="display: inline">
                              <h:graphicImage value="#{item.userObject.icon}"/>
                         </ice:panelGroup>
                     </f:facet>
                     <f:facet name="content">
                         <ice:panelGroup style="display: inline">
                             <ice:commandLink value="#{item.userObject.text}"/>
                         </ice:panelGroup>
                     </f:facet>
                 </ice:treeNode>
             </ice:tree>
         </ice:panelGroup>
 
     </ice:form>
 
 	</div>
 
 </ui:define>
 </ui:composition>

Shouldn't this work without any modifications??
I need some help here. I'm stuck on getting the basic example working. Why is a classcastexception thrown when trying to access the userobject attached to the defaultmutabletreenode? The userObject field can be any object, so I'm thinking the <ice:treeNode> tag is where the problem is happening. Is this caused by my use of MyFaces vs. Sun's JSF RI? I need some direction here!!!

John
I realized that the icefaces-comps.jar has to be in my jar file with my classes. Now I get the following error:
Code:
02:09:03,213 ERROR [D2DFaceletViewHandler] Problem in renderResponse: com.icesoft.faces.component.tree.IceUserObject
 java.lang.ClassCastException: com.icesoft.faces.component.tree.IceUserObject
         at com.icesoft.faces.component.tree.TreeRenderer.encodeNode(TreeRenderer.java:358)
         at com.icesoft.faces.component.tree.TreeRenderer.encodeParentAndChildNodes(TreeRenderer.java:285)
         at com.icesoft.faces.component.tree.TreeRenderer.encodeChildren(TreeRenderer.java:238)
         at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:524)
         at com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeParentAndChildren(DomBasicRenderer.java:341)
         at com.icesoft.faces.renderkit.dom_html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:97)
         at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:524)
         at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:537)
         at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:541)
         at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:541)
         at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:541)
         at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:541)
         at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:541)
         at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:541)
         at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:541)
         at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:541)
         at com.icesoft.faces.facelets.D2DFaceletViewHandler.renderResponse(D2DFaceletViewHandler.java:274)
         at com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:149)
         at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
         at com.icesoft.faces.webapp.xmlhttp.PersistentFacesServlet.service(PersistentFacesServlet.java:392)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:46)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
         at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
         at java.lang.Thread.run(Thread.java:595)

It seems to me that the code inside the <ice:treeNode> tag is where the problem is happening.
Code:
<ice:tree id="tree"
                       value="#{treeBean.model}"
                       var="item"
                       hideRootNode="false"
                       hideNavigation="false"
                       imageDir="./xmlhttp/css/xp/css-images/">
                 <ice:treeNode>
                     <f:facet name="icon">
                         <ice:panelGroup style="display: inline">
                              <h:graphicImage value="#{item.userObject.icon}"/>
                         </ice:panelGroup>
                     </f:facet>
                     <f:facet name="content">
                         <ice:panelGroup style="display: inline">
                             <ice:commandLink
                                     value="#{item.userObject.text}"/>
                         </ice:panelGroup>
                     </f:facet>
                 </ice:treeNode>
             </ice:tree>

Is the error caused by the item.userObject references above? Has anyone had this type of error?

Any help is appreciated.
I noticed the line:
Code:
14:09:11,167 ERROR [D2DFaceletViewHandler] Problem in renderResponse: Could not instantiate Seam component: treeBean

I'm using Seam. I recall when I was first configuring my setup, I got an exception that it couldn't find the D2DSeamFaceletViewHandler class. I downloaded the proper icefaces.jar file and got it working. Is the right DOM handler being called above?

John
I'm working through the tree tutorial. I created my backing bean, which is a SFSB in Seam. I added the code to my view and get the following error:
Code:
14:09:11,107 ERROR [STDERR] java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
 14:09:11,107 ERROR [STDERR]     at org.jboss.ejb3.EJBContainer.construct(EJBContainer.java:427)
 14:09:11,107 ERROR [STDERR]     at org.jboss.ejb3.AbstractPool.create(AbstractPool.java:66)
 14:09:11,157 ERROR [STDERR]     at org.jboss.ejb3.ThreadlocalPool.get(ThreadlocalPool.java:48)
 14:09:11,157 ERROR [STDERR]     at org.jboss.ejb3.cache.simple.SimpleStatefulCache.create(SimpleStatefulCache.java:209)
 14:09:11,157 ERROR [STDERR]     at org.jboss.ejb3.stateful.StatefulContainer.createSession(StatefulContainer.java:229)
 14:09:11,157 ERROR [STDERR]     at org.jboss.ejb3.stateful.StatefulLocalProxyFactory.createProxy(StatefulLocalProxyFactory.java:100)
 14:09:11,157 ERROR [STDERR]     at org.jboss.ejb3.JndiProxyFactory.getObjectInstance(JndiProxyFactory.java:52)
 14:09:11,157 ERROR [STDERR]     at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
 14:09:11,157 ERROR [STDERR]     at org.jnp.interfaces.NamingContext.getObjectInstance(NamingContext.java:1125)
 14:09:11,157 ERROR [STDERR]     at org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure(NamingContext.java:1142)
 14:09:11,157 ERROR [STDERR]     at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:705)
 14:09:11,157 ERROR [STDERR]     at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
 14:09:11,157 ERROR [STDERR]     at javax.naming.InitialContext.lookup(InitialContext.java:351)
 14:09:11,157 ERROR [STDERR]     at org.jboss.seam.Component.instantiateSessionBean(Component.java:992)
 14:09:11,157 ERROR [STDERR]     at org.jboss.seam.Component.instantiate(Component.java:979)
 14:09:11,157 ERROR [STDERR]     at org.jboss.seam.Component.newInstance(Component.java:1658)
 14:09:11,157 ERROR [STDERR]     at org.jboss.seam.Component.getInstance(Component.java:1576)
 14:09:11,157 ERROR [STDERR]     at org.jboss.seam.Component.getInstance(Component.java:1550)
 14:09:11,157 ERROR [STDERR]     at org.jboss.seam.jsf.SeamVariableResolver.resolveVariable(SeamVariableResolver.java:45)
 14:09:11,157 ERROR [STDERR]     at org.apache.myfaces.config.LastVariableResolverInChain.resolveVariable(LastVariableResolverInChain.java:42)
 14:09:11,157 ERROR [STDERR]     at com.sun.facelets.el.LegacyELContext$LegacyELResolver.getValue(LegacyELContext.java:134)
 14:09:11,157 ERROR [STDERR]     at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:65)
 14:09:11,157 ERROR [STDERR]     at com.sun.el.parser.AstValue.getValue(AstValue.java:106)
 14:09:11,157 ERROR [STDERR]     at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
 14:09:11,157 ERROR [STDERR]     at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
 14:09:11,157 ERROR [STDERR]     at com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:56)
 14:09:11,157 ERROR [STDERR]     at com.icesoft.faces.component.tree.TreeRenderer.encodeBegin(TreeRenderer.java:140)
 14:09:11,157 ERROR [STDERR]     at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:512)
 14:09:11,157 ERROR [STDERR]     at com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeParentAndChildren(DomBasicRenderer.java:339)
 14:09:11,157 ERROR [STDERR]     at com.icesoft.faces.renderkit.dom_html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:97)
 14:09:11,157 ERROR [STDERR]     at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:524)
 14:09:11,157 ERROR [STDERR]     at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:537)
 14:09:11,157 ERROR [STDERR]     at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:541)
 14:09:11,157 ERROR [STDERR]     at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:541)
 14:09:11,157 ERROR [STDERR]     at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:541)
 14:09:11,157 ERROR [STDERR]     at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:541)
 14:09:11,157 ERROR [STDERR]     at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:541)
 14:09:11,157 ERROR [STDERR]     at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:541)
 14:09:11,157 ERROR [STDERR]     at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:541)
 14:09:11,157 ERROR [STDERR]     at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:541)
 14:09:11,157 ERROR [STDERR]     at com.icesoft.faces.facelets.D2DFaceletViewHandler.renderResponse(D2DFaceletViewHandler.java:274)
 14:09:11,157 ERROR [STDERR]     at com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:149)
 14:09:11,157 ERROR [STDERR]     at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
 14:09:11,157 ERROR [STDERR]     at com.icesoft.faces.webapp.xmlhttp.PersistentFacesServlet.service(PersistentFacesServlet.java:392)
 14:09:11,167 ERROR [STDERR]     at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
 14:09:11,167 ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
 14:09:11,167 ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
 14:09:11,167 ERROR [STDERR]     at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:46)
 14:09:11,167 ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
 14:09:11,167 ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
 14:09:11,167 ERROR [STDERR]     at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
 14:09:11,167 ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
 14:09:11,167 ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
 14:09:11,167 ERROR [STDERR]     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
 14:09:11,167 ERROR [STDERR]     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
 14:09:11,167 ERROR [STDERR]     at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
 14:09:11,167 ERROR [STDERR]     at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
 14:09:11,167 ERROR [STDERR]     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
 14:09:11,167 ERROR [STDERR]     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
 14:09:11,167 ERROR [STDERR]     at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
 14:09:11,167 ERROR [STDERR]     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
 14:09:11,167 ERROR [STDERR]     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
 14:09:11,167 ERROR [STDERR]     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
 14:09:11,167 ERROR [STDERR]     at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
 14:09:11,167 ERROR [STDERR]     at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
 14:09:11,167 ERROR [STDERR]     at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
 14:09:11,167 ERROR [STDERR]     at java.lang.Thread.run(Thread.java:595)
 14:09:11,167 ERROR [STDERR] Caused by: java.lang.reflect.InvocationTargetException
 14:09:11,167 ERROR [STDERR]     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
 14:09:11,167 ERROR [STDERR]     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
 14:09:11,167 ERROR [STDERR]     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
 14:09:11,167 ERROR [STDERR]     at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
 14:09:11,167 ERROR [STDERR]     at org.jboss.ejb3.EJBContainer.construct(EJBContainer.java:415)
 14:09:11,167 ERROR [STDERR]     ... 66 more
 14:09:11,167 ERROR [STDERR] Caused by: java.lang.NoClassDefFoundError: com/icesoft/faces/component/tree/IceUserObject
 14:09:11,167 ERROR [STDERR]     at com.halliburton.workforce.TreeBeanAction.<init>(TreeBeanAction.java:54)
 14:09:11,167 ERROR [STDERR]     ... 71 more
 14:09:11,167 ERROR [D2DFaceletViewHandler] Problem in renderResponse: Could not instantiate Seam component: treeBean
 org.jboss.seam.InstantiationException: Could not instantiate Seam component: treeBean
         at org.jboss.seam.Component.newInstance(Component.java:1662)
         at org.jboss.seam.Component.getInstance(Component.java:1576)
         at org.jboss.seam.Component.getInstance(Component.java:1550)
         at org.jboss.seam.jsf.SeamVariableResolver.resolveVariable(SeamVariableResolver.java:45)
         at org.apache.myfaces.config.LastVariableResolverInChain.resolveVariable(LastVariableResolverInChain.java:42)
         at com.sun.facelets.el.LegacyELContext$LegacyELResolver.getValue(LegacyELContext.java:134)
         at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:65)
         at com.sun.el.parser.AstValue.getValue(AstValue.java:106)
         at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
         at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
         at com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:56)
         at com.icesoft.faces.component.tree.TreeRenderer.encodeBegin(TreeRenderer.java:140)
         at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:512)
         at com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeParentAndChildren(DomBasicRenderer.java:339)
         at com.icesoft.faces.renderkit.dom_html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:97)
         at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:524)
         at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:537)
         at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:541)
         at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:541)
         at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:541)
         at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:541)
         at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:541)
         at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:541)
         at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:541)
         at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:541)
         at com.icesoft.faces.facelets.D2DFaceletViewHandler.renderResponse(D2DFaceletViewHandler.java:274)
         at com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:149)
         at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
         at com.icesoft.faces.webapp.xmlhttp.PersistentFacesServlet.service(PersistentFacesServlet.java:392)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:46)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
         at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
         at java.lang.Thread.run(Thread.java:595)
 Caused by: javax.naming.NamingException: Could not dereference object [Root exception is javax.ejb.EJBException: java.lang.RuntimeException: java.lang
 .reflect.InvocationTargetException]
         at org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure(NamingContext.java:1150)
         at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:705)
         at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
         at javax.naming.InitialContext.lookup(InitialContext.java:351)
         at org.jboss.seam.Component.instantiateSessionBean(Component.java:992)
         at org.jboss.seam.Component.instantiate(Component.java:979)
         at org.jboss.seam.Component.newInstance(Component.java:1658)
         ... 51 more
 Caused by: javax.ejb.EJBException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
         at org.jboss.ejb3.cache.simple.SimpleStatefulCache.create(SimpleStatefulCache.java:225)
         at org.jboss.ejb3.stateful.StatefulContainer.createSession(StatefulContainer.java:229)
         at org.jboss.ejb3.stateful.StatefulLocalProxyFactory.createProxy(StatefulLocalProxyFactory.java:100)
         at org.jboss.ejb3.JndiProxyFactory.getObjectInstance(JndiProxyFactory.java:52)
         at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
         at org.jnp.interfaces.NamingContext.getObjectInstance(NamingContext.java:1125)
         at org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure(NamingContext.java:1142)
         ... 57 more
 Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
         at org.jboss.ejb3.EJBContainer.construct(EJBContainer.java:427)
         at org.jboss.ejb3.AbstractPool.create(AbstractPool.java:66)
         at org.jboss.ejb3.ThreadlocalPool.get(ThreadlocalPool.java:48)
         at org.jboss.ejb3.cache.simple.SimpleStatefulCache.create(SimpleStatefulCache.java:209)
         ... 63 more
 Caused by: java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
         at org.jboss.ejb3.EJBContainer.construct(EJBContainer.java:415)
         ... 66 more
 Caused by: java.lang.NoClassDefFoundError: com/icesoft/faces/component/tree/IceUserObject
         at com.halliburton.workforce.TreeBeanAction.<init>(TreeBeanAction.java:54)
         ... 71 more


Any ideas? I've got the 3 ICE jars in my web-inf/lib folder of my project.

Thanks,
John
I've tried that without success. I don't have the Sun JSF RI jars anywhere in my server or the sample war. I put the MyFaces jars in the web-inf/lib folder of the address war. Still get the same error:
Code:
15:16:07,520 ERROR [[/address]] Error configuring application listener of class com.sun.faces.config.ConfigureListener
 java.lang.ClassNotFoundException: com.sun.faces.config.ConfigureListener
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1355)
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1201)
         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3711)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4211)
         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)


I even removed all of the jars that I copied into my server's lib directory that were listed in the ICEfaces documentation. Still nothing different. Any ideas?
I'm using MyFaces 1.1.4. Do I need to include the MyFaces jars in the address.war file? Currently, they're located in server\default\deploy\jbossweb-tomcat55.sar\jsf-libs.

Where is the context listener defined in the address sample? I checked web.xml, but no context listener is defined. In the seam sample apps, it's in the web.xml file. I added this to the address web.xml:
Code:
<!-- MyFaces -->
     <listener>
         <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
     </listener>


but I got the same error:
Code:
14:18:15,145 ERROR [[/address]] Error configuring application listener of class com.sun.faces.config.ConfigureListener
 java.lang.ClassNotFoundException: com.sun.faces.config.ConfigureListener
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1355)
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1201)
         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3711)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4211)
         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
I put the jsf jars back in the war and redeployed. I get the following error:
Code:
ICEsoft Technologies, Inc.
 ICEfaces 1.5.0
 Build number: 49
 Revision: 11998
 
 11:50:08,072 ERROR [STDERR] java.lang.ClassCastException: com.sun.facelets.component.RepeatRenderer
 11:50:08,072 ERROR [STDERR]     at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:896)
 11:50:08,072 ERROR [STDERR]     at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:945)
 11:50:08,072 ERROR [STDERR]     at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:426)
 11:50:08,072 ERROR [STDERR]     at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:348)
 11:50:08,072 ERROR [STDERR]     at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3763)
 11:50:08,072 ERROR [STDERR]     at org.apache.catalina.core.StandardContext.start(StandardContext.java:4211)
 11:50:08,072 ERROR [STDERR]     at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
 11:50:08,072 ERROR [STDERR]     at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
 11:50:08,072 ERROR [STDERR]     at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
 11:50:08,072 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 11:50:08,072 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 11:50:08,072 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 11:50:08,072 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Method.java:585)
 11:50:08,072 ERROR [STDERR]     at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
 11:50:08,072 ERROR [STDERR]     at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
 11:50:08,072 ERROR [STDERR]     at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
 11:50:08,072 ERROR [STDERR]     at org.apache.catalina.core.StandardContext.init(StandardContext.java:5052)
 11:50:08,072 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 11:50:08,072 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 11:50:08,072 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 11:50:08,072 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Method.java:585)
 11:50:08,072 ERROR [STDERR]     at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
 11:50:08,072 ERROR [STDERR]     at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
 11:50:08,072 ERROR [STDERR]     at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
 11:50:08,072 ERROR [STDERR]     at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:297)
 11:50:08,072 ERROR [STDERR]     at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103)
 11:50:08,072 ERROR [STDERR]     at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371)
 11:50:08,072 ERROR [STDERR]     at org.jboss.web.WebModule.startModule(WebModule.java:83)
 11:50:08,072 ERROR [STDERR]     at org.jboss.web.WebModule.startService(WebModule.java:61)
 11:50:08,072 ERROR [STDERR]     at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
 11:50:08,072 ERROR [STDERR]     at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
 11:50:08,072 ERROR [STDERR]     at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
 11:50:08,072 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 11:50:08,072 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Method.java:585)
 11:50:08,072 ERROR [STDERR]     at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
 11:50:08,072 ERROR [STDERR]     at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
 11:50:08,072 ERROR [STDERR]     at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
 11:50:08,072 ERROR [STDERR]     at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
 11:50:08,072 ERROR [STDERR]     at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
 11:50:08,072 ERROR [STDERR]     at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
 11:50:08,072 ERROR [STDERR]     at $Proxy0.start(Unknown Source)
 11:50:08,072 ERROR [STDERR]     at org.jboss.system.ServiceController.start(ServiceController.java:417)
 11:50:08,072 ERROR [STDERR]     at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
 11:50:08,072 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 11:50:08,072 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Method.java:585)
 11:50:08,072 ERROR [STDERR]     at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
 11:50:08,072 ERROR [STDERR]     at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
 11:50:08,072 ERROR [STDERR]     at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
 11:50:08,072 ERROR [STDERR]     at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
 11:50:08,072 ERROR [STDERR]     at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
 11:50:08,072 ERROR [STDERR]     at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
 11:50:08,072 ERROR [STDERR]     at $Proxy42.start(Unknown Source)
 11:50:08,072 ERROR [STDERR]     at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
 11:50:08,072 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 11:50:08,072 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 11:50:08,072 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 11:50:08,072 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Method.java:585)
 11:50:08,072 ERROR [STDERR]     at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
 11:50:08,072 ERROR [STDERR]     at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
 11:50:08,072 ERROR [STDERR]     at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
 11:50:08,072 ERROR [STDERR]     at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
 11:50:08,072 ERROR [STDERR]     at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
 11:50:08,072 ERROR [STDERR]     at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
 11:50:08,072 ERROR [STDERR]     at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
 11:50:08,072 ERROR [STDERR]     at org.jboss.ws.integration.jboss.DeployerInterceptor.start(DeployerInterceptor.java:92)
 11:50:08,072 ERROR [STDERR]     at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
 11:50:08,072 ERROR [STDERR]     at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
 11:50:08,072 ERROR [STDERR]     at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
 11:50:08,072 ERROR [STDERR]     at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
 11:50:08,072 ERROR [STDERR]     at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
 11:50:08,072 ERROR [STDERR]     at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
 11:50:08,072 ERROR [STDERR]     at $Proxy43.start(Unknown Source)
 11:50:08,072 ERROR [STDERR]     at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
 11:50:08,072 ERROR [STDERR]     at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
 11:50:08,072 ERROR [STDERR]     at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
 11:50:08,072 ERROR [STDERR]     at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
 11:50:08,072 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 11:50:08,072 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Method.java:585)
 11:50:08,072 ERROR [STDERR]     at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
 11:50:08,072 ERROR [STDERR]     at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
 11:50:08,072 ERROR [STDERR]     at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
 11:50:08,072 ERROR [STDERR]     at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
 11:50:08,072 ERROR [STDERR]     at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
 11:50:08,072 ERROR [STDERR]     at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
 11:50:08,072 ERROR [STDERR]     at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
 11:50:08,072 ERROR [STDERR]     at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
 11:50:08,072 ERROR [STDERR]     at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
 11:50:08,072 ERROR [STDERR]     at $Proxy6.deploy(Unknown Source)
 11:50:08,072 ERROR [STDERR]     at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
 11:50:08,082 ERROR [STDERR]     at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
 11:50:08,082 ERROR [STDERR]     at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
 11:50:08,082 ERROR [STDERR]     at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
 11:50:08,082 ERROR [STDERR]     at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
 11:50:08,082 ERROR [[/address]] Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
 javax.faces.FacesException: java.lang.ClassCastException: com.sun.facelets.component.RepeatRenderer
         at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:354)
         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3763)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4211)
         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
         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.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
         at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
         at org.apache.catalina.core.StandardContext.init(StandardContext.java:5052)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

Any ideas? Do I need to modify web.xml? I really want to use ICEFaces on my project, so any help is really appreciated.

John
I'm unable to deploy the address sample app. I've got jboss 4.0.5.GA, seam 1.1.0.BETA2, myfaces 1.1.4, and facelets. When I drop the address.war in my deploy dir, I get the following error:
Code:
10:50:28,645 INFO  [Server] JBoss (MX MicroKernel) [4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339)] Started in 1m:43s:334ms
 10:56:24,355 INFO  [TomcatDeployer] deploy, ctxPath=/address, warUrl=.../tmp/deploy/tmp51702address-exp.war/
 10:56:26,019 ERROR [[/address]] Error configuring application listener of class com.sun.faces.config.ConfigureListener
 java.lang.ClassNotFoundException: com.sun.faces.config.ConfigureListener
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1355)
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1201)
         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3711)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4211)
         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
         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.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
         at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
         at org.apache.catalina.core.StandardContext.init(StandardContext.java:5052)
         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.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
         at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
         at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:297)
         at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103)
         at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371)
         at org.jboss.web.WebModule.startModule(WebModule.java:83)
         at org.jboss.web.WebModule.startService(WebModule.java:61)
         at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
         at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
         at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
         at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
         at $Proxy0.start(Unknown Source)
         at org.jboss.system.ServiceController.start(ServiceController.java:417)
         at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
         at $Proxy42.start(Unknown Source)
         at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
         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.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
         at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
         at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
         at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
         at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
         at org.jboss.ws.integration.jboss.DeployerInterceptor.start(DeployerInterceptor.java:92)
         at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
         at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
         at $Proxy43.start(Unknown Source)
         at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
         at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
         at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
         at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
         at $Proxy6.deploy(Unknown Source)
         at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
         at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
         at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
         at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
         at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
 10:56:26,099 ERROR [[/address]] Skipped installing application listeners due to previous error(s)
 10:56:26,099 ERROR [StandardContext] Error listenerStart
 10:56:26,099 ERROR [StandardContext] Context [/address] startup failed due to previous errors
 10:56:26,109 WARN  [ServiceController] Problem starting service jboss.web.deployment:war=address.war,id=-1283245034
 org.jboss.deployment.DeploymentException: URL file:/C:/jboss-4.0.5.GA/server/default/tmp/deploy/tmp51702address-exp.war/ deployment failed
         at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:375)

I copied any JARs that weren't in my configuration to my server/default/lib dir. I noticed in the address.war file that a lot of those jars were already present. Is it a problem to have duplicates throughout the server? Also, I saw there was jsf-api.jar and jsf-impl.jar. I'm using MyFaces 1.1.4, so I removed the jsf jars from the war. Was that the right thing to do?
I've read the posts about integrating with Seam. I know y'all are working on it for the next release. All I'm trying to do for my project is get a tree working. I'm not concerned with Seam particulars (maintaining the conversationId, etc.) Will ICEFaces tree component work in a Seam environment?

John
 
Profile for diablo341 -> Messages posted by diablo341 [11]
Go to:   
Powered by JForum 2.1.7ice © JForum Team