Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-4318

Do not force that the exploded directory ends with ".ear" to get the EJB's to deploy

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 9.0.0.Beta1
    • None
    • None
    • None

      Relates to WFLY-4081 and the IntelliJ issues to make using WildFly less of a pain in IntelliJ:
      https://youtrack.jetbrains.com/issue/IDEA-133729
      https://youtrack.jetbrains.com/issue/IDEA-95695

      "Checked solution in IntelliJ 14.1. In general it works. But there is problem with exploded EAR deployments. If I'm trying to deploy exploded EAR which contains some EJB jar with several EJBs beans, this EJBs fails to start in JBoss EAP: org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor doesn't even start. But if I try to deploy exploded EAR with ".ear" postfix (just an output folder with ".ear" on the end) it successfully starts EJB beans and I see some JNDI mapping to it from "org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor". Maybe this is a problem of JBoss EAP itself but it seems that we cannot use just a regular folder for exploded EAR output, we have to add ".ear" suffix on the end "

      "For exploded EAR we should still add ".ear" extension to the exploded directory. Otherwise all EJB beans wouldn't be processed and started after deploy."

            bstansbe@redhat.com Brian Stansberry
            gdesmet@redhat.com Geoffrey De Smet (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: