Lookup ejb's in action classes

2001-07-04 Thread joi
Title: Message I have a problem performin lookup on my ejb's in struts action classes. I always get NameNotFoundException. I'm pretty sure that my ejb-jar.xml and web.xml are correct. Is this a common  problem accessing the Context through the struts action classes? I'm using orion 1.5.2

RE: Help with Resources !!

2001-07-04 Thread joi
Verify the path to the ApplicationResources.properties file in web.xml is correct. Solved my problem.. -Original Message- From: Keith Bacon [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 04, July, 2001 15:26 To: [EMAIL PROTECTED] Subject: RE: Help with Resources !! I also had index.title

RE: Problem with sturts and ejb

2001-07-03 Thread joi
nagerHome userHome = (UserManagerHome)javax.rmi.PortableRemoteObject.narrow(o, UserManagerHome.class); userManager = userHome.create(); Regards, Wayland Chan --- joi <[EMAIL PROTECTED]> wrote: > Hi! > I have a problem accessing the InitialContext in the > action > classes..when i

Problem with sturts and ejb

2001-07-03 Thread joi
Title: Message Hi! I have a problem accessing the InitialContext in the action classes..when i perform lookup on my ejb's I get this error message... "Error instantiating web-app JNDI-context: No location specified and no suitable instance of the type 'com.maskina.mcstudio.model.persistanc

Problem with ejb and struts

2001-07-03 Thread joi
Hi! I have a problem accessing the InitialContext in the action classes. I'm using struts blank with ejb and when I lookup the ejb they cant be found! The enviroment returns an empty Context.. ..code from an Action class.. Context ctx = new InitialContext(); Obje