Uploaded image for project: 'Geronimo'
  1. Geronimo
  2. GERONIMO-283

JettyModuleBuilder can't find remote interface for ejb-refs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • deployment, web
    • None
    • fedora core 2
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_04-b05)

    Description

      From Toby Cabot:

      I'm trying to deploy a web application that calls an EJB. I can
      deploy the EJB and call if from a command-line Java client, so I think
      that part works, thanks to this list for help with JNDI.

      I did the usual stuff in the servlet, but when I add

      <ejb-ref>
      <ejb-ref-name>g6o/SSEJB</ejb-ref-name>
      <ejb-ref-type>Session</ejb-ref-type>
      <home>g6o.ejbclient.StatelessSessionHome</home>
      <remote>g6o.ejbclient.StatelessSession</remote>
      </ejb-ref>

      to web.xml I get a stack trace when I run the deploy tool.

      org.apache.geronimo.deployment.DeploymentException: Remote interface class not found:
      +g6o.ejbclient.StatelessSession
      at org.apache.geronimo.jetty.deployment.JettyModuleBuilder.assureInterface(JettyModuleBuilder.java:593)
      at
      +org.apache.geronimo.jetty.deployment.JettyModuleBuilder.assureEJBObjectInterface(JettyModuleBuilder.java:573)
      at org.apache.geronimo.jetty.deployment.JettyModuleBuilder.addEJBRefs(JettyModuleBuilder.java:491)

      etc...

      I've got the EJB interfaces in a jar in the war file's WEB-INF/lib
      directory, but I also tried putting the jar with the EJB interfaces in
      geronimo's lib directory with the same result.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dblevins David Blevins
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: