Hi Toby,

I've just realised that I probably over-wrote the app with a new
version yesterday.  Did you get what you need? (If not, I can easily
re-deploy and resend the ID.)

Cheers,
Kris

On Oct 19, 8:30 pm, Toby Reyelts <to...@google.com> wrote:
> Kris,
>
> Can you send us your app id (privately if you wish) ?
>
>
>
> On Mon, Oct 19, 2009 at 3:57 PM, Kris <krisajenk...@gmail.com> wrote:
>
> > I'm also getting this StackOverflowError, but the app engine log view
> > is truncated, so I can't see the initial cause.  Is there any way to
> > see the whole log message, so I can try to help track it down/produce
> > a test case?
>
> > Cheers,
> > Kris
>
> > On Oct 7, 4:36 pm, Toby Reyelts <to...@google.com> wrote:
> > > Unfortunately this is an issue that will be very difficult for us to
> > solve
> > > unless you can provide us with a simple reproducing app that we can use
> > to
> > > debug. If the issue is important to you, that is the most important thing
> > > you can do to help us.On Wed, Oct 7, 2009 at 6:57 AM, Dave Cheong <
> > d...@davecheong.com> wrote:
>
> > > > Hi there,
>
> > > > I'm having the same problem and was wondering if you or anyone else
> > > > out there have found a solution.
> > > > I'm currently using GAE/J 1.2.5 and Spring 2.5.
>
> > > > Like the previous author, everything works locally but I get a
> > > > StackOverflowError on Appspot. However, if I comment out ...
>
> > > > <aop:aspectj-autoproxy/>
>
> > > > ... things work on Appspot.
>
> > > > Any help provided is much appreciated.
>
> > > > thanks,
> > > > dave
>
> > > > On Aug 26, 3:38 pm, Gabriel Moreira <gabrielmore...@gmail.com> wrote:
> > > > > My app is using Spring 3.0.
>
> > > > > If i disable Spring AOP, my app runs fine both on local and appspot.
>
> > > > > But when i enable Spring AOP (tested with advice or aspects), in
> > local
> > > > > runtime everything is fine and works, but in appspot im getting this
> > > > > error:
>
> > > > > java.lang.StackOverflowError
> > > > >         at java.lang.String.endsWith(Unknown Source)
> > > > >         at sun.security.provider.PolicyFile.canonPath(Unknown Source)
> > > > >         at java.io.FilePermission$1.run(Unknown Source)
> > > > >         at java.io.FilePermission$1.run(Unknown Source)
> > > > >         at java.security.AccessController.doPrivileged(Native Method)
> > > > >         at java.io.FilePermission.init(Unknown Source)
> > > > >         at java.io.FilePermission.<init>(Unknown Source)
> > > > >         at
> > > > sun.net.www.protocol.file.FileURLConnection.getPermission(Unknown
> > > > > Source)
> > > > >         at sun.misc.URLClassPath.check(Unknown Source)
> > > > >         at sun.misc.URLClassPath$FileLoader.getResource(Unknown
> > Source)
> > > > >         at sun.misc.URLClassPath$FileLoader.findResource(Unknown
> > Source)
> > > > >         at sun.misc.URLClassPath.findResource(Unknown Source)
> > > > >         at java.net.URLClassLoader$2.run(Unknown Source)
> > > > >         at java.security.AccessController.doPrivileged(Native Method)
> > > > >         at java.net.URLClassLoader.findResource(Unknown Source)
> > > > >         at
> > > > com.google.apphosting.runtime.security.UserClassLoader.findResource
> > > > > (UserClassLoader.java:631)
> > > > >         at java.lang.ClassLoader.getResource(Unknown Source)
> > > > >         at
> > com.google.apphosting.runtime.security.UserClassLoader$4.run
> > > > > (UserClassLoader.java:665)
> > > > >         at
> > com.google.apphosting.runtime.security.UserClassLoader$4.run
> > > > > (UserClassLoader.java:659)
> > > > >         at java.security.AccessController.doPrivileged(Native Method)
> > > > >         at
> > > > com.google.apphosting.runtime.security.UserClassLoader.findResource
> > > > > (UserClassLoader.java:659)
> > > > >         at java.lang.ClassLoader.getResource(Unknown Source)
> > > > >         at
> > com.google.apphosting.runtime.security.UserClassLoader$4.run
> > > > > (UserClassLoader.java:665)
> > > > >         at
> > com.google.apphosting.runtime.security.UserClassLoader$4.run
> > > > > (UserClassLoader.java:659)
> > > > >         at java.security.AccessController.doPrivileged(Native Method)
> > > > >         at
> > > > com.google.apphosting.runtime.security.UserClassLoader.findResource
> > > > > (UserClassLoader.java:659)
> > > > >         at java.lang.ClassLoader.getResource(Unknown Source)
> > > > >         at
> > com.google.apphosting.runtime.security.UserClassLoader$4.run
> > > > > (UserClassLoader.java:665)
> > > > >         at
> > com.google.apphosting.runtime.security.UserClassLoader$4.run
> > > > > (UserClassLoader.java:659)
> > > > >         at java.security.AccessController.doPrivileged(Native Method)
> > > > >         at
> > > > > com.google.apphosting.runtime.security.UserClassLoader.findResour...
>
> > > > > My applicationContext.xml:
>
> > > > > <?xml version="1.0" encoding="UTF-8"?>
> > > > > <beans xmlns="http://www.springframework.org/schema/beans";
> > > > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> > > > >         xmlns:aop="http://www.springframework.org/schema/aop";
> > > > > xmlns:context="http://www.springframework.org/schema/context";
> > > > >         xmlns:tx="http://www.springframework.org/schema/tx";
> > > > >         xsi:schemaLocation="
> >http://www.springframework.org/schema/beans
>
> > > >http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
> > > > >                        http://www.springframework.org/schema/aop
>
> > > >http://www.springframework.org/schema/aop/spring-aop-2.5.xsd
> > > > >                        http://www.springframework.org/schema/tx
>
> > > >http://www.springframework.org/schema/tx/spring-tx-2.5.xsd
> > > > >                        http://www.springframework.org/schema/context
>
> > > >http://www.springframework.org/schema/context/spring-context-2.5.xsd";>
> > > > >         <!--
> > > > >                 Habilita annotations para JPA
> > > > >         -->
> > > > >         <!--
> > > > >                 VERIFICAR: <bean
>
> > class="org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostPro
> > > > cessor" /
>
> > > > >         -->
>
> > > > >         <bean
>
> > class="org.springframework.dao.annotation.PersistenceExceptionTranslationPo
> > > > stProcessor" /
>
> > > > >         <context:property-placeholder
> > > > > location="classpath:application.properties" />
>
> > > > >         <!--
> > > > >                 JPA Entity Manager
> > > > >         -->
> > > > >         <bean id="entityManagerFactory"
> > > > > class="org.springframework.orm.jpa.LocalEntityManagerFactoryBean">
> > > > >                 <property name="persistenceUnitName"
> > > > value="transactions-optional" /
>
> > > > >         </bean>
>
> > > > >         <!--
> > > > >                 Activates spring transaction container
> > > > >         -->
> > > > >         <bean id="transactionManager"
> > > > > class="org.springframework.orm.jpa.JpaTransactionManager">
> > > > >                 <property name="entityManagerFactory"
> > > > ref="entityManagerFactory" />
> > > > >         </bean>
>
> > > > >         <!--
> > > > >                 Cache configuration
> > > > >          -->
> > > > >         <bean id="cacheManager"
> > > > > class="org.springframework.cache.ehcache.EhCacheManagerFactoryBean">
> > > > >                 <property name="configLocation">
> > > > >                         <value>classpath:ehcache.xml</value>
> > > > >                 </property>
> > > > >         </bean>
>
> > > > >         <!--
> > > > >                 Activates annotations to be detected in bean classes:
> > > > @Transaction
> > > > >         -->
> > > > >         <tx:annotation-driven
> > transaction-manager="transactionManager" />
>
> > > > >         <!--
> > > > >                 Activates various annotations to be detected in bean
> > > > classes:
> > > > > Spring's @Required and @Autowired,
> > > > >                 as well as JSR 250's @Resource.
> > > > >         -->
> > > > >         <context:annotation-config />
>
> > > > >         <!--
> > > > >                 Habilita o AOP AspectJ por annotations.
> > > > >         -->
>
> > > > > <--
> > > > >         <aop:aspectj-autoproxy proxy-target-class="false" />
> > > > > -->
> > > > >         <aop:config proxy-target-class="false">
>
> > > > >                 <aop:advisor pointcut="@annotation
> > > > > (br.com.myapplication.infrastructure.web.AjaxMethod)"
>
> > > >  advice-ref="ajaxErrorHandlerInteceptor"/>
>
> > > > >         </aop:config>
>
> > > > >         <!--
> > > > >                 Instruct Spring to find beans components.
> > > > >         -->
> > > > >         <context:component-scan base-package="br.com.myapplication"
> > />
> > > > > </beans>
>
> > > > > My class AjaxErrorHandlerInteceptor :
>
> > > > > package br.com.myapplication.infrastructure.web;
>
> > > > > import org.aopalliance.intercept.MethodInterceptor;
> > > > > import org.aopalliance.intercept.MethodInvocation;
> > > > > import org.apache.log4j.Logger;
> > > > > import org.springframework.stereotype.Component;
>
> > > > > @Component
> > > > > public class AjaxErrorHandlerInteceptor implements MethodInterceptor
> > {
>
> > > > >         @Override
> > > > >         public Object invoke(MethodInvocation mi) throws Throwable {
> > > > >                 try {
> > > > >                         return mi.proceed();
> > > > >                 } catch (Exception e) {
> > > > >                         Logger targetLogger =
> > > > Logger.getLogger(mi.getThis().getClass());
> > > > >                 }
> > > > >                 return "success";
>
> > > > >         }
>
> > > > > }
>
> > > > > ---------------------
>
> > > > > Complete error message:
>
> > > > > Failed startup of context
>
> > com.google.apphosting.utils.jetty.runtimeappenginewebappcont...@6147d9
> > > > > {/,/base/data/home/apps/myapp/1.335882616755927913}
> > > > > org.springframework.beans.factory.BeanCreationException: Error
> > > > > creating bean with name 'transactionManager' defined in URL [file:/
> > > > > base/data/home/apps/myapp/1.335882616755927913/WEB-INF/classes/
> > > > > applicationContext.xml]: Cannot resolve reference to bean
> > > > > 'entityManagerFactory' while setting bean property
> > > > > 'entityManagerFactory'; nested exception is...
>
> read more ยป
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-java@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to