Hi, > I keep getting the same issue with the LocalVariableTable
I believe this is due to javaassist 3.11, try to revert this jar to version 3.9 On Mon, Jan 11, 2010 at 10:00, Mike Leonardo <mike...@ifactory.com> wrote: > Ah, figured out that the javaagent was being added after I switched to > using the dev_appserver script. > Even so, I now get the "Unable to locate the App Engine agent" message that > I should be getting - but it's not finding it in my application. Thoughts? > > Michael Leonardo > - iFactory Software Engineer > > ----- Original Message ----- > From: "Mike Leonardo" <mike...@ifactory.com> > To: "Tapestry users" <users@tapestry.apache.org> > Sent: Monday, January 11, 2010 1:22:26 AM GMT -05:00 US/Canada Eastern > Subject: Re: T 5.2 & App Engine 1.3 SDK > > Hey Alex (or Dmitry), > > I'm trying to get a T5.2 + 1.3GAE project working too. > > How did you perform the fix in Dmitry's solution? > ( > http://dmitrygusev.blogspot.com/2009/10/develope-java-applications-with-gae-sdk.html > ) > > You mention replacing the agent in the jar file - but I thought Dmitry's > fix was to simply add it to your project. > I tried to add it to my project, but I can't get the GAE dev to notice it - > I keep getting the same issue with the LocalVariableTable. > > I was previously thinking it might be related to some of the GAE jars I > have on the classpath from the unit testing - but when I saw your wording in > this email I didn't understand what jar you were editing. Any thoughts? > > Thanks! > Michael Leonardo > > ----- Original Message ----- > From: "Alex Kotchnev" <akoch...@gmail.com> > To: "Tapestry users" <users@tapestry.apache.org> > Sent: Tuesday, December 29, 2009 10:30:23 PM GMT -05:00 US/Canada Eastern > Subject: Re: T 5.2 & App Engine 1.3 SDK > > Dmitry, > indeed, it works w/ the javaagent fix; however, I had to do something > slightly different than what you had: > > When I was running it w/ the agent that you had on the blog, after > replacing the agent in the jar file, I was getting a message that the agent > was missing a "premain" class: > Exception in thread "main" java.lang.NoSuchMethodException: > > com.google.appengine.tools.development.agent.AppEngineDevAgent.premain(java.lang.String, > java.lang.instrument.Instrumentation) > at > java.lang.Class.getMethod(Class.java:1605) > > at > > sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:294) > > at > > sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:338) > > FATAL ERROR in native method: processing of -javaagent > failed > > Thus, I had to add an empty premain() method to get it to work. > > Here's my agent class just in case anyone is interested: > > package com.google.appengine.tools.development.agent; > > import java.lang.instrument.Instrumentation; > > > /** > * > * @author polrtex > */ > public class AppEngineDevAgent { > > public static void premain(String foo, Instrumentation bar) { > > } > > } > > Cheers, > > Alex K > > > > On Tue, Dec 29, 2009 at 1:07 PM, Dmitry Gusev <dmitry.gu...@gmail.com > >wrote: > > > Latest T5.2 works without any problems with 1.3 SDK for me. > > > > Here's the sources: http://github.com/dmitrygusev/ping-service > > And running app: http://ping-service.appspot.com > > > > I did had to use Javaagent fix you referenced, but didn't applied Java > > Security Manager fix because looks like this problem ( > > > > > http://dmitrygusev.blogspot.com/2009/08/turn-java-security-manager-off-in.html > > ) > > have been resolved in 1.3 SDK. > > > > > > On Tue, Dec 29, 2009 at 14:16, Alex Kotchnev <akoch...@gmail.com> wrote: > > > > > Has anyone tried running T 5.2 w/ the latest GAE 1.3 SDK ? I was > happily > > > running on sdk 1.2.5 w/ some of Dmitry's wonderful hacks to make the > > local > > > dev server work ( > > > > > > > > > http://dmitrygusev.blogspot.com/2009/10/develope-java-applications-with-gae-sdk.html > > > ); > > > however, I did need to update to 1.3 to try out the Blobstore API > (which > > > works very nicely, 3 lines of code needed to change from T5 Upload to > > that) > > > and I'm running into the same issues (e.g. java.lang.ClassFormatError: > > > Invalid length 65050 in LocalVariableTable ) but I can't get it working > > w/ > > > the same hacks. > > > > > > Any ideas / thoughts / experiences ? > > > > > > Regards, > > > > > > Alex K > > > > > > > > > > > -- > > Dmitry Gusev > > > > AnjLab Team > > http://anjlab.com > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- Dmitry Gusev AnjLab Team http://anjlab.com