i thought it was activation/passivation issue to start with but after
putting some tracing code in i saw that none of the beans had been
passivated. then i noticed in my ejb-jar.xml that the KnowledgeBaseMgr bean
was declared as Stateful so i changed it to Stateless and everything worked
fine (no barfing after FinderException). great except i need
KnowledgeBaseMgr to stateful. ssssooooo, in the stateful case, why would
jboss be looking be looking for a passivated instance of KnowledgeBaseMgr
after a FinderException, when the bean hadn't been passivated in the first
place? or maybe i'm still doin something stupid...


> -----Original Message-----
> From: Burkhard Vogel [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 12, 2001 1:07 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [JBoss-user] finder stress
> 
> 
> Hi,
> this is not about invalidating but activation/passivation. 
> The container
> tries to activate (reload from ser-file) a stateful session bean which
> obviously does not exist. Sorry if I cannot provide further 
> info, but show
> some code, probably it'll help (whats the session bean? 
> KnowledgeBaseMgr?
> whats the entity bean? Is it true that your method 
> importSchema fails??)
> Burkhard
> ----- Original Message -----
> From: "Nick Taylor" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, July 12, 2001 1:28 PM
> Subject: [JBoss-user] finder stress
> 
> 
> > I am seeing some strange behaviour to do with my finder 
> methods: when the
> > finder methods of my entity beans are able to locate the 
> required data
> > (using JDBC) everything is fine...but when a finder method fails by
> throwing
> > a FinderException, any subsequent interaction with my session bean
> generates
> > the following sort of exception:
> >
> > >>TRACE>> RMIClient: exception in importSchema: 
> java.rmi.ServerException:
> > RemoteException occurred in server thread; nested exception is:
> >         javax.transaction.TransactionRolledbackException: Could not
> > activate; nested exception is:
> >         java.io.FileNotFoundException:
> > 
> D:\jboss\jboss\db\sessions\KnowledgeBaseMgr\994934579190.ser 
> (The system
> > cannot find the file specified); nested exception is:
> >         java.rmi.NoSuchObjectException: Could not activate; nested
> exception
> > is:
> >         java.io.FileNotFoundException:
> > 
> D:\jboss\jboss\db\sessions\KnowledgeBaseMgr\994934579190.ser 
> (The system
> > cannot find the file specified)
> >
> > Its like the session bean handle my client is using is 
> invalidated by the
> > finder exception!!!. Anyone have any ideas about this 
> one...or rather
> where
> > I could be screwing things up?
> >
> > Cheers
> > Nick
> >
> > _______________________________________________
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> 
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
> 

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to