> The stack trace indicates that some Spring AOP proxy is intercepting the
> I see that createTicketGrantingTicket() has an @Transactional annotation 
> applied to
> it.  Could this be causing the spurious calls to autocommit and commit?

Yes, I think that's it. I would recommend trying to restrict the scope
of Spring AOP transactional proxies to just the service registry. I've
never seen that done, but <aop:aspectj-autoproxy> takes a subelement,
<include> [1] that is a regex where you can specify the scope of
included components. I can imagine a regex that would include
ServiceRegistryDao but exclude CentralAuthetnicationServiceImpl. Try
that and report back.

M

[1] http://www.springframework.org/schema/aop/spring-aop-3.0.xsd

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to