geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Mulder <ammul...@alumni.princeton.edu>
Subject Re: Deploy war-problem
Date Mon, 23 Jan 2006 22:04:09 GMT
Are the web application and EJB JAR in the same EAR or seperate
standalone modules?  And do you have a geronimo-web.xml deployment
plan you're using for the web application?

Thanks,
    Aaron

On 1/23/06, Stein Kråbøl <steinkr@tellussoft.com> wrote:
> 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>
>
>

Mime
View raw message