Hello!
I'm trying out Geronimo!
Got problems with deploying my webapp.
What is wrong?
Does this mean that a classpath must be set somewhere?
Is it a misspelling?
Does this mean that the deployment tool doesn't see any of
the files in the EJB? Here is the message:
Error: Unable to distribute my-webapp-1.0.war: Error processing
'remote' element for EJB Reference 'BCalcREJB' for module
'MyWebApp': Remote interface class not found:
com.tellussoft.Test.BonusCalculator
The EJB has been deployed earlier without error.
Here's the ejb-jar.xml:

<enterprise-beans>
  <session>
<display-name>Stateless Session Bean with Remote interfaces</display-name>
      <ejb-name>BCalcREJB</ejb-name>
      <home>com.tellussoft.Test.BonusCalculatorHome</home>
      <remote>com.tellussoft.Test.BonusCalculator</remote>
      <ejb-class>com.tellussoft.Test.BonusCalculatorBean</ejb-class>
      <session-type>Stateless</session-type>
      <transaction-type>Container</transaction-type>
  </session>
  <session>
<display-name>Stateless Session Bean with Local Interfaces</display-name>
      <ejb-name>BCalcLEJB</ejb-name>
<local-home>com.tellussoft.Test.LocalBonusCalculatorHome</local-home>
      <local>com.tellussoft.Test.LocalBonusCalculator</local>
      <ejb-class>com.tellussoft.Test.BonusCalculatorBean</ejb-class>
      <session-type>Stateless</session-type>
      <transaction-type>Container</transaction-type>
  </session>
</enterprise-beans> And the web.xml:
<ejb-local-ref>
    <ejb-ref-name>BCalcLEJB</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
   <local-home>com.tellussoft.Test.LocalBonusCalculatorHome</local-home>
    <local>com.tellussoft.Test.LocalBonusCalculator</local>
</ejb-local-ref>
<ejb-ref>
    <ejb-ref-name>BCalcREJB</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <home>com.tellussoft.Test.BonusCalculatorHome</home>
    <remote>com.tellussoft.Test.BonusCalculator</remote>
</ejb-ref>

Reply via email to