Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem deploying JBoss AS 7.1.0 - ClassNotFoundException

 
Rodrigo Sasaki
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I know this is usually a silly error, but I'm new at this (JBoss) and I don't know what to do.. The project I'm working on was being deployed on GlassFish 3.1 and now we're gonna use JBoss AS 7..1.0

I'm doing the DataSource configurations


I created a module inside the JBoss directory.. at this path:

%JBOSS_HOME%\modules\com\oracle\ojdbc6\main

I added the file ojdbc6.jar and created the file module.xml with the following structure:





on my standalone.xml I configured the XADataSource with the following structure




But.. when I launch the server I get the following error on my console:



I believe I may be missing a jar with that class javax.transaction.xa.XAException, but I don't know where to put it, or if I should reference it some where...

Can somebody give please give me a hand?
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The module.xml is missing a dependency on the transaction API module. Add the following to the dependencies section of that file:

 
Rodrigo Sasaki
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks I tried with just



and it didn't work.. but now it's working fine.. it deployed Thanks a lot ;)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic