Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JBoss 5.1.0.GA multiple datasource problem

 
Lorenzo Rep
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all,
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

Lorenzo
 
Lorenzo Rep
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I found in the war the "classes12.jar".

Removing it resolved the issues.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic