| Author |
Problem deploying JBoss AS 7.1.0 - ClassNotFoundException
|
Rodrigo Sasaki
Greenhorn
Joined: Mar 09, 2012
Posts: 24
|
|
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
Joined: Jul 20, 2005
Posts: 8147
|
|
The module.xml is missing a dependency on the transaction API module. Add the following to the dependencies section of that file:
|
[My Blog] [JavaRanch Journal]
|
 |
Rodrigo Sasaki
Greenhorn
Joined: Mar 09, 2012
Posts: 24
|
|
thanks I tried with just
and it didn't work.. but now it's working fine.. it deployed Thanks a lot ;)
|
 |
 |
|
|
subject: Problem deploying JBoss AS 7.1.0 - ClassNotFoundException
|
|
|