OpenEjb JNDI user issue

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

OpenEjb JNDI user issue

Eoin 81
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
Reply | Threaded
Open this post in threaded view
|

Re: OpenEjb JNDI user issue

dblevins
Administrator
On Wed, Nov 24, 2010 at 9:45 AM, Eoin 81 <[hidden email]> 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