[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openejb-user
Subject:    Re: deploy EJB on tomcat
From:       David Blevins <david.blevins () visi ! com>
Date:       2009-03-20 23:19:46
Message-ID: 188BACA0-8C6B-441A-84A8-F0CC4F1476F9 () visi ! com
[Download RAW message or body]


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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic