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:
the wasp-oracle-ds.xml file
and the waspAllineamenti-oracle-ds.xml
The jboss-web.xml is this:
and I have two hibernate config files, the first:
and the second:
The exception I get is:
Can you help me please?
Thanks a lot, regards
Joined: Jan 17, 2012
I found in the war the "classes12.jar".
Removing it resolved the issues.
subject: JBoss 5.1.0.GA multiple datasource problem