• 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
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

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 ;)
 
Don't MAKE me come back there with this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic