tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Billy Vandory <>
Subject WARNING: Failover: Cannot connect to server(s): ejbd://
Date Mon, 05 Apr 2010 15:43:38 GMT


I'm running a non-clustered Geronimo 2.2 "out-of-the-box".  If I try and
jndi to openejb on the same machine as geronimo, everything is fine.  If I
jndi from another machine, I get:

WARNING: Failover: Cannot connect to server(s): ejbd://
Exception: Cannot connect to server 'ejbd://'.  Check that the
server is started and that the specified serverURL is correct..  Trying

Then it promptly fails over to the correct address, connects, and everything
is good.  Here is my client config:

env.put(Context.PROVIDER_URL, "");

As per another user in this list who had the same issue: I have added to the
geronimo startup, as well verified I have the latest version of openejb with
the port/host / discoveryURI properties.  

Below is a snip of the config in plan.xml in:


  <gbean name="EJBNetworkService"
    <attribute name="port">4201</attribute>
    <attribute name="host"></attribute>
    <attribute name="threads">200</attribute>
    <attribute name="multicastPort">6142</attribute>
    <attribute name="multicastHost"></attribute>
    <attribute name="clusterName">cluster1</attribute>
    <attribute name="enableMulticast">true</attribute>
    <attribute name="discoveryURI">ejb:ejbd://</attribute>
    <attribute name="secure">false</attribute>



View this message in context:
Sent from the OpenEJB User mailing list archive at

View raw message