File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JBoss/WildFly and the fly likes Problem deploying JBoss AS 7.1.0 - ClassNotFoundException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Problem deploying JBoss AS 7.1.0 - ClassNotFoundException " Watch "Problem deploying JBoss AS 7.1.0 - ClassNotFoundException " New topic
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: 10289
    
168

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 ;)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem deploying JBoss AS 7.1.0 - ClassNotFoundException