Re: [JBoss-user] Weird error in jboss2.1.1

2001-05-10 Thread David Jencks
Hi, Apparently what I thought was a clear response, you did not find so. I'll try again. Here's your code annotated. private ProjectInfoHome projectinfohome; private ProjectInfo projectinfo; public ProjectInfoJB getProjectInfoJB(int projectid) throws RemoteException, ICantFindItException {

Re: [JBoss-user] Weird error in jboss2.1.1

2001-05-10 Thread Russell
Hi David , If i ignoring the exception , didn't the method will throw null pointer exception to client. I have do a testing and found that because my session is stateless bean , instance variable is not specific for all client. If i change the session to stateful , the method will throw n

Re: [JBoss-user] Weird error in jboss2.1.1

2001-05-10 Thread awc
Russell, If your second time is a 5 minutes apart from first time. I guess your value Object retains some thing after it passivated. try this on ejbPassivate() { ProjectInfoJB = null; } anil Russell wrote: > Hi all , I am using RedHat6.1 , jdk1.3 and jboss2.1 . > > I have an entity

Re: [JBoss-user] Weird error in jboss2.1.1

2001-05-10 Thread David Jencks
Hi, I doubt your code as reported is complete. From what you show us, the object returned from getProjectInfoJB is never created. The "no exception" is presumably from your trapping and ignoring the FinderException when you look for your bean. I suspect what is happening is that jboss is reus

[JBoss-user] Weird error in jboss2.1.1

2001-05-10 Thread Russell
Hi all , I am using RedHat6.1 , jdk1.3 and jboss2.1 . I have an entity bean , method below is the implementation code is most important which to increase ejb performance using value object: public ProjectInfoJB getProjectInfoJB() throws RemoteException{ projectinfojb.setAgreement