java.lang.ClassCastException: com.sun.enterprise.deployment.EjbSessionDescriptor

Oracle Community | 807581 | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Unable to deploy gsm.ear. pLease help

    Oracle Community | 1 decade ago | 807581
    java.lang.ClassCastException: com.sun.enterprise.deployment.EjbSessionDescriptor

    Root Cause Analysis

    1. java.lang.ClassCastException

      com.sun.enterprise.deployment.EjbSessionDescriptor

      at com.sun.enterprise.deployment.node.runtime.ActivationConfigNode.getDescriptor()
    2. Deployment Object Library
      SaxParserHandler.startElement
      1. com.sun.enterprise.deployment.node.runtime.ActivationConfigNode.getDescriptor(ActivationConfigNode.java:49)
      2. com.sun.enterprise.deployment.node.DeploymentDescriptorNode.getHandlerFor(DeploymentDescriptorNode.java:244)
      3. com.sun.enterprise.deployment.node.SaxParserHandler.startElement(SaxParserHandler.java:328)
      3 frames
    3. Java RT
      SAXParser.parse
      1. com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:533)
      2. com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.startElement(XMLDTDValidator.java:798)
      3. com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:330)
      4. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1693)
      5. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
      6. com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
      7. com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
      8. com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
      9. com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
      10. javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
      10 frames
    4. Deployment Object Library
      ApplicationArchivist.openArchive
      1. com.sun.enterprise.deployment.io.DeploymentDescriptorFile.read(DeploymentDescriptorFile.java:256)
      2. com.sun.enterprise.deployment.archivist.Archivist.readRuntimeDeploymentDescriptor(Archivist.java:274)
      3. com.sun.enterprise.deployment.archivist.ApplicationArchivist.readRuntimeDeploymentDescriptor(ApplicationArchivist.java:336)
      4. com.sun.enterprise.deployment.archivist.ApplicationArchivist.openArchive(ApplicationArchivist.java:689)
      5. com.sun.enterprise.deployment.archivist.ApplicationArchivist.openArchive(ApplicationArchivist.java:654)
      5 frames
    5. com.sun.enterprise
      DeployThread.run
      1. com.sun.enterprise.deployment.backend.Deployer.loadDescriptors(Deployer.java:278)
      2. com.sun.enterprise.deployment.backend.AppDeployer.deploy(AppDeployer.java:164)
      3. com.sun.enterprise.deployment.backend.AppDeployer.doRequestFinish(AppDeployer.java:107)
      4. com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:148)
      5. com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:71)
      6. com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:639)
      7. com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:188)
      8. com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:520)
      9. com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:143)
      10. com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:172)
      10 frames