Marco,
Thanks for making the server.log available. That helped. I know what's
going on. You have not installed osgi-ejb-container bundle, the bundle
responsible for identifying your ejb/osgi bundle as an ejb bundle and
deploying the ejbs. To install osgi-ejb-container, just do the following:
wget
http://download.java.net/maven/glassfish/org/glassfish/osgi-ejb-container/3.1-SNAPSHOT/osgi-ejb-container-3.1-SNAPSHOT.jar
cp osgi-ejb-container-3.1-SNAPSHOT.jar
/home/marco/java/glassfishv3.1_2010-05-21/glassfish/modules/autostart/
(module/autostart/ is like autodeploy/ directory, but it is reserved for
glassfish supplied modules, because they may require additional security
permissions.)
No need to stop server or redeploy any other bundle.
Look at the server.log to see that not only the new bundle got
installed, it also now recognized the ejb/osgi bundle and deployed the EJBs.
HTH,
Sahoo
glassfish_at_javadesktop.org wrote:
> Hello Sahoo,
>
> just wanted to let you know that I tried it with these downloads of GlassFish, too:
>
> http://dlc.sun.com.edgesuite.net/glassfish/v3.1/nightly/latest-glassfish.zip
> http://dlc.sun.com.edgesuite.net/glassfish/v3.1/nightly/glassfish-3.1-b03-05_28_2010.zip
>
> It's the same with all of them: javax.naming.NameNotFoundException: org.nightlabs.test.osgi.ejb.TestRemote not found
>
> Did I download the right one(s)?
>
> Best regards, Marco :-)
> [Message sent by forum member 'nlmarco']
>
> http://forums.java.net/jive/thread.jspa?messageID=472161
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>