Have you downloaded 2.0.5?  It has built-in JBoss 3.0.0 support and works
well.

----- Original Message -----
From: "Alex Loubyansky" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: "'Tapestry Developer'" <[EMAIL PROTECTED]>
Sent: Thursday, May 23, 2002 10:43 PM
Subject: RE: [Tapestry-developer] Remote EJB interface as persistent
property


>   Hello, Howard.
>
>   I won't stop using Tapestrty. But for now I just don't have time to get
> into its bowels. The semantics is just cool, but I couldn't get it working
> stably with JBoss 3.x. Mention one more about the problem: stateless
session
> bean's remote interface as persistent property. I tried different
packaging,
> making the variable as synthetic and still there were problems. May be I
did
> something wrong but I use VLib as an example.
>
>   Thank you for trying to help. Sure, if I have some findings I'll share
> with the list.
>
> alex
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, May 23, 2002 10:55 PM
> > To: [EMAIL PROTECTED]
> > Cc: Tapestry Developer
> > Subject: RE: [Tapestry-developer] Remote EJB interface as persistent
> > property
> >
> >
> > I'm not aware of any weakness in Tapestry that wouldn't
> > affect Struts as well.  When you redeploy a Struts-based
> > WAR, you'll still be getting a new class loader, and
> > some data you've stuffed into the HttpSession will no
> > longer be usable.
> >
> > If you find otherwise, please check back with your
> > findings.
> >
> > --
> > [EMAIL PROTECTED]
> >
> > http://tapestry.sf.net
> > >   Well, I've come to conclusion that Tapestrty-2.0.1 and
> > JBoss-3.x/Tomcat
> > > isn't compatible for now (I tried JBoss-3.0-RC3 and latest
> > 3.1.0alpha) on
> > > Win2000 with j2sdk-1.4.0.
> > >   By that I mean working with EJB's.
> > >
> > >   Please, if someone got it working let me know. For now I
> > don't see another
> > > choice like get back to struts.
> > >
> > > pity, pity, pity....
> > >
> > > alex
> > >
> > > > -----Original Message-----
> > > > From: [EMAIL PROTECTED]
> > > > [mailto:[EMAIL PROTECTED]]On
> > Behalf Of
> > > > [EMAIL PROTECTED]
> > > > Sent: Thursday, May 23, 2002 4:46 PM
> > > > To: [EMAIL PROTECTED]
> > > > Cc: Tapestry Developer
> > > > Subject: RE: [Tapestry-developer] Remote EJB interface as
> > persistent
> > > > property
> > > >
> > > >
> > > > I just tried this using Jetty/JBoss and the Vlib.ear.
> > > >
> > > > I couldn't reproduce your problem because redeploying
> > > > the Vlib.ear invalidated my session.  This is a very
> > > > sensible thing to do since it sidesteps class loader
> > > > issues.  I'm pretty sure its the standard approach taken
> > > > by most application servers (including WebLogic).
> > > >
> > > > I'm sorry that with my limited resources I can't
> > > > validate Tapestry against more configurations of servlet
> > > > container and application server.  This is an area where
> > > > the help of the community is needed.
> > > >
> > > > --
> > > > [EMAIL PROTECTED]
> > > >
> > > > http://tapestry.sf.net
> > > > >   I think I just have no other choice :) I have been
> > > > struggling two days
> > > > > with the problem. I'll try to run VLib and let you know.
> > > > >
> > > > >   Thank you for the help, Howard.
> > > > >
> > > > > alex
> > > > >
> > > > > > -----Original Message-----
> > > > > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> > > > > > Sent: Thursday, May 23, 2002 4:24 PM
> > > > > > To: [EMAIL PROTECTED]
> > > > > > Cc: Tapestry Developer
> > > > > > Subject: RE: [Tapestry-developer] Remote EJB interface as
> > > > persistent
> > > > > > property
> > > > > >
> > > > > >
> > > > > > Hm.  Can you deploy the Vlib in this same application
> > > > > > server configuration?
> > > > > >
> > > > > > --
> > > > > > [EMAIL PROTECTED]
> > > > > >
> > > > > > http://tapestry.sf.net
> > > > > > >   Tom,
> > > > > > >
> > > > > > >   here it is. I got back that exception again.
> > > > > > >
> > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > > > > >
> > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess
> > > > > > orImpl.java:39
> > > > > > > )
> > > > > > >
> > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth
> > > > > > odAccessorImpl
> > > > > > > .java:25)
> > > > > > > java.lang.reflect.Method.invoke(Method.java:324)
> > > > > > >
> > > > > > com.primix.tapestry.util.prop.PropertyAccessor.set(PropertyAcc
> > > > > > essor.java:169
> > > > > > > )
> > > > > > >
> > > > > > com.primix.tapestry.util.prop.PropertyHelper.set(PropertyHelpe
> > > > > > r.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(AbstractEngi
> > > > > > ne.java:706)
> > > > > > >
> > > > > > com.primix.tapestry.ApplicationServlet.doService(ApplicationSe
> > > > > > rvlet.java:203
> > > > > > > )
> > > > > > >
> > > > > > com.primix.tapestry.ApplicationServlet.doGet(ApplicationServle
> > > > > > t.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
> > > > >
> > > >
> > > > _______________________________________________________________
> > > >
> > > > 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
>



-------------------------------------------------------
This sf.net email is sponsored by: Jabber Inc.
Don't miss the IM event of the season | Special offer for OSDN members! 
JabConf 2002, Aug. 20-22, Keystone, CO http://www.jabberconf.com/osdn
_______________________________________________
Tapestry-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/tapestry-developer

Reply via email to