Try using "com.evermind.server.ApplicationInitialContextFactory" and use
"ormi://localhost" as the url.

Thanks,
Ozzie

--- Carl Schaller <[EMAIL PROTECTED]> wrote:
> SV: Servlet Mapping and Accessi try to access an ejb from a cold fusion
> (client). a fuslet servers as a connector between cfxtags and ejb's.
> 
> the fuslet 'HotelManager' results in 'Invalid username/password for
> datamart()' when looking up the home interface of 'HotelManager'.
> 
> ...
> 
>       Properties prop = new Properties();
> 
> 
>
prop.setProperty("java.naming.factory.initial","com.evermind.server.rmi.RMII
> nitialContextFactory");
> 
> prop.setProperty("java.naming.provider.url","ormi://localhost/datamart");
>       prop.setProperty("java.naming.security.principal","admin");
>       prop.setProperty("java.naming.security.credentials","123");
> 
>       context = new InitialContext(prop);
>      HotelManagerHome home =
>
(HotelManagerHome)PortableRemoteObject.narrow(context.lookup("java:comp/env/
> ejb/HotelGuide/HotelManager"), HotelManagerHome.class);
> ...
> 
> ejb/HotelGuide/HotelManager is referenced in web.xml
> 
> thx for any hint.
> 


Reply via email to