Tom,
here it is. I got back that exception again.
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
java.lang.reflect.Method.invoke(Method.java:324)
com.primix.tapestry.util.prop.PropertyAccessor.set(PropertyAccessor.java:169
)
com.primix.tapestry.util.prop.PropertyHelper.set(PropertyHelper.java:586)
com.primix.tapestry.record.PageRecorder.rollback(PageRecorder.java:222)
com.primix.tapestry.engine.RequestCycle.getPage(RequestCycle.java:257)
com.primix.tapestry.engine.PageService.service(PageService.java:92)
com.primix.tapestry.engine.AbstractEngine.service(AbstractEngine.java:706)
com.primix.tapestry.ApplicationServlet.doService(ApplicationServlet.java:203
)
com.primix.tapestry.ApplicationServlet.doGet(ApplicationServlet.java:168)
javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
Hope, it's enough. Further follows catalina's stack.
And this is my getCatalog():
public Catalog getCatalog() {
if(catalog == null) {
MTCatalogEngine engine = (MTCatalogEngine)getEngine();
for(int i = 0; i < 2; ++i) {
try {
CatalogHome catalogHome = engine.getCatalogHome();
setCatalog(catalogHome.create());
break;
} catch(CreateException ce) {
throw new ApplicationRuntimeException(ce);
} catch(RemoteException re) {
engine.rmiFailure("Remote exception creating Catalog", re, i > 0);
}
}
}
return catalog;
}
Please, any hints would greatly appreciated.
TIA,
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