Yes, Tapestry is supposed to automatically convert EJB 
references to EJB Handles when storing persistent page 
properties ... this is demonstrated in the Vlib.

You have to start sending more of the stack trace when 
you have bizarre problems like this.

--
[EMAIL PROTECTED]

http://tapestry.sf.net
>   Hello, Tom.
> 
>   I'm messed somewhat... I did have that permanent exception but now I just
> can't reproduce it.
>   Now I have another permanent ClassCastException exception while looking up
> for Home interface:
> Object tracker/ejb/Catalog is not of type
> com.imedia.tracker.components.catalog.interfaces.CatalogHome
> 
>   Everything is like in VLib. I have only one guess - class loading. I tried
> to package up framework within my app and deploy it separately. Nothing
> works.
> 
>   Thanks for reply,
> 
> alex
> 
> 
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On
> > Behalf Of Tom
> > Davies
> > Sent: Thursday, May 23, 2002 3:44 PM
> > Cc: 'Tapestry-Developer (E-mail)
> > Subject: Re: [Tapestry-developer] Remote EJB interface as persistent
> > property
> >
> >
> > Alex Loubyansky wrote:
> > >   Hi, all.
> > >
> > >   Do someone have any thoughts on what the cause for this
> > exception could
> > > be?
> > > Name: com.primix.tapestry.record.RollbackException
> > > Message: Unable to set property catalog of component
> > CategoryManager to
> > > tracker/ejb/Catalog:Stateless.
> > > componentId: CategoryManager newValue: tracker/ejb/Catalog:Stateless
> > > propertyName: catalog
> > >
> > > Name: com.primix.tapestry.util.DynamicInvocationException
> > > Message: Could not invoke method getCatalog on
> > >
> > com.imedia.tracker.web.pages.CategoryManager@45bb9d[CategoryManager].
> > > Name: java.lang.IllegalArgumentException
> > > Message: argument type mismatch Trace:
> > >
> > >   Catalog is a remote stateless session bean. I handle it
> > like IBookQuery in
> > > VLib tutorial. Please, if anyone have some thoughts let me know.
> >
> > What're the first few stack frames, and what's the signature of
> > getCatalog()?
> >
> > Tom
> >
> >
> >
> > _______________________________________________________________
> >
> > Don't miss the 2002 Sprint PCS Application Developer's Conference
> > August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
> >
> > _______________________________________________
> > Tapestry-developer mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/tapestry-developer
> 
> 
> _______________________________________________________________
> 
> Don't miss the 2002 Sprint PCS Application Developer's Conference
> August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
> 
> _______________________________________________
> Tapestry-developer mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/tapestry-developer

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
Tapestry-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/tapestry-developer

Reply via email to