Just in cas someone wanted to know, our relay team in India found a solution adding javassist.runtime.Desc.useContextClassLoader = true in AppModule did the trick.
/** * This module is automatically included as part of the Tapestry IoC Registry, it's a good place to * configure and extend Tapestry, or to place your own service definitions. */ public class AppModule { public static void bind(ServiceBinder binder) { javassist.runtime.Desc.useContextClassLoader = true; } -----Original Message----- From: Robert, Brice Sent: Friday, February 20, 2009 3:01 PM To: Tapestry users Subject: RE: [T5-OSGi] Javassist Thanks for Javassist explanation. I do use the Felix maven bundle plugin generated by the command: mvn archetype:generate 32: internal -> spring-osgi-bundle-archetype (Spring-OSGi archetype) It would be great if you can load your T5 bundle to the spring Repo http://www.springsource.com/repository/app/faq#q9 Thanks, Brice -----Original Message----- From: Igor Drobiazko [mailto:igor.drobia...@gmail.com] Sent: Friday, February 20, 2009 2:49 PM To: Tapestry users Subject: Re: [T5-OSGi] Javassist Well, I never tried to run a Tapestry 4.1.5 app in an OSGi environment. We use T5 and OSGi. T5 needs Javassist 3.0.9ga, so please use this version. Furthermore I encourage you to generate you Manifest with Felix BND Maven Plugin. http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html On Fri, Feb 20, 2009 at 8:15 PM, Robert, Brice < brice.rob...@alliancebernstein.com> wrote: > Igor, > > Thanks for your answer. > > I looked at the Tapestry 4.1.5 bundle created and posted by Jessie > kuhnert on the Spring DM Server repository > http://www.springsource.com/repository and I must say that the Manifest > I created is just a big bag of everything. I have some Spring Cleaning > to do. > > But why Javassist 3.0.9.ga, are there any specifics one need to know? > > Brice > > > -----Original Message----- > From: Igor Drobiazko [mailto:igor.drobia...@gmail.com] > Sent: Friday, February 20, 2009 1:21 PM > To: Tapestry users > Subject: Re: [T5-OSGi] Javassist > > First of all you need the version 3.9.0.ga. > It looks like your Tapestry bundle cannot resolve import of javassist > packages. Without any look at your Manifest it is almost impossible to > give > you any advice. > > On Fri, Feb 20, 2009 at 6:33 PM, Robert, Brice < > brice.rob...@alliancebernstein.com> wrote: > > > Hi, > > > > I was able to run T5 under SpringSource DM Server but I am running > into > > problems. > > I just wanted to know if someone has gone further than where I am. > > > > The stack trace is below > > > > [2009-02-20 12:13:22.578] server-tomcat-thread-25 > > apestry5.services.TapestryModule.RequestExceptionHandler.unknown E > > Processing of request failed with uncaught exception: > > javassist/runtime/Desc > > java.lang.NoClassDefFoundError: javassist/runtime/Desc > > at > > > org.apache.tapestry5.corelib.components.Grid._$environment_read_formSupp > > ort(Grid.java) > > > > I use the javassist bundle provided by SpringSource > > > http://www.springsource.com/repository/app/bundle/version/detail?name=co > > > m.springsource.javassist&version=3.3.0.ga&searchType=bundlesByName&searc > > hQuery=javassist > > > > Thanks, > > Brice > > > > > ------------------------------------------------------------------------ > ----------- > > The information contained in the linked e-mail transmission and any > > attachments may be privileged and confidential and is intended only > for > > the use of the person(s) named in the linked e-mail transmission. If > you > > are not the intended recipient, or an employee or agent responsible > for > > delivering this message to the intended recipient, you should not > > review, disseminate, distribute or duplicate this e-mail transmission > or > > any attachments. If you are not the intended recipient, please contact > > the sender immediately by reply e-mail and destroy all copies of the > > original message. We do not accept account orders and/or instructions > > related to AllianceBernstein products or services by e-mail, and > > therefore will not be responsible for carrying out such orders and/or > > instructions. The linked e-mail transmission and any attachments are > > provided for informational purposes only and should not be construed > in > > any manner as any solicitation or offer to buy or sell any investment > > opportunities or any related financial instruments and should not be > > construed in any manner as a public offer of any investment > > opportunities or any related financial instruments. If you, as the > > intended recipient of the linked e-mail transmission, the purpose of > > which is to inform and update our clients, prospects and consultants > of > > developments relating to our services and products, would not like to > > receive further e-mail correspondence from the sender, please "reply" > > to the sender indicating your wishes. Although we attempt to sweep > > e-mail and attachments for viruses, we will not be liable for any > > damages arising from the alteration of the contents of this linked > e-mail > > transmission and any attachments by a third party or as a result of > any > > virus being passed on. Please note: Trading instructions sent > > electronically to Bernstein shall not be deemed accepted until a > > representative of Bernstein acknowledges receipt electronically or by > > telephone. Comments in the linked e-mail transmission and any > > attachments are part of a larger body of investment analysis. For our > > research reports, which contain information that may be used to > > support investment decisions, and disclosures, see our website at > > www.bernsteinresearch.com. > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > > For additional commands, e-mail: users-h...@tapestry.apache.org > > > > > > > -- > Best regards, > > Igor Drobiazko > > ------------------------------------------------------------------------ ----------- > The information contained in the linked e-mail transmission and any > attachments may be privileged and confidential and is intended only for > the use of the person(s) named in the linked e-mail transmission. If you > are not the intended recipient, or an employee or agent responsible for > delivering this message to the intended recipient, you should not > review, disseminate, distribute or duplicate this e-mail transmission or > any attachments. If you are not the intended recipient, please contact > the sender immediately by reply e-mail and destroy all copies of the > original message. We do not accept account orders and/or instructions > related to AllianceBernstein products or services by e-mail, and > therefore will not be responsible for carrying out such orders and/or > instructions. The linked e-mail transmission and any attachments are > provided for informational purposes only and should not be construed in > any manner as any solicitation or offer to buy or sell any investment > opportunities or any related financial instruments and should not be > construed in any manner as a public offer of any investment > opportunities or any related financial instruments. If you, as the > intended recipient of the linked e-mail transmission, the purpose of > which is to inform and update our clients, prospects and consultants of > developments relating to our services and products, would not like to > receive further e-mail correspondence from the sender, please "reply" > to the sender indicating your wishes. Although we attempt to sweep > e-mail and attachments for viruses, we will not be liable for any > damages arising from the alteration of the contents of this linked e-mail > transmission and any attachments by a third party or as a result of any > virus being passed on. Please note: Trading instructions sent > electronically to Bernstein shall not be deemed accepted until a > representative of Bernstein acknowledges receipt electronically or by > telephone. Comments in the linked e-mail transmission and any > attachments are part of a larger body of investment analysis. For our > research reports, which contain information that may be used to > support investment decisions, and disclosures, see our website at > www.bernsteinresearch.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- Best regards, Igor Drobiazko ------------------------------------------------------------------------ ----------- The information contained in the linked e-mail transmission and any attachments may be privileged and confidential and is intended only for the use of the person(s) named in the linked e-mail transmission. If you are not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you should not review, disseminate, distribute or duplicate this e-mail transmission or any attachments. If you are not the intended recipient, please contact the sender immediately by reply e-mail and destroy all copies of the original message. We do not accept account orders and/or instructions related to AllianceBernstein products or services by e-mail, and therefore will not be responsible for carrying out such orders and/or instructions. The linked e-mail transmission and any attachments are provided for informational purposes only and should not be construed in any manner as any solicitation or offer to buy or sell any investment opportunities or any related financial instruments and should not be construed in any manner as a public offer of any investment opportunities or any related financial instruments. If you, as the intended recipient of the linked e-mail transmission, the purpose of which is to inform and update our clients, prospects and consultants of developments relating to our services and products, would not like to receive further e-mail correspondence from the sender, please "reply" to the sender indicating your wishes. Although we attempt to sweep e-mail and attachments for viruses, we will not be liable for any damages arising from the alteration of the contents of this linked e-mail transmission and any attachments by a third party or as a result of any virus being passed on. Please note: Trading instructions sent electronically to Bernstein shall not be deemed accepted until a representative of Bernstein acknowledges receipt electronically or by telephone. Comments in the linked e-mail transmission and any attachments are part of a larger body of investment analysis. For our research reports, which contain information that may be used to support investment decisions, and disclosures, see our website at www.bernsteinresearch.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org ----------------------------------------------------------------------------------- The information contained in the linked e-mail transmission and any attachments may be privileged and confidential and is intended only for the use of the person(s) named in the linked e-mail transmission. If you are not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you should not review, disseminate, distribute or duplicate this e-mail transmission or any attachments. If you are not the intended recipient, please contact the sender immediately by reply e-mail and destroy all copies of the original message. We do not accept account orders and/or instructions related to AllianceBernstein products or services by e-mail, and therefore will not be responsible for carrying out such orders and/or instructions. The linked e-mail transmission and any attachments are provided for informational purposes only and should not be construed in any manner as any solicitation or offer to buy or sell any investment opportunities or any related financial instruments and should not be construed in any manner as a public offer of any investment opportunities or any related financial instruments. If you, as the intended recipient of the linked e-mail transmission, the purpose of which is to inform and update our clients, prospects and consultants of developments relating to our services and products, would not like to receive further e-mail correspondence from the sender, please "reply" to the sender indicating your wishes. Although we attempt to sweep e-mail and attachments for viruses, we will not be liable for any damages arising from the alteration of the contents of this linked e-mail transmission and any attachments by a third party or as a result of any virus being passed on. Please note: Trading instructions sent electronically to Bernstein shall not be deemed accepted until a representative of Bernstein acknowledges receipt electronically or by telephone. Comments in the linked e-mail transmission and any attachments are part of a larger body of investment analysis. For our research reports, which contain information that may be used to support investment decisions, and disclosures, see our website at www.bernsteinresearch.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org