geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From SergZ <serg...@gmail.com>
Subject Access to ejb from war from different jvm
Date Mon, 07 Jan 2008 00:06:44 GMT

Hello. 
My war is not sensitive to geronimo-web.xml

in servlet:

my_bean = (beanRemote)ctx.lookup("bean123Remote");

in geronimo-web.xml:
<ejb-ref>
        <ref-name>bean123Remote</ref-name>
        <pattern>
            <groupId>com.qwe</groupId>
            <artifactId>GW_EJB</artifactId>
            <name>beanBean</name>
        </pattern>
</ejb-ref>

in openejb-jar.xml
<enterprise-beans>
        <session>
            <ejb-name>beanBean</ejb-name>
            <jndi-name>ejb/beanRemote</jndi-name>
            <local-jndi-name>ejb/beanLocale</local-jndi-name>
        </session>
    </enterprise-beans>

war cannot find the bean.
And why is the JNDIname beanBeanRemote instead of BeanRemote.

And can you give me a right example?
-- 
View this message in context: http://www.nabble.com/Access-to-ejb-from-war-from-different-jvm-tp14655998s134p14655998.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Mime
View raw message