This week's book giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Cloud Application Architecture Patterns: Designing, Building, and Modernizing for the Cloud and have Kyle Brown, Bobby Woolf and Joseph Yodor on-line!
See this thread for details.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

Problem deploying JBoss AS 7.1.0 - ClassNotFoundException

 
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ;)
reply
    Bookmark Topic Watch Topic
  • New Topic