On Mar 19, 2009, at 5:22 AM, giovacar wrote:


Hi Gurus,
i try to deploy a EJB on Tomcat installation:

bin\openejb deploy --server-url http://localhost:8080/openejb/ejb myEJB.jar

but it not work:
19-mar-2009 13.17.17 org.apache.openejb.client.StickyConnectionStrategy
connect
AVVERTENZA: Failover: Cannot connect to server(s): ejbd://localhost: 4201
Excepti
on: Cannot connect to server 'ejbd://localhost:4201'. Check that the server
is
started and that the specified serverURL is correct..  Trying next.
openejb/DeployerBusinessRemote does not exist in server
'ejbd://localhost:4201',
check the server logs to ensure it exists and has not been removed.

what's my wrong action?

The command line tools for starting/stopping/deploying in OpenEJB standalone don't work for starting/stopping/deploying Tomcat and aren't shipped in the openejb.war for that reason.

In Tomcat, copying the ejb jar into the webapps/ directory should do the trick.

-David

Reply via email to