geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacek Laskowski" <ja...@laskowski.net.pl>
Subject Re: How to lookup an EJB3 session bean by JNDI?
Date Sat, 23 Feb 2008 00:25:03 GMT
On Fri, Feb 8, 2008 at 1:03 PM, lucky lance <luckylance2005@yahoo.ca> wrote:

> env.put("java.naming.provider.url","iiop://localhost:1050");

What's this? I'm not sure iiop will work. I'm not sure, but just
remove the line at all and run the app with only
Context.INITIAL_CONTEXT_FACTORY (or its stringified version -
java.naming.factory.initial) specified. Let us know how it's worked
out.

Jacek

-- 
Jacek Laskowski
http://www.JacekLaskowski.pl

Mime
View raw message