jboss - TomEE and legacy Entity Beans -
i'm trying migrate legacy web application running on deprecated environment based on jboss (older 2001).
the project seems use entity beans since trying deploy jars on wildfly 10.0.1 returns error not deployable entity beans (because not supported anymore).
i switched tomee 7.0.1 entity beans gets recognized triggers chain of errors.
00:13:57.174 info [localhost-startstop-1] org.apache.tomee.catalina.tomcatwebappbuilder.init ------------------------- localhost -> /sample 00:13:57.247 info [localhost-startstop-1] org.apache.openejb.config.configurationfactory.configureapplication configuring enterprise application: /root/apache-tomee-plume-7.0.1/webapps/sample 00:13:57.451 info [localhost-startstop-1] org.apache.openejb.config.initejbdeployments.deploy auto-deploying ejb consorzisession: ejbdeployment(deployment-id=consorzisession) 00:13:57.452 info [localhost-startstop-1] org.apache.openejb.config.initejbdeployments.deploy auto-deploying ejb consorzi: ejbdeployment(deployment-id=consorzi) 00:13:57.452 info [localhost-startstop-1] org.apache.openejb.config.initejbdeployments.deploy auto-deploying ejb coninfo: ejbdeployment(deployment-id=coninfo) 00:13:57.452 info [localhost-startstop-1] org.apache.openejb.config.initejbdeployments.deploy auto-deploying ejb infallegati: ejbdeployment(deployment-id=infallegati) 00:13:57.465 info [localhost-startstop-1] org.apache.openejb.config.configurationfactory.configureservice configuring service(id=sample/oracleds, type=resource, provider-id=default jdbc database) 00:13:57.466 info [localhost-startstop-1] org.apache.openejb.assembler.classic.assembler.createrecipe creating resource(id=sample/oracleds) 00:14:10.577 warning [localhost-startstop-1] org.apache.openejb.assembler.classic.assembler.unusedproperty unusedproperty maxtotal - sample/oracleds 00:14:10.577 warning [localhost-startstop-1] org.apache.openejb.assembler.classic.assembler.unusedproperty unusedproperty maxwaitmillis - sample/oracleds 00:14:10.580 info [localhost-startstop-1] org.apache.openejb.config.configurationfactory.configureservice configuring service(id=default stateless container, type=container, provider-id=default stateless container) 00:14:10.581 info [localhost-startstop-1] org.apache.openejb.config.autoconfig.createcontainer auto-creating container bean consorzisession: container(type=stateless, id=default stateless container) 00:14:10.581 info [localhost-startstop-1] org.apache.openejb.assembler.classic.assembler.createrecipe creating container(id=default stateless container) 00:14:10.603 info [localhost-startstop-1] org.apache.openejb.config.autoconfig.processresourceref auto-linking resource-ref 'openejb/resource/sample/oracleds' in bean consorzisession resource(id=sample/oracleds) 00:14:10.605 info [localhost-startstop-1] org.apache.openejb.config.autoconfig.processresourceref auto-linking resource-ref 'openejb/resource/oracleds' in bean consorzisession resource(id=sample/oracleds) 00:14:10.607 info [localhost-startstop-1] org.apache.openejb.config.configurationfactory.configureservice configuring service(id=default cmp container, type=container, provider-id=default cmp container) 00:14:10.607 info [localhost-startstop-1] org.apache.openejb.config.autoconfig.createcontainer auto-creating container bean consorzi: container(type=cmp_entity, id=default cmp container) 00:14:10.607 info [localhost-startstop-1] org.apache.openejb.assembler.classic.assembler.createrecipe creating container(id=default cmp container) 00:14:10.621 info [localhost-startstop-1] org.apache.openejb.config.autoconfig.processresourceref auto-linking resource-ref 'openejb/resource/sample/oracleds' in bean consorzi resource(id=sample/oracleds) 00:14:10.622 info [localhost-startstop-1] org.apache.openejb.config.autoconfig.processresourceref auto-linking resource-ref 'openejb/resource/oracleds' in bean consorzi resource(id=sample/oracleds) 00:14:10.622 info [localhost-startstop-1] org.apache.openejb.config.autoconfig.processresourceref auto-linking resource-ref 'openejb/resource/sample/oracleds' in bean coninfo resource(id=sample/oracleds) 00:14:10.623 info [localhost-startstop-1] org.apache.openejb.config.autoconfig.processresourceref auto-linking resource-ref 'openejb/resource/oracleds' in bean coninfo resource(id=sample/oracleds) 00:14:10.623 info [localhost-startstop-1] org.apache.openejb.config.autoconfig.processresourceref auto-linking resource-ref 'openejb/resource/sample/oracleds' in bean infallegati resource(id=sample/oracleds) 00:14:10.624 info [localhost-startstop-1] org.apache.openejb.config.autoconfig.processresourceref auto-linking resource-ref 'openejb/resource/oracleds' in bean infallegati resource(id=sample/oracleds) 00:14:10.625 info [localhost-startstop-1] org.apache.openejb.config.configurationfactory.configureservice configuring service(id=default managed container, type=container, provider-id=default managed container) 00:14:10.625 info [localhost-startstop-1] org.apache.openejb.config.autoconfig.createcontainer auto-creating container bean sample.comp1731051780: container(type=managed, id=default managed container) 00:14:10.625 info [localhost-startstop-1] org.apache.openejb.assembler.classic.assembler.createrecipe creating container(id=default managed container) 00:14:10.637 info [localhost-startstop-1] org.apache.openejb.core.managed.simplepassivater.init using directory /root/apache-tomee-plume-7.0.1/temp stateful session passivation 00:14:10.651 info [localhost-startstop-1] org.apache.openejb.config.autoconfig.processresourceref auto-linking resource-ref 'openejb/resource/sample/oracleds' in bean sample.comp1731051780 resource(id=sample/oracleds) 00:14:10.651 info [localhost-startstop-1] org.apache.openejb.config.autoconfig.processresourceref auto-linking resource-ref 'openejb/resource/oracleds' in bean sample.comp1731051780 resource(id=sample/oracleds) 00:14:10.652 info [localhost-startstop-1] org.apache.openejb.config.autoconfig.deploy configuring persistenceunit(name=cmp) 00:14:10.656 info [localhost-startstop-1] org.apache.openejb.config.autoconfig.logautocreateresource auto-creating resource id 'sample/oracledsjta' of type 'datasource 'cmp'. 00:14:10.656 info [localhost-startstop-1] org.apache.openejb.config.autoconfig.deploy configuring service(id=sample/oracledsjta, type=resource, provider-id=sample/oracleds) 00:14:10.657 info [localhost-startstop-1] org.apache.openejb.assembler.classic.assembler.createrecipe creating resource(id=sample/oracledsjta) 00:14:23.834 warning [localhost-startstop-1] org.apache.openejb.assembler.classic.assembler.unusedproperty unusedproperty maxtotal - sample/oracledsjta 00:14:23.834 warning [localhost-startstop-1] org.apache.openejb.assembler.classic.assembler.unusedproperty unusedproperty maxwaitmillis - sample/oracledsjta 00:14:23.835 info [localhost-startstop-1] org.apache.openejb.config.autoconfig.setjtadatasource adjusting persistenceunit cmp <jta-data-source> resource id 'sample/oracledsjta' 'null' 00:14:23.835 info [localhost-startstop-1] org.apache.openejb.config.autoconfig.setnonjtadatasource adjusting persistenceunit cmp <non-jta-data-source> resource id 'sample/oracleds' 'null' 00:14:24.286 warning [localhost-startstop-1] org.apache.openejb.config.reportvalidationresults.logresults warn ... consorzi: unused ejbpostcreate method: ejbpostcreate() 00:14:24.287 warning [localhost-startstop-1] org.apache.openejb.config.reportvalidationresults.logresults warn ... coninfo: unused ejbpostcreate method: ejbpostcreate() 00:14:24.287 warning [localhost-startstop-1] org.apache.openejb.config.reportvalidationresults.logresults warn ... infallegati: unused ejbpostcreate method: ejbpostcreate() 00:14:24.287 warning [localhost-startstop-1] org.apache.openejb.config.reportvalidationresults.logresults 3 warnings ejbmodule(path=sample) 00:14:24.288 info [localhost-startstop-1] org.apache.openejb.config.appinfobuilder.build enterprise application "/root/apache-tomee-plume-7.0.1/webapps/sample" loaded. 00:14:24.288 info [localhost-startstop-1] org.apache.openejb.assembler.classic.assembler.createapplication assembling app: /root/apache-tomee-plume-7.0.1/webapps/sample 00:14:24.579 info [localhost-startstop-1] org.apache.openejb.assembler.classic.reloadableentitymanagerfactory.createdelegate persistenceunit(name=cmp, provider=org.eclipse.persistence.jpa.persistenceprovider) - provider time 250ms 00:14:24.579 info [localhost-startstop-1] org.apache.openejb.assembler.classic.assembler.destroyapplication undeploying app: /root/apache-tomee-plume-7.0.1/webapps/sample 00:14:24.581 severe [localhost-startstop-1] sun.reflect.nativemethodaccessorimpl.invoke containerbase.removechild: destroy: org.apache.catalina.lifecycleexception: invalid lifecycle transition attempted ([before_destroy]) component [standardengine[catalina].standardhost[localhost].standardcontext[/sample]] in state [starting_prep] @ org.apache.catalina.util.lifecyclebase.invalidtransition(lifecyclebase.java:408) @ org.apache.catalina.util.lifecyclebase.destroy(lifecyclebase.java:296) @ org.apache.catalina.core.containerbase.removechild(containerbase.java:828) @ org.apache.tomee.catalina.tomcatwebappbuilder.undeploy(tomcatwebappbuilder.java:1586) @ org.apache.tomee.catalina.tomcatwebappbuilder.undeploy(tomcatwebappbuilder.java:1566) @ org.apache.tomee.catalina.tomcatwebappbuilder.undeploywebapps(tomcatwebappbuilder.java:754) @ org.apache.openejb.assembler.classic.assembler.destroyapplication(assembler.java:2224) @ org.apache.openejb.assembler.classic.assembler.createapplication(assembler.java:1035) @ org.apache.openejb.assembler.classic.assembler.createapplication(assembler.java:717) @ org.apache.tomee.catalina.tomcatwebappbuilder.startinternal(tomcatwebappbuilder.java:1257) @ org.apache.tomee.catalina.tomcatwebappbuilder.configurestart(tomcatwebappbuilder.java:1115) @ org.apache.tomee.catalina.globallistenersupport.lifecycleevent(globallistenersupport.java:133) @ org.apache.catalina.util.lifecyclebase.firelifecycleevent(lifecyclebase.java:94) @ org.apache.catalina.core.standardcontext.startinternal(standardcontext.java:5076) @ org.apache.catalina.util.lifecyclebase.start(lifecyclebase.java:152) @ org.apache.catalina.core.containerbase.addchildinternal(containerbase.java:726) @ org.apache.catalina.core.containerbase.addchild(containerbase.java:702) @ org.apache.catalina.core.standardhost.addchild(standardhost.java:734) @ org.apache.catalina.startup.hostconfig.deploydirectory(hostconfig.java:1107) @ org.apache.catalina.startup.hostconfig$deploydirectory.run(hostconfig.java:1841) @ java.util.concurrent.executors$runnableadapter.call(executors.java:471) @ java.util.concurrent.futuretask.run(futuretask.java:262) @ java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1145) @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:615) @ java.lang.thread.run(thread.java:745) 00:14:24.585 info [localhost-startstop-1] org.apache.openejb.assembler.classic.assembler.doresourcedestruction closing datasource: sample/oracleds 00:14:25.112 severe [localhost-startstop-1] org.apache.tomee.catalina.tomcatwebappbuilder.startinternal unable deploy collapsed ear in war standardengine[catalina].standardhost[localhost].standardcontext[/sample] org.apache.openejb.openejbexception: creating application failed: /root/apache-tomee-plume-7.0.1/webapps/sample: org.apache.openejb.openejbruntimeexception: javax.persistence.persistenceexception: exception [eclipselink-28018] (eclipse persistence services - 2.6.3.v20160428-59c81c5): org.eclipse.persistence.exceptions.entitymanagersetupexception exception description: predeployment of persistenceunit [cmp] failed. internal exception: java.lang.runtimeexception: java.io.filenotfoundexception: /root/apache-tomee-plume-7.0.1/sample (file o directory non esistente): javax.persistence.persistenceexception: exception [eclipselink-28018] (eclipse persistence services - 2.6.3.v20160428-59c81c5): org.eclipse.persistence.exceptions.entitymanagersetupexception exception description: predeployment of persistenceunit [cmp] failed. internal exception: java.lang.runtimeexception: java.io.filenotfoundexception: /root/apache-tomee-plume-7.0.1/sample (file o directory non esistente) @ org.apache.openejb.assembler.classic.assembler.createapplication(assembler.java:1039) @ org.apache.openejb.assembler.classic.assembler.createapplication(assembler.java:717) @ org.apache.tomee.catalina.tomcatwebappbuilder.startinternal(tomcatwebappbuilder.java:1257) @ org.apache.tomee.catalina.tomcatwebappbuilder.configurestart(tomcatwebappbuilder.java:1115) @ org.apache.tomee.catalina.globallistenersupport.lifecycleevent(globallistenersupport.java:133) @ org.apache.catalina.util.lifecyclebase.firelifecycleevent(lifecyclebase.java:94) @ org.apache.catalina.core.standardcontext.startinternal(standardcontext.java:5076) @ org.apache.catalina.util.lifecyclebase.start(lifecyclebase.java:152) @ org.apache.catalina.core.containerbase.addchildinternal(containerbase.java:726) @ org.apache.catalina.core.containerbase.addchild(containerbase.java:702) @ org.apache.catalina.core.standardhost.addchild(standardhost.java:734) @ org.apache.catalina.startup.hostconfig.deploydirectory(hostconfig.java:1107) @ org.apache.catalina.startup.hostconfig$deploydirectory.run(hostconfig.java:1841) @ java.util.concurrent.executors$runnableadapter.call(executors.java:471) @ java.util.concurrent.futuretask.run(futuretask.java:262) @ java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1145) @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:615) @ java.lang.thread.run(thread.java:745) caused by: org.apache.openejb.openejbexception: org.apache.openejb.openejbruntimeexception: javax.persistence.persistenceexception: exception [eclipselink-28018] (eclipse persistence services - 2.6.3.v20160428-59c81c5): org.eclipse.persistence.exceptions.entitymanagersetupexception exception description: predeployment of persistenceunit [cmp] failed. internal exception: java.lang.runtimeexception: java.io.filenotfoundexception: /root/apache-tomee-plume-7.0.1/sample (file o directory non esistente): javax.persistence.persistenceexception: exception [eclipselink-28018] (eclipse persistence services - 2.6.3.v20160428-59c81c5): org.eclipse.persistence.exceptions.entitymanagersetupexception exception description: predeployment of persistenceunit [cmp] failed. internal exception: java.lang.runtimeexception: java.io.filenotfoundexception: /root/apache-tomee-plume-7.0.1/sample (file o directory non esistente) @ org.apache.openejb.assembler.classic.assembler.createapplication(assembler.java:870) ... 17 more caused by: org.apache.openejb.openejbruntimeexception: javax.persistence.persistenceexception: exception [eclipselink-28018] (eclipse persistence services - 2.6.3.v20160428-59c81c5): org.eclipse.persistence.exceptions.entitymanagersetupexception exception description: predeployment of persistenceunit [cmp] failed. internal exception: java.lang.runtimeexception: java.io.filenotfoundexception: /root/apache-tomee-plume-7.0.1/sample (file o directory non esistente) @ org.apache.openejb.assembler.classic.reloadableentitymanagerfactory.createdelegate(reloadableentitymanagerfactory.java:121) @ org.apache.openejb.assembler.classic.reloadableentitymanagerfactory.<init>(reloadableentitymanagerfactory.java:105) @ org.apache.openejb.assembler.classic.persistencebuilder.createentitymanagerfactory(persistencebuilder.java:155) @ org.apache.openejb.assembler.classic.assembler.createapplication(assembler.java:864) ... 17 more caused by: javax.persistence.persistenceexception: exception [eclipselink-28018] (eclipse persistence services - 2.6.3.v20160428-59c81c5): org.eclipse.persistence.exceptions.entitymanagersetupexception exception description: predeployment of persistenceunit [cmp] failed. internal exception: java.lang.runtimeexception: java.io.filenotfoundexception: /root/apache-tomee-plume-7.0.1/sample (file o directory non esistente) @ org.eclipse.persistence.internal.jpa.entitymanagersetupimpl.createpredeployfailedpersistenceexception(entitymanagersetupimpl.java:2035) @ org.eclipse.persistence.internal.jpa.entitymanagersetupimpl.predeploy(entitymanagersetupimpl.java:2026) @ org.eclipse.persistence.jpa.persistenceprovider.createcontainerentitymanagerfactoryimpl(persistenceprovider.java:347) @ org.eclipse.persistence.jpa.persistenceprovider.createcontainerentitymanagerfactory(persistenceprovider.java:313) @ org.apache.openejb.assembler.classic.entitymanagerfactorycallable.call(entitymanagerfactorycallable.java:64) @ org.apache.openejb.assembler.classic.reloadableentitymanagerfactory.createdelegate(reloadableentitymanagerfactory.java:119) ... 20 more caused by: exception [eclipselink-28018] (eclipse persistence services - 2.6.3.v20160428-59c81c5): org.eclipse.persistence.exceptions.entitymanagersetupexception exception description: predeployment of persistenceunit [cmp] failed. internal exception: java.lang.runtimeexception: java.io.filenotfoundexception: /root/apache-tomee-plume-7.0.1/sample (file o directory non esistente) @ org.eclipse.persistence.exceptions.entitymanagersetupexception.predeployfailed(entitymanagersetupexception.java:231) ... 26 more caused by: java.lang.runtimeexception: java.io.filenotfoundexception: /root/apache-tomee-plume-7.0.1/sample (file o directory non esistente) @ org.eclipse.persistence.internal.jpa.metadata.metadataprocessor.loadstandardmappingfiles(metadataprocessor.java:484) @ org.eclipse.persistence.internal.jpa.metadata.metadataprocessor.loadmappingfiles(metadataprocessor.java:393) @ org.eclipse.persistence.internal.jpa.deployment.persistenceunitprocessor.processormetadata(persistenceunitprocessor.java:597) @ org.eclipse.persistence.internal.jpa.entitymanagersetupimpl.predeploy(entitymanagersetupimpl.java:1948) ... 24 more caused by: java.io.filenotfoundexception: /root/apache-tomee-plume-7.0.1/sample (file o directory non esistente) @ java.util.zip.zipfile.open(native method) @ java.util.zip.zipfile.<init>(zipfile.java:215) @ java.util.zip.zipfile.<init>(zipfile.java:145) @ java.util.jar.jarfile.<init>(jarfile.java:154) @ java.util.jar.jarfile.<init>(jarfile.java:118) @ org.eclipse.persistence.internal.jpa.deployment.archivefactoryimpl.createarchive(archivefactoryimpl.java:93) @ org.eclipse.persistence.internal.jpa.deployment.archivefactoryimpl.createarchive(archivefactoryimpl.java:58) @ org.eclipse.persistence.internal.jpa.metadata.metadataprocessor.loadstandardmappingfiles(metadataprocessor.java:469) ... 27 more 00:14:25.113 severe [localhost-startstop-1] sun.reflect.nativemethodaccessorimpl.invoke containerbase.addchild: start: org.apache.catalina.lifecycleexception: failed start component [standardengine[catalina].standardhost[localhost].standardcontext[/sample]] @ org.apache.catalina.util.lifecyclebase.start(lifecyclebase.java:158) @ org.apache.catalina.core.containerbase.addchildinternal(containerbase.java:726) @ org.apache.catalina.core.containerbase.addchild(containerbase.java:702) @ org.apache.catalina.core.standardhost.addchild(standardhost.java:734) @ org.apache.catalina.startup.hostconfig.deploydirectory(hostconfig.java:1107) @ org.apache.catalina.startup.hostconfig$deploydirectory.run(hostconfig.java:1841) @ java.util.concurrent.executors$runnableadapter.call(executors.java:471) @ java.util.concurrent.futuretask.run(futuretask.java:262) @ java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1145) @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:615) @ java.lang.thread.run(thread.java:745) caused by: org.apache.tomee.catalina.tomeeruntimeexception: org.apache.openejb.openejbexception: creating application failed: /root/apache-tomee-plume-7.0.1/webapps/sample: org.apache.openejb.openejbruntimeexception: javax.persistence.persistenceexception: exception [eclipselink-28018] (eclipse persistence services - 2.6.3.v20160428-59c81c5): org.eclipse.persistence.exceptions.entitymanagersetupexception exception description: predeployment of persistenceunit [cmp] failed. internal exception: java.lang.runtimeexception: java.io.filenotfoundexception: /root/apache-tomee-plume-7.0.1/sample (file o directory non esistente): javax.persistence.persistenceexception: exception [eclipselink-28018] (eclipse persistence services - 2.6.3.v20160428-59c81c5): org.eclipse.persistence.exceptions.entitymanagersetupexception exception description: predeployment of persistenceunit [cmp] failed. internal exception: java.lang.runtimeexception: java.io.filenotfoundexception: /root/apache-tomee-plume-7.0.1/sample (file o directory non esistente) @ org.apache.tomee.catalina.tomcatwebappbuilder.startinternal(tomcatwebappbuilder.java:1269) @ org.apache.tomee.catalina.tomcatwebappbuilder.configurestart(tomcatwebappbuilder.java:1115) @ org.apache.tomee.catalina.globallistenersupport.lifecycleevent(globallistenersupport.java:133) @ org.apache.catalina.util.lifecyclebase.firelifecycleevent(lifecyclebase.java:94) @ org.apache.catalina.core.standardcontext.startinternal(standardcontext.java:5076) @ org.apache.catalina.util.lifecyclebase.start(lifecyclebase.java:152) ... 10 more caused by: org.apache.openejb.openejbexception: creating application failed: /root/apache-tomee-plume-7.0.1/webapps/sample: org.apache.openejb.openejbruntimeexception: javax.persistence.persistenceexception: exception [eclipselink-28018] (eclipse persistence services - 2.6.3.v20160428-59c81c5): org.eclipse.persistence.exceptions.entitymanagersetupexception exception description: predeployment of persistenceunit [cmp] failed. internal exception: java.lang.runtimeexception: java.io.filenotfoundexception: /root/apache-tomee-plume-7.0.1/sample (file o directory non esistente): javax.persistence.persistenceexception: exception [eclipselink-28018] (eclipse persistence services - 2.6.3.v20160428-59c81c5): org.eclipse.persistence.exceptions.entitymanagersetupexception exception description: predeployment of persistenceunit [cmp] failed. internal exception: java.lang.runtimeexception: java.io.filenotfoundexception: /root/apache-tomee-plume-7.0.1/sample (file o directory non esistente) @ org.apache.openejb.assembler.classic.assembler.createapplication(assembler.java:1039) @ org.apache.openejb.assembler.classic.assembler.createapplication(assembler.java:717) @ org.apache.tomee.catalina.tomcatwebappbuilder.startinternal(tomcatwebappbuilder.java:1257) ... 15 more caused by: org.apache.openejb.openejbexception: org.apache.openejb.openejbruntimeexception: javax.persistence.persistenceexception: exception [eclipselink-28018] (eclipse persistence services - 2.6.3.v20160428-59c81c5): org.eclipse.persistence.exceptions.entitymanagersetupexception exception description: predeployment of persistenceunit [cmp] failed. internal exception: java.lang.runtimeexception: java.io.filenotfoundexception: /root/apache-tomee-plume-7.0.1/sample (file o directory non esistente): javax.persistence.persistenceexception: exception [eclipselink-28018] (eclipse persistence services - 2.6.3.v20160428-59c81c5): org.eclipse.persistence.exceptions.entitymanagersetupexception exception description: predeployment of persistenceunit [cmp] failed. internal exception: java.lang.runtimeexception: java.io.filenotfoundexception: /root/apache-tomee-plume-7.0.1/sample (file o directory non esistente) @ org.apache.openejb.assembler.classic.assembler.createapplication(assembler.java:870) ... 17 more caused by: org.apache.openejb.openejbruntimeexception: javax.persistence.persistenceexception: exception [eclipselink-28018] (eclipse persistence services - 2.6.3.v20160428-59c81c5): org.eclipse.persistence.exceptions.entitymanagersetupexception exception description: predeployment of persistenceunit [cmp] failed. internal exception: java.lang.runtimeexception: java.io.filenotfoundexception: /root/apache-tomee-plume-7.0.1/sample (file o directory non esistente) @ org.apache.openejb.assembler.classic.reloadableentitymanagerfactory.createdelegate(reloadableentitymanagerfactory.java:121) @ org.apache.openejb.assembler.classic.reloadableentitymanagerfactory.<init>(reloadableentitymanagerfactory.java:105) @ org.apache.openejb.assembler.classic.persistencebuilder.createentitymanagerfactory(persistencebuilder.java:155) @ org.apache.openejb.assembler.classic.assembler.createapplication(assembler.java:864) ... 17 more caused by: javax.persistence.persistenceexception: exception [eclipselink-28018] (eclipse persistence services - 2.6.3.v20160428-59c81c5): org.eclipse.persistence.exceptions.entitymanagersetupexception exception description: predeployment of persistenceunit [cmp] failed. internal exception: java.lang.runtimeexception: java.io.filenotfoundexception: /root/apache-tomee-plume-7.0.1/sample (file o directory non esistente) @ org.eclipse.persistence.internal.jpa.entitymanagersetupimpl.createpredeployfailedpersistenceexception(entitymanagersetupimpl.java:2035) @ org.eclipse.persistence.internal.jpa.entitymanagersetupimpl.predeploy(entitymanagersetupimpl.java:2026) @ org.eclipse.persistence.jpa.persistenceprovider.createcontainerentitymanagerfactoryimpl(persistenceprovider.java:347) @ org.eclipse.persistence.jpa.persistenceprovider.createcontainerentitymanagerfactory(persistenceprovider.java:313) @ org.apache.openejb.assembler.classic.entitymanagerfactorycallable.call(entitymanagerfactorycallable.java:64) @ org.apache.openejb.assembler.classic.reloadableentitymanagerfactory.createdelegate(reloadableentitymanagerfactory.java:119) ... 20 more caused by: exception [eclipselink-28018] (eclipse persistence services - 2.6.3.v20160428-59c81c5): org.eclipse.persistence.exceptions.entitymanagersetupexception exception description: predeployment of persistenceunit [cmp] failed. internal exception: java.lang.runtimeexception: java.io.filenotfoundexception: /root/apache-tomee-plume-7.0.1/sample (file o directory non esistente) @ org.eclipse.persistence.exceptions.entitymanagersetupexception.predeployfailed(entitymanagersetupexception.java:231) ... 26 more caused by: java.lang.runtimeexception: java.io.filenotfoundexception: /root/apache-tomee-plume-7.0.1/sample (file o directory non esistente) @ org.eclipse.persistence.internal.jpa.metadata.metadataprocessor.loadstandardmappingfiles(metadataprocessor.java:484) @ org.eclipse.persistence.internal.jpa.metadata.metadataprocessor.loadmappingfiles(metadataprocessor.java:393) @ org.eclipse.persistence.internal.jpa.deployment.persistenceunitprocessor.processormetadata(persistenceunitprocessor.java:597) @ org.eclipse.persistence.internal.jpa.entitymanagersetupimpl.predeploy(entitymanagersetupimpl.java:1948) ... 24 more caused by: java.io.filenotfoundexception: /root/apache-tomee-plume-7.0.1/sample (file o directory non esistente) @ java.util.zip.zipfile.open(native method) @ java.util.zip.zipfile.<init>(zipfile.java:215) @ java.util.zip.zipfile.<init>(zipfile.java:145) @ java.util.jar.jarfile.<init>(jarfile.java:154) @ java.util.jar.jarfile.<init>(jarfile.java:118) @ org.eclipse.persistence.internal.jpa.deployment.archivefactoryimpl.createarchive(archivefactoryimpl.java:93) @ org.eclipse.persistence.internal.jpa.deployment.archivefactoryimpl.createarchive(archivefactoryimpl.java:58) @ org.eclipse.persistence.internal.jpa.metadata.metadataprocessor.loadstandardmappingfiles(metadataprocessor.java:469) ... 27 more 00:14:25.113 severe [localhost-startstop-1] sun.reflect.nativemethodaccessorimpl.invoke error deploying web application directory /root/apache-tomee-plume-7.0.1/webapps/sample java.lang.illegalstateexception: containerbase.addchild: start: org.apache.catalina.lifecycleexception: failed start component [standardengine[catalina].standardhost[localhost].standardcontext[/sample]] @ org.apache.catalina.core.containerbase.addchildinternal(containerbase.java:730) @ org.apache.catalina.core.containerbase.addchild(containerbase.java:702) @ org.apache.catalina.core.standardhost.addchild(standardhost.java:734) @ org.apache.catalina.startup.hostconfig.deploydirectory(hostconfig.java:1107) @ org.apache.catalina.startup.hostconfig$deploydirectory.run(hostconfig.java:1841) @ java.util.concurrent.executors$runnableadapter.call(executors.java:471) @ java.util.concurrent.futuretask.run(futuretask.java:262) @ java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1145) @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:615) @ java.lang.thread.run(thread.java:745)
i can not understand why not running errors seem quite messy.
few things validate before going furthers:
- does work default tomee distribution (ie using openjpa)
- does work referencing context (webapp) absolute path in server.xml instead of using auto deployments on host?
Comments
Post a Comment