In the sake of eliminating variables, I removed the following tx advice related sections from my spring config files:
<tx:advice id="jpa-txAdvice" transaction-manager="jpa-transactionManager">...
Type: Posts; User: griff; Keyword(s):
In the sake of eliminating variables, I removed the following tx advice related sections from my spring config files:
<tx:advice id="jpa-txAdvice" transaction-manager="jpa-transactionManager">...
Bump, no ideas or suggestions on where I should start debugging this?
I have an application that is using Spring 3.0.2 and Hibernate 3.5.3 throwing a strange error, but only on the production server! The application uses both a JPA transaction manager and a JDBC...
Hi all,
I am trying to get Spring/JPA configured to use Hibernate + c3p0 for connection pooling but I keep getting this exception: Caused by:...
RESOLVED
Ok, I had commented out my PersistenceAnnotationBeanPostProcessor bean in trying to narrow down the problem, so that's why the setEntityManager never got called. After adding this back and...
After taking a closer look -- it looks like I was not providing a datasource to my JPA entity manager, and that it was using the default datasource that activiti was using for it's process engine.
...
Hi all,
I have a BPM application that I am deploying in Alfresco/Activiti 5.5 and it is configured with Spring 3. Both Activiti is configured that way, and I have included my own Spring beans to...
Bump? No guesses on what could be wrong with my config?
My application of OEIV Filter doesn't seem to be getting applied to my Struts actions. I am using Spring 3, Spring Security 3, Struts2, Tiles2 and JPA backed by Hibernate 3. When I try to access a...
You were correct, my UserDetails object was not implementing the equals/hashCode/toString methods. Once added, it works as it should.
Thanks for the reply!
Hi all,
Using Spring Security 3.1.0, I cannot seem to get the concurrent session control feature to work. When I log into my system at the same time using IE and FireFox (using my local...
Thanks for the reply -- I did try that.
Using the annotation:
@Column(name = "READING_DATE")
@Temporal(TemporalType.TIMESTAMP)
private Date readingDate;
Results in a Hibernate error:
Hi everyone,
This seems like such a bonehead question, but I've been chasing my tail around a tree all day. I have a Struts 2 + Spring3/JPA/Hibernate application that inserts a large set into the...
That was it! Thanks, I read about the attribute twice and I didn't get it. Again, thanks for the tip.
Hi,
I am having an issue with my login form not working correctly -- using Spring Security 3.0.2. If I use the default generated login form, everything works perfectly. I request a secured...
@Marten,
Thanks for the reply.
Stupid me, user error. The query worked in my SQL editor and on in the application because the SQL editor was allowing the query against the DB where commits...
I have a Dao that is executing a query which joins two tables together (this is actually for the Spring Security Group Permissions query) and for some reason the result set returned to the...
Ok, so my problem was two fold -- I'm posting this for anyone else that may be looking for why they can't get this to work for them.
1) The AD server configuration in my scenario does not allow a...
So, trying another direction, I tried to remove the userDNPattern and just use a userSearch. I changed my configuration to:
<beans:bean id="bindAuthenticator"...
I've started to reply to this thread a couple of times and found it difficult to express my problem, mostly because I think my LDAP knowledge is a bit on the weak side.
Here is my current...
Found it. UserDetailsContextMapper!
Using the LdapAuthoritiesPopulator, it looks like I have an opportunity to load the GrantedAuthorities, but where would I set other attributes of the user details? I see the class returned from the...
Using Spring Security 3.0.2 The Reference guide reads:
But makes no note of how to implement this. I need to bind to AD using the sAMAccountName, which is usually done either via...
@Luke,
Excellent! Thank you!
@Luke,
Again thanks for the reply! I want to have the user authenticate against AD/LDAP and load roles from the DB using a UserDetailsService. I've read the LDAP chapter a few times and it seems...