[jboss-user] Migrating from JBoss 4.0.0 to 4.2.1

Richard Boehme rboehme at gmail.com
Wed Jul 25 18:00:45 EDT 2007


Hi. I'm migrating from JBoss 4.0.0 to 4.2.1 so that I can use Hibernate
3 in my application. I have copied all of the jboss/lib/* and
jboss/server/all/lib as well as the jars from the hibernate3
distribution to my server's lib directory.

In a nutshell, it's looking for org.jboss.xml.binding.ObjectModelFactory
and org.jboss.hibernate.har.HARDeployer

However, I cannot find these files in either the jboss 4.2.1
distribution or the Hibernate 3 distribution. I have also looked at the
jboss 4.2.1 source and have searched my entire library tree. The
application has no problems starting up with JBoss 4.0.0.

Searching for answers via Google and newsgroups also doesn't turn up
much of use.

Does anyone know where the jars containing these files might be found
and what they are named?

Log excerpts below.

Thank you.

Richard



2007-07-25 10:00:01,572 ERROR [org.jboss.deployment.MainDeployer] Could
not create deployment:
file:/rfid/jboss-4.2.1.GA/server/XXXXXX/deploy/jboss-ws4ee.sar/
org.jboss.deployment.DeploymentException: - nested throwable:
(java.lang.reflect.UndeclaredThrowableException)
        at
org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:196)
        at
org.jboss.system.ServiceController.install(ServiceController.java:226)
.
.
.
        at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.reflect.UndeclaredThrowableException
        at org.jboss.system.ServiceCreator.install(ServiceCreator.java:236)
        at
org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:449)
        at
org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171)
        ... 75 more
Caused by: java.lang.NoClassDefFoundError:
org/jboss/xml/binding/ObjectModelFactory
        at java.lang.Class.getDeclaredConstructors0(Native Method)





2007-07-25 10:00:07,170 ERROR [org.jboss.deployment.MainDeployer] Could
not create deployment:
file:/rfid/jboss-4.2.1.GA/server/XXXXXX/deploy/hibernate-deployer-service.xml
org.jboss.deployment.DeploymentException: No ClassLoaders found for:
org.jboss.hibernate.har.HARDeployer; - nested throwable:
(java.lang.ClassNotFoundException: No ClassLoaders found for:
org.jboss.hibernate.har.HARDeployer)
        at
org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:196)
        at
org.jboss.system.ServiceController.install(ServiceController.java:226)
.
.
.
      at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for:
org.jboss.hibernate.har.HARDeployer
        at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:212)
        at
org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:514)



More information about the jboss-user mailing list