<div dir="ltr">Hi Martin,<div><br></div><div>the JPA support has been removed with commit: <a href="https://github.com/alkacon/opencms-core/commit/375c6bf71f645a84d9121d84beb75c111bc5734a">https://github.com/alkacon/opencms-core/commit/375c6bf71f645a84d9121d84beb75c111bc5734a</a>. Unfortunately I haven't found any reason.</div><div><br></div><div>Stephan</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Am Do., 16. Juli 2020 um 12:15 Uhr schrieb <<a href="mailto:martin.rosenthal@oerag.de">martin.rosenthal@oerag.de</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
Hello,<br>
<br>
i'm trying to upgrade my local OpenCMS developer system from OpenCMS 10.5<br>
to 11.0.1. It is actually running on Windows 10, Oracle Java 8 in a Tomcat<br>
9.0.30. As database i'm using IBM DB2 v.10.5.0.9 .<br>
After copying the files from the upgrade package in my installation<br>
directory als described in the readme-file, OpenCMS isn't starting After a<br>
few seconds i get the error:<br>
<br>
<br>
SCHWERWIEGEND: Error deploying web application directory<br>
[D:\apache-tomcat-9.0.30\webapps\web]<br>
java.lang.IllegalStateException: Error starting child<br>
at org.apache.catalina.core.ContainerBase.addChildInternal<br>
(ContainerBase.java:720)<br>
at org.apache.catalina.core.ContainerBase.addChild<br>
(ContainerBase.java:690)<br>
at org.apache.catalina.core.StandardHost.addChild<br>
(StandardHost.java:705)<br>
at org.apache.catalina.startup.HostConfig.deployDirectory<br>
(HostConfig.java:1133)<br>
at org.apache.catalina.startup.HostConfig$DeployDirectory.run<br>
(HostConfig.java:1867)<br>
at java.util.concurrent.Executors$RunnableAdapter.call<br>
(Executors.java:511)<br>
at java.util.concurrent.FutureTask.run(FutureTask.java:266)<br>
at org.apache.tomcat.util.threads.InlineExecutorService.execute<br>
(InlineExecutorService.java:75)<br>
at java.util.concurrent.AbstractExecutorService.submit<br>
(AbstractExecutorService.java:112)<br>
at org.apache.catalina.startup.HostConfig.deployDirectories<br>
(HostConfig.java:1045)<br>
at org.apache.catalina.startup.HostConfig.deployApps<br>
(HostConfig.java:429)<br>
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1576)<br>
at org.apache.catalina.startup.HostConfig.lifecycleEvent<br>
(HostConfig.java:309)<br>
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent<br>
(LifecycleBase.java:123)<br>
at org.apache.catalina.util.LifecycleBase.setStateInternal<br>
(LifecycleBase.java:423)<br>
at org.apache.catalina.util.LifecycleBase.setState<br>
(LifecycleBase.java:366)<br>
at org.apache.catalina.core.ContainerBase.startInternal<br>
(ContainerBase.java:936)<br>
at org.apache.catalina.core.StandardHost.startInternal<br>
(StandardHost.java:841)<br>
at org.apache.catalina.util.LifecycleBase.start<br>
(LifecycleBase.java:183)<br>
at org.apache.catalina.core.ContainerBase$StartChild.call<br>
(ContainerBase.java:1384)<br>
at org.apache.catalina.core.ContainerBase$StartChild.call<br>
(ContainerBase.java:1374)<br>
at java.util.concurrent.FutureTask.run(FutureTask.java:266)<br>
at org.apache.tomcat.util.threads.InlineExecutorService.execute<br>
(InlineExecutorService.java:75)<br>
at java.util.concurrent.AbstractExecutorService.submit<br>
(AbstractExecutorService.java:134)<br>
at org.apache.catalina.core.ContainerBase.startInternal<br>
(ContainerBase.java:909)<br>
at org.apache.catalina.core.StandardEngine.startInternal<br>
(StandardEngine.java:262)<br>
at org.apache.catalina.util.LifecycleBase.start<br>
(LifecycleBase.java:183)<br>
at org.apache.catalina.core.StandardService.startInternal<br>
(StandardService.java:421)<br>
at org.apache.catalina.util.LifecycleBase.start<br>
(LifecycleBase.java:183)<br>
at org.apache.catalina.core.StandardServer.startInternal<br>
(StandardServer.java:930)<br>
at org.apache.catalina.util.LifecycleBase.start<br>
(LifecycleBase.java:183)<br>
at org.apache.catalina.startup.Catalina.start(Catalina.java:633)<br>
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>
at sun.reflect.NativeMethodAccessorImpl.invoke<br>
(NativeMethodAccessorImpl.java:62)<br>
at sun.reflect.DelegatingMethodAccessorImpl.invoke<br>
(DelegatingMethodAccessorImpl.java:43)<br>
at java.lang.reflect.Method.invoke(Method.java:498)<br>
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:343)<br>
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:474)<br>
Caused by: org.apache.catalina.LifecycleException: Failed to start<br>
component [StandardEngine[Catalina].StandardHost[localhost].StandardContext<br>
[/web]]<br>
at org.apache.catalina.util.LifecycleBase.handleSubClassException<br>
(LifecycleBase.java:440)<br>
at org.apache.catalina.util.LifecycleBase.start<br>
(LifecycleBase.java:198)<br>
at org.apache.catalina.core.ContainerBase.addChildInternal<br>
(ContainerBase.java:717)<br>
... 37 more<br>
Caused by: java.lang.NoClassDefFoundError:<br>
Ljavax/persistence/EntityManagerFactory;<br>
at java.lang.Class.getDeclaredFields0(Native Method)<br>
at java.lang.Class.privateGetDeclaredFields(Class.java:2583)<br>
at java.lang.Class.getDeclaredFields(Class.java:1916)<br>
at org.apache.catalina.util.Introspection.getDeclaredFields<br>
(Introspection.java:110)<br>
at org.apache.catalina.startup.WebAnnotationSet.loadFieldsAnnotation<br>
(WebAnnotationSet.java:269)<br>
at<br>
org.apache.catalina.startup.WebAnnotationSet.loadApplicationListenerAnnotations<br>
(WebAnnotationSet.java:89)<br>
at<br>
org.apache.catalina.startup.WebAnnotationSet.loadApplicationAnnotations<br>
(WebAnnotationSet.java:67)<br>
at<br>
org.apache.catalina.startup.ContextConfig.applicationAnnotationsConfig<br>
(ContextConfig.java:330)<br>
at org.apache.catalina.startup.ContextConfig.configureStart<br>
(ContextConfig.java:777)<br>
at org.apache.catalina.startup.ContextConfig.lifecycleEvent<br>
(ContextConfig.java:301)<br>
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent<br>
(LifecycleBase.java:123)<br>
at org.apache.catalina.core.StandardContext.startInternal<br>
(StandardContext.java:5051)<br>
at org.apache.catalina.util.LifecycleBase.start<br>
(LifecycleBase.java:183)<br>
... 38 more<br>
Caused by: java.lang.ClassNotFoundException:<br>
javax.persistence.EntityManagerFactory<br>
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass<br>
(WebappClassLoaderBase.java:1365)<br>
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass<br>
(WebappClassLoaderBase.java:1188)<br>
... 51 more<br>
<br>
Has anyone the same problem or an idea, what could be the reason?<br>
<br>
Thanks and regards,<br>
Martin Rosenthal<br>
<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" rel="noreferrer" target="_blank">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a><br>
<br>
<br>
<br>
</blockquote></div>