12 Replies Latest reply on Nov 21, 2007 7:28 AM by Yevgen Kravchenko

    Dynamic Tabs

    Paul Baker Apprentice

      Has anyone created dynamic tabs in a tabPanel?

      It does not appear that tabPanel accepts a variable to iterate through a list of UITab objects.

      I have tried using jstl with c:forEach but I am running into some problems. Does anyone have a working example of dynamic tabs or can share how they were able to solve this?

      Thanks, PB

        • 1. Re: Dynamic Tabs
          Paul Baker Apprentice

          Here is a little more info. The code below shows what I am trying to accomplish. ICEFaces and MyFaces both support this... We should be able to as well..

          Side note:
          I've made several posts the last couple of days... Is there anyone out there? Anyone??? This community does not seem to be very active.... RichFaces is the best ajax implementation I have seen so far. I really like the professional looking components... But the support (community support) is lacking...

          <h:form>
           <h:panelGrid border="0" columns="1" style="width: 100%;">
           <rich:tabPanel
           valueChangeListener="#{flightBean.flightTabPanel.valueChanged}"
           binding="#{flightBean.flightTabPanel.tabPanel}"
           value="#{flightBean.flightTabPanel.currentTab}" id="tab_panel">
           <f:valueChangeListener type="org.richfaces.TabChangeListener" />
           <c:forEach var="tab" items="#{flightBean.flightTabs}">
           <rich:tab name="#{tab.fltNum}" label="#{tab.fltNum}">
           <h:outputText value="bla bla" />
           </rich:tab>
           </c:forEach>
           </rich:tabPanel>
           </h:panelGrid>
          </h:form>
          
          


          • 2. Re: Dynamic Tabs
            Paul Baker Apprentice

            I converted my jsp to facelets to see if that would help... It didn't.

            #{flightBean.flightTabs} is being invoked and a list of 3 flightTab objects is being returned. However the fltNum method is never invoked.

            Is it possible that this problem is related to: http://jira.jboss.com/jira/browse/RF-191

            <html xmlns="http://www.w3.org/1999/xhtml"
             xmlns:ui="http://java.sun.com/jsf/facelets"
             xmlns:h="http://java.sun.com/jsf/html"
             xmlns:rich="http://richfaces.ajax4jsf.org/rich"
             xmlns:f="http://java.sun.com/jsf/core" xml:lang="en" lang="en">
            
             <ui:composition template="./../../WEB-INF/layout.xhtml">
             <ui:define name="menu">
             <ui:include src="./flightMenu.xhtml" />
             </ui:define>
            
             <ui:define name="content">
             <h:panelGrid border="0" columns="1" style="width:100%">
             <h:form>
             <rich:tabPanel
             valueChangeListener="#{flightBean.flightTabPanel.valueChanged}"
             binding="#{flightBean.flightTabPanel.tabPanel}" id="tab_panel">
             <f:valueChangeListener type="org.richfaces.TabChangeListener" />
             <rich:tab name="test" label="test">
             <h:outputText value="bla bla " />
             </rich:tab>
             <ui:repeat var="tabb" value="#{flightBean.flightTabs}">
             <rich:tab name="#{tabb.fltNum}" >
             <h:outputText value="bla bla" />
             </rich:tab>
             </ui:repeat>
             </rich:tabPanel>
             </h:form>
             </h:panelGrid>
            
             </ui:define>
             </ui:composition>
            </html>


            flightBean code:

            public List getFlightTabs() {
             if (fltTabs == null) {
             initFltTabs();
             }
            
             return fltTabs;
             }
            
             private void initFltTabs() {
             fltTabs = new ArrayList();
            
             FlightTab fltTab = new FlightTab();
             fltTab.setFltNum("XS100");
             fltTabs.add(fltTab);
            
             fltTab = new FlightTab();
             fltTab.setFltNum("XS101");
             fltTabs.add(fltTab);
            
             fltTab = new FlightTab();
             fltTab.setFltNum("XS102");
             fltTabs.add(fltTab);
             }
            


            • 3. Re: Dynamic Tabs
              Ilya Shaikovsky Master

              You can't use ui:repeat to generate dynamic tabs. It should not work.

              For this purpose you may use c:forEach. It should works in facelets env as expected.

              • 4. Re: Dynamic Tabs
                Paul Baker Apprentice

                Thanks for the reply... But no luck..

                I opbviously have something set incorrectly. I am having other strange things happing besides this. See:

                http://forum.java.sun.com/thread.jspa?threadID=5209888&tstart=15

                When I change to c:forEach I get only lonely tab displayed with no label. There should be three tab dislayed with labels: XS100, XS101, XS102

                The flightBean method getFlightTab is being invoked and it does return an ArrayList that contains three FlightTab objects. The getFlightNum method on the FlightTab objects is never invoked.

                <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
                 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
                
                <html xmlns="http://www.w3.org/1999/xhtml"
                 xmlns:ui="http://java.sun.com/jsf/facelets"
                 xmlns:h="http://java.sun.com/jsf/html"
                 xmlns:rich="http://richfaces.ajax4jsf.org/rich"
                 xmlns:c="http://java.sun.com/jsp/jstl/core"
                 xmlns:f="http://java.sun.com/jsf/core" xml:lang="en" lang="en">
                
                 <ui:composition template="/WEB-INF/layout.xhtml">
                 <ui:define name="menu">
                 <ui:include src="./carrierMenu.xhtml" />
                 </ui:define>
                
                 <ui:define name="content">
                 <h:panelGrid border="0" columns="1" style="width:100%">
                 <h:form id="carrierForm">
                 <rich:tabPanel
                 valueChangeListener="#{flightBean.flightTabPanel.valueChanged}"
                 binding="#{flightBean.flightTabPanel.tabPanel}" id="tab_panel">
                 <f:valueChangeListener type="org.richfaces.TabChangeListener" />
                 <c:forEach var="tab" items="${flightBean.flightTabs}">
                 <rich:tab name="${tab.fltNum}" label="${tab.fltNum}">
                 <h:outputText value="bla bla" />
                 </rich:tab>
                 </c:forEach>
                 </rich:tabPanel>
                 </h:form>
                 </h:panelGrid>
                
                 </ui:define>
                 </ui:composition>
                </html>
                



                flightBean:

                 public List getFlightTabs() {
                 if (fltTabs == null) {
                 initFltTabs();
                 }
                
                 return fltTabs;
                 }
                
                 private void initFltTabs() {
                 fltTabs = new ArrayList();
                
                 FlightTab fltTab = new FlightTab();
                 fltTab.setFltNum("XS100");
                 fltTabs.add(fltTab);
                
                 fltTab = new FlightTab();
                 fltTab.setFltNum("XS101");
                 fltTabs.add(fltTab);
                
                 fltTab = new FlightTab();
                 fltTab.setFltNum("XS102");
                 fltTabs.add(fltTab);
                 }
                


                FlightTab

                package com.sita.wab.flight;
                
                public class FlightTab {
                
                 private String fltNum;
                
                 /**
                 * @return the fltNum
                 */
                 public String getFltNum() {
                 return fltNum;
                 }
                
                 /**
                 * @param fltNum the fltNum to set
                 */
                 public void setFltNum(String fltNum) {
                 this.fltNum = fltNum;
                 }
                }
                


                Any help will be appreciated!
                Thanks in advance.



                • 5. Re: Dynamic Tabs
                  Ilya Shaikovsky Master

                   

                  <rich:tabPanel switchType="client" >
                   <c:forEach items="#{capitalsBean.capitals}" var="cap">
                   <rich:tab label="#{cap.name}">
                   <h:outputText value="#{cap.state}"></h:outputText>
                   </rich:tab>
                   </c:forEach>
                   </rich:tabPanel>
                  


                   private ArrayList<Capital> capitals = new ArrayList<Capital>();
                  ...
                   public ArrayList<Capital> getCapitals() {
                   return capitals;
                   }
                  ...
                  


                  package demo.table;
                  
                  import java.io.Serializable;
                  
                  public class Capital implements Serializable {
                   /**
                   *
                   */
                   private static final long serialVersionUID = -1042449580199397136L;
                   private boolean checked=false;
                   private String name;
                   private String state;
                   private String timeZone;
                  
                   private final static String FILE_EXT = ".gif";
                   public Capital() {
                   setName("Name");
                   setState(null);
                   }
                   public String getName() {
                   return name;
                   }
                   public void setName(String name) {
                   this.name = name;
                   }
                   public String getState() {
                   return state;
                   }
                   public void setState(String state) {
                   this.state = state;
                   }
                  
                   private String stateNameToFileName() {
                   return state.replaceAll("\\s", "").toLowerCase();
                   }
                  
                   public String getStateFlag() {
                   return "pages/" + stateNameToFileName() + FILE_EXT;
                   }
                  
                   public String getStateFlagLarge() {
                   return stateNameToFileName() + "_large" + FILE_EXT;
                   }
                   public String getTimeZone() {
                   return timeZone;
                   }
                   public void setTimeZone(String timeZone) {
                   this.timeZone = timeZone;
                   }
                   public boolean isChecked() {
                   return checked;
                   }
                   public void setChecked(boolean checked) {
                   this.checked = checked;
                   }
                  }
                  


                  works for me as expected under the

                  RF 3.1.0 RC3
                  JSF 1.2_04
                  Facelets 1.1.12

                  • 6. Re: Dynamic Tabs
                    Paul Baker Apprentice

                    Ummm.. I'm also using: RF 3.1.0 RC3
                    I'll have to check the other two.
                    JSF 1.2_04
                    Facelets 1.1.12

                    I am running using JBoss (I'm at a different station now so I don't have access to the version. But I think that it is 4.0.1.

                    Something is defininately wrong with my configuration.. Perhaps the double post issue that I referred to in my last post is related.

                    Thanks for responding...

                    • 7. Re: Dynamic Tabs
                      Paul Baker Apprentice

                      Hi ilya_shaikovsky,

                      I am still having problems with the dynamic tabs. I think that the problem are related to the jars that I am loading.

                      I have a clean install of jboss 4.2.1 GA

                      I am using
                      RF 3.1.0 RC3
                      JSF 1.2
                      Facelets 1.1

                      I am loading the following jars:

                      commons-beanutils.jar
                      commons-beanutils-bean-collections.jar
                      commons-beanutils-core.jar
                      commons-collections-3.2.jar
                      commons-digester-1.8.jar
                      commons-el.jar
                      jsf-facelets.jar
                      richfaces-api-3.1.0-rc3.jar
                      richfaces-impl-3.1.0-rc3.jar
                      richfaces-ui-3.1.0-rc3.jar

                      I'm able to display my pages but I must make two requests (post twice) for the navigation rule to fire.

                      I have tried a few other jar configuration but I get the exception below.

                      Will you please share with me the jars that you are loading?

                      java.lang.LinkageError: loader constraints violated when linking javax/el/ELContext class
                       at com.sun.facelets.el.ELAdaptor.getELContext(ELAdaptor.java:45)
                       at com.sun.facelets.impl.DefaultFaceletContext.<init>(DefaultFaceletContext.java:85)
                       at com.sun.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:91)
                       at com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHandler.java:503)
                       at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:546)
                       at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
                       at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:237)
                       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.internalDoFilter(ApplicationFilterChain.java:290)
                       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                       at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
                       at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
                       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                       at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
                       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
                       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
                       at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
                       at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
                       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
                       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
                       at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
                       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
                       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
                       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
                       at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
                       at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
                       at java.lang.Thread.run(Thread.java:595)
                      


                      • 8. Re: Dynamic Tabs
                        Paul Baker Apprentice

                        Follow up:

                        I have downloaded the richfaces-demo war file:
                        "richfaces-demo-3.0.2-20070810.000236-1.war" from:
                        http://maven.exadel.com/org/richfaces/richfaces-demo/3.0.2-SNAPSHOT

                        And when I deploy the demo on a clean install of jboss 4.2.1 GA I receive the following deploy errors (see below).

                        Do I need to adjust any jar files in jboss to run RichFaces and facelets?

                        I am running jboss using: java jdk1.5.0_12

                        I was hoping to use jsf, richfaces, and facelets for a proof of concept but time is running out.. Anyhelp would be appreciated... Thanks in advance! Paul

                        05:13:08,979 INFO [TomcatDeployer] deploy, ctxPath=/richfaces-demo-3.0.2-20070810.000236-1, warUrl=.../tmp/deploy/tmp13662richfaces-demo-3.0.2-20070810.000236-1-exp.war/
                        05:13:09,853 WARN [Digester] [ComponentRule]{faces-config/component} Merge(javax.faces.ViewRoot)
                        05:13:14,697 INFO [ConfigureListener] Application object verification completed successfully
                        05:13:15,257 ERROR [000236-1]] Exception sending context initialized event to listener instance of class org.jboss.web.jsf.integration.config.JBossJSFConfigureListener
                        java.lang.ClassCastException: com.sun.faces.application.ApplicationAssociate
                         at com.sun.faces.application.ApplicationAssociate.getInstance(ApplicationAssociate.java:172)
                         at com.sun.faces.config.JSFVersionTracker.publishInstanceToApplication(JSFVersionTracker.java:266)
                         at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:408)
                         at org.jboss.web.jsf.integration.config.JBossJSFConfigureListener.contextInitialized(JBossJSFConfigureListener.java:69)
                         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3854)
                         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4359)
                         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761)
                         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741)
                         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
                         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.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
                         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:5310)
                         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.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
                         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.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:301)
                         at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104)
                         at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375)
                         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.GeneratedMethodAccessor15.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.GeneratedMethodAccessor9.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 $Proxy45.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.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:93)
                         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 $Proxy46.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.GeneratedMethodAccessor19.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 $Proxy9.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.startService(AbstractDeploymentScanner.java:336)
                         at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
                         at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
                         at sun.reflect.GeneratedMethodAccessor4.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.GeneratedMethodAccessor9.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 $Proxy4.start(Unknown Source)
                         at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
                         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 org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
                         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.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 $Proxy5.deploy(Unknown Source)
                         at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
                         at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
                         at org.jboss.Main.boot(Main.java:200)
                         at org.jboss.Main$1.run(Main.java:508)
                         at java.lang.Thread.run(Thread.java:595)
                        05:13:15,260 ERROR [StandardContext] Error listenerStart
                        05:13:15,261 ERROR [StandardContext] Context [/richfaces-demo-3.0.2-20070810.000236-1] startup failed due to previous errors
                        05:13:15,264 ERROR [000236-1]] Exception sending context destroyed event to listener instance of class com.sun.faces.application.WebappLifecycleListener
                        java.lang.ClassCastException: com.sun.faces.application.ApplicationAssociate
                         at com.sun.faces.application.ApplicationAssociate.getInstance(ApplicationAssociate.java:180)
                         at com.sun.faces.application.WebappLifecycleListener.getAssociate(WebappLifecycleListener.java:289)
                         at com.sun.faces.application.WebappLifecycleListener.handleAttributeEvent(WebappLifecycleListener.java:225)
                         at com.sun.faces.application.WebappLifecycleListener.contextDestroyed(WebappLifecycleListener.java:275)
                         at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3893)
                         at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4525)
                         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4389)
                         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761)
                         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741)
                         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
                         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.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
                         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:5310)
                         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.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
                         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.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:301)
                         at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104)
                         at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375)
                         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.GeneratedMethodAccessor15.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.GeneratedMethodAccessor9.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 $Proxy45.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.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:93)
                         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 $Proxy46.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.GeneratedMethodAccessor19.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 $Proxy9.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.startService(AbstractDeploymentScanner.java:336)
                         at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
                         at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
                         at sun.reflect.GeneratedMethodAccessor4.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.GeneratedMethodAccessor9.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 $Proxy4.start(Unknown Source)
                         at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
                         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 org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
                         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.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 $Proxy5.deploy(Unknown Source)
                         at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
                         at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
                         at org.jboss.Main.boot(Main.java:200)
                         at org.jboss.Main$1.run(Main.java:508)
                         at java.lang.Thread.run(Thread.java:595)
                        05:13:15,277 ERROR [000236-1]] Exception sending context destroyed event to listener instance of class org.jboss.web.jsf.integration.config.JBossJSFConfigureListener
                        java.lang.ClassCastException: com.sun.faces.application.ApplicationAssociate
                         at com.sun.faces.application.ApplicationAssociate.clearInstance(ApplicationAssociate.java:186)
                         at com.sun.faces.config.ConfigureListener.contextDestroyed(ConfigureListener.java:440)
                         at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3893)
                         at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4525)
                         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4389)
                         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761)
                         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741)
                         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
                         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.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
                         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:5310)
                         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.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
                         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.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:301)
                         at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104)
                         at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375)
                         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.GeneratedMethodAccessor15.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.GeneratedMethodAccessor9.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 $Proxy45.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.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:93)
                         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 $Proxy46.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.GeneratedMethodAccessor19.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 $Proxy9.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.startService(AbstractDeploymentScanner.java:336)
                         at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
                         at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
                         at sun.reflect.GeneratedMethodAccessor4.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.GeneratedMethodAccessor9.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 $Proxy4.start(Unknown Source)
                         at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
                         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 org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
                         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.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 $Proxy5.deploy(Unknown Source)
                         at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
                         at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
                         at org.jboss.Main.boot(Main.java:200)
                         at org.jboss.Main$1.run(Main.java:508)
                         at java.lang.Thread.run(Thread.java:595)
                        05:13:15,579 WARN [ServiceController] Problem starting service jboss.web.deployment:war=richfaces-demo-3.0.2-20070810.000236-1.war,id=-31913526
                        org.jboss.deployment.DeploymentException: URL file:/G:/jboss/jboss-4.2.1.GA/server/default/tmp/deploy/tmp13662richfaces-demo-3.0.2-20070810.000236-1-exp.war/ deployment failed
                         at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:379)
                         at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104)
                         at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375)
                         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.GeneratedMethodAccessor15.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.GeneratedMethodAccessor9.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 $Proxy45.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.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:93)
                         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 $Proxy46.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.GeneratedMethodAccessor19.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 $Proxy9.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.startService(AbstractDeploymentScanner.java:336)
                         at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
                         at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
                         at sun.reflect.GeneratedMethodAccessor4.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.GeneratedMethodAccessor9.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 $Proxy4.start(Unknown Source)
                         at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
                         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 org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
                         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.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 $Proxy5.deploy(Unknown Source)
                         at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
                         at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
                         at org.jboss.Main.boot(Main.java:200)
                         at org.jboss.Main$1.run(Main.java:508)
                         at java.lang.Thread.run(Thread.java:595)
                        05:13:15,582 ERROR [MainDeployer] Could not start deployment: file:/G:/jboss/jboss-4.2.1.GA/server/default/deploy/richfaces-demo-3.0.2-20070810.000236-1.war
                        org.jboss.deployment.DeploymentException: URL file:/G:/jboss/jboss-4.2.1.GA/server/default/tmp/deploy/tmp13662richfaces-demo-3.0.2-20070810.000236-1-exp.war/ deployment failed
                         at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:379)
                         at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104)
                         at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375)
                         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.GeneratedMethodAccessor15.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.GeneratedMethodAccessor9.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 $Proxy45.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.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:93)
                         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 $Proxy46.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.GeneratedMethodAccessor19.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 $Proxy9.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.startService(AbstractDeploymentScanner.java:336)
                         at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
                         at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
                         at sun.reflect.GeneratedMethodAccessor4.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.GeneratedMethodAccessor9.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 $Proxy4.start(Unknown Source)
                         at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
                         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 org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
                         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.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 $Proxy5.deploy(Unknown Source)
                         at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
                         at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
                         at org.jboss.Main.boot(Main.java:200)
                         at org.jboss.Main$1.run(Main.java:508)
                         at java.lang.Thread.run(Thread.java:595)
                        05:13:15,601 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
                        
                        --- Incompletely deployed packages ---
                        org.jboss.deployment.DeploymentInfo@fe1909ca { url=file:/G:/jboss/jboss-4.2.1.GA/server/default/deploy/richfaces-demo-3.0.2-20070810.000236-1.war }
                         deployer: MBeanProxyExt[jboss.web:service=WebServer]
                         status: Deployment FAILED reason: URL file:/G:/jboss/jboss-4.2.1.GA/server/default/tmp/deploy/tmp13662richfaces-demo-3.0.2-20070810.000236-1-exp.war/ deployment failed
                         state: FAILED
                         watch: file:/G:/jboss/jboss-4.2.1.GA/server/default/deploy/richfaces-demo-3.0.2-20070810.000236-1.war
                         altDD: null
                         lastDeployed: 1188292388947
                         lastModified: 1188292388925
                         mbeans:
                        
                        --- MBeans waiting for other MBeans ---
                        ObjectName: jboss.web.deployment:war=richfaces-demo-3.0.2-20070810.000236-1.war,id=-31913526
                         State: FAILED
                         Reason: org.jboss.deployment.DeploymentException: URL file:/G:/jboss/jboss-4.2.1.GA/server/default/tmp/deploy/tmp13662richfaces-demo-3.0.2-20070810.000236-1-exp.war/ deployment failed
                        
                        --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
                        ObjectName: jboss.web.deployment:war=richfaces-demo-3.0.2-20070810.000236-1.war,id=-31913526
                         State: FAILED
                         Reason: org.jboss.deployment.DeploymentException: URL file:/G:/jboss/jboss-4.2.1.GA/server/default/tmp/deploy/tmp13662richfaces-demo-3.0.2-20070810.000236-1-exp.war/ deployment failed
                        
                        
                        05:13:16,006 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
                        05:13:16,069 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
                        05:13:16,131 INFO [Server] JBoss (MX MicroKernel) [4.2.1.GA (build: SVNTag=JBoss_4_2_1_GA date=200707131605)] Started in 44s:270ms
                        


                        • 9. Re: Dynamic Tabs
                          Paul Baker Apprentice

                          Problems were all related to the fact that I had the wrong namespace for jstl tags:

                          xmlns:c="http://java.sun.com/jsp/jstl/core"

                          should be:

                          xmlns:c="http://java.sun.com/jstl/core"

                          Thanks Ilya!

                          • 10. Re: Dynamic Tabs
                            Yevgen Kravchenko Newbie

                            ilya_shaikovsky
                            Is it possible to use <c:forEach> to create dynamic tabs if I don't use facelets? As far as I know jstl <c:forEach> is not able to fire backing beans methods. Am i mistaken? Please help

                            Regards Yevgen Kravchenko

                            • 11. Re: Dynamic Tabs
                              Ilya Shaikovsky Master

                              look..

                              You have the bean which will stores initial collection

                              It will be iterated via c:forEach and the tabPanel will be filled with tabs.

                              After you call some request - just rebuild this collection as you need from your action and after update - your tabPanel will be rebuilt also.

                              • 12. Re: Dynamic Tabs
                                Yevgen Kravchenko Newbie

                                Ilya thank you for response

                                I understood what you have propsed earlies, but I worried about will c:forEach work with my managed beans collection property.

                                I have seen lots of resources that stated that JSTL tags don't work with backing beans properties.

                                If you're using JSP or JSTL expressions with managed beans, you need to ensure that the beans have been created first, either by a JSF expression, Java code, or your own custom tag. This is because these older expression languages don't know about JSF's Managed Bean Creation facility.

                                Sourcehttp://www.javaworld.com/javaworld/jw-12-2004/jw-1213-jsf.html?page=2

                                But if it worked for You, then it should work.

                                Thans you.

                                Regards Yevgen