Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Dave Alvarado
Ranch Hand
Posts: 436
  • Mark post as helpful
  • send pies
  • 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

 
Bill Gorder
Bartender
Posts: 1682
7
Android IntelliJ IDE Linux Mac OS X Spring
  • Mark post as helpful
  • send pies
  • 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
  • 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. -
 
William P O'Sullivan
Ranch Hand
Posts: 859
Chrome IBM DB2 Java
  • Mark post as helpful
  • send pies
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic