On 7/10/07, David Blevins <[EMAIL PROTECTED]> wrote:
p.setProperty(Context.PROVIDER_URL, "ejbd://localhost:4201");
...
Exception in thread "main" javax.naming.ServiceUnavailableException:
Cannot lookup '/z'. [Root exception is java.net.ConnectException:
Cannot connect to server 'ejbd://localhost:4201'. Check that the
server is started and that the specified serverURL is correct.]
It looks pretty. One question - why is it "serverURL" not
"Context.PROVIDER_URL"?
Jacek
--
Jacek Laskowski
http://www.JacekLaskowski.pl