well
found the answer myself. i case you are wondering... use package syntax to
lookup ejb
(com.hotelguide.bn1001.datamart.domain.HotelManager).
-----Urspr�ngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im Auftrag von Carl Schaller
Gesendet: Thursday, January 18, 2001 5:04 PM
An: Orion-Interest
Betreff: Invalid username/password looking up EJBi 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.RMIInitialContextFactory");
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.xmlthx for any hint.
