Re: [appengine-java] Spring AOP on App Engine?

2010-09-06 Thread Guillermo Schwarz
Use Dynamic Proxy instead, it works fine.

Cheers,
Guillermo.

On Mon, Sep 6, 2010 at 5:55 AM, Vikas Hazrati  wrote:

> Has anyone got spring aop working with GAE? I get the following issue
> deploying aop on the app engine
>
> Error creating bean with name 'entityManagerFactory': Post-processing
> of the FactoryBean's object failed; nested exception is
> java.lang.StackOverflowError
>at
>
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:
> 480)
>at
>
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
> $1.run(AbstractAutowireCapableBeanFactory.java:409)
>at java.security.AccessController.doPrivileged(Native Method)
>
> As always the loca dev environment 1.3.7 does not give any issues and
> all my aspects work fine there. I have a timesheet and financial app
> which and I do not want to log the audit calls at all the places. I
> have defined the relevant pointcuts and auditing should be done at
> those points.
>
> Any suggestions / solutions?
>
> Regards | Vikas
> www.inphina.com
>
> --
> 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-j...@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.
>
>


-- 
Saludos cordiales,

Guillermo Schwarz
Sun Certified Enterprise Architect

-- 
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-j...@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.



[appengine-java] Spring AOP on App Engine?

2010-09-06 Thread Vikas Hazrati
Has anyone got spring aop working with GAE? I get the following issue
deploying aop on the app engine

Error creating bean with name 'entityManagerFactory': Post-processing
of the FactoryBean's object failed; nested exception is
java.lang.StackOverflowError
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:
480)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
$1.run(AbstractAutowireCapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged(Native Method)

As always the loca dev environment 1.3.7 does not give any issues and
all my aspects work fine there. I have a timesheet and financial app
which and I do not want to log the audit calls at all the places. I
have defined the relevant pointcuts and auditing should be done at
those points.

Any suggestions / solutions?

Regards | Vikas
www.inphina.com

-- 
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-j...@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.