You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by de...@geronimo.apache.org on 2004/08/05 20:29:19 UTC

[jira] Created: (GERONIMO-283) JettyModuleBuilder can't find remote interface for ejb-refs

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/GERONIMO-283

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: GERONIMO-283
    Summary: JettyModuleBuilder can't find remote interface for ejb-refs
       Type: Bug

     Status: Unassigned
   Priority: Major

    Project: Apache Geronimo
 Components: 
             web
             deployment

   Assignee: 
   Reporter: David Blevins

    Created: Thu, 5 Aug 2004 11:28 AM
    Updated: Thu, 5 Aug 2004 11:28 AM
Environment: 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.



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Closed: (GERONIMO-283) JettyModuleBuilder can't find remote interface for ejb-refs

Posted by de...@geronimo.apache.org.
Message:

   The following issue has been closed.

   Resolver: Dain Sundstrom
       Date: Wed, 8 Sep 2004 11:30 AM

works now
---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/GERONIMO-283

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: GERONIMO-283
    Summary: JettyModuleBuilder can't find remote interface for ejb-refs
       Type: Bug

     Status: Closed
   Priority: Major
 Resolution: FIXED

    Project: Apache Geronimo
 Components: 
             web
             deployment

   Assignee: 
   Reporter: David Blevins

    Created: Thu, 5 Aug 2004 11:28 AM
    Updated: Wed, 8 Sep 2004 11:30 AM
Environment: 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.



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira