Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
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
- duplicates
-
GERONIMO-282 servlet calls ejb: "class not found" at deployment and run time
- Closed
- is depended upon by
-
GERONIMO-163 Support for ejb-refs in a web.xml
- Closed