Hi Ishwar,
did you include a <ejb-ref> part in your web.xml ?
It should look similar to:
<ejb-ref>
<ejb-ref-name>ejb/TimeServerEJB</ejb-ref-name>
<ejb-ref-type>Session</ejb-ref-type>
<home>com.xzy.TimerServerEJBHome</home>
<remote>com.xzy.Timerserver</remote>
</ejb-ref>
<ejb-ref-name> should match <jndi-name> in openejb-jar.xml
If that doesn't help, could you post you deployment descriptors?
Greets,
Markus
> Hi,
> I coded a tiny application with two modules (EJB [stateless
> session] and WAR) modules. IT deploys fine but when I try to access the
> page, I get error as follows:
>
> java.rmi.NoSuchObjectException:
> geronimo.server:EJBModule=TimeServerEJB,J2EEApplication=TimeServerEAR,J2
> EEServer=geronimo,j2eeType=StatelessSessionBean,name=TimeServer
>
> I tried altering the deployment plans in many ways, none succeed.
>
> Any help?
>
> Regards,
> Ishwar
Schnell und einfach ohne Anschlusswechsel zur Lycos DSL Flatrate wechseln und 3
Monate kostenlos ab effektiven 5,21 EUR pro Monat im ersten Jahr surfen.
http://www.lycos.de/startseite/online/dsl/index.html?prod=DSL&trackingID=email_footertxt