I was working on the OSGi plugin this weekend so I didn't look at it, but this got me thinking, what is SiteMesh doing with JNDI anyway?
musachy On Mon, Apr 13, 2009 at 7:27 AM, Al Sutton <a...@funkyandroid.com> wrote: > At the moment I'm giving > http://groups.google.com/group/google-appengine-java/browse_thread/thread/1e > 3868a6a2661585 a spin. > > Al. > > > --- > > * Written an Android App? - List it at http://andappstore.com/ * > > ====== > Funky Android Limited is registered in England & Wales with the > company number 6741909. The registered head office is Kemp House, > 152-160 City Road, London, EC1V 2NX, UK. > > The views expressed in this email are those of the author and not > necessarily those of Funky Android Limited, it's associates, or it's > subsidiaries. > > > -----Original Message----- > From: Brian Pontarelli [mailto:br...@pontarelli.com] > Sent: 10 April 2009 16:12 > To: Struts Developers List > Subject: Re: Google App Engine support? > > Interesting. On the Guice list there is another thread about GAE. You should > submit a bug for Sitemesh to Google and to the Sitemesh maintainers. Google > seems to be up for fixing some of these issues. > This one looks like either a JNDI bug or JNDI security measure (my guess is > the later). Either way, it should be simple to fix. You could also roll a > new Sitemesh JAR that smothers JNDI lookup errors. > > -bp > > > On Apr 10, 2009, at 12:40 AM, Al Sutton wrote: > >> Great. Nice work!!! >> >> Unfortunately most of my apps use sitemesh, so there's still some >> things for me to sort out before I can make full use of GAE :(. >> >> Al. >> >> --- >> >> * Written an Android App? - List it at http://andappstore.com/ * >> >> ====== >> Funky Android Limited is registered in England & Wales with the >> company number 6741909. The registered head office is Kemp House, >> 152-160 City Road, London, EC1V 2NX, UK. >> >> The views expressed in this email are those of the author and not >> necessarily those of Funky Android Limited, it's associates, or it's >> subsidiaries. >> >> >> -----Original Message----- >> From: Don Brown [mailto:mr...@twdata.org] >> Sent: 10 April 2009 05:26 >> To: Struts Developers List >> Subject: Re: Google App Engine support? >> >> Huzzah, it works. Once I removed sitemesh, the simple starter app >> works: http://struts2-demo.appspot.com/index.action >> >> I want to add a new option that allows the user to disable the ognl >> permission checks, so I'm guessing I'll do that in trunk. Any >> objections? >> >> Don >> >> On Fri, Apr 10, 2009 at 1:54 AM, Musachy Barroso <musa...@gmail.com> >> wrote: >>> thanks. I got it to work and uploaded to "struts-demo", and yeah I >>> also got the classnotfound exception. I will piggyback on Don's >>> research ;) >>> >>> musachy >>> >>> On Thu, Apr 9, 2009 at 11:47 AM, Al Sutton <a...@funkyandroid.com> >>> wrote: >>>> Appcfg is a script which just runs a java app and uses wherever it >>>> picks Java up from as the java.home variable. This means if it picks >>>> up the jre java version it won't find javac and bail on you about 10 >>>> or 20-odd percent in. >>>> >>>> AppEngine invite on its' way btw, I don't know if Don wants to add >>>> you as a comitter to his git repo. >>>> >>>> Al. >>>> >>>> >>>> --- >>>> >>>> * Written an Android App? - List it at http://andappstore.com/ * >>>> >>>> ====== >>>> Funky Android Limited is registered in England & Wales with the >>>> company number 6741909. The registered head office is Kemp House, >>>> 152-160 City Road, London, EC1V 2NX, UK. >>>> >>>> The views expressed in this email are those of the author and not >>>> necessarily those of Funky Android Limited, it's associates, or it's >>>> subsidiaries. >>>> >>>> >>>> -----Original Message----- >>>> From: Musachy Barroso [mailto:musa...@gmail.com] >>>> Sent: 09 April 2009 16:44 >>>> To: Struts Developers List >>>> Subject: Re: Google App Engine support? >>>> >>>> yeah sure. Let me try that, it is probably getting confused with one >>>> of the 1234e10 SDKs/JREs I have around. >>>> >>>> musachy >>>> >>>> On Thu, Apr 9, 2009 at 11:34 AM, Al Sutton <a...@funkyandroid.com> >>>> wrote: >>>>> Set JDK_HOME\bin first on your path. If it picks up the JRE version >>>>> of java you're stuffed. >>>>> >>>>> Do you want an invite the project I set up that Don is working on? >>>>> >>>>> Al. >>>>> >>>>> >>>>> --- >>>>> >>>>> * Written an Android App? - List it at http://andappstore.com/ * >>>>> >>>>> ====== >>>>> Funky Android Limited is registered in England & Wales with the >>>>> company number 6741909. The registered head office is Kemp House, >>>>> 152-160 City Road, London, EC1V 2NX, UK. >>>>> >>>>> The views expressed in this email are those of the author and not >>>>> necessarily those of Funky Android Limited, it's associates, or >>>>> it's subsidiaries. >>>>> >>>>> >>>>> -----Original Message----- >>>>> From: Musachy Barroso [mailto:musa...@gmail.com] >>>>> Sent: 09 April 2009 16:24 >>>>> To: Struts Developers List >>>>> Subject: Re: Google App Engine support? >>>>> >>>>> I am trying it also, but I can't get appcfg to find javac. >>>>> >>>>> musachy >>>>> >>>>> On Thu, Apr 9, 2009 at 11:17 AM, Al Sutton <a...@funkyandroid.com> >>>>> wrote: >>>>>> No worries. >>>>>> >>>>>> Enjoy, >>>>>> >>>>>> Al. >>>>>> >>>>>> >>>>>> --- >>>>>> >>>>>> * Written an Android App? - List it at http://andappstore.com/ * >>>>>> >>>>>> ====== >>>>>> Funky Android Limited is registered in England & Wales with the >>>>>> company number 6741909. The registered head office is Kemp House, >>>>>> 152-160 City Road, London, EC1V 2NX, UK. >>>>>> >>>>>> The views expressed in this email are those of the author and not >>>>>> necessarily those of Funky Android Limited, it's associates, or >>>>>> it's subsidiaries. >>>>>> >>>>>> >>>>>> -----Original Message----- >>>>>> From: Don Brown [mailto:mr...@twdata.org] >>>>>> Sent: 09 April 2009 16:16 >>>>>> To: Struts Developers List >>>>>> Subject: Re: Google App Engine support? >>>>>> >>>>>> Hmm...bad sitemesh... >>>>>> >>>>>> java.lang.NoClassDefFoundError: Could not initialize class >>>>>> com >>>>>> .google.apphosting.runtime.security.shared.stub.javax.naming.Ini >>>>>> ti >>>>>> a >>>>>> lConte >>>>>> xt >>>>>> at >>>>>> com >>>>>> .opensymphony.module.sitemesh.Factory.getEnvEntry(Factory.java:8 >>>>>> 8) >>>>>> at >>>>>> com >>>>>> .opensymphony.module.sitemesh.Factory.getInstance(Factory.java:4 >>>>>> 2) >>>>>> at >>>>>> com >>>>>> .opensymphony.module.sitemesh.filter.PageFilter.init(PageFilter. >>>>>> ja >>>>>> v >>>>>> a:87) >>>>>> >>>>>> Cool, I'll look into it this weekend. Thanks for the help! >>>>>> >>>>>> Don >>>>>> >>>>>> On Fri, Apr 10, 2009 at 1:04 AM, Al Sutton <a...@funkyandroid.com> >>>>>> wrote: >>>>>>> It's given me a 500, but I've added you as a collaborator on the >>>>>>> project so you should get access to the Java loveliness & error >>>>>>> log that >>>>>> way ;). >>>>>>> >>>>>>> Al. >>>>>>> >>>>>>> --- >>>>>>> >>>>>>> * Written an Android App? - List it at http://andappstore.com/ * >>>>>>> >>>>>>> ====== >>>>>>> Funky Android Limited is registered in England & Wales with the >>>>>>> company number 6741909. The registered head office is Kemp >>>>>>> House, >>>>>>> 152-160 City Road, London, EC1V 2NX, UK. >>>>>>> >>>>>>> The views expressed in this email are those of the author and not >>>>>>> necessarily those of Funky Android Limited, it's associates, or >>>>>>> it's subsidiaries. >>>>>>> >>>>>>> >>>>>>> -----Original Message----- >>>>>>> From: Don Brown [mailto:mr...@twdata.org] >>>>>>> Sent: 09 April 2009 15:39 >>>>>>> To: Struts Developers List >>>>>>> Subject: Re: Google App Engine support? >>>>>>> >>>>>>> Cool. I have an account too, but haven't received the Java >>>>>>> upgrade approval yet. I put my code up on Github: >>>>>>> http://github.com/mrdon/gae-sandbox/tree/master You will need to >>>>>>> change the path to the sdk in build.xml. >>>>>>> >>>>>>> Don >>>>>>> >>>>>>> On Fri, Apr 10, 2009 at 12:32 AM, Al Sutton <a...@funkyandroid.com> >> wrote: >>>>>>>> If you want to send over what you've done I've got a live >>>>>>>> account >>>>>>>> I'd be willing to test it on. >>>>>>>> >>>>>>>> Al. >>>>>>>> >>>>>>>> --- >>>>>>>> >>>>>>>> * Written an Android App? - List it at http://andappstore.com/ * >>>>>>>> >>>>>>>> ====== >>>>>>>> Funky Android Limited is registered in England & Wales with the >>>>>>>> company number 6741909. The registered head office is Kemp >>>>>>>> House, 152-160 City Road, London, EC1V 2NX, UK. >>>>>>>> >>>>>>>> The views expressed in this email are those of the author and >>>>>>>> not >>>>>>>> necessarily those of Funky Android Limited, it's associates, or >>>>>>>> it's subsidiaries. >>>>>>>> >>>>>>>> >>>>>>>> -----Original Message----- >>>>>>>> From: Don Brown [mailto:mr...@twdata.org] >>>>>>>> Sent: 09 April 2009 15:31 >>>>>>>> To: Struts Developers List >>>>>>>> Subject: Google App Engine support? >>>>>>>> >>>>>>>> Has anyone tried or, better yet, succeeded in getting Struts 2 >>>>>>>> to >>>>>>>> run on Google App Engine? While waiting for an account, I did >>>>>>>> get the showcase with 2.1.6 to run in the sdk. The only >>>>>>>> sticking >>>>>>>> point was the security manager that ognl uses. Since the >>>>>>>> security manager is used by GAE to lock down Java, the custom >>>>>>>> OGNL permissions are obviously not granted, so to disable OGNL's >>>>>>>> little checks, I created an servlet context listener that just >>>>>>>> sets >>>>>>> OgnlRuntime.setSecurityManager(null), which seems to do the >>>>>>> trick. >>>>>>>> From what I hear, deploying on the real thing is still different >>>>>>>> than the sdk, so I don't know if it runs for real. >>>>>>>> >>>>>>>> Don >>>>>>>> >>>>>>>> ----------------------------------------------------------------- >>>>>>>> -- >>>>>>>> - >>>>>>>> - To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For >>>>>>>> additional commands, e-mail: dev-h...@struts.apache.org >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> ----------------------------------------------------------------- >>>>>>>> -- >>>>>>>> - >>>>>>>> - To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For >>>>>>>> additional commands, e-mail: dev-h...@struts.apache.org >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> ------------------------------------------------------------------ >>>>>>> -- >>>>>>> - To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For >>>>>>> additional commands, e-mail: dev-h...@struts.apache.org >>>>>>> >>>>>>> >>>>>>> >>>>>>> ------------------------------------------------------------------ >>>>>>> -- >>>>>>> - To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For >>>>>>> additional commands, e-mail: dev-h...@struts.apache.org >>>>>>> >>>>>>> >>>>>> >>>>>> ------------------------------------------------------------------- >>>>>> -- To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For >>>>>> additional commands, e-mail: dev-h...@struts.apache.org >>>>>> >>>>>> >>>>>> >>>>>> ------------------------------------------------------------------- >>>>>> -- To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For >>>>>> additional commands, e-mail: dev-h...@struts.apache.org >>>>>> >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> "Hey you! Would you help me to carry the stone?" Pink Floyd >>>>> >>>>> -------------------------------------------------------------------- >>>>> - To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For >>>>> additional commands, e-mail: dev-h...@struts.apache.org >>>>> >>>>> >>>>> >>>>> -------------------------------------------------------------------- >>>>> - To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For >>>>> additional commands, e-mail: dev-h...@struts.apache.org >>>>> >>>>> >>>> >>>> >>>> >>>> -- >>>> "Hey you! Would you help me to carry the stone?" Pink Floyd >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For >>>> additional commands, e-mail: dev-h...@struts.apache.org >>>> >>>> >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For >>>> additional commands, e-mail: dev-h...@struts.apache.org >>>> >>>> >>> >>> >>> >>> -- >>> "Hey you! Would you help me to carry the stone?" Pink Floyd >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For >>> additional commands, e-mail: dev-h...@struts.apache.org >>> >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For >> additional >> commands, e-mail: dev-h...@struts.apache.org >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org >> For additional commands, e-mail: dev-h...@struts.apache.org >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org > For additional commands, e-mail: dev-h...@struts.apache.org > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org > For additional commands, e-mail: dev-h...@struts.apache.org > > -- "Hey you! Would you help me to carry the stone?" Pink Floyd --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org