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

Tomcat to JBoss Migration.

 
Ranch Hand
Posts: 164
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
I am migrating my application from tomcat to JBoss. M getting below error while running JBoss.


==>> Why its not casting (org.jboss.tm.usertx.client.ServerVMClie
ntUserTransaction cannot be cast to javax.transaction.UserTransaction)
as ServerVMClientUserTransaction is implementing javax.transaction.UserTransaction.

Thank,
[ January 29, 2008: Message edited by: Milan Jagatiya ]
 
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
Do you have any jta.jar or any other jar which is packaged with your application? If yes, then remove them. I would recommend, you go through the following articles and configure a classloader for your application, so that you dont run into similar issues later:


JBossClassLoadingUseCases

ClassLoadingConfiguration

ClassCastExceptions
 
Milan Jagatiya
Ranch Hand
Posts: 164
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Jaikiran.. it works. now.. getting another error . let me fight with it otherwise will back to you

once again thanks a lot...
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic