tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Gallimore (Jira)" <j...@apache.org>
Subject [jira] [Updated] (TOMEE-2731) Microprofile distribution not starting on Java 11
Date Thu, 19 Dec 2019 16:35:00 GMT

     [ https://issues.apache.org/jira/browse/TOMEE-2731?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jonathan Gallimore updated TOMEE-2731:
--------------------------------------
    Fix Version/s:     (was: 8.0.2)
                   8.0.1

> Microprofile distribution not starting on Java 11
> -------------------------------------------------
>
>                 Key: TOMEE-2731
>                 URL: https://issues.apache.org/jira/browse/TOMEE-2731
>             Project: TomEE
>          Issue Type: Bug
>    Affects Versions: 8.0.0-Final
>            Reporter: Jonathan Gallimore
>            Assignee: Jonathan Gallimore
>            Priority: Major
>             Fix For: 8.0.1
>
>
> Stack trace on startup:
>  
> 08-Nov-2019 16:41:00.172 SEVERE [main] jdk.internal.reflect.NativeMethodAccessorImpl.invoke
Error deploying web application directory [/Users/jgallimore/srv/apache-tomee-microprofile-8.0.0/webapps/ROOT]
>  java.lang.IllegalStateException: Error starting child
>  at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:720)
>  at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690)
>  at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:705)
>  at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1133)
>  at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1867)
>  at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
>  at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
>  at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
>  at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:118)
>  at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1045)
>  at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:429)
>  at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1576)
>  at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:309)
>  at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
>  at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:423)
>  at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:366)
>  at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:936)
>  at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:841)
>  at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
>  at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1384)
>  at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1374)
>  at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
>  at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
>  at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:140)
>  at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:909)
>  at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
>  at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
>  at org.apache.catalina.core.StandardService.startInternal(StandardService.java:421)
>  at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
>  at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:932)
>  at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
>  at org.apache.catalina.startup.Catalina.start(Catalina.java:633)
>  at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>  at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>  at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  at java.base/java.lang.reflect.Method.invoke(Method.java:566)
>  at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:344)
>  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:475)
>  Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]
>  at org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:440)
>  at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:198)
>  at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:717)
>  ... 37 more
>  Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl
>  at com.sun.xml.bind.v2.model.impl.RuntimeTypeInfoSetImpl.<init>(RuntimeTypeInfoSetImpl.java:33)
>  at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.createTypeInfoSet(RuntimeModelBuilder.java:98)
>  at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.createTypeInfoSet(RuntimeModelBuilder.java:54)
>  at com.sun.xml.bind.v2.model.impl.ModelBuilder.<init>(ModelBuilder.java:132)
>  at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.<init>(RuntimeModelBuilder.java:62)
>  at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:425)
>  at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:273)
>  at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:109)
>  at com.sun.xml.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build(JAXBContextImpl.java:1126)
>  at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:135)
>  at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>  at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>  at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  at java.base/java.lang.reflect.Method.invoke(Method.java:566)
>  at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:251)
>  at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:240)
>  at javax.xml.bind.ContextFinder.find(ContextFinder.java:363)
>  at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:691)
>  at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:632)
>  at org.apache.openejb.jee.JAXBContextFactory.newInstance(JAXBContextFactory.java:132)
>  at org.apache.openejb.jee.JaxbJavaee.getContext(JaxbJavaee.java:88)
>  at org.apache.openejb.jee.JaxbJavaee.unmarshalJavaee(JaxbJavaee.java:102)
>  at org.apache.openejb.jee.JaxbJavaee.unmarshalJavaee(JaxbJavaee.java:162)
>  at org.apache.openejb.config.ReadDescriptors.readBeans(ReadDescriptors.java:689)
>  at org.apache.openejb.config.DeploymentLoader.mergeBeansXml(DeploymentLoader.java:1190)
>  at org.apache.openejb.config.DeploymentLoader.addBeansXmls(DeploymentLoader.java:1178)
>  at org.apache.openejb.config.DeploymentLoader.createWebModule(DeploymentLoader.java:1094)
>  at org.apache.openejb.config.DeploymentLoader.createWebModule(DeploymentLoader.java:818)
>  at org.apache.openejb.config.DeploymentLoader.load(DeploymentLoader.java:230)
>  at org.apache.tomee.catalina.TomcatWebAppBuilder.loadApplication(TomcatWebAppBuilder.java:2352)
>  at org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:1197)
>  at org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:1130)
>  at org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:134)
>  at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
>  at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5048)
>  at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
>  ... 38 more
> 08-Nov-2019 16:41:00.173 INFO [main] jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke
Deployment of web application directory [/Users/jgallimore/srv/apache-tomee-microprofile-8.0.0/webapps/ROOT]
has finished in [191] ms
> 08-Nov-2019 16:41:00.173 INFO [main] jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke
Deploying web application directory [/Users/jgallimore/srv/apache-tomee-microprofile-8.0.0/webapps/docs]
> 08-Nov-2019 16:41:00.173 INFO [main] org.apache.tomee.catalina.TomcatWebAppBuilder.init
------------------------- localhost -> /docs
> 08-Nov-2019 16:41:00.187 INFO [main] org.apache.openejb.util.OptionsLog.info Using 'tomee.mp.scan=all'
> 08-Nov-2019 16:41:00.194 SEVERE [main] jdk.internal.reflect.NativeMethodAccessorImpl.invoke
Error deploying web application directory [/Users/jgallimore/srv/apache-tomee-microprofile-8.0.0/webapps/docs]
>  java.lang.IllegalStateException: Error starting child
>  at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:720)
>  at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690)
>  at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:705)
>  at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1133)
>  at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1867)
>  at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
>  at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
>  at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
>  at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:118)
>  at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1045)
>  at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:429)
>  at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1576)
>  at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:309)
>  at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
>  at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:423)
>  at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:366)
>  at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:936)
>  at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:841)
>  at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
>  at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1384)
>  at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1374)
>  at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
>  at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
>  at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:140)
>  at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:909)
>  at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
>  at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
>  at org.apache.catalina.core.StandardService.startInternal(StandardService.java:421)
>  at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
>  at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:932)
>  at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
>  at org.apache.catalina.startup.Catalina.start(Catalina.java:633)
>  at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>  at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>  at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  at java.base/java.lang.reflect.Method.invoke(Method.java:566)
>  at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:344)
>  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:475)
>  Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/docs]]
>  at org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:440)
>  at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:198)
>  at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:717)
>  ... 37 more
>  Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl
>  at com.sun.xml.bind.v2.model.impl.RuntimeTypeInfoSetImpl.<init>(RuntimeTypeInfoSetImpl.java:33)
>  at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.createTypeInfoSet(RuntimeModelBuilder.java:98)
>  at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.createTypeInfoSet(RuntimeModelBuilder.java:54)
>  at com.sun.xml.bind.v2.model.impl.ModelBuilder.<init>(ModelBuilder.java:132)
>  at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.<init>(RuntimeModelBuilder.java:62)
>  at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:425)
>  at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:273)
>  at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:109)
>  at com.sun.xml.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build(JAXBContextImpl.java:1126)
>  at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:135)
>  at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>  at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>  at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  at java.base/java.lang.reflect.Method.invoke(Method.java:566)
>  at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:251)
>  at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:240)
>  at javax.xml.bind.ContextFinder.find(ContextFinder.java:363)
>  at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:691)
>  at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:632)
>  at org.apache.openejb.jee.JAXBContextFactory.newInstance(JAXBContextFactory.java:132)
>  at org.apache.openejb.jee.JaxbJavaee.getContext(JaxbJavaee.java:88)
>  at org.apache.openejb.jee.JaxbJavaee.unmarshalJavaee(JaxbJavaee.java:102)
>  at org.apache.openejb.jee.JaxbJavaee.unmarshalJavaee(JaxbJavaee.java:162)
>  at org.apache.openejb.config.ReadDescriptors.readBeans(ReadDescriptors.java:689)
>  at org.apache.openejb.config.DeploymentLoader.mergeBeansXml(DeploymentLoader.java:1190)
>  at org.apache.openejb.config.DeploymentLoader.addBeansXmls(DeploymentLoader.java:1178)
>  at org.apache.openejb.config.DeploymentLoader.createWebModule(DeploymentLoader.java:1094)
>  at org.apache.openejb.config.DeploymentLoader.createWebModule(DeploymentLoader.java:818)
>  at org.apache.openejb.config.DeploymentLoader.load(DeploymentLoader.java:230)
>  at org.apache.tomee.catalina.TomcatWebAppBuilder.loadApplication(TomcatWebAppBuilder.java:2352)
>  at org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:1197)
>  at org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:1130)
>  at org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:134)
>  at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
>  at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5048)
>  at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
>  ... 38 more
>  
> Root cause appears to be missing library: jakarta.activation-1.2.1.jar.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message