Considering you are in an embedded (in tomcat) mode, you can do the following
to activate the remotable mode.

   1. Create a file named system.properties under the conf directory (with
server.xml, openejb.xml, ...)
   2. Add the following to the system.properties file and save
      openejb.embedded.remotable=true

They you can use a command line tool to remotely deploy an ejb-jar.
You probably saw the log saying it can not connect to ejbd://localhost:4201
event if you provide the command line argument --server-url. It has been
fixed (https://issues.apache.org/jira/browse/OPENEJB-1002) in the trunk and
it will be available for next release.

Jean-Louis
-- 
View this message in context: 
http://www.nabble.com/deploy-EJB-on-tomcat-tp22599057p22601009.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Reply via email to