tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dinesh Gaddam (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (TOMEE-2526) TomEE 7.1.0 supporting OpenJDK 11
Date Mon, 03 Jun 2019 11:34:00 GMT

    [ https://issues.apache.org/jira/browse/TOMEE-2526?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16854489#comment-16854489
] 

Dinesh Gaddam edited comment on TOMEE-2526 at 6/3/19 11:33 AM:
---------------------------------------------------------------

Hi [~jgallimore]

When is TomEE 7.1.1 release due? is it this week?. If yes, I will wait, try out 7.1.1 with
our EAR deployed and let you know my observations here.

Thank you


was (Author: dineshkumarg):
Hi [~jgallimore]

When is TomEE 7.1.1 release due? is it this week. If yes, I will wait, try out 7.1.1 with
our EAR deployed and let you my observations here.

Thank you

> TomEE 7.1.0 supporting OpenJDK 11
> ---------------------------------
>
>                 Key: TOMEE-2526
>                 URL: https://issues.apache.org/jira/browse/TOMEE-2526
>             Project: TomEE
>          Issue Type: Bug
>          Components: TomEE Core Server
>    Affects Versions: 7.1.0
>            Reporter: Dinesh Gaddam
>            Priority: Major
>
> *Hi,* 
> *When I am trying to run TomEE 7.1.0 with OpenJDK 11 & my EAR deployed, I am* 
>  *seeing below exception straightaway*
> com.test.install.api.InstallException: 05/24/2019 09:08:26:799, Error 0 
>  (Unknown), Message 026-004-0109: A JAXB Exception occurred. 
>          at 
>  com.test.install.api.InstallException.getOne(InstallException.java:134) 
>          at 
>  com.test.install.api.InstallParameters.getUnmarshaller(InstallParameters.java:1122) 
>          at 
>  com.test.install.api.InstallParameters.loadInstallParameters(InstallParameters.java:631) 
>          at 
>  com.test.install.api.InstallParameters.loadInstallParameters(InstallParameters.java:522) 
>          at com.test.install.api.InstallOps.main(InstallOps.java:5363) 
>  Nested exception is: 
>  javax.xml.bind.JAXBException: Provider 
>  com.sun.xml.internal.bind.v2.ContextFactory not found 
>   - with linked exception: 
>  [java.lang.ClassNotFoundException: 
>  com.sun.xml.internal.bind.v2.ContextFactory] 
>          at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:149) 
>          at javax.xml.bind.ContextFinder.find(ContextFinder.java:362) 
>          at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:446) 
>          at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:409) 
>          at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:313) 
>          at 
>  com.test.install.api.InstallParameters.getUnmarshaller(InstallParameters.java:1117) 
>          at 
>  com.test.install.api.InstallParameters.loadInstallParameters(InstallParameters.java:631) 
>          at 
>  com.test.install.api.InstallParameters.loadInstallParameters(InstallParameters.java:522) 
>          at com.test.install.api.InstallOps.main(InstallOps.java:5363) 
>  Caused by: java.lang.ClassNotFoundException: 
>  com.sun.xml.internal.bind.v2.ContextFactory 
>          at 
>  java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:583) 
>          at 
>  java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178) 
>          at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521) 
>          at 
>  javax.xml.bind.ContextFinder.safeLoadClass(ContextFinder.java:578) 
>          at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:146) 
>          ... 8 more 
> Nested exception is: 
>  javax.xml.bind.JAXBException: Provider 
>  com.sun.xml.internal.bind.v2.ContextFactory not found 
>   - with linked exception: 
>  [java.lang.ClassNotFoundException: 
>  com.sun.xml.internal.bind.v2.ContextFactory] 
>          at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:149) 
>          at javax.xml.bind.ContextFinder.find(ContextFinder.java:362) 
>          at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:446) 
>          at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:409) 
>          at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:313) 
>          at 
>  com.test.install.api.InstallParameters.getUnmarshaller(InstallParameters.java:1117) 
>          at 
>  com.test.install.api.InstallParameters.loadInstallParameters(InstallParameters.java:631) 
>          at 
>  com.test.install.api.InstallParameters.loadInstallParameters(InstallParameters.java:522) 
>          at com.test.install.api.InstallOps.main(InstallOps.java:5363) 
>  Caused by: java.lang.ClassNotFoundException: 
>  com.sun.xml.internal.bind.v2.ContextFactory 
>          at 
>  java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:583) 
>          at 
>  java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178) 
>          at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521) 
>          at 
>  javax.xml.bind.ContextFinder.safeLoadClass(ContextFinder.java:578) 
>          at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:146) 
> *Few other issues are*
> 24-May-2019 09:36:26.805 SEVERE [rh75test167-startStop-1] 
>  org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal Error merging 
>  Java EE JNDI entries in to war /test: Exception: Cannot get 
>  Unsafe.defineClass 
>   java.lang.IllegalStateException: Cannot get Unsafe.defineClass 
>          at 
>  org.apache.webbeans.proxy.AbstractProxyFactory$4.run(AbstractProxyFactory.java:812) 
>          at 
>  org.apache.webbeans.proxy.AbstractProxyFactory$4.run(AbstractProxyFactory.java:801) 
>          at java.base/java.security.AccessController.doPrivileged(Native 
>  Method) 
>          at 
>  org.apache.webbeans.proxy.AbstractProxyFactory.initializeUnsafe(AbstractProxyFactory.java:800) 
>          at 
>  org.apache.webbeans.proxy.AbstractProxyFactory.<init>(AbstractProxyFactory.java:91) 
>          at 
>  org.apache.webbeans.proxy.InterceptorDecoratorProxyFactory.<init>(InterceptorDecoratorProxyFactory.java:77) 
>          at 
>  org.apache.webbeans.config.WebBeansContext.<init>(WebBeansContext.java:153) 
>          at 
>  org.apache.webbeans.config.WebBeansContext.<init>(WebBeansContext.java:116) 
>          at 
>  org.apache.openejb.cdi.WebappWebBeansContext.<init>(WebappWebBeansContext.java:33) 
>          at 
>  org.apache.openejb.cdi.ThreadSingletonServiceImpl.initialize(ThreadSingletonServiceImpl.java:170) 
>          at org.apache.openejb.cdi.CdiBuilder.build(CdiBuilder.java:60) 
>          at 
>  org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:1428) 
>          at 
>  org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:1125) 
>          at 
>  org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:133) 
>          at 
>  org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:94) 
>          at 
>  org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5154) 
>          at 
>  org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) 
>          at 
>  org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1421) 
>          at 
>  org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1411) 
>          at 
>  java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) 
>          at 
>  java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) 
>          at 
>  java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) 
>          at java.base/java.lang.Thread.run(Thread.java:834) 
>  Caused by: java.lang.NoSuchMethodException: 
>  sun.misc.Unsafe.defineClass(java.lang.String, [B, int, int, 
>  java.lang.ClassLoader, java.security.ProtectionDomain) 
>          at java.base/java.lang.Class.getDeclaredMethod(Class.java:2476) 
>          at 
>  org.apache.webbeans.proxy.AbstractProxyFactory$4.run(AbstractProxyFactory.java:807) 
>          ... 22 more 
> *Is there anyone seeing these kind of issues or anyone running* 
>  *TomEE 7.1.0 on OpenJDK 11 with EARs deployed successfully. Please help me* 
> *Thanks*
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message