openejb-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicola Dellisanti <nicola.dellisa...@gmail.com>
Subject Re: tomcat integration
Date Tue, 08 Feb 2011 16:18:14 GMT
Thanks for your answer, Jean-Louis.

I put my ejb .jar (named richtestejb.jar) in webapps tomcat folder.
I write the line

<Deployments jar="richtestejb.jar" />

in the openejb.xml, like I read at
http://openejb.apache.org/3.0/deployments.html
I've restarted tomcat, but at
http://localhost:8080/openejb/viewejb.jspopenejb page there is the
message: "No EJB specified".

where is my mistake?


2011/2/8 Jean-Louis MONTEIRO <jeanouii@gmail.com>

>
> Hi,
>
> When embedded in Tomcat, you cannot change the deployment directory.
> OpenEJB always checks Tomcat deployment directory ($CATALINA_BASE/webapps
> is
> the default).
>
> So, you need either to create a jar module and deploy it in webapps dir, or
> create a webapp and put your files in WEB-INF/classes dir.
>
>
> Hope it helps.
> Jean-Louis
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/tomcat-integration-tp3276072p3276165.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message