• 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

Is it possible to run an app with Hibernate 4 on an older JBoss server?

 
Ranch Hand
Posts: 436
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I'm using an older version of JBoss, 4.2.2 and am not in a position to switch. I would like to deploy an application (JAR) to it that is built on the latest version of Hibernate (4.1.5.SP1). Is that possible? I'm running into some class path problems that seem unavoidable, but also seem trivial, pertaining to logging. Here's the exception I'm seeing …



but if I include the logging jar in my maven project …



I get this exception instead …



Anyone know a way around all this mess? Thanks, - Dave

 
Bartender
Posts: 1682
7
Android Mac OS X IntelliJ IDE Spring Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It looks like the version of jboss-logging.jar being used is not the one you're bundling. Since it looks like you are using the latest perhaps try some of the older versions instead. I am not seeing this as being an ORM issue so I am going to move this thread to the Jboss forum.
 
Dave Alvarado
Ranch Hand
Posts: 436
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
When I don't bundle the jboss-logging with my JAR (and so the default jboss-logging.jar from my JBoss distro is used), I get the first exception I posted -- "java.lang.NoClassDefFoundError: org/jboss/logging/BasicLogger". So it would appear I'm stuck. -
 
Ranch Hand
Posts: 859
IBM DB2 Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
We're stuck with 4.3.2 EAP GA CP0 (YES!! I know CP10 is the latest and greatest, but out team dropped the ball!)

JBoss 4.x is kind of stuck in no mans land in terms of JEE compliance.
We had to make major changes to get Apache CXF in place.

Currently "investigating" moving to 6 EAP.

WP
 
reply
    Bookmark Topic Watch Topic
  • New Topic