I'm porting two web app from JB 4.0.4.GA to JB 5.1.0.GA.
The two apps (WAR) use hibernate for persistence.
The first uses a single datasource (waspDS) and works correctly.
The seconduses two different datasources (waspDS and waspAllineamentiDS) because it has to connect to two different DB.
While in JB 4 I have no problem at all, now in JB 5 the second app give me an error every time I try to login.
These are the datasources configurations in the "deploy" folder: