[opencms-dev] Has anyone succesfully installed opencms 9 on JBoss 7.1+

Christian Bjørnbak cbj at touristonline.dk
Tue Apr 8 16:51:59 CEST 2014


Hi,

If anyone has succesfully installed opencms 9 on JBoss 7.1+ please share
how you solved this openjpa issue:

2014-04-08 16:49:57,519:                [WARN] modules - Failed to define
class org.jboss.as.jpa.openjpa.JBossPersistenceMetaDataFactory in Module
"org.jboss.as.jpa.openjpa:main" from local module loader @876d42 (finder:
local module finder @1160a60 (roots:
/srv/jboss/8180/modules,/srv/jboss/8180/modules/system/layers/base)):
java.lang.LinkageError: Failed to link
org/jboss/as/jpa/openjpa/JBossPersistenceMetaDataFactory (Module
"org.jboss.as.jpa.openjpa:main" from local module loader @876d42 (finder:
local module finder @1160a60 (roots:
/srv/jboss/8180/modules,/srv/jboss/8180/modules/system/layers/base)))
        at
org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:407)
        at
org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:254)
        at
org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:73)
        at org.jboss.modules.Module.loadModuleClass(Module.java:518)
        at
org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:182)
        at
org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)
        at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)
        at
org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
        at
org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)
        at
org.jboss.as.jpa.openjpa.OpenJPAPersistenceProviderAdaptor.addProviderProperties(OpenJPAPersistenceProviderAdaptor.java:56)
        at
org.jboss.as.jpa.processor.PersistenceUnitServiceHandler.deployPersistenceUnit(PersistenceUnitServiceHandler.java:319)
        at
org.jboss.as.jpa.processor.PersistenceUnitServiceHandler.addPuService(PersistenceUnitServiceHandler.java:273)
        at
org.jboss.as.jpa.processor.PersistenceUnitServiceHandler.handleWarDeployment(PersistenceUnitServiceHandler.java:188)
        at
org.jboss.as.jpa.processor.PersistenceUnitServiceHandler.deploy(PersistenceUnitServiceHandler.java:114)
        at
org.jboss.as.jpa.processor.PersistenceBeginInstallProcessor.deploy(PersistenceBeginInstallProcessor.java:48)
        at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:120)
        at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
        at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:744)
Caused by: java.lang.NoClassDefFoundError:
org/apache/openjpa/persistence/PersistenceMetaDataFactory
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
        at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
        at
org.jboss.modules.ModuleClassLoader.doDefineOrLoadClass(ModuleClassLoader.java:338)
        at
org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:402)
        ... 20 more
Caused by: java.lang.ClassNotFoundException:
org.apache.openjpa.persistence.PersistenceMetaDataFactory from [Module
"org.jboss.as.jpa.openjpa:main" from local module loader @876d42 (finder:
local module finder @1160a60 (roots:
/srv/jboss/8180/modules,/srv/jboss/8180/modules/system/layers/base))]
        at
org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)
        at
org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)
        at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)
        at
org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
        at
org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)
        ... 25 more



Kind regards,

Christian Bjørnbak

Chefudvikler / Lead Developer
TouristOnline A/S
Islands Brygge 43
2300 København S
Denmark
TLF: +45 32888230
Dir. TLF: +45 32888235
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20140408/ce87644e/attachment.htm>


More information about the opencms-dev mailing list