RE: getting EJB home from JSP

2000-10-11 Thread Reddy Krishnan
Title: sorry for the typo. I am getting classcastexception. -Original Message-From: Al Fogleson [mailto:[EMAIL PROTECTED]]Sent: Monday, October 09, 1995 9:24 PMTo: Orion-InterestSubject: Re: getting EJB home from JSP hmmm interensting. of course i assume that is just

RE: getting EJB home from JSP

2000-10-11 Thread Nick Newman
Hi Krishnan, Is that REALLY your code? If so, the problem is probably that you declare the variable on the left to be a CategoryHome, but the right hand side is a CategoryManagerHome. The fact that Orion returns a CategoryManagerHome_StatelessSessionHomeWrapper3 rather than a

RE: getting EJB home from JSP

2000-10-11 Thread Jitendra Kothari
Newman Sent: Wednesday, October 11, 2000 7:49 AM To: Orion-Interest Subject: RE: getting EJB home from JSP Hi Krishnan, Is that REALLY your code? If so, the problem is probably that you declare the variable on the left to be a CategoryHome, but the right hand side is a CategoryManagerHome

RE: getting EJB home from JSP

2000-10-09 Thread Reddy Krishnan
--From: Al Fogleson [mailto:[EMAIL PROTECTED]]Sent: Sunday, October 08, 1995 7:57 AMTo: Orion-InterestSubject: Re: getting EJB home from JSP The only time I have ever seen this is when I forgot to cast my PortableRemoteObject.narrow() call it should be some

Re: getting EJB home from JSP

2000-10-09 Thread Al Fogleson
. I assume you are getting an exception on execution? Al - Original Message - From: Reddy Krishnan To: Orion-Interest Sent: Monday, October 09, 2000 2:14 PM Subject: RE: getting EJB home from JSP Hi, I am casting the narrowed object properly my code

Re: getting EJB home from JSP

2000-10-08 Thread Al Fogleson
you still have to cast it to a thisHome object even using a portableRemoteObject.narrow() Al - Original Message - From: Jitendra Kothari To: Orion-Interest Sent: Saturday, October 07, 2000 10:59 PM Subject: getting EJB home from JSP Hi, I am deploying ejbs

getting EJB home from JSP

2000-10-07 Thread Jitendra Kothari
Title: Hi, I am deploying ejbs, and jsps using a source-directory method with development set to "true"( instead of packages classes into ears or wars). When i try to get a handle from JNDI for EJB home class within my jsp i am getting following error: java.lang.ClassCastExceptionat