<div dir="ltr">Hey Christian,<div><br></div><div>we're still sticking to JBossAS 7.0.2. The last time I tried 7.1.x, this version was unable to reload JSPs, which might haven been fixed in 7.2. But I haven't tested this version. May be you the option to use WildFly?</div>
<div><br></div><div>When deploying OpenCms 9.x to a JBossAS, you have to remove the "persistence.xml" from: opencms-setup.jar:/META-INF. Otherwise you'll get a Duplicate ... Exception.</div><div><br></div><div>
Stephan</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-04-08 16:51 GMT+02:00 Christian Bjørnbak <span dir="ltr"><<a href="mailto:cbj@touristonline.dk" target="_blank">cbj@touristonline.dk</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>If anyone has succesfully installed opencms 9 on JBoss 7.1+ please share how you solved this openjpa issue:</div>
<div><br></div><div><div>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)))</div>
<div> at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:407)</div><div> at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:254)</div><div> at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:73)</div>
<div> at org.jboss.modules.Module.loadModuleClass(Module.java:518)</div><div> at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:182)</div><div> at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)</div>
<div> at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)</div><div> at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)</div>
<div> at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)</div><div> at org.jboss.as.jpa.openjpa.OpenJPAPersistenceProviderAdaptor.addProviderProperties(OpenJPAPersistenceProviderAdaptor.java:56)</div>
<div> at org.jboss.as.jpa.processor.PersistenceUnitServiceHandler.deployPersistenceUnit(PersistenceUnitServiceHandler.java:319)</div><div> at org.jboss.as.jpa.processor.PersistenceUnitServiceHandler.addPuService(PersistenceUnitServiceHandler.java:273)</div>
<div> at org.jboss.as.jpa.processor.PersistenceUnitServiceHandler.handleWarDeployment(PersistenceUnitServiceHandler.java:188)</div><div> at org.jboss.as.jpa.processor.PersistenceUnitServiceHandler.deploy(PersistenceUnitServiceHandler.java:114)</div>
<div> at org.jboss.as.jpa.processor.PersistenceBeginInstallProcessor.deploy(PersistenceBeginInstallProcessor.java:48)</div><div> at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:120)</div>
<div> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)</div><div> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)</div>
<div> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)</div><div> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)</div><div> at java.lang.Thread.run(Thread.java:744)</div>
<div>Caused by: java.lang.NoClassDefFoundError: org/apache/openjpa/persistence/PersistenceMetaDataFactory</div><div> at java.lang.ClassLoader.defineClass1(Native Method)</div><div> at java.lang.ClassLoader.defineClass(ClassLoader.java:800)</div>
<div> at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)</div><div> at org.jboss.modules.ModuleClassLoader.doDefineOrLoadClass(ModuleClassLoader.java:338)</div><div> at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:402)</div>
<div> ... 20 more</div><div>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))]</div>
<div> at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)</div><div> at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)</div><div> at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)</div>
<div> at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)</div><div> at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)</div><div> ... 25 more</div>
</div><div><br></div><div><br></div><div><br></div><div><div>Kind regards,<br><br>Christian Bjørnbak <br><br>Chefudvikler / Lead Developer<br>TouristOnline A/S<br>Islands Brygge 43<br>2300 København S<br>Denmark<br>TLF: <a href="tel:%2B45%2032888230" value="+4532888230" target="_blank">+45 32888230</a><br>
Dir. TLF: <a href="tel:%2B45%2032888235" value="+4532888235" target="_blank">+45 32888235</a><br></div>
</div></div>
<br>_______________________________________________<br>
This mail is sent to you from the opencms-dev mailing list<br>
To change your list options, or to unsubscribe from the list, please visit<br>
<a href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a><br>
<br>
<br>
<br>
<br></blockquote></div><br></div>