You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by Eoin 81 <eo...@campus.ie> on 2010/11/24 18:45:39 UTC
OpenEjb JNDI user issue
Hi Guys,
I was wondering if someone could help me with my initial set up of OpenEjb
embedded in Tomcat.
I have an ejb jar containing a bean, local and remote interfaces (all EJB
2.1) with the associated ejb-jar-xml.
I used the cmd line utility "openejb start" and then "openejb deploy" tools
to deploy my jar and it looks like it installed successfully (and it gives
me the default JNDI name).
I can see the classes are loaded in the class viewer @
http://localhost:8080/openejb/viewclass.jsp however I dont see my bean under
the JNDI tree/list & thus I cant access it.
Does anyone have any idea how I might troubleshoot this!?
Thanks! Eoin
Re: OpenEjb JNDI user issue
Posted by David Blevins <da...@visi.com>.
On Wed, Nov 24, 2010 at 9:45 AM, Eoin 81 <eo...@campus.ie> wrote:
> I was wondering if someone could help me with my initial set up of OpenEjb
> embedded in Tomcat.
>
> I have an ejb jar containing a bean, local and remote interfaces (all EJB
> 2.1) with the associated ejb-jar-xml.
>
> I used the cmd line utility "openejb start" and then "openejb deploy" tools
> to deploy my jar and it looks like it installed successfully (and it gives
> me the default JNDI name).
Looks like you started an OpenEJB standalone server (i.e. not one
running in Tomcat) and deployed the app to that.
Instead, you can just drop the ejb jar right into the Tomcat webapps/
directory. Tomcat will pick it up, hand it to us and it will be
deployed.
-David