org.apache.geronimo.common.DeploymentException: Unable to initialize GBean for web app jsf2sample

geronimo-dev | Tina Li (Assigned) (JIRA) | 5 years ago
  1. 0

    [jira] [Created] (GERONIMO-6235) "java.lang.ClassCastException" happened when deployed jsf sample from openwebbeans

    geronimo-dev | 5 years ago | Tina Li (Created) (JIRA)
    org.apache.geronimo.common.DeploymentException: Unable to initialize GBean for web app jsf2sample
  2. 0

    [jira] [Updated] (GERONIMO-6235) "java.lang.ClassCastException" happened when deployed jsf sample from openwebbeans

    geronimo-dev | 5 years ago | Tina Li (Updated) (JIRA)
    org.apache.geronimo.common.DeploymentException: Unable to initialize GBean for web app jsf2sample
  3. 0

    [jira] [Assigned] (GERONIMO-6235) "java.lang.ClassCastException" happened when deployed jsf sample from openwebbeans

    geronimo-dev | 5 years ago | Tina Li (Assigned) (JIRA)
    org.apache.geronimo.common.DeploymentException: Unable to initialize GBean for web app jsf2sample
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Class loading problem with websphere 6.1

    Oracle Community | 8 years ago | 796219
    java.lang.ClassCastException: javax.faces.component.UIViewRoot incompatible with com.opentext.docviewer.ui.component.toolbar.Toolbar
  6. 0

    In testing the latest component-showcase-portlets example in the icefaces2/trunk, I ran into a problem with delta submit. It looks like a recent change that delta submit has been enabled by default for the component-showcase example. <context-param> <param-name>org.icefaces.deltaSubmit</param-name> <param-value>true</param-value> </context-param> When running the example on WebSphere Portal 7 with the latest PortletFaces bridge and the ICEfaces EE extensions, I ran into the following: java.lang.ClassCastException: com.ibm.ws.portletcontainer.core.impl.ResourceRequestImpl incompatible with javax.portlet.ActionRequest at org.icefaces.impl.event.DeltaSubmitPhaseListener.reconstructParametersFromDeltaSubmit(DeltaSubmitPhaseListener.java:157) at org.icefaces.impl.event.DeltaSubmitPhaseListener.beforePhase(DeltaSubmitPhaseListener.java:58) at com.sun.faces.lifecycle.Phase.handleBeforePhase(Phase.java:228) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:99) at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) at org.portletfaces.bridge.BridgeImpl.doFacesRequest(BridgeImpl.java:513) at org.portletfaces.bridge.GenericFacesPortlet.serveResource(GenericFacesPortlet.java:131 ... The code in the phase listener is casting to an ActionRequest which, for some requests, is too specific. While the request could be an ActionRequest, it's more likely to be a ResourceRequest as that is how Ajax requests are treated.

    ICEsoft JIRA Issue Tracker | 6 years ago | Deryk Sinotte
    java.lang.ClassCastException: com.ibm.ws.portletcontainer.core.impl.ResourceRequestImpl incompatible with javax.portlet.ActionRequest

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassCastException

      org.apache.myfaces.spi.impl.DefaultFacesConfigurationMergerFactory incompatible with org.apache.myfaces.spi.FacesConfigurationMergerFactory

      at org.apache.myfaces.spi.FacesConfigurationMergerFactory.getFacesConfigurationMergerFactory()
    2. org.apache.myfaces
      FacesConfigurationMergerFactory.getFacesConfigurationMergerFactory
      1. org.apache.myfaces.spi.FacesConfigurationMergerFactory.getFacesConfigurationMergerFactory(FacesConfigurationMergerFactory.java:74)
      1 frame
    3. org.apache.geronimo
      EARConfigBuilder.buildConfiguration
      1. org.apache.geronimo.myfaces.deployment.MyFacesModuleBuilderExtension.addGBeans(MyFacesModuleBuilderExtension.java:276)
      2. org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.addGBeans(TomcatModuleBuilder.java:700)
      3. org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder.addGBeans(SwitchingModuleBuilder.java:174)
      4. org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:763)
      4 frames
    4. Geronimo :: Deploy :: Common Config
      Deployer.deploy
      1. org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:255)
      2. org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:140)
      2 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
      4. java.lang.reflect.Method.invoke(Method.java:611)
      4 frames
    6. Geronimo :: Kernel
      BasicKernel.invoke
      1. org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
      2. org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131)
      3. org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:883)
      4. org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245)
      4 frames
    7. Geronimo :: Deploy :: JSR-88
      DistributeCommand.run
      1. org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:116)
      2. org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:61)
      2 frames
    8. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:736)
      1 frame