This content has been marked as final.
Show 3 replies
-
1. Re: No Nested InitalContext in jboss???
darranl Oct 28, 2003 7:46 AM (in response to kuato)Don't pass in the props when creating the InitialContext inside the bean.
Only the client needs the properties. -
2. Re: No Nested InitalContext in jboss???
kuato Oct 28, 2003 2:24 PM (in response to kuato)No love. Props or no props, the InitialContext is failing to be obtainted.
Got to be something I'm missing. My bean is trying to call a sequenceBean who's responsibility is to check the database for the next available primary key.
My test client obtains the Initialcontext alright, but when myBean tries to lookup my sequenceBean, it can't get the InitialContext.
sigh -
3. Re: No Nested InitalContext in jboss???
kuato Oct 28, 2003 2:51 PM (in response to kuato)found the problem, mySequenceBean ALSO called an InitialContext which I forgot to provide with props so I had actually 3 levels of nesting there. Case closed.