I had this exact same problem a month or two ago - I never found a complete solution but did find a workaround: see http://forum.springframework.org/showthread.php?t=34221
If you do manage to...
Type: Posts; User: r0bh; Keyword(s):
I had this exact same problem a month or two ago - I never found a complete solution but did find a workaround: see http://forum.springframework.org/showthread.php?t=34221
If you do manage to...
I've found a workaround for this now anyway :)
I now have this in my applicationContext.xml.
<bean id="exceptionTranslationFilter"...
I've had a little bit more of a think about this problem and it seems to me that the problem is that for some reason after the ExceptionTranslationFilter is invoked to redirect to the...
Hi all,
I'm having a problem with my not authorized page defined in the accessDeniedHandler not being decorated by SiteMesh. If authentication passes it all works fine. If authentication fails...
Hi Luke,
Thanks for you reply. I now have it working as intended using FilterBasedLdapUserSearch:
<bean id="initialDirContextFactory"...
Hi all,
Please excuse me for posting this here as AFAIK this is not an Acegi problem as such but it's really puzzling me.
I am trying to configure LdapAuthenticationProvider using the...
Thanks very much for the advice Costin.
I now have the following in my interceptor which seems to work perfectly.
public class RepositoryInterceptor extends EmptyInterceptor {
...
Sorry, ignore this bit of my first post as I think it's nonsense - passing a ThreadLocal object doesn't seem to work at all. Do I need the ThreadLocal object as a property of the interceptor?
Hi all,
I want to use a Hibernate Interceptor to set some audit information on objects before they are persisted to the database. The application is basically a web-service front-end to DAO beans...
Think I've got it working now with Spring 1.2.6 and Hibernate 3.1final.
Had to use "on_close" for the connection release mode, so the session factory bean in my application context now looks like...
Ok, so I now have this in my application context:
And it made no difference at all - I still run out of connections as before.
cheers, Rob
Hi,
Yes, that's exactly how my application context looks. There's no particular reason why I am setting up the DBCP pool through Tomcat, just a legacy from developing non-Spring apps I guess. I'll...
Hi,
Thanks for the tip, but that didn't work for me, with either Spring 1.2.5 or 1.2.6 with Hibernate 3.1final. My application context is
and I'm using a DBCP connection pool configured in...
In fact, I've just noticed that Hibernate 3.1 has just been released. Will try it later on to see of this problem has been fixed.
Hi,
I definitely had a connection leak problem using Spring 1.2.6 with Hibernate 3.1RC3 a couple of days ago, which was only solved by rolling back to 3.0.5. Hopefully this will be fixed in the...
Hi,
At a guess I would say that there is something wrong with your server-config.wsdd. If you look at http://test.rhoderunner.com:8080/config/axis you can see that it knows nothing about the...
Thanks a lot Derek - you were spot on, and it's working now.
That'll teach me for trusting auto-generated config files!
cheers, Rob
Hi,
Thanks for the replies so far. My server-config.wsdd is shown below. I have just used org.apache.axis.utils.Admin to generate this, with the deploy.wsdd that was generated by wsdl2java as an...
Hi,
I've been trying to get a web service up and running which uses Tomcat + Axis + Spring + Hibernate. The web service implementation extends ServletEndpointSupport, but I can't seem to get...