geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vamsavardhana Reddy" <c1vams...@gmail.com>
Subject Re: ejb NameNotFound exception?
Date Wed, 08 Mar 2006 09:22:04 GMT
Kristian,

I should have been more specific.  Please send the deployment descriptor and
plan for the web application.

-Vamsi

On 3/8/06, Kristian Rink <krink@pm-planc.de> wrote:
>
>
> Hi Vamsavardhana, list;
>
> and at first thanks for your reply...
>
>
> Vamsavardhana Reddy schrieb:
> > Can you post the deployment descriptor and deployment plans?
>
>
> Hmm, here we go The relevant part in ejb-jar.xml looks like this:
>
>
>
>       <!-- Session Beans -->
>       <session id="Session_Simple">
>          <description><![CDATA[A session bean named
> Simple]]></description>
>          <display-name>Simple</display-name>
>
>          <ejb-name>Simple</ejb-name>
>
>          <home>ejbs.SimpleHome</home>
>          <remote>ejbs.Simple</remote>
>          <local-home>ejbs.SimpleLocalHome</local-home>
>          <local>ejbs.SimpleLocal</local>
>          <ejb-class>ejbs.SimpleSession</ejb-class>
>          <session-type>Stateless</session-type>
>          <transaction-type>Container</transaction-type>
>
>       </session>
>
>
> I haven't messed with that yet, this is right what was generated by
> xdoclet. About openejb-jar.xml: Initially this file looks like that:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <openejb-jar xmlns="http://www.openejb.org/xml/ns/openejb-jar-2.0"
> xmlns:nam="http://geronimo.apache.org/xml/ns/naming-1.0"
> xmlns:pkgen="http://www.openejb.org/xml/ns/pkgen-2.0"
> xmlns:sec="http://geronimo.apache.org/xml/ns/security-1.1"
> xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.0"
> configId="SimpleBean/SimpleBean">
>         <enterprise-beans />
> </openejb-jar>
>
>
> I modified it to actually contain the session bean configuration because
> I somehow remembered that this should by in there (shouldn't it - at
> least xdoclet doesnt seem to care about that):
>
> <?xml version="1.0" encoding="UTF-8"?>
> <openejb-jar xmlns="http://www.openejb.org/xml/ns/openejb-jar-2.0"
> xmlns:nam="http://geronimo.apache.org/xml/ns/naming-1.0"
> xmlns:pkgen="http://www.openejb.org/xml/ns/pkgen-2.0"
> xmlns:sec="http://geronimo.apache.org/xml/ns/security-1.1"
> xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.0"
> configId="SimpleBean/SimpleBean">
>   <enterprise-beans>
>         <session>
>                 <ejb-name>Simple</ejb-name>
>                 <jndi-name>Simple</jndi-name>
>         </session>
>   </enterprise-beans>
> </openejb-jar>
>
>
>
> Cheers,
> Kris
>
> --
> Kristian Rink   -- Programmierung/Systembetreuung
> planConnect GmbH * Strehlener Str. 12 - 14 * 01069 Dresden
> 0176 24472771 * krink@pm-planc.de
>

Mime
View raw message