You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomee.apache.org by Jean-Louis Monteiro <jl...@tomitribe.com> on 2018/11/08 18:28:20 UTC

Java 11 status

Hey TomEE lovers,

I would like to push the Java 11 support forward.

I tried to gather information here and there. Here is a status with my
view. Please, lemme know if you have further updates or any additional
information.

XBean: ready and released
OWB: ready and released
TomEE itself (OpenEJB and other integration): ready but not released yet
OpenJPA: not clear, but looks like there is still some work to be done
CXF: ready and released
MyFaces, ActiveMQ, EclipseLink, Mojorra: unknown
Tomcat: ready and released

Are we on the same page?

I propose to reach out to communities when libraries are not yet ready or
released and see how we can help.

Thoughts?

--
Jean-Louis Monteiro
http://twitter.com/jlouismonteiro
http://www.tomitribe.com

Re: Java 11 status

Posted by Thomas Andraschko <an...@gmail.com>.
Yes, please :)

Am Di., 13. Nov. 2018, 09:52 hat Jean-Louis Monteiro <
jlmonteiro@tomitribe.com> geschrieben:

> Ok, working on ticket TOMEE-2273
> <https://issues.apache.org/jira/browse/TOMEE-2273> Thomas created.
> I'll be switching to OWB 2.0.8 that just got released.
>
> @Thomas, should I be looking at TOMEE-2270 and TOMEE-2271?
>
> --
> Jean-Louis Monteiro
> http://twitter.com/jlouismonteiro
> http://www.tomitribe.com
>
>
> On Mon, Nov 12, 2018 at 12:05 PM Jean-Louis Monteiro <
> jlmonteiro@tomitribe.com> wrote:
>
> > Ok, created https://issues.apache.org/jira/browse/TOMEE-2272 for XBean
> > upgrade
> > Here is the commit
> >
> https://github.com/apache/tomee/commit/14919e15178e6f45254da74d3574dcb9312c54a1
> >
> > Build locally passes. Waiting for buildbot now
> >
> > --
> > Jean-Louis Monteiro
> > http://twitter.com/jlouismonteiro
> > http://www.tomitribe.com
> >
> >
> > On Mon, Nov 12, 2018 at 9:59 AM Thomas Andraschko <
> > andraschko.thomas@gmail.com> wrote:
> >
> >> done:
> >> https://issues.apache.org/jira/browse/TOMEE-2270
> >> https://issues.apache.org/jira/browse/TOMEE-2271
> >>
> >> Am So., 11. Nov. 2018 um 23:28 Uhr schrieb Jean-Louis Monteiro <
> >> jlmonteiro@tomitribe.com>:
> >>
> >> > Yes please.
> >> >
> >> >
> >> > Le dim. 11 nov. 2018 à 23:15, Thomas Andraschko <
> >> > andraschko.thomas@gmail.com>
> >> > a écrit :
> >> >
> >> > > @Jean-Louis
> >> > > should i create jira tickets for my 2 issues in this thread?
> >> > >
> >> > > <
> >> > >
> >> >
> >>
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> >> > > >
> >> > > Virenfrei.
> >> > > www.avast.com
> >> > > <
> >> > >
> >> >
> >>
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> >> > > >
> >> > > <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
> >> > >
> >> > > Am So., 11. Nov. 2018 um 22:51 Uhr schrieb Jean-Louis Monteiro <
> >> > > jlmonteiro@tomitribe.com>:
> >> > >
> >> > > > If you are willing to help me, I can do it tomorrow
> >> > > >
> >> > > > Le dim. 11 nov. 2018 à 12:21, Romain Manni-Bucau <
> >> > rmannibucau@gmail.com>
> >> > > a
> >> > > > écrit :
> >> > > >
> >> > > > > The unit tests point is likely easy to solve either using
> another
> >> > pool
> >> > > or
> >> > > > > just not using a pool for tests. Also the bug you fixed happens
> >> under
> >> > > > some
> >> > > > > particular case we can workaround using bigger pools I think.
> >> > > > > Asm upgrade is really a few seds (I can help end of next week -
> >> > > thursday
> >> > > > I
> >> > > > > think - if needed).
> >> > > > >
> >> > > > > Overall point was to not lock an ecosystem for features not used
> >> in
> >> > > half
> >> > > > of
> >> > > > > it. Commons-[pool|dbcp] is not required dependency of openjpa so
> >> > > shouldnt
> >> > > > > block its release and if it does we must work to fix that issue
> >> IMHO.
> >> > > > >
> >> > > > > Romain Manni-Bucau
> >> > > > > @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> >> > > > > <https://rmannibucau.metawerx.net/> | Old Blog
> >> > > > > <http://rmannibucau.wordpress.com> | Github <
> >> > > > > https://github.com/rmannibucau> |
> >> > > > > LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
> >> > > > > <
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
> https://www.packtpub.com/application-development/java-ee-8-high-performance
> >> > > > > >
> >> > > > >
> >> > > > >
> >> > > > > Le dim. 11 nov. 2018 à 12:11, Mark Struberg
> >> > <struberg@yahoo.de.invalid
> >> > > >
> >> > > > a
> >> > > > > écrit :
> >> > > > >
> >> > > > > >  The problem is that the unit tests in OpenJPA do not pass
> with
> >> the
> >> > > old
> >> > > > > > pool.
> >> > > > > > So for getting OpenJPA-3.0.1 we need commons-pool.
> >> > > > > > OpenJPA-3.0.0 still uses xbean-asm6. Means different
> package.We
> >> > would
> >> > > > > need
> >> > > > > > to package both xbean-asm6 and xbean-asm7 if we want to ship
> >> TomEE
> >> > > with
> >> > > > > > OpenJPA-3.0.0.
> >> > > > > > LieGrue,strub
> >> > > > > >
> >> > > > > >     On Saturday, 10 November 2018, 22:52:48 CET, Jean-Louis
> >> > Monteiro
> >> > > <
> >> > > > > > jlmonteiro@tomitribe.com> wrote:
> >> > > > > >
> >> > > > > >  Agreed. Probably we don't need to wait for it. At least we
> >> could
> >> > do
> >> > > a
> >> > > > M2
> >> > > > > > which is Java 11 ready.
> >> > > > > >
> >> > > > > >
> >> > > > > >
> >> > > > > > Le sam. 10 nov. 2018 à 21:49, Romain Manni-Bucau <
> >> > > > rmannibucau@gmail.com>
> >> > > > > a
> >> > > > > > écrit :
> >> > > > > >
> >> > > > > > > Shouldnt be the case Mark since openjpa is not bound to a
> >> pool -
> >> > > > except
> >> > > > > > in
> >> > > > > > > tests - and tomee default pool is not dbcp2 but tomcat-jdbc.
> >> So
> >> > it
> >> > > is
> >> > > > > > not a
> >> > > > > > > requirement but more a nice to have IMHO. Also not a
> >> regression
> >> > > since
> >> > > > > > last
> >> > > > > > > release so not a blocker ;).
> >> > > > > > >
> >> > > > > > >
> >> > > > > > > Le sam. 10 nov. 2018 21:02, Mark Struberg
> >> > > <struberg@yahoo.de.invalid
> >> > > > >
> >> > > > > a
> >> > > > > > > écrit :
> >> > > > > > >
> >> > > > > > > >  We also need to wait for commons-pool and commons-dbcp. I
> >> > fixed
> >> > > a
> >> > > > > > > > deadlock in the pool.Only after that I'll be able to
> release
> >> > > > OpenJPA.
> >> > > > > > > > LieGrue,strub
> >> > > > > > > >
> >> > > > > > > >    On Friday, 9 November 2018, 21:02:13 CET, Mark Struberg
> >> > > > > > > > <st...@yahoo.de.INVALID> wrote:
> >> > > > > > > >
> >> > > > > > > >  Right now I do a lot of OpenJPA hacking.
> >> > > > > > > > One of the tasks is to also support xbean-asm7.
> >> > > > > > > > That should go into openjpa-3.0.1.
> >> > > > > > > >
> >> > > > > > > > What is the timeframe we want to target?
> >> > > > > > > >
> >> > > > > > > > LieGrue,
> >> > > > > > > > strub
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > > > > Am 09.11.2018 um 14:18 schrieb Romain Manni-Bucau <
> >> > > > > > > rmannibucau@gmail.com
> >> > > > > > > > >:
> >> > > > > > > > >
> >> > > > > > > > > I don't have the list handy but tomee will need at least
> >> some
> >> > > > > > > --add-opens
> >> > > > > > > > > etc to run on java11 (you can add it in setenv.sh) -
> >> likely
> >> > for
> >> > > > > > unsafe
> >> > > > > > > > and
> >> > > > > > > > > the agent.
> >> > > > > > > > >
> >> > > > > > > > > Romain Manni-Bucau
> >> > > > > > > > > @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> >> > > > > > > > > <https://rmannibucau.metawerx.net/> | Old Blog
> >> > > > > > > > > <http://rmannibucau.wordpress.com> | Github <
> >> > > > > > > > https://github.com/rmannibucau> |
> >> > > > > > > > > LinkedIn <https://www.linkedin.com/in/rmannibucau> |
> Book
> >> > > > > > > > > <
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
> https://www.packtpub.com/application-development/java-ee-8-high-performance
> >> > > > > > > > >
> >> > > > > > > > >
> >> > > > > > > > >
> >> > > > > > > > > Le ven. 9 nov. 2018 à 14:09, Thomas Andraschko <
> >> > > > > > > > andraschko.thomas@gmail.com>
> >> > > > > > > > > a écrit :
> >> > > > > > > > >
> >> > > > > > > > >> (e.g. Tomcat and DeltaSpike still uses the old
> namespace
> >> > it's
> >> > > in
> >> > > > > > > > >> web/beans.xml)
> >> > > > > > > > >>
> >> > > > > > > > >> Am Fr., 9. Nov. 2018 um 13:35 Uhr schrieb Thomas
> >> Andraschko
> >> > <
> >> > > > > > > > >> andraschko.thomas@gmail.com>:
> >> > > > > > > > >>
> >> > > > > > > > >>> Also looks like XML unmarshalling is broken:
> >> > > > > > > > >>>
> >> > > > > > > > >>> Caused by: javax.xml.bind.UnmarshalException:
> >> unerwartetes
> >> > > > > Element
> >> > > > > > > > (URI:"
> >> > > > > > > > >>> http://java.sun.com/xml/ns/javaee",
> >> lokal:"interceptors").
> >> > > > > > Erwartete
> >> > > > > > > > >>> Elemente
> >> > > > > > > > >>> sind
> >> > > > > > >
> >> > <{}trim>,<{}decorators>,<{}scan>,<{}alternatives>,<{}interceptors>
> >> > > > > > > > >>>    at
> >> > > > > > > > >>>
> >> > > > > > > >
> >> > > > > >
> >> > > >
> >> >
> >>
> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.handleEvent
> >> > > > > > > > >>> (UnmarshallingContext.java:744)
> >> > > > > > > > >>>    at
> >> > > > com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError
> >> > > > > > > > >>> (Loader.java:262)
> >> > > > > > > > >>>    at
> >> > > > com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError
> >> > > > > > > > >>> (Loader.java:257)
> >> > > > > > > > >>>    at
> >> > > > > > > > >>>
> >> > > > > > > > >>
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
> com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportUnexpectedChildElement
> >> > > > > > > > >>> (Loader.java:124)
> >> > > > > > > > >>>    at
> >> > > > > com.sun.xml.bind.v2.runtime.unmarshaller.Loader.childElement
> >> > > > > > > > >>> (Loader.java:105)
> >> > > > > > > > >>>    at
> >> > > > > > > > >>>
> >> > > > > >
> >> > com.sun.xml.bind.v2.runtime.unmarshaller.StructureLoader.childElement
> >> > > > > > > > >>> (StructureLoader.java:268)
> >> > > > > > > > >>>    at
> >> > > > > > > > >>>
> >> > > > > > > > >>
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext._startElement
> >> > > > > > > > >>> (UnmarshallingContext.java:574)
> >> > > > > > > > >>>    at
> >> > > > > > > > >>>
> >> > > > > > > > >>
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.startElement
> >> > > > > > > > >>> (UnmarshallingContext.java:556)
> >> > > > > > > > >>>    at
> >> > > > > > > >
> >> > > com.sun.xml.bind.v2.runtime.unmarshaller.SAXConnector.startElement
> >> > > > > > > > >>> (SAXConnector.java:168)
> >> > > > > > > > >>>    at org.xml.sax.helpers.XMLFilterImpl.startElement
> >> > > > > > > > >>> (XMLFilterImpl.java:551)
> >> > > > > > > > >>>    at
> >> > > > > > > > >>>
> >> > > > > >
> >> > org.apache.openejb.jee.JaxbJavaee$JavaeeNamespaceFilter.startElement
> >> > > > > > > > >>> (JaxbJavaee.java:293)
> >> > > > > > > > >>>    at
> >> > > > > > > > >>>
> >> > > > > > > >
> >> > > > > >
> >> > > >
> >> >
> >>
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement
> >> > > > > > > > >>> (AbstractSAXParser.java:510)
> >> > > > > > > > >>>    at
> >> > > > > > > > >>>
> >> > > > > > > > >>
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement
> >> > > > > > > > >>> (XMLNSDocumentScannerImpl.java:374)
> >> > > > > > > > >>>    at
> >> > > > > > > > >>>
> >> > > > > > > > >>
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next
> >> > > > > > > > >>> (XMLDocumentFragmentScannerImpl.java:2708)
> >> > > > > > > > >>>    at
> >> > > > > > > > >>
> >> > > > >
> >> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next
> >> > > > > > > > >>> (XMLDocumentScannerImpl.java:605)
> >> > > > > > > > >>>    at
> >> > > > > > > > >>>
> >> > > > > >
> >> > com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next
> >> > > > > > > > >>> (XMLNSDocumentScannerImpl.java:112)
> >> > > > > > > > >>>    at
> >> > > > > > > > >>>
> >> > > > > > > > >>
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument
> >> > > > > > > > >>> (XMLDocumentFragmentScannerImpl.java:534)
> >> > > > > > > > >>>    at
> >> > > > > > > > >>
> >> > > > >
> >> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse
> >> > > > > > > > >>> (XML11Configuration.java:888)
> >> > > > > > > > >>>    at
> >> > > > > > > > >>
> >> > > > >
> >> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse
> >> > > > > > > > >>> (XML11Configuration.java:824)
> >> > > > > > > > >>>    at
> >> > > > com.sun.org.apache.xerces.internal.parsers.XMLParser.parse
> >> > > > > > > > >>> (XMLParser.java:141)
> >> > > > > > > > >>>    at
> >> > > > > > > >
> >> > > com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse
> >> > > > > > > > >>> (AbstractSAXParser.java:1216)
> >> > > > > > > > >>>    at
> >> > > > > > > > >>>
> >> > > > > > > >
> >> > > > > >
> >> > > >
> >> >
> >>
> com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse
> >> > > > > > > > >>> (SAXParserImpl.java:635)
> >> > > > > > > > >>>    at org.xml.sax.helpers.XMLFilterImpl.parse
> >> > > > > > > (XMLFilterImpl.java:357)
> >> > > > > > > > >>>    at
> >> > > > > > > > >>>
> >> > > > > >
> >> > com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0
> >> > > > > > > > >>> (UnmarshallerImpl.java:258)
> >> > > > > > > > >>>    at
> >> > > > > > > > >>
> >> > > > >
> >> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal
> >> > > > > > > > >>> (UnmarshallerImpl.java:236)
> >> > > > > > > > >>>    at
> >> > > > > > > > >>
> >> > > > >
> >> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal
> >> > > > > > > > >>> (UnmarshallerImpl.java:288)
> >> > > > > > > > >>>    at
> org.apache.openejb.jee.JaxbJavaee.unmarshalJavaee
> >> > > > > > > > >>> (JaxbJavaee.java:133)
> >> > > > > > > > >>>    at
> >> org.apache.openejb.config.ReadDescriptors.readBeans
> >> > > > > > > > >>> (ReadDescriptors.java:691)
> >> > > > > > > > >>>    at
> >> > > org.apache.openejb.config.DeploymentLoader.mergeBeansXml
> >> > > > > > > > >>> (DeploymentLoader.java:1196)
> >> > > > > > > > >>>    at
> >> > org.apache.openejb.config.DeploymentLoader.addBeansXmls
> >> > > > > > > > >>> (DeploymentLoader.java:1184)
> >> > > > > > > > >>>    at
> >> > > > org.apache.openejb.config.DeploymentLoader.createWebModule
> >> > > > > > > > >>> (DeploymentLoader.java:1098)
> >> > > > > > > > >>>    at
> >> > > > org.apache.openejb.config.DeploymentLoader.createWebModule
> >> > > > > > > > >>> (DeploymentLoader.java:823)
> >> > > > > > > > >>>    at org.apache.openejb.config.DeploymentLoader.load
> >> > > > > > > > >>> (DeploymentLoader.java:234)
> >> > > > > > > > >>>    at
> >> > > > > org.apache.tomee.catalina.TomcatWebAppBuilder.loadApplication
> >> > > > > > > > >>> (TomcatWebAppBuilder.java:2347)
> >> > > > > > > > >>>    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:133)
> >> > > > > > > > >>>    at
> >> > > org.apache.catalina.util.LifecycleBase.fireLifecycleEvent
> >> > > > > > > > >>> (LifecycleBase.java:123)
> >> > > > > > > > >>>
> >> > > > > > > > >>>
> >> > > > > > > > >>>
> >> > > > > > > > >>> Am Fr., 9. Nov. 2018 um 13:27 Uhr schrieb Thomas
> >> > Andraschko <
> >> > > > > > > > >>> andraschko.thomas@gmail.com>:
> >> > > > > > > > >>>
> >> > > > > > > > >>>> @Jean-Louis
> >> > > > > > > > >>>> Are you saying that TomEE8 M1 itself is not
> compatbile
> >> > with
> >> > > > > > Java11?
> >> > > > > > > > >>>>
> >> > > > > > > > >>>> Currently trying to run my application with
> >> > > > tomee-maven-embedded
> >> > > > > > and
> >> > > > > > > > it
> >> > > > > > > > >>>> fails:
> >> > > > > > > > >>>> java.lang.IllegalStateException: Unable to initialize
> >> > agent
> >> > > > > > > > >>>>        at
> >> > > > > > > > >>>>
> >> > > > > > >
> >> > > >
> >> org.apache.openejb.javaagent.Agent.checkInitialization(Agent.java:104)
> >> > > > > > > > >>>>        at
> >> > > > > > > > >>>>
> >> > > > > >
> >> > org.apache.openejb.javaagent.Agent.getInstrumentation(Agent.java:94)
> >> > > > > > > > >>>>        at
> >> > > > > > > > >>>>
> >> > > > org.apache.tomee.embedded.Container.<clinit>(Container.java:128)
> >> > > > > > > > >>>>        at
> >> > > > > > > > >>>>
> >> > > > > > > > >>
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
> org.apache.openejb.maven.plugins.TomEEEmbeddedMojo.execute(TomEEEmbeddedMojo.java:392)
> >> > > > > > > > >>>>        at
> >> > > > > > > > >>>>
> >> > > > > > > > >>
> >> > > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > >
> >> >
> >>
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
> >> > > > > > > > >>>>
> >> > > > > > > > >>>>
> >> > > > > > > > >>>> Am Do., 8. Nov. 2018 um 21:36 Uhr schrieb Romain
> >> > > Manni-Bucau <
> >> > > > > > > > >>>> rmannibucau@gmail.com>:
> >> > > > > > > > >>>>
> >> > > > > > > > >>>>> Hi JL
> >> > > > > > > > >>>>>
> >> > > > > > > > >>>>> Openjpa needs xbean upgrade but should be quick. Cxf
> >> > stack
> >> > > > > needs
> >> > > > > > > some
> >> > > > > > > > >>>>> jaxb
> >> > > > > > > > >>>>> upgrades from memory. After the stack "supports"
> >> java11
> >> > as
> >> > > > "run
> >> > > > > > it"
> >> > > > > > > > but
> >> > > > > > > > >>>>> think no spec in EE is java >= 9 compatible
> (modules,
> >> spi
> >> > > > etc).
> >> > > > > > > > >>>>>
> >> > > > > > > > >>>>> Should be enough for tomee that said.
> >> > > > > > > > >>>>>
> >> > > > > > > > >>>>>
> >> > > > > > > > >>>>> Le jeu. 8 nov. 2018 20:27, Jean-Louis Monteiro <
> >> > > > > > > > >> jlmonteiro@tomitribe.com>
> >> > > > > > > > >>>>> a
> >> > > > > > > > >>>>> écrit :
> >> > > > > > > > >>>>>
> >> > > > > > > > >>>>>> Hey TomEE lovers,
> >> > > > > > > > >>>>>>
> >> > > > > > > > >>>>>> I would like to push the Java 11 support forward.
> >> > > > > > > > >>>>>>
> >> > > > > > > > >>>>>> I tried to gather information here and there. Here
> >> is a
> >> > > > status
> >> > > > > > > with
> >> > > > > > > > >> my
> >> > > > > > > > >>>>>> view. Please, lemme know if you have further
> updates
> >> or
> >> > > any
> >> > > > > > > > >> additional
> >> > > > > > > > >>>>>> information.
> >> > > > > > > > >>>>>>
> >> > > > > > > > >>>>>> XBean: ready and released
> >> > > > > > > > >>>>>> OWB: ready and released
> >> > > > > > > > >>>>>> TomEE itself (OpenEJB and other integration): ready
> >> but
> >> > > not
> >> > > > > > > released
> >> > > > > > > > >>>>> yet
> >> > > > > > > > >>>>>> OpenJPA: not clear, but looks like there is still
> >> some
> >> > > work
> >> > > > to
> >> > > > > > be
> >> > > > > > > > >> done
> >> > > > > > > > >>>>>> CXF: ready and released
> >> > > > > > > > >>>>>> MyFaces, ActiveMQ, EclipseLink, Mojorra: unknown
> >> > > > > > > > >>>>>> Tomcat: ready and released
> >> > > > > > > > >>>>>>
> >> > > > > > > > >>>>>> Are we on the same page?
> >> > > > > > > > >>>>>>
> >> > > > > > > > >>>>>> I propose to reach out to communities when
> libraries
> >> are
> >> > > not
> >> > > > > yet
> >> > > > > > > > >> ready
> >> > > > > > > > >>>>> or
> >> > > > > > > > >>>>>> released and see how we can help.
> >> > > > > > > > >>>>>>
> >> > > > > > > > >>>>>> Thoughts?
> >> > > > > > > > >>>>>>
> >> > > > > > > > >>>>>> --
> >> > > > > > > > >>>>>> Jean-Louis Monteiro
> >> > > > > > > > >>>>>> http://twitter.com/jlouismonteiro
> >> > > > > > > > >>>>>> http://www.tomitribe.com
> >> > > > > > > > >>>>>>
> >> > > > > > > > >>>>>
> >> > > > > > > > >>>>
> >> > > > > > > > >>
> >> > > > > > > >
> >> > > > > > >
> >> > > > >
> >> > > > --
> >> > > > --
> >> > > > Jean-Louis Monteiro
> >> > > > http://twitter.com/jlouismonteiro
> >> > > > http://www.tomitribe.com
> >> > > >
> >> > >
> >> > > <
> >> > >
> >> >
> >>
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> >> > > >
> >> > > Virenfrei.
> >> > > www.avast.com
> >> > > <
> >> > >
> >> >
> >>
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> >> > > >
> >> > > <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
> >> > >
> >> >
> >>
> >
>

Re: Java 11 status

Posted by Jean-Louis Monteiro <jl...@tomitribe.com>.
Ok, working on ticket TOMEE-2273
<https://issues.apache.org/jira/browse/TOMEE-2273> Thomas created.
I'll be switching to OWB 2.0.8 that just got released.

@Thomas, should I be looking at TOMEE-2270 and TOMEE-2271?

--
Jean-Louis Monteiro
http://twitter.com/jlouismonteiro
http://www.tomitribe.com


On Mon, Nov 12, 2018 at 12:05 PM Jean-Louis Monteiro <
jlmonteiro@tomitribe.com> wrote:

> Ok, created https://issues.apache.org/jira/browse/TOMEE-2272 for XBean
> upgrade
> Here is the commit
> https://github.com/apache/tomee/commit/14919e15178e6f45254da74d3574dcb9312c54a1
>
> Build locally passes. Waiting for buildbot now
>
> --
> Jean-Louis Monteiro
> http://twitter.com/jlouismonteiro
> http://www.tomitribe.com
>
>
> On Mon, Nov 12, 2018 at 9:59 AM Thomas Andraschko <
> andraschko.thomas@gmail.com> wrote:
>
>> done:
>> https://issues.apache.org/jira/browse/TOMEE-2270
>> https://issues.apache.org/jira/browse/TOMEE-2271
>>
>> Am So., 11. Nov. 2018 um 23:28 Uhr schrieb Jean-Louis Monteiro <
>> jlmonteiro@tomitribe.com>:
>>
>> > Yes please.
>> >
>> >
>> > Le dim. 11 nov. 2018 à 23:15, Thomas Andraschko <
>> > andraschko.thomas@gmail.com>
>> > a écrit :
>> >
>> > > @Jean-Louis
>> > > should i create jira tickets for my 2 issues in this thread?
>> > >
>> > > <
>> > >
>> >
>> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
>> > > >
>> > > Virenfrei.
>> > > www.avast.com
>> > > <
>> > >
>> >
>> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
>> > > >
>> > > <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>> > >
>> > > Am So., 11. Nov. 2018 um 22:51 Uhr schrieb Jean-Louis Monteiro <
>> > > jlmonteiro@tomitribe.com>:
>> > >
>> > > > If you are willing to help me, I can do it tomorrow
>> > > >
>> > > > Le dim. 11 nov. 2018 à 12:21, Romain Manni-Bucau <
>> > rmannibucau@gmail.com>
>> > > a
>> > > > écrit :
>> > > >
>> > > > > The unit tests point is likely easy to solve either using another
>> > pool
>> > > or
>> > > > > just not using a pool for tests. Also the bug you fixed happens
>> under
>> > > > some
>> > > > > particular case we can workaround using bigger pools I think.
>> > > > > Asm upgrade is really a few seds (I can help end of next week -
>> > > thursday
>> > > > I
>> > > > > think - if needed).
>> > > > >
>> > > > > Overall point was to not lock an ecosystem for features not used
>> in
>> > > half
>> > > > of
>> > > > > it. Commons-[pool|dbcp] is not required dependency of openjpa so
>> > > shouldnt
>> > > > > block its release and if it does we must work to fix that issue
>> IMHO.
>> > > > >
>> > > > > Romain Manni-Bucau
>> > > > > @rmannibucau <https://twitter.com/rmannibucau> |  Blog
>> > > > > <https://rmannibucau.metawerx.net/> | Old Blog
>> > > > > <http://rmannibucau.wordpress.com> | Github <
>> > > > > https://github.com/rmannibucau> |
>> > > > > LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
>> > > > > <
>> > > > >
>> > > >
>> > >
>> >
>> https://www.packtpub.com/application-development/java-ee-8-high-performance
>> > > > > >
>> > > > >
>> > > > >
>> > > > > Le dim. 11 nov. 2018 à 12:11, Mark Struberg
>> > <struberg@yahoo.de.invalid
>> > > >
>> > > > a
>> > > > > écrit :
>> > > > >
>> > > > > >  The problem is that the unit tests in OpenJPA do not pass with
>> the
>> > > old
>> > > > > > pool.
>> > > > > > So for getting OpenJPA-3.0.1 we need commons-pool.
>> > > > > > OpenJPA-3.0.0 still uses xbean-asm6. Means different package.We
>> > would
>> > > > > need
>> > > > > > to package both xbean-asm6 and xbean-asm7 if we want to ship
>> TomEE
>> > > with
>> > > > > > OpenJPA-3.0.0.
>> > > > > > LieGrue,strub
>> > > > > >
>> > > > > >     On Saturday, 10 November 2018, 22:52:48 CET, Jean-Louis
>> > Monteiro
>> > > <
>> > > > > > jlmonteiro@tomitribe.com> wrote:
>> > > > > >
>> > > > > >  Agreed. Probably we don't need to wait for it. At least we
>> could
>> > do
>> > > a
>> > > > M2
>> > > > > > which is Java 11 ready.
>> > > > > >
>> > > > > >
>> > > > > >
>> > > > > > Le sam. 10 nov. 2018 à 21:49, Romain Manni-Bucau <
>> > > > rmannibucau@gmail.com>
>> > > > > a
>> > > > > > écrit :
>> > > > > >
>> > > > > > > Shouldnt be the case Mark since openjpa is not bound to a
>> pool -
>> > > > except
>> > > > > > in
>> > > > > > > tests - and tomee default pool is not dbcp2 but tomcat-jdbc.
>> So
>> > it
>> > > is
>> > > > > > not a
>> > > > > > > requirement but more a nice to have IMHO. Also not a
>> regression
>> > > since
>> > > > > > last
>> > > > > > > release so not a blocker ;).
>> > > > > > >
>> > > > > > >
>> > > > > > > Le sam. 10 nov. 2018 21:02, Mark Struberg
>> > > <struberg@yahoo.de.invalid
>> > > > >
>> > > > > a
>> > > > > > > écrit :
>> > > > > > >
>> > > > > > > >  We also need to wait for commons-pool and commons-dbcp. I
>> > fixed
>> > > a
>> > > > > > > > deadlock in the pool.Only after that I'll be able to release
>> > > > OpenJPA.
>> > > > > > > > LieGrue,strub
>> > > > > > > >
>> > > > > > > >    On Friday, 9 November 2018, 21:02:13 CET, Mark Struberg
>> > > > > > > > <st...@yahoo.de.INVALID> wrote:
>> > > > > > > >
>> > > > > > > >  Right now I do a lot of OpenJPA hacking.
>> > > > > > > > One of the tasks is to also support xbean-asm7.
>> > > > > > > > That should go into openjpa-3.0.1.
>> > > > > > > >
>> > > > > > > > What is the timeframe we want to target?
>> > > > > > > >
>> > > > > > > > LieGrue,
>> > > > > > > > strub
>> > > > > > > >
>> > > > > > > >
>> > > > > > > > > Am 09.11.2018 um 14:18 schrieb Romain Manni-Bucau <
>> > > > > > > rmannibucau@gmail.com
>> > > > > > > > >:
>> > > > > > > > >
>> > > > > > > > > I don't have the list handy but tomee will need at least
>> some
>> > > > > > > --add-opens
>> > > > > > > > > etc to run on java11 (you can add it in setenv.sh) -
>> likely
>> > for
>> > > > > > unsafe
>> > > > > > > > and
>> > > > > > > > > the agent.
>> > > > > > > > >
>> > > > > > > > > Romain Manni-Bucau
>> > > > > > > > > @rmannibucau <https://twitter.com/rmannibucau> |  Blog
>> > > > > > > > > <https://rmannibucau.metawerx.net/> | Old Blog
>> > > > > > > > > <http://rmannibucau.wordpress.com> | Github <
>> > > > > > > > https://github.com/rmannibucau> |
>> > > > > > > > > LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
>> > > > > > > > > <
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> https://www.packtpub.com/application-development/java-ee-8-high-performance
>> > > > > > > > >
>> > > > > > > > >
>> > > > > > > > >
>> > > > > > > > > Le ven. 9 nov. 2018 à 14:09, Thomas Andraschko <
>> > > > > > > > andraschko.thomas@gmail.com>
>> > > > > > > > > a écrit :
>> > > > > > > > >
>> > > > > > > > >> (e.g. Tomcat and DeltaSpike still uses the old namespace
>> > it's
>> > > in
>> > > > > > > > >> web/beans.xml)
>> > > > > > > > >>
>> > > > > > > > >> Am Fr., 9. Nov. 2018 um 13:35 Uhr schrieb Thomas
>> Andraschko
>> > <
>> > > > > > > > >> andraschko.thomas@gmail.com>:
>> > > > > > > > >>
>> > > > > > > > >>> Also looks like XML unmarshalling is broken:
>> > > > > > > > >>>
>> > > > > > > > >>> Caused by: javax.xml.bind.UnmarshalException:
>> unerwartetes
>> > > > > Element
>> > > > > > > > (URI:"
>> > > > > > > > >>> http://java.sun.com/xml/ns/javaee",
>> lokal:"interceptors").
>> > > > > > Erwartete
>> > > > > > > > >>> Elemente
>> > > > > > > > >>> sind
>> > > > > > >
>> > <{}trim>,<{}decorators>,<{}scan>,<{}alternatives>,<{}interceptors>
>> > > > > > > > >>>    at
>> > > > > > > > >>>
>> > > > > > > >
>> > > > > >
>> > > >
>> >
>> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.handleEvent
>> > > > > > > > >>> (UnmarshallingContext.java:744)
>> > > > > > > > >>>    at
>> > > > com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError
>> > > > > > > > >>> (Loader.java:262)
>> > > > > > > > >>>    at
>> > > > com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError
>> > > > > > > > >>> (Loader.java:257)
>> > > > > > > > >>>    at
>> > > > > > > > >>>
>> > > > > > > > >>
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportUnexpectedChildElement
>> > > > > > > > >>> (Loader.java:124)
>> > > > > > > > >>>    at
>> > > > > com.sun.xml.bind.v2.runtime.unmarshaller.Loader.childElement
>> > > > > > > > >>> (Loader.java:105)
>> > > > > > > > >>>    at
>> > > > > > > > >>>
>> > > > > >
>> > com.sun.xml.bind.v2.runtime.unmarshaller.StructureLoader.childElement
>> > > > > > > > >>> (StructureLoader.java:268)
>> > > > > > > > >>>    at
>> > > > > > > > >>>
>> > > > > > > > >>
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext._startElement
>> > > > > > > > >>> (UnmarshallingContext.java:574)
>> > > > > > > > >>>    at
>> > > > > > > > >>>
>> > > > > > > > >>
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.startElement
>> > > > > > > > >>> (UnmarshallingContext.java:556)
>> > > > > > > > >>>    at
>> > > > > > > >
>> > > com.sun.xml.bind.v2.runtime.unmarshaller.SAXConnector.startElement
>> > > > > > > > >>> (SAXConnector.java:168)
>> > > > > > > > >>>    at org.xml.sax.helpers.XMLFilterImpl.startElement
>> > > > > > > > >>> (XMLFilterImpl.java:551)
>> > > > > > > > >>>    at
>> > > > > > > > >>>
>> > > > > >
>> > org.apache.openejb.jee.JaxbJavaee$JavaeeNamespaceFilter.startElement
>> > > > > > > > >>> (JaxbJavaee.java:293)
>> > > > > > > > >>>    at
>> > > > > > > > >>>
>> > > > > > > >
>> > > > > >
>> > > >
>> >
>> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement
>> > > > > > > > >>> (AbstractSAXParser.java:510)
>> > > > > > > > >>>    at
>> > > > > > > > >>>
>> > > > > > > > >>
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement
>> > > > > > > > >>> (XMLNSDocumentScannerImpl.java:374)
>> > > > > > > > >>>    at
>> > > > > > > > >>>
>> > > > > > > > >>
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next
>> > > > > > > > >>> (XMLDocumentFragmentScannerImpl.java:2708)
>> > > > > > > > >>>    at
>> > > > > > > > >>
>> > > > >
>> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next
>> > > > > > > > >>> (XMLDocumentScannerImpl.java:605)
>> > > > > > > > >>>    at
>> > > > > > > > >>>
>> > > > > >
>> > com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next
>> > > > > > > > >>> (XMLNSDocumentScannerImpl.java:112)
>> > > > > > > > >>>    at
>> > > > > > > > >>>
>> > > > > > > > >>
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument
>> > > > > > > > >>> (XMLDocumentFragmentScannerImpl.java:534)
>> > > > > > > > >>>    at
>> > > > > > > > >>
>> > > > >
>> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse
>> > > > > > > > >>> (XML11Configuration.java:888)
>> > > > > > > > >>>    at
>> > > > > > > > >>
>> > > > >
>> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse
>> > > > > > > > >>> (XML11Configuration.java:824)
>> > > > > > > > >>>    at
>> > > > com.sun.org.apache.xerces.internal.parsers.XMLParser.parse
>> > > > > > > > >>> (XMLParser.java:141)
>> > > > > > > > >>>    at
>> > > > > > > >
>> > > com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse
>> > > > > > > > >>> (AbstractSAXParser.java:1216)
>> > > > > > > > >>>    at
>> > > > > > > > >>>
>> > > > > > > >
>> > > > > >
>> > > >
>> >
>> com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse
>> > > > > > > > >>> (SAXParserImpl.java:635)
>> > > > > > > > >>>    at org.xml.sax.helpers.XMLFilterImpl.parse
>> > > > > > > (XMLFilterImpl.java:357)
>> > > > > > > > >>>    at
>> > > > > > > > >>>
>> > > > > >
>> > com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0
>> > > > > > > > >>> (UnmarshallerImpl.java:258)
>> > > > > > > > >>>    at
>> > > > > > > > >>
>> > > > >
>> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal
>> > > > > > > > >>> (UnmarshallerImpl.java:236)
>> > > > > > > > >>>    at
>> > > > > > > > >>
>> > > > >
>> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal
>> > > > > > > > >>> (UnmarshallerImpl.java:288)
>> > > > > > > > >>>    at org.apache.openejb.jee.JaxbJavaee.unmarshalJavaee
>> > > > > > > > >>> (JaxbJavaee.java:133)
>> > > > > > > > >>>    at
>> org.apache.openejb.config.ReadDescriptors.readBeans
>> > > > > > > > >>> (ReadDescriptors.java:691)
>> > > > > > > > >>>    at
>> > > org.apache.openejb.config.DeploymentLoader.mergeBeansXml
>> > > > > > > > >>> (DeploymentLoader.java:1196)
>> > > > > > > > >>>    at
>> > org.apache.openejb.config.DeploymentLoader.addBeansXmls
>> > > > > > > > >>> (DeploymentLoader.java:1184)
>> > > > > > > > >>>    at
>> > > > org.apache.openejb.config.DeploymentLoader.createWebModule
>> > > > > > > > >>> (DeploymentLoader.java:1098)
>> > > > > > > > >>>    at
>> > > > org.apache.openejb.config.DeploymentLoader.createWebModule
>> > > > > > > > >>> (DeploymentLoader.java:823)
>> > > > > > > > >>>    at org.apache.openejb.config.DeploymentLoader.load
>> > > > > > > > >>> (DeploymentLoader.java:234)
>> > > > > > > > >>>    at
>> > > > > org.apache.tomee.catalina.TomcatWebAppBuilder.loadApplication
>> > > > > > > > >>> (TomcatWebAppBuilder.java:2347)
>> > > > > > > > >>>    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:133)
>> > > > > > > > >>>    at
>> > > org.apache.catalina.util.LifecycleBase.fireLifecycleEvent
>> > > > > > > > >>> (LifecycleBase.java:123)
>> > > > > > > > >>>
>> > > > > > > > >>>
>> > > > > > > > >>>
>> > > > > > > > >>> Am Fr., 9. Nov. 2018 um 13:27 Uhr schrieb Thomas
>> > Andraschko <
>> > > > > > > > >>> andraschko.thomas@gmail.com>:
>> > > > > > > > >>>
>> > > > > > > > >>>> @Jean-Louis
>> > > > > > > > >>>> Are you saying that TomEE8 M1 itself is not compatbile
>> > with
>> > > > > > Java11?
>> > > > > > > > >>>>
>> > > > > > > > >>>> Currently trying to run my application with
>> > > > tomee-maven-embedded
>> > > > > > and
>> > > > > > > > it
>> > > > > > > > >>>> fails:
>> > > > > > > > >>>> java.lang.IllegalStateException: Unable to initialize
>> > agent
>> > > > > > > > >>>>        at
>> > > > > > > > >>>>
>> > > > > > >
>> > > >
>> org.apache.openejb.javaagent.Agent.checkInitialization(Agent.java:104)
>> > > > > > > > >>>>        at
>> > > > > > > > >>>>
>> > > > > >
>> > org.apache.openejb.javaagent.Agent.getInstrumentation(Agent.java:94)
>> > > > > > > > >>>>        at
>> > > > > > > > >>>>
>> > > > org.apache.tomee.embedded.Container.<clinit>(Container.java:128)
>> > > > > > > > >>>>        at
>> > > > > > > > >>>>
>> > > > > > > > >>
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.openejb.maven.plugins.TomEEEmbeddedMojo.execute(TomEEEmbeddedMojo.java:392)
>> > > > > > > > >>>>        at
>> > > > > > > > >>>>
>> > > > > > > > >>
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
>> > > > > > > > >>>>
>> > > > > > > > >>>>
>> > > > > > > > >>>> Am Do., 8. Nov. 2018 um 21:36 Uhr schrieb Romain
>> > > Manni-Bucau <
>> > > > > > > > >>>> rmannibucau@gmail.com>:
>> > > > > > > > >>>>
>> > > > > > > > >>>>> Hi JL
>> > > > > > > > >>>>>
>> > > > > > > > >>>>> Openjpa needs xbean upgrade but should be quick. Cxf
>> > stack
>> > > > > needs
>> > > > > > > some
>> > > > > > > > >>>>> jaxb
>> > > > > > > > >>>>> upgrades from memory. After the stack "supports"
>> java11
>> > as
>> > > > "run
>> > > > > > it"
>> > > > > > > > but
>> > > > > > > > >>>>> think no spec in EE is java >= 9 compatible (modules,
>> spi
>> > > > etc).
>> > > > > > > > >>>>>
>> > > > > > > > >>>>> Should be enough for tomee that said.
>> > > > > > > > >>>>>
>> > > > > > > > >>>>>
>> > > > > > > > >>>>> Le jeu. 8 nov. 2018 20:27, Jean-Louis Monteiro <
>> > > > > > > > >> jlmonteiro@tomitribe.com>
>> > > > > > > > >>>>> a
>> > > > > > > > >>>>> écrit :
>> > > > > > > > >>>>>
>> > > > > > > > >>>>>> Hey TomEE lovers,
>> > > > > > > > >>>>>>
>> > > > > > > > >>>>>> I would like to push the Java 11 support forward.
>> > > > > > > > >>>>>>
>> > > > > > > > >>>>>> I tried to gather information here and there. Here
>> is a
>> > > > status
>> > > > > > > with
>> > > > > > > > >> my
>> > > > > > > > >>>>>> view. Please, lemme know if you have further updates
>> or
>> > > any
>> > > > > > > > >> additional
>> > > > > > > > >>>>>> information.
>> > > > > > > > >>>>>>
>> > > > > > > > >>>>>> XBean: ready and released
>> > > > > > > > >>>>>> OWB: ready and released
>> > > > > > > > >>>>>> TomEE itself (OpenEJB and other integration): ready
>> but
>> > > not
>> > > > > > > released
>> > > > > > > > >>>>> yet
>> > > > > > > > >>>>>> OpenJPA: not clear, but looks like there is still
>> some
>> > > work
>> > > > to
>> > > > > > be
>> > > > > > > > >> done
>> > > > > > > > >>>>>> CXF: ready and released
>> > > > > > > > >>>>>> MyFaces, ActiveMQ, EclipseLink, Mojorra: unknown
>> > > > > > > > >>>>>> Tomcat: ready and released
>> > > > > > > > >>>>>>
>> > > > > > > > >>>>>> Are we on the same page?
>> > > > > > > > >>>>>>
>> > > > > > > > >>>>>> I propose to reach out to communities when libraries
>> are
>> > > not
>> > > > > yet
>> > > > > > > > >> ready
>> > > > > > > > >>>>> or
>> > > > > > > > >>>>>> released and see how we can help.
>> > > > > > > > >>>>>>
>> > > > > > > > >>>>>> Thoughts?
>> > > > > > > > >>>>>>
>> > > > > > > > >>>>>> --
>> > > > > > > > >>>>>> Jean-Louis Monteiro
>> > > > > > > > >>>>>> http://twitter.com/jlouismonteiro
>> > > > > > > > >>>>>> http://www.tomitribe.com
>> > > > > > > > >>>>>>
>> > > > > > > > >>>>>
>> > > > > > > > >>>>
>> > > > > > > > >>
>> > > > > > > >
>> > > > > > >
>> > > > >
>> > > > --
>> > > > --
>> > > > Jean-Louis Monteiro
>> > > > http://twitter.com/jlouismonteiro
>> > > > http://www.tomitribe.com
>> > > >
>> > >
>> > > <
>> > >
>> >
>> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
>> > > >
>> > > Virenfrei.
>> > > www.avast.com
>> > > <
>> > >
>> >
>> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
>> > > >
>> > > <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>> > >
>> >
>>
>

Re: Java 11 status

Posted by Jean-Louis Monteiro <jl...@tomitribe.com>.
Ok, created https://issues.apache.org/jira/browse/TOMEE-2272 for XBean
upgrade
Here is the commit
https://github.com/apache/tomee/commit/14919e15178e6f45254da74d3574dcb9312c54a1

Build locally passes. Waiting for buildbot now

--
Jean-Louis Monteiro
http://twitter.com/jlouismonteiro
http://www.tomitribe.com


On Mon, Nov 12, 2018 at 9:59 AM Thomas Andraschko <
andraschko.thomas@gmail.com> wrote:

> done:
> https://issues.apache.org/jira/browse/TOMEE-2270
> https://issues.apache.org/jira/browse/TOMEE-2271
>
> Am So., 11. Nov. 2018 um 23:28 Uhr schrieb Jean-Louis Monteiro <
> jlmonteiro@tomitribe.com>:
>
> > Yes please.
> >
> >
> > Le dim. 11 nov. 2018 à 23:15, Thomas Andraschko <
> > andraschko.thomas@gmail.com>
> > a écrit :
> >
> > > @Jean-Louis
> > > should i create jira tickets for my 2 issues in this thread?
> > >
> > > <
> > >
> >
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> > > >
> > > Virenfrei.
> > > www.avast.com
> > > <
> > >
> >
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> > > >
> > > <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
> > >
> > > Am So., 11. Nov. 2018 um 22:51 Uhr schrieb Jean-Louis Monteiro <
> > > jlmonteiro@tomitribe.com>:
> > >
> > > > If you are willing to help me, I can do it tomorrow
> > > >
> > > > Le dim. 11 nov. 2018 à 12:21, Romain Manni-Bucau <
> > rmannibucau@gmail.com>
> > > a
> > > > écrit :
> > > >
> > > > > The unit tests point is likely easy to solve either using another
> > pool
> > > or
> > > > > just not using a pool for tests. Also the bug you fixed happens
> under
> > > > some
> > > > > particular case we can workaround using bigger pools I think.
> > > > > Asm upgrade is really a few seds (I can help end of next week -
> > > thursday
> > > > I
> > > > > think - if needed).
> > > > >
> > > > > Overall point was to not lock an ecosystem for features not used in
> > > half
> > > > of
> > > > > it. Commons-[pool|dbcp] is not required dependency of openjpa so
> > > shouldnt
> > > > > block its release and if it does we must work to fix that issue
> IMHO.
> > > > >
> > > > > Romain Manni-Bucau
> > > > > @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> > > > > <https://rmannibucau.metawerx.net/> | Old Blog
> > > > > <http://rmannibucau.wordpress.com> | Github <
> > > > > https://github.com/rmannibucau> |
> > > > > LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
> > > > > <
> > > > >
> > > >
> > >
> >
> https://www.packtpub.com/application-development/java-ee-8-high-performance
> > > > > >
> > > > >
> > > > >
> > > > > Le dim. 11 nov. 2018 à 12:11, Mark Struberg
> > <struberg@yahoo.de.invalid
> > > >
> > > > a
> > > > > écrit :
> > > > >
> > > > > >  The problem is that the unit tests in OpenJPA do not pass with
> the
> > > old
> > > > > > pool.
> > > > > > So for getting OpenJPA-3.0.1 we need commons-pool.
> > > > > > OpenJPA-3.0.0 still uses xbean-asm6. Means different package.We
> > would
> > > > > need
> > > > > > to package both xbean-asm6 and xbean-asm7 if we want to ship
> TomEE
> > > with
> > > > > > OpenJPA-3.0.0.
> > > > > > LieGrue,strub
> > > > > >
> > > > > >     On Saturday, 10 November 2018, 22:52:48 CET, Jean-Louis
> > Monteiro
> > > <
> > > > > > jlmonteiro@tomitribe.com> wrote:
> > > > > >
> > > > > >  Agreed. Probably we don't need to wait for it. At least we could
> > do
> > > a
> > > > M2
> > > > > > which is Java 11 ready.
> > > > > >
> > > > > >
> > > > > >
> > > > > > Le sam. 10 nov. 2018 à 21:49, Romain Manni-Bucau <
> > > > rmannibucau@gmail.com>
> > > > > a
> > > > > > écrit :
> > > > > >
> > > > > > > Shouldnt be the case Mark since openjpa is not bound to a pool
> -
> > > > except
> > > > > > in
> > > > > > > tests - and tomee default pool is not dbcp2 but tomcat-jdbc. So
> > it
> > > is
> > > > > > not a
> > > > > > > requirement but more a nice to have IMHO. Also not a regression
> > > since
> > > > > > last
> > > > > > > release so not a blocker ;).
> > > > > > >
> > > > > > >
> > > > > > > Le sam. 10 nov. 2018 21:02, Mark Struberg
> > > <struberg@yahoo.de.invalid
> > > > >
> > > > > a
> > > > > > > écrit :
> > > > > > >
> > > > > > > >  We also need to wait for commons-pool and commons-dbcp. I
> > fixed
> > > a
> > > > > > > > deadlock in the pool.Only after that I'll be able to release
> > > > OpenJPA.
> > > > > > > > LieGrue,strub
> > > > > > > >
> > > > > > > >    On Friday, 9 November 2018, 21:02:13 CET, Mark Struberg
> > > > > > > > <st...@yahoo.de.INVALID> wrote:
> > > > > > > >
> > > > > > > >  Right now I do a lot of OpenJPA hacking.
> > > > > > > > One of the tasks is to also support xbean-asm7.
> > > > > > > > That should go into openjpa-3.0.1.
> > > > > > > >
> > > > > > > > What is the timeframe we want to target?
> > > > > > > >
> > > > > > > > LieGrue,
> > > > > > > > strub
> > > > > > > >
> > > > > > > >
> > > > > > > > > Am 09.11.2018 um 14:18 schrieb Romain Manni-Bucau <
> > > > > > > rmannibucau@gmail.com
> > > > > > > > >:
> > > > > > > > >
> > > > > > > > > I don't have the list handy but tomee will need at least
> some
> > > > > > > --add-opens
> > > > > > > > > etc to run on java11 (you can add it in setenv.sh) - likely
> > for
> > > > > > unsafe
> > > > > > > > and
> > > > > > > > > the agent.
> > > > > > > > >
> > > > > > > > > Romain Manni-Bucau
> > > > > > > > > @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> > > > > > > > > <https://rmannibucau.metawerx.net/> | Old Blog
> > > > > > > > > <http://rmannibucau.wordpress.com> | Github <
> > > > > > > > https://github.com/rmannibucau> |
> > > > > > > > > LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
> > > > > > > > > <
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://www.packtpub.com/application-development/java-ee-8-high-performance
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Le ven. 9 nov. 2018 à 14:09, Thomas Andraschko <
> > > > > > > > andraschko.thomas@gmail.com>
> > > > > > > > > a écrit :
> > > > > > > > >
> > > > > > > > >> (e.g. Tomcat and DeltaSpike still uses the old namespace
> > it's
> > > in
> > > > > > > > >> web/beans.xml)
> > > > > > > > >>
> > > > > > > > >> Am Fr., 9. Nov. 2018 um 13:35 Uhr schrieb Thomas
> Andraschko
> > <
> > > > > > > > >> andraschko.thomas@gmail.com>:
> > > > > > > > >>
> > > > > > > > >>> Also looks like XML unmarshalling is broken:
> > > > > > > > >>>
> > > > > > > > >>> Caused by: javax.xml.bind.UnmarshalException:
> unerwartetes
> > > > > Element
> > > > > > > > (URI:"
> > > > > > > > >>> http://java.sun.com/xml/ns/javaee",
> lokal:"interceptors").
> > > > > > Erwartete
> > > > > > > > >>> Elemente
> > > > > > > > >>> sind
> > > > > > >
> > <{}trim>,<{}decorators>,<{}scan>,<{}alternatives>,<{}interceptors>
> > > > > > > > >>>    at
> > > > > > > > >>>
> > > > > > > >
> > > > > >
> > > >
> > com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.handleEvent
> > > > > > > > >>> (UnmarshallingContext.java:744)
> > > > > > > > >>>    at
> > > > com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError
> > > > > > > > >>> (Loader.java:262)
> > > > > > > > >>>    at
> > > > com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError
> > > > > > > > >>> (Loader.java:257)
> > > > > > > > >>>    at
> > > > > > > > >>>
> > > > > > > > >>
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportUnexpectedChildElement
> > > > > > > > >>> (Loader.java:124)
> > > > > > > > >>>    at
> > > > > com.sun.xml.bind.v2.runtime.unmarshaller.Loader.childElement
> > > > > > > > >>> (Loader.java:105)
> > > > > > > > >>>    at
> > > > > > > > >>>
> > > > > >
> > com.sun.xml.bind.v2.runtime.unmarshaller.StructureLoader.childElement
> > > > > > > > >>> (StructureLoader.java:268)
> > > > > > > > >>>    at
> > > > > > > > >>>
> > > > > > > > >>
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext._startElement
> > > > > > > > >>> (UnmarshallingContext.java:574)
> > > > > > > > >>>    at
> > > > > > > > >>>
> > > > > > > > >>
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.startElement
> > > > > > > > >>> (UnmarshallingContext.java:556)
> > > > > > > > >>>    at
> > > > > > > >
> > > com.sun.xml.bind.v2.runtime.unmarshaller.SAXConnector.startElement
> > > > > > > > >>> (SAXConnector.java:168)
> > > > > > > > >>>    at org.xml.sax.helpers.XMLFilterImpl.startElement
> > > > > > > > >>> (XMLFilterImpl.java:551)
> > > > > > > > >>>    at
> > > > > > > > >>>
> > > > > >
> > org.apache.openejb.jee.JaxbJavaee$JavaeeNamespaceFilter.startElement
> > > > > > > > >>> (JaxbJavaee.java:293)
> > > > > > > > >>>    at
> > > > > > > > >>>
> > > > > > > >
> > > > > >
> > > >
> > com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement
> > > > > > > > >>> (AbstractSAXParser.java:510)
> > > > > > > > >>>    at
> > > > > > > > >>>
> > > > > > > > >>
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement
> > > > > > > > >>> (XMLNSDocumentScannerImpl.java:374)
> > > > > > > > >>>    at
> > > > > > > > >>>
> > > > > > > > >>
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next
> > > > > > > > >>> (XMLDocumentFragmentScannerImpl.java:2708)
> > > > > > > > >>>    at
> > > > > > > > >>
> > > > > com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next
> > > > > > > > >>> (XMLDocumentScannerImpl.java:605)
> > > > > > > > >>>    at
> > > > > > > > >>>
> > > > > >
> > com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next
> > > > > > > > >>> (XMLNSDocumentScannerImpl.java:112)
> > > > > > > > >>>    at
> > > > > > > > >>>
> > > > > > > > >>
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument
> > > > > > > > >>> (XMLDocumentFragmentScannerImpl.java:534)
> > > > > > > > >>>    at
> > > > > > > > >>
> > > > > com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse
> > > > > > > > >>> (XML11Configuration.java:888)
> > > > > > > > >>>    at
> > > > > > > > >>
> > > > > com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse
> > > > > > > > >>> (XML11Configuration.java:824)
> > > > > > > > >>>    at
> > > > com.sun.org.apache.xerces.internal.parsers.XMLParser.parse
> > > > > > > > >>> (XMLParser.java:141)
> > > > > > > > >>>    at
> > > > > > > >
> > > com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse
> > > > > > > > >>> (AbstractSAXParser.java:1216)
> > > > > > > > >>>    at
> > > > > > > > >>>
> > > > > > > >
> > > > > >
> > > >
> > com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse
> > > > > > > > >>> (SAXParserImpl.java:635)
> > > > > > > > >>>    at org.xml.sax.helpers.XMLFilterImpl.parse
> > > > > > > (XMLFilterImpl.java:357)
> > > > > > > > >>>    at
> > > > > > > > >>>
> > > > > >
> > com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0
> > > > > > > > >>> (UnmarshallerImpl.java:258)
> > > > > > > > >>>    at
> > > > > > > > >>
> > > > > com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal
> > > > > > > > >>> (UnmarshallerImpl.java:236)
> > > > > > > > >>>    at
> > > > > > > > >>
> > > > > com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal
> > > > > > > > >>> (UnmarshallerImpl.java:288)
> > > > > > > > >>>    at org.apache.openejb.jee.JaxbJavaee.unmarshalJavaee
> > > > > > > > >>> (JaxbJavaee.java:133)
> > > > > > > > >>>    at org.apache.openejb.config.ReadDescriptors.readBeans
> > > > > > > > >>> (ReadDescriptors.java:691)
> > > > > > > > >>>    at
> > > org.apache.openejb.config.DeploymentLoader.mergeBeansXml
> > > > > > > > >>> (DeploymentLoader.java:1196)
> > > > > > > > >>>    at
> > org.apache.openejb.config.DeploymentLoader.addBeansXmls
> > > > > > > > >>> (DeploymentLoader.java:1184)
> > > > > > > > >>>    at
> > > > org.apache.openejb.config.DeploymentLoader.createWebModule
> > > > > > > > >>> (DeploymentLoader.java:1098)
> > > > > > > > >>>    at
> > > > org.apache.openejb.config.DeploymentLoader.createWebModule
> > > > > > > > >>> (DeploymentLoader.java:823)
> > > > > > > > >>>    at org.apache.openejb.config.DeploymentLoader.load
> > > > > > > > >>> (DeploymentLoader.java:234)
> > > > > > > > >>>    at
> > > > > org.apache.tomee.catalina.TomcatWebAppBuilder.loadApplication
> > > > > > > > >>> (TomcatWebAppBuilder.java:2347)
> > > > > > > > >>>    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:133)
> > > > > > > > >>>    at
> > > org.apache.catalina.util.LifecycleBase.fireLifecycleEvent
> > > > > > > > >>> (LifecycleBase.java:123)
> > > > > > > > >>>
> > > > > > > > >>>
> > > > > > > > >>>
> > > > > > > > >>> Am Fr., 9. Nov. 2018 um 13:27 Uhr schrieb Thomas
> > Andraschko <
> > > > > > > > >>> andraschko.thomas@gmail.com>:
> > > > > > > > >>>
> > > > > > > > >>>> @Jean-Louis
> > > > > > > > >>>> Are you saying that TomEE8 M1 itself is not compatbile
> > with
> > > > > > Java11?
> > > > > > > > >>>>
> > > > > > > > >>>> Currently trying to run my application with
> > > > tomee-maven-embedded
> > > > > > and
> > > > > > > > it
> > > > > > > > >>>> fails:
> > > > > > > > >>>> java.lang.IllegalStateException: Unable to initialize
> > agent
> > > > > > > > >>>>        at
> > > > > > > > >>>>
> > > > > > >
> > > >
> org.apache.openejb.javaagent.Agent.checkInitialization(Agent.java:104)
> > > > > > > > >>>>        at
> > > > > > > > >>>>
> > > > > >
> > org.apache.openejb.javaagent.Agent.getInstrumentation(Agent.java:94)
> > > > > > > > >>>>        at
> > > > > > > > >>>>
> > > > org.apache.tomee.embedded.Container.<clinit>(Container.java:128)
> > > > > > > > >>>>        at
> > > > > > > > >>>>
> > > > > > > > >>
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openejb.maven.plugins.TomEEEmbeddedMojo.execute(TomEEEmbeddedMojo.java:392)
> > > > > > > > >>>>        at
> > > > > > > > >>>>
> > > > > > > > >>
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
> > > > > > > > >>>>
> > > > > > > > >>>>
> > > > > > > > >>>> Am Do., 8. Nov. 2018 um 21:36 Uhr schrieb Romain
> > > Manni-Bucau <
> > > > > > > > >>>> rmannibucau@gmail.com>:
> > > > > > > > >>>>
> > > > > > > > >>>>> Hi JL
> > > > > > > > >>>>>
> > > > > > > > >>>>> Openjpa needs xbean upgrade but should be quick. Cxf
> > stack
> > > > > needs
> > > > > > > some
> > > > > > > > >>>>> jaxb
> > > > > > > > >>>>> upgrades from memory. After the stack "supports" java11
> > as
> > > > "run
> > > > > > it"
> > > > > > > > but
> > > > > > > > >>>>> think no spec in EE is java >= 9 compatible (modules,
> spi
> > > > etc).
> > > > > > > > >>>>>
> > > > > > > > >>>>> Should be enough for tomee that said.
> > > > > > > > >>>>>
> > > > > > > > >>>>>
> > > > > > > > >>>>> Le jeu. 8 nov. 2018 20:27, Jean-Louis Monteiro <
> > > > > > > > >> jlmonteiro@tomitribe.com>
> > > > > > > > >>>>> a
> > > > > > > > >>>>> écrit :
> > > > > > > > >>>>>
> > > > > > > > >>>>>> Hey TomEE lovers,
> > > > > > > > >>>>>>
> > > > > > > > >>>>>> I would like to push the Java 11 support forward.
> > > > > > > > >>>>>>
> > > > > > > > >>>>>> I tried to gather information here and there. Here is
> a
> > > > status
> > > > > > > with
> > > > > > > > >> my
> > > > > > > > >>>>>> view. Please, lemme know if you have further updates
> or
> > > any
> > > > > > > > >> additional
> > > > > > > > >>>>>> information.
> > > > > > > > >>>>>>
> > > > > > > > >>>>>> XBean: ready and released
> > > > > > > > >>>>>> OWB: ready and released
> > > > > > > > >>>>>> TomEE itself (OpenEJB and other integration): ready
> but
> > > not
> > > > > > > released
> > > > > > > > >>>>> yet
> > > > > > > > >>>>>> OpenJPA: not clear, but looks like there is still some
> > > work
> > > > to
> > > > > > be
> > > > > > > > >> done
> > > > > > > > >>>>>> CXF: ready and released
> > > > > > > > >>>>>> MyFaces, ActiveMQ, EclipseLink, Mojorra: unknown
> > > > > > > > >>>>>> Tomcat: ready and released
> > > > > > > > >>>>>>
> > > > > > > > >>>>>> Are we on the same page?
> > > > > > > > >>>>>>
> > > > > > > > >>>>>> I propose to reach out to communities when libraries
> are
> > > not
> > > > > yet
> > > > > > > > >> ready
> > > > > > > > >>>>> or
> > > > > > > > >>>>>> released and see how we can help.
> > > > > > > > >>>>>>
> > > > > > > > >>>>>> Thoughts?
> > > > > > > > >>>>>>
> > > > > > > > >>>>>> --
> > > > > > > > >>>>>> Jean-Louis Monteiro
> > > > > > > > >>>>>> http://twitter.com/jlouismonteiro
> > > > > > > > >>>>>> http://www.tomitribe.com
> > > > > > > > >>>>>>
> > > > > > > > >>>>>
> > > > > > > > >>>>
> > > > > > > > >>
> > > > > > > >
> > > > > > >
> > > > >
> > > > --
> > > > --
> > > > Jean-Louis Monteiro
> > > > http://twitter.com/jlouismonteiro
> > > > http://www.tomitribe.com
> > > >
> > >
> > > <
> > >
> >
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> > > >
> > > Virenfrei.
> > > www.avast.com
> > > <
> > >
> >
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> > > >
> > > <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
> > >
> >
>

Re: Java 11 status

Posted by Thomas Andraschko <an...@gmail.com>.
done:
https://issues.apache.org/jira/browse/TOMEE-2270
https://issues.apache.org/jira/browse/TOMEE-2271

Am So., 11. Nov. 2018 um 23:28 Uhr schrieb Jean-Louis Monteiro <
jlmonteiro@tomitribe.com>:

> Yes please.
>
>
> Le dim. 11 nov. 2018 à 23:15, Thomas Andraschko <
> andraschko.thomas@gmail.com>
> a écrit :
>
> > @Jean-Louis
> > should i create jira tickets for my 2 issues in this thread?
> >
> > <
> >
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> > >
> > Virenfrei.
> > www.avast.com
> > <
> >
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> > >
> > <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
> >
> > Am So., 11. Nov. 2018 um 22:51 Uhr schrieb Jean-Louis Monteiro <
> > jlmonteiro@tomitribe.com>:
> >
> > > If you are willing to help me, I can do it tomorrow
> > >
> > > Le dim. 11 nov. 2018 à 12:21, Romain Manni-Bucau <
> rmannibucau@gmail.com>
> > a
> > > écrit :
> > >
> > > > The unit tests point is likely easy to solve either using another
> pool
> > or
> > > > just not using a pool for tests. Also the bug you fixed happens under
> > > some
> > > > particular case we can workaround using bigger pools I think.
> > > > Asm upgrade is really a few seds (I can help end of next week -
> > thursday
> > > I
> > > > think - if needed).
> > > >
> > > > Overall point was to not lock an ecosystem for features not used in
> > half
> > > of
> > > > it. Commons-[pool|dbcp] is not required dependency of openjpa so
> > shouldnt
> > > > block its release and if it does we must work to fix that issue IMHO.
> > > >
> > > > Romain Manni-Bucau
> > > > @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> > > > <https://rmannibucau.metawerx.net/> | Old Blog
> > > > <http://rmannibucau.wordpress.com> | Github <
> > > > https://github.com/rmannibucau> |
> > > > LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
> > > > <
> > > >
> > >
> >
> https://www.packtpub.com/application-development/java-ee-8-high-performance
> > > > >
> > > >
> > > >
> > > > Le dim. 11 nov. 2018 à 12:11, Mark Struberg
> <struberg@yahoo.de.invalid
> > >
> > > a
> > > > écrit :
> > > >
> > > > >  The problem is that the unit tests in OpenJPA do not pass with the
> > old
> > > > > pool.
> > > > > So for getting OpenJPA-3.0.1 we need commons-pool.
> > > > > OpenJPA-3.0.0 still uses xbean-asm6. Means different package.We
> would
> > > > need
> > > > > to package both xbean-asm6 and xbean-asm7 if we want to ship TomEE
> > with
> > > > > OpenJPA-3.0.0.
> > > > > LieGrue,strub
> > > > >
> > > > >     On Saturday, 10 November 2018, 22:52:48 CET, Jean-Louis
> Monteiro
> > <
> > > > > jlmonteiro@tomitribe.com> wrote:
> > > > >
> > > > >  Agreed. Probably we don't need to wait for it. At least we could
> do
> > a
> > > M2
> > > > > which is Java 11 ready.
> > > > >
> > > > >
> > > > >
> > > > > Le sam. 10 nov. 2018 à 21:49, Romain Manni-Bucau <
> > > rmannibucau@gmail.com>
> > > > a
> > > > > écrit :
> > > > >
> > > > > > Shouldnt be the case Mark since openjpa is not bound to a pool -
> > > except
> > > > > in
> > > > > > tests - and tomee default pool is not dbcp2 but tomcat-jdbc. So
> it
> > is
> > > > > not a
> > > > > > requirement but more a nice to have IMHO. Also not a regression
> > since
> > > > > last
> > > > > > release so not a blocker ;).
> > > > > >
> > > > > >
> > > > > > Le sam. 10 nov. 2018 21:02, Mark Struberg
> > <struberg@yahoo.de.invalid
> > > >
> > > > a
> > > > > > écrit :
> > > > > >
> > > > > > >  We also need to wait for commons-pool and commons-dbcp. I
> fixed
> > a
> > > > > > > deadlock in the pool.Only after that I'll be able to release
> > > OpenJPA.
> > > > > > > LieGrue,strub
> > > > > > >
> > > > > > >    On Friday, 9 November 2018, 21:02:13 CET, Mark Struberg
> > > > > > > <st...@yahoo.de.INVALID> wrote:
> > > > > > >
> > > > > > >  Right now I do a lot of OpenJPA hacking.
> > > > > > > One of the tasks is to also support xbean-asm7.
> > > > > > > That should go into openjpa-3.0.1.
> > > > > > >
> > > > > > > What is the timeframe we want to target?
> > > > > > >
> > > > > > > LieGrue,
> > > > > > > strub
> > > > > > >
> > > > > > >
> > > > > > > > Am 09.11.2018 um 14:18 schrieb Romain Manni-Bucau <
> > > > > > rmannibucau@gmail.com
> > > > > > > >:
> > > > > > > >
> > > > > > > > I don't have the list handy but tomee will need at least some
> > > > > > --add-opens
> > > > > > > > etc to run on java11 (you can add it in setenv.sh) - likely
> for
> > > > > unsafe
> > > > > > > and
> > > > > > > > the agent.
> > > > > > > >
> > > > > > > > Romain Manni-Bucau
> > > > > > > > @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> > > > > > > > <https://rmannibucau.metawerx.net/> | Old Blog
> > > > > > > > <http://rmannibucau.wordpress.com> | Github <
> > > > > > > https://github.com/rmannibucau> |
> > > > > > > > LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
> > > > > > > > <
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://www.packtpub.com/application-development/java-ee-8-high-performance
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > Le ven. 9 nov. 2018 à 14:09, Thomas Andraschko <
> > > > > > > andraschko.thomas@gmail.com>
> > > > > > > > a écrit :
> > > > > > > >
> > > > > > > >> (e.g. Tomcat and DeltaSpike still uses the old namespace
> it's
> > in
> > > > > > > >> web/beans.xml)
> > > > > > > >>
> > > > > > > >> Am Fr., 9. Nov. 2018 um 13:35 Uhr schrieb Thomas Andraschko
> <
> > > > > > > >> andraschko.thomas@gmail.com>:
> > > > > > > >>
> > > > > > > >>> Also looks like XML unmarshalling is broken:
> > > > > > > >>>
> > > > > > > >>> Caused by: javax.xml.bind.UnmarshalException: unerwartetes
> > > > Element
> > > > > > > (URI:"
> > > > > > > >>> http://java.sun.com/xml/ns/javaee", lokal:"interceptors").
> > > > > Erwartete
> > > > > > > >>> Elemente
> > > > > > > >>> sind
> > > > > >
> <{}trim>,<{}decorators>,<{}scan>,<{}alternatives>,<{}interceptors>
> > > > > > > >>>    at
> > > > > > > >>>
> > > > > > >
> > > > >
> > >
> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.handleEvent
> > > > > > > >>> (UnmarshallingContext.java:744)
> > > > > > > >>>    at
> > > com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError
> > > > > > > >>> (Loader.java:262)
> > > > > > > >>>    at
> > > com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError
> > > > > > > >>> (Loader.java:257)
> > > > > > > >>>    at
> > > > > > > >>>
> > > > > > > >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportUnexpectedChildElement
> > > > > > > >>> (Loader.java:124)
> > > > > > > >>>    at
> > > > com.sun.xml.bind.v2.runtime.unmarshaller.Loader.childElement
> > > > > > > >>> (Loader.java:105)
> > > > > > > >>>    at
> > > > > > > >>>
> > > > >
> com.sun.xml.bind.v2.runtime.unmarshaller.StructureLoader.childElement
> > > > > > > >>> (StructureLoader.java:268)
> > > > > > > >>>    at
> > > > > > > >>>
> > > > > > > >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext._startElement
> > > > > > > >>> (UnmarshallingContext.java:574)
> > > > > > > >>>    at
> > > > > > > >>>
> > > > > > > >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.startElement
> > > > > > > >>> (UnmarshallingContext.java:556)
> > > > > > > >>>    at
> > > > > > >
> > com.sun.xml.bind.v2.runtime.unmarshaller.SAXConnector.startElement
> > > > > > > >>> (SAXConnector.java:168)
> > > > > > > >>>    at org.xml.sax.helpers.XMLFilterImpl.startElement
> > > > > > > >>> (XMLFilterImpl.java:551)
> > > > > > > >>>    at
> > > > > > > >>>
> > > > >
> org.apache.openejb.jee.JaxbJavaee$JavaeeNamespaceFilter.startElement
> > > > > > > >>> (JaxbJavaee.java:293)
> > > > > > > >>>    at
> > > > > > > >>>
> > > > > > >
> > > > >
> > >
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement
> > > > > > > >>> (AbstractSAXParser.java:510)
> > > > > > > >>>    at
> > > > > > > >>>
> > > > > > > >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement
> > > > > > > >>> (XMLNSDocumentScannerImpl.java:374)
> > > > > > > >>>    at
> > > > > > > >>>
> > > > > > > >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next
> > > > > > > >>> (XMLDocumentFragmentScannerImpl.java:2708)
> > > > > > > >>>    at
> > > > > > > >>
> > > > com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next
> > > > > > > >>> (XMLDocumentScannerImpl.java:605)
> > > > > > > >>>    at
> > > > > > > >>>
> > > > >
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next
> > > > > > > >>> (XMLNSDocumentScannerImpl.java:112)
> > > > > > > >>>    at
> > > > > > > >>>
> > > > > > > >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument
> > > > > > > >>> (XMLDocumentFragmentScannerImpl.java:534)
> > > > > > > >>>    at
> > > > > > > >>
> > > > com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse
> > > > > > > >>> (XML11Configuration.java:888)
> > > > > > > >>>    at
> > > > > > > >>
> > > > com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse
> > > > > > > >>> (XML11Configuration.java:824)
> > > > > > > >>>    at
> > > com.sun.org.apache.xerces.internal.parsers.XMLParser.parse
> > > > > > > >>> (XMLParser.java:141)
> > > > > > > >>>    at
> > > > > > >
> > com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse
> > > > > > > >>> (AbstractSAXParser.java:1216)
> > > > > > > >>>    at
> > > > > > > >>>
> > > > > > >
> > > > >
> > >
> com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse
> > > > > > > >>> (SAXParserImpl.java:635)
> > > > > > > >>>    at org.xml.sax.helpers.XMLFilterImpl.parse
> > > > > > (XMLFilterImpl.java:357)
> > > > > > > >>>    at
> > > > > > > >>>
> > > > >
> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0
> > > > > > > >>> (UnmarshallerImpl.java:258)
> > > > > > > >>>    at
> > > > > > > >>
> > > > com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal
> > > > > > > >>> (UnmarshallerImpl.java:236)
> > > > > > > >>>    at
> > > > > > > >>
> > > > com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal
> > > > > > > >>> (UnmarshallerImpl.java:288)
> > > > > > > >>>    at org.apache.openejb.jee.JaxbJavaee.unmarshalJavaee
> > > > > > > >>> (JaxbJavaee.java:133)
> > > > > > > >>>    at org.apache.openejb.config.ReadDescriptors.readBeans
> > > > > > > >>> (ReadDescriptors.java:691)
> > > > > > > >>>    at
> > org.apache.openejb.config.DeploymentLoader.mergeBeansXml
> > > > > > > >>> (DeploymentLoader.java:1196)
> > > > > > > >>>    at
> org.apache.openejb.config.DeploymentLoader.addBeansXmls
> > > > > > > >>> (DeploymentLoader.java:1184)
> > > > > > > >>>    at
> > > org.apache.openejb.config.DeploymentLoader.createWebModule
> > > > > > > >>> (DeploymentLoader.java:1098)
> > > > > > > >>>    at
> > > org.apache.openejb.config.DeploymentLoader.createWebModule
> > > > > > > >>> (DeploymentLoader.java:823)
> > > > > > > >>>    at org.apache.openejb.config.DeploymentLoader.load
> > > > > > > >>> (DeploymentLoader.java:234)
> > > > > > > >>>    at
> > > > org.apache.tomee.catalina.TomcatWebAppBuilder.loadApplication
> > > > > > > >>> (TomcatWebAppBuilder.java:2347)
> > > > > > > >>>    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:133)
> > > > > > > >>>    at
> > org.apache.catalina.util.LifecycleBase.fireLifecycleEvent
> > > > > > > >>> (LifecycleBase.java:123)
> > > > > > > >>>
> > > > > > > >>>
> > > > > > > >>>
> > > > > > > >>> Am Fr., 9. Nov. 2018 um 13:27 Uhr schrieb Thomas
> Andraschko <
> > > > > > > >>> andraschko.thomas@gmail.com>:
> > > > > > > >>>
> > > > > > > >>>> @Jean-Louis
> > > > > > > >>>> Are you saying that TomEE8 M1 itself is not compatbile
> with
> > > > > Java11?
> > > > > > > >>>>
> > > > > > > >>>> Currently trying to run my application with
> > > tomee-maven-embedded
> > > > > and
> > > > > > > it
> > > > > > > >>>> fails:
> > > > > > > >>>> java.lang.IllegalStateException: Unable to initialize
> agent
> > > > > > > >>>>        at
> > > > > > > >>>>
> > > > > >
> > > org.apache.openejb.javaagent.Agent.checkInitialization(Agent.java:104)
> > > > > > > >>>>        at
> > > > > > > >>>>
> > > > >
> org.apache.openejb.javaagent.Agent.getInstrumentation(Agent.java:94)
> > > > > > > >>>>        at
> > > > > > > >>>>
> > > org.apache.tomee.embedded.Container.<clinit>(Container.java:128)
> > > > > > > >>>>        at
> > > > > > > >>>>
> > > > > > > >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openejb.maven.plugins.TomEEEmbeddedMojo.execute(TomEEEmbeddedMojo.java:392)
> > > > > > > >>>>        at
> > > > > > > >>>>
> > > > > > > >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
> > > > > > > >>>>
> > > > > > > >>>>
> > > > > > > >>>> Am Do., 8. Nov. 2018 um 21:36 Uhr schrieb Romain
> > Manni-Bucau <
> > > > > > > >>>> rmannibucau@gmail.com>:
> > > > > > > >>>>
> > > > > > > >>>>> Hi JL
> > > > > > > >>>>>
> > > > > > > >>>>> Openjpa needs xbean upgrade but should be quick. Cxf
> stack
> > > > needs
> > > > > > some
> > > > > > > >>>>> jaxb
> > > > > > > >>>>> upgrades from memory. After the stack "supports" java11
> as
> > > "run
> > > > > it"
> > > > > > > but
> > > > > > > >>>>> think no spec in EE is java >= 9 compatible (modules, spi
> > > etc).
> > > > > > > >>>>>
> > > > > > > >>>>> Should be enough for tomee that said.
> > > > > > > >>>>>
> > > > > > > >>>>>
> > > > > > > >>>>> Le jeu. 8 nov. 2018 20:27, Jean-Louis Monteiro <
> > > > > > > >> jlmonteiro@tomitribe.com>
> > > > > > > >>>>> a
> > > > > > > >>>>> écrit :
> > > > > > > >>>>>
> > > > > > > >>>>>> Hey TomEE lovers,
> > > > > > > >>>>>>
> > > > > > > >>>>>> I would like to push the Java 11 support forward.
> > > > > > > >>>>>>
> > > > > > > >>>>>> I tried to gather information here and there. Here is a
> > > status
> > > > > > with
> > > > > > > >> my
> > > > > > > >>>>>> view. Please, lemme know if you have further updates or
> > any
> > > > > > > >> additional
> > > > > > > >>>>>> information.
> > > > > > > >>>>>>
> > > > > > > >>>>>> XBean: ready and released
> > > > > > > >>>>>> OWB: ready and released
> > > > > > > >>>>>> TomEE itself (OpenEJB and other integration): ready but
> > not
> > > > > > released
> > > > > > > >>>>> yet
> > > > > > > >>>>>> OpenJPA: not clear, but looks like there is still some
> > work
> > > to
> > > > > be
> > > > > > > >> done
> > > > > > > >>>>>> CXF: ready and released
> > > > > > > >>>>>> MyFaces, ActiveMQ, EclipseLink, Mojorra: unknown
> > > > > > > >>>>>> Tomcat: ready and released
> > > > > > > >>>>>>
> > > > > > > >>>>>> Are we on the same page?
> > > > > > > >>>>>>
> > > > > > > >>>>>> I propose to reach out to communities when libraries are
> > not
> > > > yet
> > > > > > > >> ready
> > > > > > > >>>>> or
> > > > > > > >>>>>> released and see how we can help.
> > > > > > > >>>>>>
> > > > > > > >>>>>> Thoughts?
> > > > > > > >>>>>>
> > > > > > > >>>>>> --
> > > > > > > >>>>>> Jean-Louis Monteiro
> > > > > > > >>>>>> http://twitter.com/jlouismonteiro
> > > > > > > >>>>>> http://www.tomitribe.com
> > > > > > > >>>>>>
> > > > > > > >>>>>
> > > > > > > >>>>
> > > > > > > >>
> > > > > > >
> > > > > >
> > > >
> > > --
> > > --
> > > Jean-Louis Monteiro
> > > http://twitter.com/jlouismonteiro
> > > http://www.tomitribe.com
> > >
> >
> > <
> >
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> > >
> > Virenfrei.
> > www.avast.com
> > <
> >
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> > >
> > <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
> >
>

Re: Java 11 status

Posted by Jean-Louis Monteiro <jl...@tomitribe.com>.
Yes please.


Le dim. 11 nov. 2018 à 23:15, Thomas Andraschko <an...@gmail.com>
a écrit :

> @Jean-Louis
> should i create jira tickets for my 2 issues in this thread?
>
> <
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> >
> Virenfrei.
> www.avast.com
> <
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> >
> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
> Am So., 11. Nov. 2018 um 22:51 Uhr schrieb Jean-Louis Monteiro <
> jlmonteiro@tomitribe.com>:
>
> > If you are willing to help me, I can do it tomorrow
> >
> > Le dim. 11 nov. 2018 à 12:21, Romain Manni-Bucau <rm...@gmail.com>
> a
> > écrit :
> >
> > > The unit tests point is likely easy to solve either using another pool
> or
> > > just not using a pool for tests. Also the bug you fixed happens under
> > some
> > > particular case we can workaround using bigger pools I think.
> > > Asm upgrade is really a few seds (I can help end of next week -
> thursday
> > I
> > > think - if needed).
> > >
> > > Overall point was to not lock an ecosystem for features not used in
> half
> > of
> > > it. Commons-[pool|dbcp] is not required dependency of openjpa so
> shouldnt
> > > block its release and if it does we must work to fix that issue IMHO.
> > >
> > > Romain Manni-Bucau
> > > @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> > > <https://rmannibucau.metawerx.net/> | Old Blog
> > > <http://rmannibucau.wordpress.com> | Github <
> > > https://github.com/rmannibucau> |
> > > LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
> > > <
> > >
> >
> https://www.packtpub.com/application-development/java-ee-8-high-performance
> > > >
> > >
> > >
> > > Le dim. 11 nov. 2018 à 12:11, Mark Struberg <struberg@yahoo.de.invalid
> >
> > a
> > > écrit :
> > >
> > > >  The problem is that the unit tests in OpenJPA do not pass with the
> old
> > > > pool.
> > > > So for getting OpenJPA-3.0.1 we need commons-pool.
> > > > OpenJPA-3.0.0 still uses xbean-asm6. Means different package.We would
> > > need
> > > > to package both xbean-asm6 and xbean-asm7 if we want to ship TomEE
> with
> > > > OpenJPA-3.0.0.
> > > > LieGrue,strub
> > > >
> > > >     On Saturday, 10 November 2018, 22:52:48 CET, Jean-Louis Monteiro
> <
> > > > jlmonteiro@tomitribe.com> wrote:
> > > >
> > > >  Agreed. Probably we don't need to wait for it. At least we could do
> a
> > M2
> > > > which is Java 11 ready.
> > > >
> > > >
> > > >
> > > > Le sam. 10 nov. 2018 à 21:49, Romain Manni-Bucau <
> > rmannibucau@gmail.com>
> > > a
> > > > écrit :
> > > >
> > > > > Shouldnt be the case Mark since openjpa is not bound to a pool -
> > except
> > > > in
> > > > > tests - and tomee default pool is not dbcp2 but tomcat-jdbc. So it
> is
> > > > not a
> > > > > requirement but more a nice to have IMHO. Also not a regression
> since
> > > > last
> > > > > release so not a blocker ;).
> > > > >
> > > > >
> > > > > Le sam. 10 nov. 2018 21:02, Mark Struberg
> <struberg@yahoo.de.invalid
> > >
> > > a
> > > > > écrit :
> > > > >
> > > > > >  We also need to wait for commons-pool and commons-dbcp. I fixed
> a
> > > > > > deadlock in the pool.Only after that I'll be able to release
> > OpenJPA.
> > > > > > LieGrue,strub
> > > > > >
> > > > > >    On Friday, 9 November 2018, 21:02:13 CET, Mark Struberg
> > > > > > <st...@yahoo.de.INVALID> wrote:
> > > > > >
> > > > > >  Right now I do a lot of OpenJPA hacking.
> > > > > > One of the tasks is to also support xbean-asm7.
> > > > > > That should go into openjpa-3.0.1.
> > > > > >
> > > > > > What is the timeframe we want to target?
> > > > > >
> > > > > > LieGrue,
> > > > > > strub
> > > > > >
> > > > > >
> > > > > > > Am 09.11.2018 um 14:18 schrieb Romain Manni-Bucau <
> > > > > rmannibucau@gmail.com
> > > > > > >:
> > > > > > >
> > > > > > > I don't have the list handy but tomee will need at least some
> > > > > --add-opens
> > > > > > > etc to run on java11 (you can add it in setenv.sh) - likely for
> > > > unsafe
> > > > > > and
> > > > > > > the agent.
> > > > > > >
> > > > > > > Romain Manni-Bucau
> > > > > > > @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> > > > > > > <https://rmannibucau.metawerx.net/> | Old Blog
> > > > > > > <http://rmannibucau.wordpress.com> | Github <
> > > > > > https://github.com/rmannibucau> |
> > > > > > > LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
> > > > > > > <
> > > > > >
> > > > >
> > > >
> > >
> >
> https://www.packtpub.com/application-development/java-ee-8-high-performance
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Le ven. 9 nov. 2018 à 14:09, Thomas Andraschko <
> > > > > > andraschko.thomas@gmail.com>
> > > > > > > a écrit :
> > > > > > >
> > > > > > >> (e.g. Tomcat and DeltaSpike still uses the old namespace it's
> in
> > > > > > >> web/beans.xml)
> > > > > > >>
> > > > > > >> Am Fr., 9. Nov. 2018 um 13:35 Uhr schrieb Thomas Andraschko <
> > > > > > >> andraschko.thomas@gmail.com>:
> > > > > > >>
> > > > > > >>> Also looks like XML unmarshalling is broken:
> > > > > > >>>
> > > > > > >>> Caused by: javax.xml.bind.UnmarshalException: unerwartetes
> > > Element
> > > > > > (URI:"
> > > > > > >>> http://java.sun.com/xml/ns/javaee", lokal:"interceptors").
> > > > Erwartete
> > > > > > >>> Elemente
> > > > > > >>> sind
> > > > > <{}trim>,<{}decorators>,<{}scan>,<{}alternatives>,<{}interceptors>
> > > > > > >>>    at
> > > > > > >>>
> > > > > >
> > > >
> > com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.handleEvent
> > > > > > >>> (UnmarshallingContext.java:744)
> > > > > > >>>    at
> > com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError
> > > > > > >>> (Loader.java:262)
> > > > > > >>>    at
> > com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError
> > > > > > >>> (Loader.java:257)
> > > > > > >>>    at
> > > > > > >>>
> > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
> com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportUnexpectedChildElement
> > > > > > >>> (Loader.java:124)
> > > > > > >>>    at
> > > com.sun.xml.bind.v2.runtime.unmarshaller.Loader.childElement
> > > > > > >>> (Loader.java:105)
> > > > > > >>>    at
> > > > > > >>>
> > > > com.sun.xml.bind.v2.runtime.unmarshaller.StructureLoader.childElement
> > > > > > >>> (StructureLoader.java:268)
> > > > > > >>>    at
> > > > > > >>>
> > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext._startElement
> > > > > > >>> (UnmarshallingContext.java:574)
> > > > > > >>>    at
> > > > > > >>>
> > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.startElement
> > > > > > >>> (UnmarshallingContext.java:556)
> > > > > > >>>    at
> > > > > >
> com.sun.xml.bind.v2.runtime.unmarshaller.SAXConnector.startElement
> > > > > > >>> (SAXConnector.java:168)
> > > > > > >>>    at org.xml.sax.helpers.XMLFilterImpl.startElement
> > > > > > >>> (XMLFilterImpl.java:551)
> > > > > > >>>    at
> > > > > > >>>
> > > > org.apache.openejb.jee.JaxbJavaee$JavaeeNamespaceFilter.startElement
> > > > > > >>> (JaxbJavaee.java:293)
> > > > > > >>>    at
> > > > > > >>>
> > > > > >
> > > >
> > com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement
> > > > > > >>> (AbstractSAXParser.java:510)
> > > > > > >>>    at
> > > > > > >>>
> > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement
> > > > > > >>> (XMLNSDocumentScannerImpl.java:374)
> > > > > > >>>    at
> > > > > > >>>
> > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next
> > > > > > >>> (XMLDocumentFragmentScannerImpl.java:2708)
> > > > > > >>>    at
> > > > > > >>
> > > com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next
> > > > > > >>> (XMLDocumentScannerImpl.java:605)
> > > > > > >>>    at
> > > > > > >>>
> > > > com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next
> > > > > > >>> (XMLNSDocumentScannerImpl.java:112)
> > > > > > >>>    at
> > > > > > >>>
> > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument
> > > > > > >>> (XMLDocumentFragmentScannerImpl.java:534)
> > > > > > >>>    at
> > > > > > >>
> > > com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse
> > > > > > >>> (XML11Configuration.java:888)
> > > > > > >>>    at
> > > > > > >>
> > > com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse
> > > > > > >>> (XML11Configuration.java:824)
> > > > > > >>>    at
> > com.sun.org.apache.xerces.internal.parsers.XMLParser.parse
> > > > > > >>> (XMLParser.java:141)
> > > > > > >>>    at
> > > > > >
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse
> > > > > > >>> (AbstractSAXParser.java:1216)
> > > > > > >>>    at
> > > > > > >>>
> > > > > >
> > > >
> > com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse
> > > > > > >>> (SAXParserImpl.java:635)
> > > > > > >>>    at org.xml.sax.helpers.XMLFilterImpl.parse
> > > > > (XMLFilterImpl.java:357)
> > > > > > >>>    at
> > > > > > >>>
> > > > com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0
> > > > > > >>> (UnmarshallerImpl.java:258)
> > > > > > >>>    at
> > > > > > >>
> > > com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal
> > > > > > >>> (UnmarshallerImpl.java:236)
> > > > > > >>>    at
> > > > > > >>
> > > com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal
> > > > > > >>> (UnmarshallerImpl.java:288)
> > > > > > >>>    at org.apache.openejb.jee.JaxbJavaee.unmarshalJavaee
> > > > > > >>> (JaxbJavaee.java:133)
> > > > > > >>>    at org.apache.openejb.config.ReadDescriptors.readBeans
> > > > > > >>> (ReadDescriptors.java:691)
> > > > > > >>>    at
> org.apache.openejb.config.DeploymentLoader.mergeBeansXml
> > > > > > >>> (DeploymentLoader.java:1196)
> > > > > > >>>    at org.apache.openejb.config.DeploymentLoader.addBeansXmls
> > > > > > >>> (DeploymentLoader.java:1184)
> > > > > > >>>    at
> > org.apache.openejb.config.DeploymentLoader.createWebModule
> > > > > > >>> (DeploymentLoader.java:1098)
> > > > > > >>>    at
> > org.apache.openejb.config.DeploymentLoader.createWebModule
> > > > > > >>> (DeploymentLoader.java:823)
> > > > > > >>>    at org.apache.openejb.config.DeploymentLoader.load
> > > > > > >>> (DeploymentLoader.java:234)
> > > > > > >>>    at
> > > org.apache.tomee.catalina.TomcatWebAppBuilder.loadApplication
> > > > > > >>> (TomcatWebAppBuilder.java:2347)
> > > > > > >>>    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:133)
> > > > > > >>>    at
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent
> > > > > > >>> (LifecycleBase.java:123)
> > > > > > >>>
> > > > > > >>>
> > > > > > >>>
> > > > > > >>> Am Fr., 9. Nov. 2018 um 13:27 Uhr schrieb Thomas Andraschko <
> > > > > > >>> andraschko.thomas@gmail.com>:
> > > > > > >>>
> > > > > > >>>> @Jean-Louis
> > > > > > >>>> Are you saying that TomEE8 M1 itself is not compatbile with
> > > > Java11?
> > > > > > >>>>
> > > > > > >>>> Currently trying to run my application with
> > tomee-maven-embedded
> > > > and
> > > > > > it
> > > > > > >>>> fails:
> > > > > > >>>> java.lang.IllegalStateException: Unable to initialize agent
> > > > > > >>>>        at
> > > > > > >>>>
> > > > >
> > org.apache.openejb.javaagent.Agent.checkInitialization(Agent.java:104)
> > > > > > >>>>        at
> > > > > > >>>>
> > > > org.apache.openejb.javaagent.Agent.getInstrumentation(Agent.java:94)
> > > > > > >>>>        at
> > > > > > >>>>
> > org.apache.tomee.embedded.Container.<clinit>(Container.java:128)
> > > > > > >>>>        at
> > > > > > >>>>
> > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openejb.maven.plugins.TomEEEmbeddedMojo.execute(TomEEEmbeddedMojo.java:392)
> > > > > > >>>>        at
> > > > > > >>>>
> > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
> > > > > > >>>>
> > > > > > >>>>
> > > > > > >>>> Am Do., 8. Nov. 2018 um 21:36 Uhr schrieb Romain
> Manni-Bucau <
> > > > > > >>>> rmannibucau@gmail.com>:
> > > > > > >>>>
> > > > > > >>>>> Hi JL
> > > > > > >>>>>
> > > > > > >>>>> Openjpa needs xbean upgrade but should be quick. Cxf stack
> > > needs
> > > > > some
> > > > > > >>>>> jaxb
> > > > > > >>>>> upgrades from memory. After the stack "supports" java11 as
> > "run
> > > > it"
> > > > > > but
> > > > > > >>>>> think no spec in EE is java >= 9 compatible (modules, spi
> > etc).
> > > > > > >>>>>
> > > > > > >>>>> Should be enough for tomee that said.
> > > > > > >>>>>
> > > > > > >>>>>
> > > > > > >>>>> Le jeu. 8 nov. 2018 20:27, Jean-Louis Monteiro <
> > > > > > >> jlmonteiro@tomitribe.com>
> > > > > > >>>>> a
> > > > > > >>>>> écrit :
> > > > > > >>>>>
> > > > > > >>>>>> Hey TomEE lovers,
> > > > > > >>>>>>
> > > > > > >>>>>> I would like to push the Java 11 support forward.
> > > > > > >>>>>>
> > > > > > >>>>>> I tried to gather information here and there. Here is a
> > status
> > > > > with
> > > > > > >> my
> > > > > > >>>>>> view. Please, lemme know if you have further updates or
> any
> > > > > > >> additional
> > > > > > >>>>>> information.
> > > > > > >>>>>>
> > > > > > >>>>>> XBean: ready and released
> > > > > > >>>>>> OWB: ready and released
> > > > > > >>>>>> TomEE itself (OpenEJB and other integration): ready but
> not
> > > > > released
> > > > > > >>>>> yet
> > > > > > >>>>>> OpenJPA: not clear, but looks like there is still some
> work
> > to
> > > > be
> > > > > > >> done
> > > > > > >>>>>> CXF: ready and released
> > > > > > >>>>>> MyFaces, ActiveMQ, EclipseLink, Mojorra: unknown
> > > > > > >>>>>> Tomcat: ready and released
> > > > > > >>>>>>
> > > > > > >>>>>> Are we on the same page?
> > > > > > >>>>>>
> > > > > > >>>>>> I propose to reach out to communities when libraries are
> not
> > > yet
> > > > > > >> ready
> > > > > > >>>>> or
> > > > > > >>>>>> released and see how we can help.
> > > > > > >>>>>>
> > > > > > >>>>>> Thoughts?
> > > > > > >>>>>>
> > > > > > >>>>>> --
> > > > > > >>>>>> Jean-Louis Monteiro
> > > > > > >>>>>> http://twitter.com/jlouismonteiro
> > > > > > >>>>>> http://www.tomitribe.com
> > > > > > >>>>>>
> > > > > > >>>>>
> > > > > > >>>>
> > > > > > >>
> > > > > >
> > > > >
> > >
> > --
> > --
> > Jean-Louis Monteiro
> > http://twitter.com/jlouismonteiro
> > http://www.tomitribe.com
> >
>
> <
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> >
> Virenfrei.
> www.avast.com
> <
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> >
> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>

Re: Java 11 status

Posted by Thomas Andraschko <an...@gmail.com>.
@Jean-Louis
should i create jira tickets for my 2 issues in this thread?

<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Virenfrei.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

Am So., 11. Nov. 2018 um 22:51 Uhr schrieb Jean-Louis Monteiro <
jlmonteiro@tomitribe.com>:

> If you are willing to help me, I can do it tomorrow
>
> Le dim. 11 nov. 2018 à 12:21, Romain Manni-Bucau <rm...@gmail.com> a
> écrit :
>
> > The unit tests point is likely easy to solve either using another pool or
> > just not using a pool for tests. Also the bug you fixed happens under
> some
> > particular case we can workaround using bigger pools I think.
> > Asm upgrade is really a few seds (I can help end of next week - thursday
> I
> > think - if needed).
> >
> > Overall point was to not lock an ecosystem for features not used in half
> of
> > it. Commons-[pool|dbcp] is not required dependency of openjpa so shouldnt
> > block its release and if it does we must work to fix that issue IMHO.
> >
> > Romain Manni-Bucau
> > @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> > <https://rmannibucau.metawerx.net/> | Old Blog
> > <http://rmannibucau.wordpress.com> | Github <
> > https://github.com/rmannibucau> |
> > LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
> > <
> >
> https://www.packtpub.com/application-development/java-ee-8-high-performance
> > >
> >
> >
> > Le dim. 11 nov. 2018 à 12:11, Mark Struberg <st...@yahoo.de.invalid>
> a
> > écrit :
> >
> > >  The problem is that the unit tests in OpenJPA do not pass with the old
> > > pool.
> > > So for getting OpenJPA-3.0.1 we need commons-pool.
> > > OpenJPA-3.0.0 still uses xbean-asm6. Means different package.We would
> > need
> > > to package both xbean-asm6 and xbean-asm7 if we want to ship TomEE with
> > > OpenJPA-3.0.0.
> > > LieGrue,strub
> > >
> > >     On Saturday, 10 November 2018, 22:52:48 CET, Jean-Louis Monteiro <
> > > jlmonteiro@tomitribe.com> wrote:
> > >
> > >  Agreed. Probably we don't need to wait for it. At least we could do a
> M2
> > > which is Java 11 ready.
> > >
> > >
> > >
> > > Le sam. 10 nov. 2018 à 21:49, Romain Manni-Bucau <
> rmannibucau@gmail.com>
> > a
> > > écrit :
> > >
> > > > Shouldnt be the case Mark since openjpa is not bound to a pool -
> except
> > > in
> > > > tests - and tomee default pool is not dbcp2 but tomcat-jdbc. So it is
> > > not a
> > > > requirement but more a nice to have IMHO. Also not a regression since
> > > last
> > > > release so not a blocker ;).
> > > >
> > > >
> > > > Le sam. 10 nov. 2018 21:02, Mark Struberg <struberg@yahoo.de.invalid
> >
> > a
> > > > écrit :
> > > >
> > > > >  We also need to wait for commons-pool and commons-dbcp. I fixed a
> > > > > deadlock in the pool.Only after that I'll be able to release
> OpenJPA.
> > > > > LieGrue,strub
> > > > >
> > > > >    On Friday, 9 November 2018, 21:02:13 CET, Mark Struberg
> > > > > <st...@yahoo.de.INVALID> wrote:
> > > > >
> > > > >  Right now I do a lot of OpenJPA hacking.
> > > > > One of the tasks is to also support xbean-asm7.
> > > > > That should go into openjpa-3.0.1.
> > > > >
> > > > > What is the timeframe we want to target?
> > > > >
> > > > > LieGrue,
> > > > > strub
> > > > >
> > > > >
> > > > > > Am 09.11.2018 um 14:18 schrieb Romain Manni-Bucau <
> > > > rmannibucau@gmail.com
> > > > > >:
> > > > > >
> > > > > > I don't have the list handy but tomee will need at least some
> > > > --add-opens
> > > > > > etc to run on java11 (you can add it in setenv.sh) - likely for
> > > unsafe
> > > > > and
> > > > > > the agent.
> > > > > >
> > > > > > Romain Manni-Bucau
> > > > > > @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> > > > > > <https://rmannibucau.metawerx.net/> | Old Blog
> > > > > > <http://rmannibucau.wordpress.com> | Github <
> > > > > https://github.com/rmannibucau> |
> > > > > > LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
> > > > > > <
> > > > >
> > > >
> > >
> >
> https://www.packtpub.com/application-development/java-ee-8-high-performance
> > > > > >
> > > > > >
> > > > > >
> > > > > > Le ven. 9 nov. 2018 à 14:09, Thomas Andraschko <
> > > > > andraschko.thomas@gmail.com>
> > > > > > a écrit :
> > > > > >
> > > > > >> (e.g. Tomcat and DeltaSpike still uses the old namespace it's in
> > > > > >> web/beans.xml)
> > > > > >>
> > > > > >> Am Fr., 9. Nov. 2018 um 13:35 Uhr schrieb Thomas Andraschko <
> > > > > >> andraschko.thomas@gmail.com>:
> > > > > >>
> > > > > >>> Also looks like XML unmarshalling is broken:
> > > > > >>>
> > > > > >>> Caused by: javax.xml.bind.UnmarshalException: unerwartetes
> > Element
> > > > > (URI:"
> > > > > >>> http://java.sun.com/xml/ns/javaee", lokal:"interceptors").
> > > Erwartete
> > > > > >>> Elemente
> > > > > >>> sind
> > > > <{}trim>,<{}decorators>,<{}scan>,<{}alternatives>,<{}interceptors>
> > > > > >>>    at
> > > > > >>>
> > > > >
> > >
> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.handleEvent
> > > > > >>> (UnmarshallingContext.java:744)
> > > > > >>>    at
> com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError
> > > > > >>> (Loader.java:262)
> > > > > >>>    at
> com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError
> > > > > >>> (Loader.java:257)
> > > > > >>>    at
> > > > > >>>
> > > > > >>
> > > > >
> > > >
> > >
> >
> com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportUnexpectedChildElement
> > > > > >>> (Loader.java:124)
> > > > > >>>    at
> > com.sun.xml.bind.v2.runtime.unmarshaller.Loader.childElement
> > > > > >>> (Loader.java:105)
> > > > > >>>    at
> > > > > >>>
> > > com.sun.xml.bind.v2.runtime.unmarshaller.StructureLoader.childElement
> > > > > >>> (StructureLoader.java:268)
> > > > > >>>    at
> > > > > >>>
> > > > > >>
> > > > >
> > > >
> > >
> >
> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext._startElement
> > > > > >>> (UnmarshallingContext.java:574)
> > > > > >>>    at
> > > > > >>>
> > > > > >>
> > > > >
> > > >
> > >
> >
> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.startElement
> > > > > >>> (UnmarshallingContext.java:556)
> > > > > >>>    at
> > > > > com.sun.xml.bind.v2.runtime.unmarshaller.SAXConnector.startElement
> > > > > >>> (SAXConnector.java:168)
> > > > > >>>    at org.xml.sax.helpers.XMLFilterImpl.startElement
> > > > > >>> (XMLFilterImpl.java:551)
> > > > > >>>    at
> > > > > >>>
> > > org.apache.openejb.jee.JaxbJavaee$JavaeeNamespaceFilter.startElement
> > > > > >>> (JaxbJavaee.java:293)
> > > > > >>>    at
> > > > > >>>
> > > > >
> > >
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement
> > > > > >>> (AbstractSAXParser.java:510)
> > > > > >>>    at
> > > > > >>>
> > > > > >>
> > > > >
> > > >
> > >
> >
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement
> > > > > >>> (XMLNSDocumentScannerImpl.java:374)
> > > > > >>>    at
> > > > > >>>
> > > > > >>
> > > > >
> > > >
> > >
> >
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next
> > > > > >>> (XMLDocumentFragmentScannerImpl.java:2708)
> > > > > >>>    at
> > > > > >>
> > com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next
> > > > > >>> (XMLDocumentScannerImpl.java:605)
> > > > > >>>    at
> > > > > >>>
> > > com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next
> > > > > >>> (XMLNSDocumentScannerImpl.java:112)
> > > > > >>>    at
> > > > > >>>
> > > > > >>
> > > > >
> > > >
> > >
> >
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument
> > > > > >>> (XMLDocumentFragmentScannerImpl.java:534)
> > > > > >>>    at
> > > > > >>
> > com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse
> > > > > >>> (XML11Configuration.java:888)
> > > > > >>>    at
> > > > > >>
> > com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse
> > > > > >>> (XML11Configuration.java:824)
> > > > > >>>    at
> com.sun.org.apache.xerces.internal.parsers.XMLParser.parse
> > > > > >>> (XMLParser.java:141)
> > > > > >>>    at
> > > > > com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse
> > > > > >>> (AbstractSAXParser.java:1216)
> > > > > >>>    at
> > > > > >>>
> > > > >
> > >
> com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse
> > > > > >>> (SAXParserImpl.java:635)
> > > > > >>>    at org.xml.sax.helpers.XMLFilterImpl.parse
> > > > (XMLFilterImpl.java:357)
> > > > > >>>    at
> > > > > >>>
> > > com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0
> > > > > >>> (UnmarshallerImpl.java:258)
> > > > > >>>    at
> > > > > >>
> > com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal
> > > > > >>> (UnmarshallerImpl.java:236)
> > > > > >>>    at
> > > > > >>
> > com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal
> > > > > >>> (UnmarshallerImpl.java:288)
> > > > > >>>    at org.apache.openejb.jee.JaxbJavaee.unmarshalJavaee
> > > > > >>> (JaxbJavaee.java:133)
> > > > > >>>    at org.apache.openejb.config.ReadDescriptors.readBeans
> > > > > >>> (ReadDescriptors.java:691)
> > > > > >>>    at org.apache.openejb.config.DeploymentLoader.mergeBeansXml
> > > > > >>> (DeploymentLoader.java:1196)
> > > > > >>>    at org.apache.openejb.config.DeploymentLoader.addBeansXmls
> > > > > >>> (DeploymentLoader.java:1184)
> > > > > >>>    at
> org.apache.openejb.config.DeploymentLoader.createWebModule
> > > > > >>> (DeploymentLoader.java:1098)
> > > > > >>>    at
> org.apache.openejb.config.DeploymentLoader.createWebModule
> > > > > >>> (DeploymentLoader.java:823)
> > > > > >>>    at org.apache.openejb.config.DeploymentLoader.load
> > > > > >>> (DeploymentLoader.java:234)
> > > > > >>>    at
> > org.apache.tomee.catalina.TomcatWebAppBuilder.loadApplication
> > > > > >>> (TomcatWebAppBuilder.java:2347)
> > > > > >>>    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:133)
> > > > > >>>    at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent
> > > > > >>> (LifecycleBase.java:123)
> > > > > >>>
> > > > > >>>
> > > > > >>>
> > > > > >>> Am Fr., 9. Nov. 2018 um 13:27 Uhr schrieb Thomas Andraschko <
> > > > > >>> andraschko.thomas@gmail.com>:
> > > > > >>>
> > > > > >>>> @Jean-Louis
> > > > > >>>> Are you saying that TomEE8 M1 itself is not compatbile with
> > > Java11?
> > > > > >>>>
> > > > > >>>> Currently trying to run my application with
> tomee-maven-embedded
> > > and
> > > > > it
> > > > > >>>> fails:
> > > > > >>>> java.lang.IllegalStateException: Unable to initialize agent
> > > > > >>>>        at
> > > > > >>>>
> > > >
> org.apache.openejb.javaagent.Agent.checkInitialization(Agent.java:104)
> > > > > >>>>        at
> > > > > >>>>
> > > org.apache.openejb.javaagent.Agent.getInstrumentation(Agent.java:94)
> > > > > >>>>        at
> > > > > >>>>
> org.apache.tomee.embedded.Container.<clinit>(Container.java:128)
> > > > > >>>>        at
> > > > > >>>>
> > > > > >>
> > > > >
> > > >
> > >
> >
> org.apache.openejb.maven.plugins.TomEEEmbeddedMojo.execute(TomEEEmbeddedMojo.java:392)
> > > > > >>>>        at
> > > > > >>>>
> > > > > >>
> > > > >
> > > >
> > >
> >
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
> > > > > >>>>
> > > > > >>>>
> > > > > >>>> Am Do., 8. Nov. 2018 um 21:36 Uhr schrieb Romain Manni-Bucau <
> > > > > >>>> rmannibucau@gmail.com>:
> > > > > >>>>
> > > > > >>>>> Hi JL
> > > > > >>>>>
> > > > > >>>>> Openjpa needs xbean upgrade but should be quick. Cxf stack
> > needs
> > > > some
> > > > > >>>>> jaxb
> > > > > >>>>> upgrades from memory. After the stack "supports" java11 as
> "run
> > > it"
> > > > > but
> > > > > >>>>> think no spec in EE is java >= 9 compatible (modules, spi
> etc).
> > > > > >>>>>
> > > > > >>>>> Should be enough for tomee that said.
> > > > > >>>>>
> > > > > >>>>>
> > > > > >>>>> Le jeu. 8 nov. 2018 20:27, Jean-Louis Monteiro <
> > > > > >> jlmonteiro@tomitribe.com>
> > > > > >>>>> a
> > > > > >>>>> écrit :
> > > > > >>>>>
> > > > > >>>>>> Hey TomEE lovers,
> > > > > >>>>>>
> > > > > >>>>>> I would like to push the Java 11 support forward.
> > > > > >>>>>>
> > > > > >>>>>> I tried to gather information here and there. Here is a
> status
> > > > with
> > > > > >> my
> > > > > >>>>>> view. Please, lemme know if you have further updates or any
> > > > > >> additional
> > > > > >>>>>> information.
> > > > > >>>>>>
> > > > > >>>>>> XBean: ready and released
> > > > > >>>>>> OWB: ready and released
> > > > > >>>>>> TomEE itself (OpenEJB and other integration): ready but not
> > > > released
> > > > > >>>>> yet
> > > > > >>>>>> OpenJPA: not clear, but looks like there is still some work
> to
> > > be
> > > > > >> done
> > > > > >>>>>> CXF: ready and released
> > > > > >>>>>> MyFaces, ActiveMQ, EclipseLink, Mojorra: unknown
> > > > > >>>>>> Tomcat: ready and released
> > > > > >>>>>>
> > > > > >>>>>> Are we on the same page?
> > > > > >>>>>>
> > > > > >>>>>> I propose to reach out to communities when libraries are not
> > yet
> > > > > >> ready
> > > > > >>>>> or
> > > > > >>>>>> released and see how we can help.
> > > > > >>>>>>
> > > > > >>>>>> Thoughts?
> > > > > >>>>>>
> > > > > >>>>>> --
> > > > > >>>>>> Jean-Louis Monteiro
> > > > > >>>>>> http://twitter.com/jlouismonteiro
> > > > > >>>>>> http://www.tomitribe.com
> > > > > >>>>>>
> > > > > >>>>>
> > > > > >>>>
> > > > > >>
> > > > >
> > > >
> >
> --
> --
> Jean-Louis Monteiro
> http://twitter.com/jlouismonteiro
> http://www.tomitribe.com
>

<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Virenfrei.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

Re: Java 11 status

Posted by Jean-Louis Monteiro <jl...@tomitribe.com>.
If you are willing to help me, I can do it tomorrow

Le dim. 11 nov. 2018 à 12:21, Romain Manni-Bucau <rm...@gmail.com> a
écrit :

> The unit tests point is likely easy to solve either using another pool or
> just not using a pool for tests. Also the bug you fixed happens under some
> particular case we can workaround using bigger pools I think.
> Asm upgrade is really a few seds (I can help end of next week - thursday I
> think - if needed).
>
> Overall point was to not lock an ecosystem for features not used in half of
> it. Commons-[pool|dbcp] is not required dependency of openjpa so shouldnt
> block its release and if it does we must work to fix that issue IMHO.
>
> Romain Manni-Bucau
> @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> <https://rmannibucau.metawerx.net/> | Old Blog
> <http://rmannibucau.wordpress.com> | Github <
> https://github.com/rmannibucau> |
> LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
> <
> https://www.packtpub.com/application-development/java-ee-8-high-performance
> >
>
>
> Le dim. 11 nov. 2018 à 12:11, Mark Struberg <st...@yahoo.de.invalid> a
> écrit :
>
> >  The problem is that the unit tests in OpenJPA do not pass with the old
> > pool.
> > So for getting OpenJPA-3.0.1 we need commons-pool.
> > OpenJPA-3.0.0 still uses xbean-asm6. Means different package.We would
> need
> > to package both xbean-asm6 and xbean-asm7 if we want to ship TomEE with
> > OpenJPA-3.0.0.
> > LieGrue,strub
> >
> >     On Saturday, 10 November 2018, 22:52:48 CET, Jean-Louis Monteiro <
> > jlmonteiro@tomitribe.com> wrote:
> >
> >  Agreed. Probably we don't need to wait for it. At least we could do a M2
> > which is Java 11 ready.
> >
> >
> >
> > Le sam. 10 nov. 2018 à 21:49, Romain Manni-Bucau <rm...@gmail.com>
> a
> > écrit :
> >
> > > Shouldnt be the case Mark since openjpa is not bound to a pool - except
> > in
> > > tests - and tomee default pool is not dbcp2 but tomcat-jdbc. So it is
> > not a
> > > requirement but more a nice to have IMHO. Also not a regression since
> > last
> > > release so not a blocker ;).
> > >
> > >
> > > Le sam. 10 nov. 2018 21:02, Mark Struberg <st...@yahoo.de.invalid>
> a
> > > écrit :
> > >
> > > >  We also need to wait for commons-pool and commons-dbcp. I fixed a
> > > > deadlock in the pool.Only after that I'll be able to release OpenJPA.
> > > > LieGrue,strub
> > > >
> > > >    On Friday, 9 November 2018, 21:02:13 CET, Mark Struberg
> > > > <st...@yahoo.de.INVALID> wrote:
> > > >
> > > >  Right now I do a lot of OpenJPA hacking.
> > > > One of the tasks is to also support xbean-asm7.
> > > > That should go into openjpa-3.0.1.
> > > >
> > > > What is the timeframe we want to target?
> > > >
> > > > LieGrue,
> > > > strub
> > > >
> > > >
> > > > > Am 09.11.2018 um 14:18 schrieb Romain Manni-Bucau <
> > > rmannibucau@gmail.com
> > > > >:
> > > > >
> > > > > I don't have the list handy but tomee will need at least some
> > > --add-opens
> > > > > etc to run on java11 (you can add it in setenv.sh) - likely for
> > unsafe
> > > > and
> > > > > the agent.
> > > > >
> > > > > Romain Manni-Bucau
> > > > > @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> > > > > <https://rmannibucau.metawerx.net/> | Old Blog
> > > > > <http://rmannibucau.wordpress.com> | Github <
> > > > https://github.com/rmannibucau> |
> > > > > LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
> > > > > <
> > > >
> > >
> >
> https://www.packtpub.com/application-development/java-ee-8-high-performance
> > > > >
> > > > >
> > > > >
> > > > > Le ven. 9 nov. 2018 à 14:09, Thomas Andraschko <
> > > > andraschko.thomas@gmail.com>
> > > > > a écrit :
> > > > >
> > > > >> (e.g. Tomcat and DeltaSpike still uses the old namespace it's in
> > > > >> web/beans.xml)
> > > > >>
> > > > >> Am Fr., 9. Nov. 2018 um 13:35 Uhr schrieb Thomas Andraschko <
> > > > >> andraschko.thomas@gmail.com>:
> > > > >>
> > > > >>> Also looks like XML unmarshalling is broken:
> > > > >>>
> > > > >>> Caused by: javax.xml.bind.UnmarshalException: unerwartetes
> Element
> > > > (URI:"
> > > > >>> http://java.sun.com/xml/ns/javaee", lokal:"interceptors").
> > Erwartete
> > > > >>> Elemente
> > > > >>> sind
> > > <{}trim>,<{}decorators>,<{}scan>,<{}alternatives>,<{}interceptors>
> > > > >>>    at
> > > > >>>
> > > >
> > com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.handleEvent
> > > > >>> (UnmarshallingContext.java:744)
> > > > >>>    at com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError
> > > > >>> (Loader.java:262)
> > > > >>>    at com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError
> > > > >>> (Loader.java:257)
> > > > >>>    at
> > > > >>>
> > > > >>
> > > >
> > >
> >
> com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportUnexpectedChildElement
> > > > >>> (Loader.java:124)
> > > > >>>    at
> com.sun.xml.bind.v2.runtime.unmarshaller.Loader.childElement
> > > > >>> (Loader.java:105)
> > > > >>>    at
> > > > >>>
> > com.sun.xml.bind.v2.runtime.unmarshaller.StructureLoader.childElement
> > > > >>> (StructureLoader.java:268)
> > > > >>>    at
> > > > >>>
> > > > >>
> > > >
> > >
> >
> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext._startElement
> > > > >>> (UnmarshallingContext.java:574)
> > > > >>>    at
> > > > >>>
> > > > >>
> > > >
> > >
> >
> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.startElement
> > > > >>> (UnmarshallingContext.java:556)
> > > > >>>    at
> > > > com.sun.xml.bind.v2.runtime.unmarshaller.SAXConnector.startElement
> > > > >>> (SAXConnector.java:168)
> > > > >>>    at org.xml.sax.helpers.XMLFilterImpl.startElement
> > > > >>> (XMLFilterImpl.java:551)
> > > > >>>    at
> > > > >>>
> > org.apache.openejb.jee.JaxbJavaee$JavaeeNamespaceFilter.startElement
> > > > >>> (JaxbJavaee.java:293)
> > > > >>>    at
> > > > >>>
> > > >
> > com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement
> > > > >>> (AbstractSAXParser.java:510)
> > > > >>>    at
> > > > >>>
> > > > >>
> > > >
> > >
> >
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement
> > > > >>> (XMLNSDocumentScannerImpl.java:374)
> > > > >>>    at
> > > > >>>
> > > > >>
> > > >
> > >
> >
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next
> > > > >>> (XMLDocumentFragmentScannerImpl.java:2708)
> > > > >>>    at
> > > > >>
> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next
> > > > >>> (XMLDocumentScannerImpl.java:605)
> > > > >>>    at
> > > > >>>
> > com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next
> > > > >>> (XMLNSDocumentScannerImpl.java:112)
> > > > >>>    at
> > > > >>>
> > > > >>
> > > >
> > >
> >
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument
> > > > >>> (XMLDocumentFragmentScannerImpl.java:534)
> > > > >>>    at
> > > > >>
> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse
> > > > >>> (XML11Configuration.java:888)
> > > > >>>    at
> > > > >>
> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse
> > > > >>> (XML11Configuration.java:824)
> > > > >>>    at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse
> > > > >>> (XMLParser.java:141)
> > > > >>>    at
> > > > com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse
> > > > >>> (AbstractSAXParser.java:1216)
> > > > >>>    at
> > > > >>>
> > > >
> > com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse
> > > > >>> (SAXParserImpl.java:635)
> > > > >>>    at org.xml.sax.helpers.XMLFilterImpl.parse
> > > (XMLFilterImpl.java:357)
> > > > >>>    at
> > > > >>>
> > com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0
> > > > >>> (UnmarshallerImpl.java:258)
> > > > >>>    at
> > > > >>
> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal
> > > > >>> (UnmarshallerImpl.java:236)
> > > > >>>    at
> > > > >>
> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal
> > > > >>> (UnmarshallerImpl.java:288)
> > > > >>>    at org.apache.openejb.jee.JaxbJavaee.unmarshalJavaee
> > > > >>> (JaxbJavaee.java:133)
> > > > >>>    at org.apache.openejb.config.ReadDescriptors.readBeans
> > > > >>> (ReadDescriptors.java:691)
> > > > >>>    at org.apache.openejb.config.DeploymentLoader.mergeBeansXml
> > > > >>> (DeploymentLoader.java:1196)
> > > > >>>    at org.apache.openejb.config.DeploymentLoader.addBeansXmls
> > > > >>> (DeploymentLoader.java:1184)
> > > > >>>    at org.apache.openejb.config.DeploymentLoader.createWebModule
> > > > >>> (DeploymentLoader.java:1098)
> > > > >>>    at org.apache.openejb.config.DeploymentLoader.createWebModule
> > > > >>> (DeploymentLoader.java:823)
> > > > >>>    at org.apache.openejb.config.DeploymentLoader.load
> > > > >>> (DeploymentLoader.java:234)
> > > > >>>    at
> org.apache.tomee.catalina.TomcatWebAppBuilder.loadApplication
> > > > >>> (TomcatWebAppBuilder.java:2347)
> > > > >>>    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:133)
> > > > >>>    at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent
> > > > >>> (LifecycleBase.java:123)
> > > > >>>
> > > > >>>
> > > > >>>
> > > > >>> Am Fr., 9. Nov. 2018 um 13:27 Uhr schrieb Thomas Andraschko <
> > > > >>> andraschko.thomas@gmail.com>:
> > > > >>>
> > > > >>>> @Jean-Louis
> > > > >>>> Are you saying that TomEE8 M1 itself is not compatbile with
> > Java11?
> > > > >>>>
> > > > >>>> Currently trying to run my application with tomee-maven-embedded
> > and
> > > > it
> > > > >>>> fails:
> > > > >>>> java.lang.IllegalStateException: Unable to initialize agent
> > > > >>>>        at
> > > > >>>>
> > > org.apache.openejb.javaagent.Agent.checkInitialization(Agent.java:104)
> > > > >>>>        at
> > > > >>>>
> > org.apache.openejb.javaagent.Agent.getInstrumentation(Agent.java:94)
> > > > >>>>        at
> > > > >>>> org.apache.tomee.embedded.Container.<clinit>(Container.java:128)
> > > > >>>>        at
> > > > >>>>
> > > > >>
> > > >
> > >
> >
> org.apache.openejb.maven.plugins.TomEEEmbeddedMojo.execute(TomEEEmbeddedMojo.java:392)
> > > > >>>>        at
> > > > >>>>
> > > > >>
> > > >
> > >
> >
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
> > > > >>>>
> > > > >>>>
> > > > >>>> Am Do., 8. Nov. 2018 um 21:36 Uhr schrieb Romain Manni-Bucau <
> > > > >>>> rmannibucau@gmail.com>:
> > > > >>>>
> > > > >>>>> Hi JL
> > > > >>>>>
> > > > >>>>> Openjpa needs xbean upgrade but should be quick. Cxf stack
> needs
> > > some
> > > > >>>>> jaxb
> > > > >>>>> upgrades from memory. After the stack "supports" java11 as "run
> > it"
> > > > but
> > > > >>>>> think no spec in EE is java >= 9 compatible (modules, spi etc).
> > > > >>>>>
> > > > >>>>> Should be enough for tomee that said.
> > > > >>>>>
> > > > >>>>>
> > > > >>>>> Le jeu. 8 nov. 2018 20:27, Jean-Louis Monteiro <
> > > > >> jlmonteiro@tomitribe.com>
> > > > >>>>> a
> > > > >>>>> écrit :
> > > > >>>>>
> > > > >>>>>> Hey TomEE lovers,
> > > > >>>>>>
> > > > >>>>>> I would like to push the Java 11 support forward.
> > > > >>>>>>
> > > > >>>>>> I tried to gather information here and there. Here is a status
> > > with
> > > > >> my
> > > > >>>>>> view. Please, lemme know if you have further updates or any
> > > > >> additional
> > > > >>>>>> information.
> > > > >>>>>>
> > > > >>>>>> XBean: ready and released
> > > > >>>>>> OWB: ready and released
> > > > >>>>>> TomEE itself (OpenEJB and other integration): ready but not
> > > released
> > > > >>>>> yet
> > > > >>>>>> OpenJPA: not clear, but looks like there is still some work to
> > be
> > > > >> done
> > > > >>>>>> CXF: ready and released
> > > > >>>>>> MyFaces, ActiveMQ, EclipseLink, Mojorra: unknown
> > > > >>>>>> Tomcat: ready and released
> > > > >>>>>>
> > > > >>>>>> Are we on the same page?
> > > > >>>>>>
> > > > >>>>>> I propose to reach out to communities when libraries are not
> yet
> > > > >> ready
> > > > >>>>> or
> > > > >>>>>> released and see how we can help.
> > > > >>>>>>
> > > > >>>>>> Thoughts?
> > > > >>>>>>
> > > > >>>>>> --
> > > > >>>>>> Jean-Louis Monteiro
> > > > >>>>>> http://twitter.com/jlouismonteiro
> > > > >>>>>> http://www.tomitribe.com
> > > > >>>>>>
> > > > >>>>>
> > > > >>>>
> > > > >>
> > > >
> > >
>
-- 
--
Jean-Louis Monteiro
http://twitter.com/jlouismonteiro
http://www.tomitribe.com

Re: Java 11 status

Posted by Romain Manni-Bucau <rm...@gmail.com>.
The unit tests point is likely easy to solve either using another pool or
just not using a pool for tests. Also the bug you fixed happens under some
particular case we can workaround using bigger pools I think.
Asm upgrade is really a few seds (I can help end of next week - thursday I
think - if needed).

Overall point was to not lock an ecosystem for features not used in half of
it. Commons-[pool|dbcp] is not required dependency of openjpa so shouldnt
block its release and if it does we must work to fix that issue IMHO.

Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<https://rmannibucau.metawerx.net/> | Old Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
<https://www.packtpub.com/application-development/java-ee-8-high-performance>


Le dim. 11 nov. 2018 à 12:11, Mark Struberg <st...@yahoo.de.invalid> a
écrit :

>  The problem is that the unit tests in OpenJPA do not pass with the old
> pool.
> So for getting OpenJPA-3.0.1 we need commons-pool.
> OpenJPA-3.0.0 still uses xbean-asm6. Means different package.We would need
> to package both xbean-asm6 and xbean-asm7 if we want to ship TomEE with
> OpenJPA-3.0.0.
> LieGrue,strub
>
>     On Saturday, 10 November 2018, 22:52:48 CET, Jean-Louis Monteiro <
> jlmonteiro@tomitribe.com> wrote:
>
>  Agreed. Probably we don't need to wait for it. At least we could do a M2
> which is Java 11 ready.
>
>
>
> Le sam. 10 nov. 2018 à 21:49, Romain Manni-Bucau <rm...@gmail.com> a
> écrit :
>
> > Shouldnt be the case Mark since openjpa is not bound to a pool - except
> in
> > tests - and tomee default pool is not dbcp2 but tomcat-jdbc. So it is
> not a
> > requirement but more a nice to have IMHO. Also not a regression since
> last
> > release so not a blocker ;).
> >
> >
> > Le sam. 10 nov. 2018 21:02, Mark Struberg <st...@yahoo.de.invalid> a
> > écrit :
> >
> > >  We also need to wait for commons-pool and commons-dbcp. I fixed a
> > > deadlock in the pool.Only after that I'll be able to release OpenJPA.
> > > LieGrue,strub
> > >
> > >    On Friday, 9 November 2018, 21:02:13 CET, Mark Struberg
> > > <st...@yahoo.de.INVALID> wrote:
> > >
> > >  Right now I do a lot of OpenJPA hacking.
> > > One of the tasks is to also support xbean-asm7.
> > > That should go into openjpa-3.0.1.
> > >
> > > What is the timeframe we want to target?
> > >
> > > LieGrue,
> > > strub
> > >
> > >
> > > > Am 09.11.2018 um 14:18 schrieb Romain Manni-Bucau <
> > rmannibucau@gmail.com
> > > >:
> > > >
> > > > I don't have the list handy but tomee will need at least some
> > --add-opens
> > > > etc to run on java11 (you can add it in setenv.sh) - likely for
> unsafe
> > > and
> > > > the agent.
> > > >
> > > > Romain Manni-Bucau
> > > > @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> > > > <https://rmannibucau.metawerx.net/> | Old Blog
> > > > <http://rmannibucau.wordpress.com> | Github <
> > > https://github.com/rmannibucau> |
> > > > LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
> > > > <
> > >
> >
> https://www.packtpub.com/application-development/java-ee-8-high-performance
> > > >
> > > >
> > > >
> > > > Le ven. 9 nov. 2018 à 14:09, Thomas Andraschko <
> > > andraschko.thomas@gmail.com>
> > > > a écrit :
> > > >
> > > >> (e.g. Tomcat and DeltaSpike still uses the old namespace it's in
> > > >> web/beans.xml)
> > > >>
> > > >> Am Fr., 9. Nov. 2018 um 13:35 Uhr schrieb Thomas Andraschko <
> > > >> andraschko.thomas@gmail.com>:
> > > >>
> > > >>> Also looks like XML unmarshalling is broken:
> > > >>>
> > > >>> Caused by: javax.xml.bind.UnmarshalException: unerwartetes Element
> > > (URI:"
> > > >>> http://java.sun.com/xml/ns/javaee", lokal:"interceptors").
> Erwartete
> > > >>> Elemente
> > > >>> sind
> > <{}trim>,<{}decorators>,<{}scan>,<{}alternatives>,<{}interceptors>
> > > >>>    at
> > > >>>
> > >
> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.handleEvent
> > > >>> (UnmarshallingContext.java:744)
> > > >>>    at com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError
> > > >>> (Loader.java:262)
> > > >>>    at com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError
> > > >>> (Loader.java:257)
> > > >>>    at
> > > >>>
> > > >>
> > >
> >
> com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportUnexpectedChildElement
> > > >>> (Loader.java:124)
> > > >>>    at com.sun.xml.bind.v2.runtime.unmarshaller.Loader.childElement
> > > >>> (Loader.java:105)
> > > >>>    at
> > > >>>
> com.sun.xml.bind.v2.runtime.unmarshaller.StructureLoader.childElement
> > > >>> (StructureLoader.java:268)
> > > >>>    at
> > > >>>
> > > >>
> > >
> >
> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext._startElement
> > > >>> (UnmarshallingContext.java:574)
> > > >>>    at
> > > >>>
> > > >>
> > >
> >
> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.startElement
> > > >>> (UnmarshallingContext.java:556)
> > > >>>    at
> > > com.sun.xml.bind.v2.runtime.unmarshaller.SAXConnector.startElement
> > > >>> (SAXConnector.java:168)
> > > >>>    at org.xml.sax.helpers.XMLFilterImpl.startElement
> > > >>> (XMLFilterImpl.java:551)
> > > >>>    at
> > > >>>
> org.apache.openejb.jee.JaxbJavaee$JavaeeNamespaceFilter.startElement
> > > >>> (JaxbJavaee.java:293)
> > > >>>    at
> > > >>>
> > >
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement
> > > >>> (AbstractSAXParser.java:510)
> > > >>>    at
> > > >>>
> > > >>
> > >
> >
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement
> > > >>> (XMLNSDocumentScannerImpl.java:374)
> > > >>>    at
> > > >>>
> > > >>
> > >
> >
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next
> > > >>> (XMLDocumentFragmentScannerImpl.java:2708)
> > > >>>    at
> > > >> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next
> > > >>> (XMLDocumentScannerImpl.java:605)
> > > >>>    at
> > > >>>
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next
> > > >>> (XMLNSDocumentScannerImpl.java:112)
> > > >>>    at
> > > >>>
> > > >>
> > >
> >
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument
> > > >>> (XMLDocumentFragmentScannerImpl.java:534)
> > > >>>    at
> > > >> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse
> > > >>> (XML11Configuration.java:888)
> > > >>>    at
> > > >> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse
> > > >>> (XML11Configuration.java:824)
> > > >>>    at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse
> > > >>> (XMLParser.java:141)
> > > >>>    at
> > > com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse
> > > >>> (AbstractSAXParser.java:1216)
> > > >>>    at
> > > >>>
> > >
> com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse
> > > >>> (SAXParserImpl.java:635)
> > > >>>    at org.xml.sax.helpers.XMLFilterImpl.parse
> > (XMLFilterImpl.java:357)
> > > >>>    at
> > > >>>
> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0
> > > >>> (UnmarshallerImpl.java:258)
> > > >>>    at
> > > >> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal
> > > >>> (UnmarshallerImpl.java:236)
> > > >>>    at
> > > >> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal
> > > >>> (UnmarshallerImpl.java:288)
> > > >>>    at org.apache.openejb.jee.JaxbJavaee.unmarshalJavaee
> > > >>> (JaxbJavaee.java:133)
> > > >>>    at org.apache.openejb.config.ReadDescriptors.readBeans
> > > >>> (ReadDescriptors.java:691)
> > > >>>    at org.apache.openejb.config.DeploymentLoader.mergeBeansXml
> > > >>> (DeploymentLoader.java:1196)
> > > >>>    at org.apache.openejb.config.DeploymentLoader.addBeansXmls
> > > >>> (DeploymentLoader.java:1184)
> > > >>>    at org.apache.openejb.config.DeploymentLoader.createWebModule
> > > >>> (DeploymentLoader.java:1098)
> > > >>>    at org.apache.openejb.config.DeploymentLoader.createWebModule
> > > >>> (DeploymentLoader.java:823)
> > > >>>    at org.apache.openejb.config.DeploymentLoader.load
> > > >>> (DeploymentLoader.java:234)
> > > >>>    at org.apache.tomee.catalina.TomcatWebAppBuilder.loadApplication
> > > >>> (TomcatWebAppBuilder.java:2347)
> > > >>>    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:133)
> > > >>>    at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent
> > > >>> (LifecycleBase.java:123)
> > > >>>
> > > >>>
> > > >>>
> > > >>> Am Fr., 9. Nov. 2018 um 13:27 Uhr schrieb Thomas Andraschko <
> > > >>> andraschko.thomas@gmail.com>:
> > > >>>
> > > >>>> @Jean-Louis
> > > >>>> Are you saying that TomEE8 M1 itself is not compatbile with
> Java11?
> > > >>>>
> > > >>>> Currently trying to run my application with tomee-maven-embedded
> and
> > > it
> > > >>>> fails:
> > > >>>> java.lang.IllegalStateException: Unable to initialize agent
> > > >>>>        at
> > > >>>>
> > org.apache.openejb.javaagent.Agent.checkInitialization(Agent.java:104)
> > > >>>>        at
> > > >>>>
> org.apache.openejb.javaagent.Agent.getInstrumentation(Agent.java:94)
> > > >>>>        at
> > > >>>> org.apache.tomee.embedded.Container.<clinit>(Container.java:128)
> > > >>>>        at
> > > >>>>
> > > >>
> > >
> >
> org.apache.openejb.maven.plugins.TomEEEmbeddedMojo.execute(TomEEEmbeddedMojo.java:392)
> > > >>>>        at
> > > >>>>
> > > >>
> > >
> >
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
> > > >>>>
> > > >>>>
> > > >>>> Am Do., 8. Nov. 2018 um 21:36 Uhr schrieb Romain Manni-Bucau <
> > > >>>> rmannibucau@gmail.com>:
> > > >>>>
> > > >>>>> Hi JL
> > > >>>>>
> > > >>>>> Openjpa needs xbean upgrade but should be quick. Cxf stack needs
> > some
> > > >>>>> jaxb
> > > >>>>> upgrades from memory. After the stack "supports" java11 as "run
> it"
> > > but
> > > >>>>> think no spec in EE is java >= 9 compatible (modules, spi etc).
> > > >>>>>
> > > >>>>> Should be enough for tomee that said.
> > > >>>>>
> > > >>>>>
> > > >>>>> Le jeu. 8 nov. 2018 20:27, Jean-Louis Monteiro <
> > > >> jlmonteiro@tomitribe.com>
> > > >>>>> a
> > > >>>>> écrit :
> > > >>>>>
> > > >>>>>> Hey TomEE lovers,
> > > >>>>>>
> > > >>>>>> I would like to push the Java 11 support forward.
> > > >>>>>>
> > > >>>>>> I tried to gather information here and there. Here is a status
> > with
> > > >> my
> > > >>>>>> view. Please, lemme know if you have further updates or any
> > > >> additional
> > > >>>>>> information.
> > > >>>>>>
> > > >>>>>> XBean: ready and released
> > > >>>>>> OWB: ready and released
> > > >>>>>> TomEE itself (OpenEJB and other integration): ready but not
> > released
> > > >>>>> yet
> > > >>>>>> OpenJPA: not clear, but looks like there is still some work to
> be
> > > >> done
> > > >>>>>> CXF: ready and released
> > > >>>>>> MyFaces, ActiveMQ, EclipseLink, Mojorra: unknown
> > > >>>>>> Tomcat: ready and released
> > > >>>>>>
> > > >>>>>> Are we on the same page?
> > > >>>>>>
> > > >>>>>> I propose to reach out to communities when libraries are not yet
> > > >> ready
> > > >>>>> or
> > > >>>>>> released and see how we can help.
> > > >>>>>>
> > > >>>>>> Thoughts?
> > > >>>>>>
> > > >>>>>> --
> > > >>>>>> Jean-Louis Monteiro
> > > >>>>>> http://twitter.com/jlouismonteiro
> > > >>>>>> http://www.tomitribe.com
> > > >>>>>>
> > > >>>>>
> > > >>>>
> > > >>
> > >
> >

Re: Java 11 status

Posted by Mark Struberg <st...@yahoo.de.INVALID>.
 The problem is that the unit tests in OpenJPA do not pass with the old pool. 
So for getting OpenJPA-3.0.1 we need commons-pool. 
OpenJPA-3.0.0 still uses xbean-asm6. Means different package.We would need to package both xbean-asm6 and xbean-asm7 if we want to ship TomEE with OpenJPA-3.0.0.
LieGrue,strub

    On Saturday, 10 November 2018, 22:52:48 CET, Jean-Louis Monteiro <jl...@tomitribe.com> wrote:  
 
 Agreed. Probably we don't need to wait for it. At least we could do a M2
which is Java 11 ready.



Le sam. 10 nov. 2018 à 21:49, Romain Manni-Bucau <rm...@gmail.com> a
écrit :

> Shouldnt be the case Mark since openjpa is not bound to a pool - except in
> tests - and tomee default pool is not dbcp2 but tomcat-jdbc. So it is not a
> requirement but more a nice to have IMHO. Also not a regression since last
> release so not a blocker ;).
>
>
> Le sam. 10 nov. 2018 21:02, Mark Struberg <st...@yahoo.de.invalid> a
> écrit :
>
> >  We also need to wait for commons-pool and commons-dbcp. I fixed a
> > deadlock in the pool.Only after that I'll be able to release OpenJPA.
> > LieGrue,strub
> >
> >    On Friday, 9 November 2018, 21:02:13 CET, Mark Struberg
> > <st...@yahoo.de.INVALID> wrote:
> >
> >  Right now I do a lot of OpenJPA hacking.
> > One of the tasks is to also support xbean-asm7.
> > That should go into openjpa-3.0.1.
> >
> > What is the timeframe we want to target?
> >
> > LieGrue,
> > strub
> >
> >
> > > Am 09.11.2018 um 14:18 schrieb Romain Manni-Bucau <
> rmannibucau@gmail.com
> > >:
> > >
> > > I don't have the list handy but tomee will need at least some
> --add-opens
> > > etc to run on java11 (you can add it in setenv.sh) - likely for unsafe
> > and
> > > the agent.
> > >
> > > Romain Manni-Bucau
> > > @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> > > <https://rmannibucau.metawerx.net/> | Old Blog
> > > <http://rmannibucau.wordpress.com> | Github <
> > https://github.com/rmannibucau> |
> > > LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
> > > <
> >
> https://www.packtpub.com/application-development/java-ee-8-high-performance
> > >
> > >
> > >
> > > Le ven. 9 nov. 2018 à 14:09, Thomas Andraschko <
> > andraschko.thomas@gmail.com>
> > > a écrit :
> > >
> > >> (e.g. Tomcat and DeltaSpike still uses the old namespace it's in
> > >> web/beans.xml)
> > >>
> > >> Am Fr., 9. Nov. 2018 um 13:35 Uhr schrieb Thomas Andraschko <
> > >> andraschko.thomas@gmail.com>:
> > >>
> > >>> Also looks like XML unmarshalling is broken:
> > >>>
> > >>> Caused by: javax.xml.bind.UnmarshalException: unerwartetes Element
> > (URI:"
> > >>> http://java.sun.com/xml/ns/javaee", lokal:"interceptors"). Erwartete
> > >>> Elemente
> > >>> sind
> <{}trim>,<{}decorators>,<{}scan>,<{}alternatives>,<{}interceptors>
> > >>>    at
> > >>>
> > com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.handleEvent
> > >>> (UnmarshallingContext.java:744)
> > >>>    at com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError
> > >>> (Loader.java:262)
> > >>>    at com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError
> > >>> (Loader.java:257)
> > >>>    at
> > >>>
> > >>
> >
> com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportUnexpectedChildElement
> > >>> (Loader.java:124)
> > >>>    at com.sun.xml.bind.v2.runtime.unmarshaller.Loader.childElement
> > >>> (Loader.java:105)
> > >>>    at
> > >>> com.sun.xml.bind.v2.runtime.unmarshaller.StructureLoader.childElement
> > >>> (StructureLoader.java:268)
> > >>>    at
> > >>>
> > >>
> >
> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext._startElement
> > >>> (UnmarshallingContext.java:574)
> > >>>    at
> > >>>
> > >>
> >
> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.startElement
> > >>> (UnmarshallingContext.java:556)
> > >>>    at
> > com.sun.xml.bind.v2.runtime.unmarshaller.SAXConnector.startElement
> > >>> (SAXConnector.java:168)
> > >>>    at org.xml.sax.helpers.XMLFilterImpl.startElement
> > >>> (XMLFilterImpl.java:551)
> > >>>    at
> > >>> org.apache.openejb.jee.JaxbJavaee$JavaeeNamespaceFilter.startElement
> > >>> (JaxbJavaee.java:293)
> > >>>    at
> > >>>
> > com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement
> > >>> (AbstractSAXParser.java:510)
> > >>>    at
> > >>>
> > >>
> >
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement
> > >>> (XMLNSDocumentScannerImpl.java:374)
> > >>>    at
> > >>>
> > >>
> >
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next
> > >>> (XMLDocumentFragmentScannerImpl.java:2708)
> > >>>    at
> > >> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next
> > >>> (XMLDocumentScannerImpl.java:605)
> > >>>    at
> > >>> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next
> > >>> (XMLNSDocumentScannerImpl.java:112)
> > >>>    at
> > >>>
> > >>
> >
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument
> > >>> (XMLDocumentFragmentScannerImpl.java:534)
> > >>>    at
> > >> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse
> > >>> (XML11Configuration.java:888)
> > >>>    at
> > >> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse
> > >>> (XML11Configuration.java:824)
> > >>>    at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse
> > >>> (XMLParser.java:141)
> > >>>    at
> > com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse
> > >>> (AbstractSAXParser.java:1216)
> > >>>    at
> > >>>
> > com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse
> > >>> (SAXParserImpl.java:635)
> > >>>    at org.xml.sax.helpers.XMLFilterImpl.parse
> (XMLFilterImpl.java:357)
> > >>>    at
> > >>> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0
> > >>> (UnmarshallerImpl.java:258)
> > >>>    at
> > >> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal
> > >>> (UnmarshallerImpl.java:236)
> > >>>    at
> > >> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal
> > >>> (UnmarshallerImpl.java:288)
> > >>>    at org.apache.openejb.jee.JaxbJavaee.unmarshalJavaee
> > >>> (JaxbJavaee.java:133)
> > >>>    at org.apache.openejb.config.ReadDescriptors.readBeans
> > >>> (ReadDescriptors.java:691)
> > >>>    at org.apache.openejb.config.DeploymentLoader.mergeBeansXml
> > >>> (DeploymentLoader.java:1196)
> > >>>    at org.apache.openejb.config.DeploymentLoader.addBeansXmls
> > >>> (DeploymentLoader.java:1184)
> > >>>    at org.apache.openejb.config.DeploymentLoader.createWebModule
> > >>> (DeploymentLoader.java:1098)
> > >>>    at org.apache.openejb.config.DeploymentLoader.createWebModule
> > >>> (DeploymentLoader.java:823)
> > >>>    at org.apache.openejb.config.DeploymentLoader.load
> > >>> (DeploymentLoader.java:234)
> > >>>    at org.apache.tomee.catalina.TomcatWebAppBuilder.loadApplication
> > >>> (TomcatWebAppBuilder.java:2347)
> > >>>    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:133)
> > >>>    at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent
> > >>> (LifecycleBase.java:123)
> > >>>
> > >>>
> > >>>
> > >>> Am Fr., 9. Nov. 2018 um 13:27 Uhr schrieb Thomas Andraschko <
> > >>> andraschko.thomas@gmail.com>:
> > >>>
> > >>>> @Jean-Louis
> > >>>> Are you saying that TomEE8 M1 itself is not compatbile with Java11?
> > >>>>
> > >>>> Currently trying to run my application with tomee-maven-embedded and
> > it
> > >>>> fails:
> > >>>> java.lang.IllegalStateException: Unable to initialize agent
> > >>>>        at
> > >>>>
> org.apache.openejb.javaagent.Agent.checkInitialization(Agent.java:104)
> > >>>>        at
> > >>>> org.apache.openejb.javaagent.Agent.getInstrumentation(Agent.java:94)
> > >>>>        at
> > >>>> org.apache.tomee.embedded.Container.<clinit>(Container.java:128)
> > >>>>        at
> > >>>>
> > >>
> >
> org.apache.openejb.maven.plugins.TomEEEmbeddedMojo.execute(TomEEEmbeddedMojo.java:392)
> > >>>>        at
> > >>>>
> > >>
> >
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
> > >>>>
> > >>>>
> > >>>> Am Do., 8. Nov. 2018 um 21:36 Uhr schrieb Romain Manni-Bucau <
> > >>>> rmannibucau@gmail.com>:
> > >>>>
> > >>>>> Hi JL
> > >>>>>
> > >>>>> Openjpa needs xbean upgrade but should be quick. Cxf stack needs
> some
> > >>>>> jaxb
> > >>>>> upgrades from memory. After the stack "supports" java11 as "run it"
> > but
> > >>>>> think no spec in EE is java >= 9 compatible (modules, spi etc).
> > >>>>>
> > >>>>> Should be enough for tomee that said.
> > >>>>>
> > >>>>>
> > >>>>> Le jeu. 8 nov. 2018 20:27, Jean-Louis Monteiro <
> > >> jlmonteiro@tomitribe.com>
> > >>>>> a
> > >>>>> écrit :
> > >>>>>
> > >>>>>> Hey TomEE lovers,
> > >>>>>>
> > >>>>>> I would like to push the Java 11 support forward.
> > >>>>>>
> > >>>>>> I tried to gather information here and there. Here is a status
> with
> > >> my
> > >>>>>> view. Please, lemme know if you have further updates or any
> > >> additional
> > >>>>>> information.
> > >>>>>>
> > >>>>>> XBean: ready and released
> > >>>>>> OWB: ready and released
> > >>>>>> TomEE itself (OpenEJB and other integration): ready but not
> released
> > >>>>> yet
> > >>>>>> OpenJPA: not clear, but looks like there is still some work to be
> > >> done
> > >>>>>> CXF: ready and released
> > >>>>>> MyFaces, ActiveMQ, EclipseLink, Mojorra: unknown
> > >>>>>> Tomcat: ready and released
> > >>>>>>
> > >>>>>> Are we on the same page?
> > >>>>>>
> > >>>>>> I propose to reach out to communities when libraries are not yet
> > >> ready
> > >>>>> or
> > >>>>>> released and see how we can help.
> > >>>>>>
> > >>>>>> Thoughts?
> > >>>>>>
> > >>>>>> --
> > >>>>>> Jean-Louis Monteiro
> > >>>>>> http://twitter.com/jlouismonteiro
> > >>>>>> http://www.tomitribe.com
> > >>>>>>
> > >>>>>
> > >>>>
> > >>
> >
>  

Re: Java 11 status

Posted by Jean-Louis Monteiro <jl...@tomitribe.com>.
Agreed. Probably we don't need to wait for it. At least we could do a M2
which is Java 11 ready.



Le sam. 10 nov. 2018 à 21:49, Romain Manni-Bucau <rm...@gmail.com> a
écrit :

> Shouldnt be the case Mark since openjpa is not bound to a pool - except in
> tests - and tomee default pool is not dbcp2 but tomcat-jdbc. So it is not a
> requirement but more a nice to have IMHO. Also not a regression since last
> release so not a blocker ;).
>
>
> Le sam. 10 nov. 2018 21:02, Mark Struberg <st...@yahoo.de.invalid> a
> écrit :
>
> >  We also need to wait for commons-pool and commons-dbcp. I fixed a
> > deadlock in the pool.Only after that I'll be able to release OpenJPA.
> > LieGrue,strub
> >
> >     On Friday, 9 November 2018, 21:02:13 CET, Mark Struberg
> > <st...@yahoo.de.INVALID> wrote:
> >
> >  Right now I do a lot of OpenJPA hacking.
> > One of the tasks is to also support xbean-asm7.
> > That should go into openjpa-3.0.1.
> >
> > What is the timeframe we want to target?
> >
> > LieGrue,
> > strub
> >
> >
> > > Am 09.11.2018 um 14:18 schrieb Romain Manni-Bucau <
> rmannibucau@gmail.com
> > >:
> > >
> > > I don't have the list handy but tomee will need at least some
> --add-opens
> > > etc to run on java11 (you can add it in setenv.sh) - likely for unsafe
> > and
> > > the agent.
> > >
> > > Romain Manni-Bucau
> > > @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> > > <https://rmannibucau.metawerx.net/> | Old Blog
> > > <http://rmannibucau.wordpress.com> | Github <
> > https://github.com/rmannibucau> |
> > > LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
> > > <
> >
> https://www.packtpub.com/application-development/java-ee-8-high-performance
> > >
> > >
> > >
> > > Le ven. 9 nov. 2018 à 14:09, Thomas Andraschko <
> > andraschko.thomas@gmail.com>
> > > a écrit :
> > >
> > >> (e.g. Tomcat and DeltaSpike still uses the old namespace it's in
> > >> web/beans.xml)
> > >>
> > >> Am Fr., 9. Nov. 2018 um 13:35 Uhr schrieb Thomas Andraschko <
> > >> andraschko.thomas@gmail.com>:
> > >>
> > >>> Also looks like XML unmarshalling is broken:
> > >>>
> > >>> Caused by: javax.xml.bind.UnmarshalException: unerwartetes Element
> > (URI:"
> > >>> http://java.sun.com/xml/ns/javaee", lokal:"interceptors"). Erwartete
> > >>> Elemente
> > >>> sind
> <{}trim>,<{}decorators>,<{}scan>,<{}alternatives>,<{}interceptors>
> > >>>    at
> > >>>
> > com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.handleEvent
> > >>> (UnmarshallingContext.java:744)
> > >>>    at com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError
> > >>> (Loader.java:262)
> > >>>    at com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError
> > >>> (Loader.java:257)
> > >>>    at
> > >>>
> > >>
> >
> com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportUnexpectedChildElement
> > >>> (Loader.java:124)
> > >>>    at com.sun.xml.bind.v2.runtime.unmarshaller.Loader.childElement
> > >>> (Loader.java:105)
> > >>>    at
> > >>> com.sun.xml.bind.v2.runtime.unmarshaller.StructureLoader.childElement
> > >>> (StructureLoader.java:268)
> > >>>    at
> > >>>
> > >>
> >
> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext._startElement
> > >>> (UnmarshallingContext.java:574)
> > >>>    at
> > >>>
> > >>
> >
> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.startElement
> > >>> (UnmarshallingContext.java:556)
> > >>>    at
> > com.sun.xml.bind.v2.runtime.unmarshaller.SAXConnector.startElement
> > >>> (SAXConnector.java:168)
> > >>>    at org.xml.sax.helpers.XMLFilterImpl.startElement
> > >>> (XMLFilterImpl.java:551)
> > >>>    at
> > >>> org.apache.openejb.jee.JaxbJavaee$JavaeeNamespaceFilter.startElement
> > >>> (JaxbJavaee.java:293)
> > >>>    at
> > >>>
> > com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement
> > >>> (AbstractSAXParser.java:510)
> > >>>    at
> > >>>
> > >>
> >
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement
> > >>> (XMLNSDocumentScannerImpl.java:374)
> > >>>    at
> > >>>
> > >>
> >
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next
> > >>> (XMLDocumentFragmentScannerImpl.java:2708)
> > >>>    at
> > >> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next
> > >>> (XMLDocumentScannerImpl.java:605)
> > >>>    at
> > >>> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next
> > >>> (XMLNSDocumentScannerImpl.java:112)
> > >>>    at
> > >>>
> > >>
> >
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument
> > >>> (XMLDocumentFragmentScannerImpl.java:534)
> > >>>    at
> > >> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse
> > >>> (XML11Configuration.java:888)
> > >>>    at
> > >> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse
> > >>> (XML11Configuration.java:824)
> > >>>    at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse
> > >>> (XMLParser.java:141)
> > >>>    at
> > com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse
> > >>> (AbstractSAXParser.java:1216)
> > >>>    at
> > >>>
> > com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse
> > >>> (SAXParserImpl.java:635)
> > >>>    at org.xml.sax.helpers.XMLFilterImpl.parse
> (XMLFilterImpl.java:357)
> > >>>    at
> > >>> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0
> > >>> (UnmarshallerImpl.java:258)
> > >>>    at
> > >> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal
> > >>> (UnmarshallerImpl.java:236)
> > >>>    at
> > >> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal
> > >>> (UnmarshallerImpl.java:288)
> > >>>    at org.apache.openejb.jee.JaxbJavaee.unmarshalJavaee
> > >>> (JaxbJavaee.java:133)
> > >>>    at org.apache.openejb.config.ReadDescriptors.readBeans
> > >>> (ReadDescriptors.java:691)
> > >>>    at org.apache.openejb.config.DeploymentLoader.mergeBeansXml
> > >>> (DeploymentLoader.java:1196)
> > >>>    at org.apache.openejb.config.DeploymentLoader.addBeansXmls
> > >>> (DeploymentLoader.java:1184)
> > >>>    at org.apache.openejb.config.DeploymentLoader.createWebModule
> > >>> (DeploymentLoader.java:1098)
> > >>>    at org.apache.openejb.config.DeploymentLoader.createWebModule
> > >>> (DeploymentLoader.java:823)
> > >>>    at org.apache.openejb.config.DeploymentLoader.load
> > >>> (DeploymentLoader.java:234)
> > >>>    at org.apache.tomee.catalina.TomcatWebAppBuilder.loadApplication
> > >>> (TomcatWebAppBuilder.java:2347)
> > >>>    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:133)
> > >>>    at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent
> > >>> (LifecycleBase.java:123)
> > >>>
> > >>>
> > >>>
> > >>> Am Fr., 9. Nov. 2018 um 13:27 Uhr schrieb Thomas Andraschko <
> > >>> andraschko.thomas@gmail.com>:
> > >>>
> > >>>> @Jean-Louis
> > >>>> Are you saying that TomEE8 M1 itself is not compatbile with Java11?
> > >>>>
> > >>>> Currently trying to run my application with tomee-maven-embedded and
> > it
> > >>>> fails:
> > >>>> java.lang.IllegalStateException: Unable to initialize agent
> > >>>>        at
> > >>>>
> org.apache.openejb.javaagent.Agent.checkInitialization(Agent.java:104)
> > >>>>        at
> > >>>> org.apache.openejb.javaagent.Agent.getInstrumentation(Agent.java:94)
> > >>>>        at
> > >>>> org.apache.tomee.embedded.Container.<clinit>(Container.java:128)
> > >>>>        at
> > >>>>
> > >>
> >
> org.apache.openejb.maven.plugins.TomEEEmbeddedMojo.execute(TomEEEmbeddedMojo.java:392)
> > >>>>        at
> > >>>>
> > >>
> >
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
> > >>>>
> > >>>>
> > >>>> Am Do., 8. Nov. 2018 um 21:36 Uhr schrieb Romain Manni-Bucau <
> > >>>> rmannibucau@gmail.com>:
> > >>>>
> > >>>>> Hi JL
> > >>>>>
> > >>>>> Openjpa needs xbean upgrade but should be quick. Cxf stack needs
> some
> > >>>>> jaxb
> > >>>>> upgrades from memory. After the stack "supports" java11 as "run it"
> > but
> > >>>>> think no spec in EE is java >= 9 compatible (modules, spi etc).
> > >>>>>
> > >>>>> Should be enough for tomee that said.
> > >>>>>
> > >>>>>
> > >>>>> Le jeu. 8 nov. 2018 20:27, Jean-Louis Monteiro <
> > >> jlmonteiro@tomitribe.com>
> > >>>>> a
> > >>>>> écrit :
> > >>>>>
> > >>>>>> Hey TomEE lovers,
> > >>>>>>
> > >>>>>> I would like to push the Java 11 support forward.
> > >>>>>>
> > >>>>>> I tried to gather information here and there. Here is a status
> with
> > >> my
> > >>>>>> view. Please, lemme know if you have further updates or any
> > >> additional
> > >>>>>> information.
> > >>>>>>
> > >>>>>> XBean: ready and released
> > >>>>>> OWB: ready and released
> > >>>>>> TomEE itself (OpenEJB and other integration): ready but not
> released
> > >>>>> yet
> > >>>>>> OpenJPA: not clear, but looks like there is still some work to be
> > >> done
> > >>>>>> CXF: ready and released
> > >>>>>> MyFaces, ActiveMQ, EclipseLink, Mojorra: unknown
> > >>>>>> Tomcat: ready and released
> > >>>>>>
> > >>>>>> Are we on the same page?
> > >>>>>>
> > >>>>>> I propose to reach out to communities when libraries are not yet
> > >> ready
> > >>>>> or
> > >>>>>> released and see how we can help.
> > >>>>>>
> > >>>>>> Thoughts?
> > >>>>>>
> > >>>>>> --
> > >>>>>> Jean-Louis Monteiro
> > >>>>>> http://twitter.com/jlouismonteiro
> > >>>>>> http://www.tomitribe.com
> > >>>>>>
> > >>>>>
> > >>>>
> > >>
> >
>

Re: Java 11 status

Posted by Romain Manni-Bucau <rm...@gmail.com>.
Shouldnt be the case Mark since openjpa is not bound to a pool - except in
tests - and tomee default pool is not dbcp2 but tomcat-jdbc. So it is not a
requirement but more a nice to have IMHO. Also not a regression since last
release so not a blocker ;).


Le sam. 10 nov. 2018 21:02, Mark Struberg <st...@yahoo.de.invalid> a
écrit :

>  We also need to wait for commons-pool and commons-dbcp. I fixed a
> deadlock in the pool.Only after that I'll be able to release OpenJPA.
> LieGrue,strub
>
>     On Friday, 9 November 2018, 21:02:13 CET, Mark Struberg
> <st...@yahoo.de.INVALID> wrote:
>
>  Right now I do a lot of OpenJPA hacking.
> One of the tasks is to also support xbean-asm7.
> That should go into openjpa-3.0.1.
>
> What is the timeframe we want to target?
>
> LieGrue,
> strub
>
>
> > Am 09.11.2018 um 14:18 schrieb Romain Manni-Bucau <rmannibucau@gmail.com
> >:
> >
> > I don't have the list handy but tomee will need at least some --add-opens
> > etc to run on java11 (you can add it in setenv.sh) - likely for unsafe
> and
> > the agent.
> >
> > Romain Manni-Bucau
> > @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> > <https://rmannibucau.metawerx.net/> | Old Blog
> > <http://rmannibucau.wordpress.com> | Github <
> https://github.com/rmannibucau> |
> > LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
> > <
> https://www.packtpub.com/application-development/java-ee-8-high-performance
> >
> >
> >
> > Le ven. 9 nov. 2018 à 14:09, Thomas Andraschko <
> andraschko.thomas@gmail.com>
> > a écrit :
> >
> >> (e.g. Tomcat and DeltaSpike still uses the old namespace it's in
> >> web/beans.xml)
> >>
> >> Am Fr., 9. Nov. 2018 um 13:35 Uhr schrieb Thomas Andraschko <
> >> andraschko.thomas@gmail.com>:
> >>
> >>> Also looks like XML unmarshalling is broken:
> >>>
> >>> Caused by: javax.xml.bind.UnmarshalException: unerwartetes Element
> (URI:"
> >>> http://java.sun.com/xml/ns/javaee", lokal:"interceptors"). Erwartete
> >>> Elemente
> >>> sind <{}trim>,<{}decorators>,<{}scan>,<{}alternatives>,<{}interceptors>
> >>>    at
> >>>
> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.handleEvent
> >>> (UnmarshallingContext.java:744)
> >>>    at com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError
> >>> (Loader.java:262)
> >>>    at com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError
> >>> (Loader.java:257)
> >>>    at
> >>>
> >>
> com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportUnexpectedChildElement
> >>> (Loader.java:124)
> >>>    at com.sun.xml.bind.v2.runtime.unmarshaller.Loader.childElement
> >>> (Loader.java:105)
> >>>    at
> >>> com.sun.xml.bind.v2.runtime.unmarshaller.StructureLoader.childElement
> >>> (StructureLoader.java:268)
> >>>    at
> >>>
> >>
> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext._startElement
> >>> (UnmarshallingContext.java:574)
> >>>    at
> >>>
> >>
> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.startElement
> >>> (UnmarshallingContext.java:556)
> >>>    at
> com.sun.xml.bind.v2.runtime.unmarshaller.SAXConnector.startElement
> >>> (SAXConnector.java:168)
> >>>    at org.xml.sax.helpers.XMLFilterImpl.startElement
> >>> (XMLFilterImpl.java:551)
> >>>    at
> >>> org.apache.openejb.jee.JaxbJavaee$JavaeeNamespaceFilter.startElement
> >>> (JaxbJavaee.java:293)
> >>>    at
> >>>
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement
> >>> (AbstractSAXParser.java:510)
> >>>    at
> >>>
> >>
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement
> >>> (XMLNSDocumentScannerImpl.java:374)
> >>>    at
> >>>
> >>
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next
> >>> (XMLDocumentFragmentScannerImpl.java:2708)
> >>>    at
> >> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next
> >>> (XMLDocumentScannerImpl.java:605)
> >>>    at
> >>> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next
> >>> (XMLNSDocumentScannerImpl.java:112)
> >>>    at
> >>>
> >>
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument
> >>> (XMLDocumentFragmentScannerImpl.java:534)
> >>>    at
> >> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse
> >>> (XML11Configuration.java:888)
> >>>    at
> >> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse
> >>> (XML11Configuration.java:824)
> >>>    at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse
> >>> (XMLParser.java:141)
> >>>    at
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse
> >>> (AbstractSAXParser.java:1216)
> >>>    at
> >>>
> com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse
> >>> (SAXParserImpl.java:635)
> >>>    at org.xml.sax.helpers.XMLFilterImpl.parse (XMLFilterImpl.java:357)
> >>>    at
> >>> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0
> >>> (UnmarshallerImpl.java:258)
> >>>    at
> >> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal
> >>> (UnmarshallerImpl.java:236)
> >>>    at
> >> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal
> >>> (UnmarshallerImpl.java:288)
> >>>    at org.apache.openejb.jee.JaxbJavaee.unmarshalJavaee
> >>> (JaxbJavaee.java:133)
> >>>    at org.apache.openejb.config.ReadDescriptors.readBeans
> >>> (ReadDescriptors.java:691)
> >>>    at org.apache.openejb.config.DeploymentLoader.mergeBeansXml
> >>> (DeploymentLoader.java:1196)
> >>>    at org.apache.openejb.config.DeploymentLoader.addBeansXmls
> >>> (DeploymentLoader.java:1184)
> >>>    at org.apache.openejb.config.DeploymentLoader.createWebModule
> >>> (DeploymentLoader.java:1098)
> >>>    at org.apache.openejb.config.DeploymentLoader.createWebModule
> >>> (DeploymentLoader.java:823)
> >>>    at org.apache.openejb.config.DeploymentLoader.load
> >>> (DeploymentLoader.java:234)
> >>>    at org.apache.tomee.catalina.TomcatWebAppBuilder.loadApplication
> >>> (TomcatWebAppBuilder.java:2347)
> >>>    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:133)
> >>>    at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent
> >>> (LifecycleBase.java:123)
> >>>
> >>>
> >>>
> >>> Am Fr., 9. Nov. 2018 um 13:27 Uhr schrieb Thomas Andraschko <
> >>> andraschko.thomas@gmail.com>:
> >>>
> >>>> @Jean-Louis
> >>>> Are you saying that TomEE8 M1 itself is not compatbile with Java11?
> >>>>
> >>>> Currently trying to run my application with tomee-maven-embedded and
> it
> >>>> fails:
> >>>> java.lang.IllegalStateException: Unable to initialize agent
> >>>>        at
> >>>> org.apache.openejb.javaagent.Agent.checkInitialization(Agent.java:104)
> >>>>        at
> >>>> org.apache.openejb.javaagent.Agent.getInstrumentation(Agent.java:94)
> >>>>        at
> >>>> org.apache.tomee.embedded.Container.<clinit>(Container.java:128)
> >>>>        at
> >>>>
> >>
> org.apache.openejb.maven.plugins.TomEEEmbeddedMojo.execute(TomEEEmbeddedMojo.java:392)
> >>>>        at
> >>>>
> >>
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
> >>>>
> >>>>
> >>>> Am Do., 8. Nov. 2018 um 21:36 Uhr schrieb Romain Manni-Bucau <
> >>>> rmannibucau@gmail.com>:
> >>>>
> >>>>> Hi JL
> >>>>>
> >>>>> Openjpa needs xbean upgrade but should be quick. Cxf stack needs some
> >>>>> jaxb
> >>>>> upgrades from memory. After the stack "supports" java11 as "run it"
> but
> >>>>> think no spec in EE is java >= 9 compatible (modules, spi etc).
> >>>>>
> >>>>> Should be enough for tomee that said.
> >>>>>
> >>>>>
> >>>>> Le jeu. 8 nov. 2018 20:27, Jean-Louis Monteiro <
> >> jlmonteiro@tomitribe.com>
> >>>>> a
> >>>>> écrit :
> >>>>>
> >>>>>> Hey TomEE lovers,
> >>>>>>
> >>>>>> I would like to push the Java 11 support forward.
> >>>>>>
> >>>>>> I tried to gather information here and there. Here is a status with
> >> my
> >>>>>> view. Please, lemme know if you have further updates or any
> >> additional
> >>>>>> information.
> >>>>>>
> >>>>>> XBean: ready and released
> >>>>>> OWB: ready and released
> >>>>>> TomEE itself (OpenEJB and other integration): ready but not released
> >>>>> yet
> >>>>>> OpenJPA: not clear, but looks like there is still some work to be
> >> done
> >>>>>> CXF: ready and released
> >>>>>> MyFaces, ActiveMQ, EclipseLink, Mojorra: unknown
> >>>>>> Tomcat: ready and released
> >>>>>>
> >>>>>> Are we on the same page?
> >>>>>>
> >>>>>> I propose to reach out to communities when libraries are not yet
> >> ready
> >>>>> or
> >>>>>> released and see how we can help.
> >>>>>>
> >>>>>> Thoughts?
> >>>>>>
> >>>>>> --
> >>>>>> Jean-Louis Monteiro
> >>>>>> http://twitter.com/jlouismonteiro
> >>>>>> http://www.tomitribe.com
> >>>>>>
> >>>>>
> >>>>
> >>
>

Re: Java 11 status

Posted by Mark Struberg <st...@yahoo.de.INVALID>.
 We also need to wait for commons-pool and commons-dbcp. I fixed a deadlock in the pool.Only after that I'll be able to release OpenJPA.
LieGrue,strub

    On Friday, 9 November 2018, 21:02:13 CET, Mark Struberg <st...@yahoo.de.INVALID> wrote:  
 
 Right now I do a lot of OpenJPA hacking.
One of the tasks is to also support xbean-asm7.
That should go into openjpa-3.0.1.

What is the timeframe we want to target?

LieGrue,
strub


> Am 09.11.2018 um 14:18 schrieb Romain Manni-Bucau <rm...@gmail.com>:
> 
> I don't have the list handy but tomee will need at least some --add-opens
> etc to run on java11 (you can add it in setenv.sh) - likely for unsafe and
> the agent.
> 
> Romain Manni-Bucau
> @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> <https://rmannibucau.metawerx.net/> | Old Blog
> <http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
> LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
> <https://www.packtpub.com/application-development/java-ee-8-high-performance>
> 
> 
> Le ven. 9 nov. 2018 à 14:09, Thomas Andraschko <an...@gmail.com>
> a écrit :
> 
>> (e.g. Tomcat and DeltaSpike still uses the old namespace it's in
>> web/beans.xml)
>> 
>> Am Fr., 9. Nov. 2018 um 13:35 Uhr schrieb Thomas Andraschko <
>> andraschko.thomas@gmail.com>:
>> 
>>> Also looks like XML unmarshalling is broken:
>>> 
>>> Caused by: javax.xml.bind.UnmarshalException: unerwartetes Element (URI:"
>>> http://java.sun.com/xml/ns/javaee", lokal:"interceptors"). Erwartete
>>> Elemente
>>> sind <{}trim>,<{}decorators>,<{}scan>,<{}alternatives>,<{}interceptors>
>>>    at
>>> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.handleEvent
>>> (UnmarshallingContext.java:744)
>>>    at com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError
>>> (Loader.java:262)
>>>    at com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError
>>> (Loader.java:257)
>>>    at
>>> 
>> com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportUnexpectedChildElement
>>> (Loader.java:124)
>>>    at com.sun.xml.bind.v2.runtime.unmarshaller.Loader.childElement
>>> (Loader.java:105)
>>>    at
>>> com.sun.xml.bind.v2.runtime.unmarshaller.StructureLoader.childElement
>>> (StructureLoader.java:268)
>>>    at
>>> 
>> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext._startElement
>>> (UnmarshallingContext.java:574)
>>>    at
>>> 
>> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.startElement
>>> (UnmarshallingContext.java:556)
>>>    at com.sun.xml.bind.v2.runtime.unmarshaller.SAXConnector.startElement
>>> (SAXConnector.java:168)
>>>    at org.xml.sax.helpers.XMLFilterImpl.startElement
>>> (XMLFilterImpl.java:551)
>>>    at
>>> org.apache.openejb.jee.JaxbJavaee$JavaeeNamespaceFilter.startElement
>>> (JaxbJavaee.java:293)
>>>    at
>>> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement
>>> (AbstractSAXParser.java:510)
>>>    at
>>> 
>> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement
>>> (XMLNSDocumentScannerImpl.java:374)
>>>    at
>>> 
>> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next
>>> (XMLDocumentFragmentScannerImpl.java:2708)
>>>    at
>> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next
>>> (XMLDocumentScannerImpl.java:605)
>>>    at
>>> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next
>>> (XMLNSDocumentScannerImpl.java:112)
>>>    at
>>> 
>> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument
>>> (XMLDocumentFragmentScannerImpl.java:534)
>>>    at
>> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse
>>> (XML11Configuration.java:888)
>>>    at
>> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse
>>> (XML11Configuration.java:824)
>>>    at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse
>>> (XMLParser.java:141)
>>>    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse
>>> (AbstractSAXParser.java:1216)
>>>    at
>>> com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse
>>> (SAXParserImpl.java:635)
>>>    at org.xml.sax.helpers.XMLFilterImpl.parse (XMLFilterImpl.java:357)
>>>    at
>>> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0
>>> (UnmarshallerImpl.java:258)
>>>    at
>> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal
>>> (UnmarshallerImpl.java:236)
>>>    at
>> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal
>>> (UnmarshallerImpl.java:288)
>>>    at org.apache.openejb.jee.JaxbJavaee.unmarshalJavaee
>>> (JaxbJavaee.java:133)
>>>    at org.apache.openejb.config.ReadDescriptors.readBeans
>>> (ReadDescriptors.java:691)
>>>    at org.apache.openejb.config.DeploymentLoader.mergeBeansXml
>>> (DeploymentLoader.java:1196)
>>>    at org.apache.openejb.config.DeploymentLoader.addBeansXmls
>>> (DeploymentLoader.java:1184)
>>>    at org.apache.openejb.config.DeploymentLoader.createWebModule
>>> (DeploymentLoader.java:1098)
>>>    at org.apache.openejb.config.DeploymentLoader.createWebModule
>>> (DeploymentLoader.java:823)
>>>    at org.apache.openejb.config.DeploymentLoader.load
>>> (DeploymentLoader.java:234)
>>>    at org.apache.tomee.catalina.TomcatWebAppBuilder.loadApplication
>>> (TomcatWebAppBuilder.java:2347)
>>>    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:133)
>>>    at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent
>>> (LifecycleBase.java:123)
>>> 
>>> 
>>> 
>>> Am Fr., 9. Nov. 2018 um 13:27 Uhr schrieb Thomas Andraschko <
>>> andraschko.thomas@gmail.com>:
>>> 
>>>> @Jean-Louis
>>>> Are you saying that TomEE8 M1 itself is not compatbile with Java11?
>>>> 
>>>> Currently trying to run my application with tomee-maven-embedded and it
>>>> fails:
>>>> java.lang.IllegalStateException: Unable to initialize agent
>>>>        at
>>>> org.apache.openejb.javaagent.Agent.checkInitialization(Agent.java:104)
>>>>        at
>>>> org.apache.openejb.javaagent.Agent.getInstrumentation(Agent.java:94)
>>>>        at
>>>> org.apache.tomee.embedded.Container.<clinit>(Container.java:128)
>>>>        at
>>>> 
>> org.apache.openejb.maven.plugins.TomEEEmbeddedMojo.execute(TomEEEmbeddedMojo.java:392)
>>>>        at
>>>> 
>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
>>>> 
>>>> 
>>>> Am Do., 8. Nov. 2018 um 21:36 Uhr schrieb Romain Manni-Bucau <
>>>> rmannibucau@gmail.com>:
>>>> 
>>>>> Hi JL
>>>>> 
>>>>> Openjpa needs xbean upgrade but should be quick. Cxf stack needs some
>>>>> jaxb
>>>>> upgrades from memory. After the stack "supports" java11 as "run it" but
>>>>> think no spec in EE is java >= 9 compatible (modules, spi etc).
>>>>> 
>>>>> Should be enough for tomee that said.
>>>>> 
>>>>> 
>>>>> Le jeu. 8 nov. 2018 20:27, Jean-Louis Monteiro <
>> jlmonteiro@tomitribe.com>
>>>>> a
>>>>> écrit :
>>>>> 
>>>>>> Hey TomEE lovers,
>>>>>> 
>>>>>> I would like to push the Java 11 support forward.
>>>>>> 
>>>>>> I tried to gather information here and there. Here is a status with
>> my
>>>>>> view. Please, lemme know if you have further updates or any
>> additional
>>>>>> information.
>>>>>> 
>>>>>> XBean: ready and released
>>>>>> OWB: ready and released
>>>>>> TomEE itself (OpenEJB and other integration): ready but not released
>>>>> yet
>>>>>> OpenJPA: not clear, but looks like there is still some work to be
>> done
>>>>>> CXF: ready and released
>>>>>> MyFaces, ActiveMQ, EclipseLink, Mojorra: unknown
>>>>>> Tomcat: ready and released
>>>>>> 
>>>>>> Are we on the same page?
>>>>>> 
>>>>>> I propose to reach out to communities when libraries are not yet
>> ready
>>>>> or
>>>>>> released and see how we can help.
>>>>>> 
>>>>>> Thoughts?
>>>>>> 
>>>>>> --
>>>>>> Jean-Louis Monteiro
>>>>>> http://twitter.com/jlouismonteiro
>>>>>> http://www.tomitribe.com
>>>>>> 
>>>>> 
>>>> 
>> 
  

Re: Java 11 status

Posted by Mark Struberg <st...@yahoo.de.INVALID>.
Right now I do a lot of OpenJPA hacking.
One of the tasks is to also support xbean-asm7.
That should go into openjpa-3.0.1.

What is the timeframe we want to target?

LieGrue,
strub


> Am 09.11.2018 um 14:18 schrieb Romain Manni-Bucau <rm...@gmail.com>:
> 
> I don't have the list handy but tomee will need at least some --add-opens
> etc to run on java11 (you can add it in setenv.sh) - likely for unsafe and
> the agent.
> 
> Romain Manni-Bucau
> @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> <https://rmannibucau.metawerx.net/> | Old Blog
> <http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
> LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
> <https://www.packtpub.com/application-development/java-ee-8-high-performance>
> 
> 
> Le ven. 9 nov. 2018 à 14:09, Thomas Andraschko <an...@gmail.com>
> a écrit :
> 
>> (e.g. Tomcat and DeltaSpike still uses the old namespace it's in
>> web/beans.xml)
>> 
>> Am Fr., 9. Nov. 2018 um 13:35 Uhr schrieb Thomas Andraschko <
>> andraschko.thomas@gmail.com>:
>> 
>>> Also looks like XML unmarshalling is broken:
>>> 
>>> Caused by: javax.xml.bind.UnmarshalException: unerwartetes Element (URI:"
>>> http://java.sun.com/xml/ns/javaee", lokal:"interceptors"). Erwartete
>>> Elemente
>>> sind <{}trim>,<{}decorators>,<{}scan>,<{}alternatives>,<{}interceptors>
>>>    at
>>> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.handleEvent
>>> (UnmarshallingContext.java:744)
>>>    at com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError
>>> (Loader.java:262)
>>>    at com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError
>>> (Loader.java:257)
>>>    at
>>> 
>> com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportUnexpectedChildElement
>>> (Loader.java:124)
>>>    at com.sun.xml.bind.v2.runtime.unmarshaller.Loader.childElement
>>> (Loader.java:105)
>>>    at
>>> com.sun.xml.bind.v2.runtime.unmarshaller.StructureLoader.childElement
>>> (StructureLoader.java:268)
>>>    at
>>> 
>> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext._startElement
>>> (UnmarshallingContext.java:574)
>>>    at
>>> 
>> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.startElement
>>> (UnmarshallingContext.java:556)
>>>    at com.sun.xml.bind.v2.runtime.unmarshaller.SAXConnector.startElement
>>> (SAXConnector.java:168)
>>>    at org.xml.sax.helpers.XMLFilterImpl.startElement
>>> (XMLFilterImpl.java:551)
>>>    at
>>> org.apache.openejb.jee.JaxbJavaee$JavaeeNamespaceFilter.startElement
>>> (JaxbJavaee.java:293)
>>>    at
>>> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement
>>> (AbstractSAXParser.java:510)
>>>    at
>>> 
>> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement
>>> (XMLNSDocumentScannerImpl.java:374)
>>>    at
>>> 
>> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next
>>> (XMLDocumentFragmentScannerImpl.java:2708)
>>>    at
>> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next
>>> (XMLDocumentScannerImpl.java:605)
>>>    at
>>> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next
>>> (XMLNSDocumentScannerImpl.java:112)
>>>    at
>>> 
>> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument
>>> (XMLDocumentFragmentScannerImpl.java:534)
>>>    at
>> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse
>>> (XML11Configuration.java:888)
>>>    at
>> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse
>>> (XML11Configuration.java:824)
>>>    at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse
>>> (XMLParser.java:141)
>>>    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse
>>> (AbstractSAXParser.java:1216)
>>>    at
>>> com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse
>>> (SAXParserImpl.java:635)
>>>    at org.xml.sax.helpers.XMLFilterImpl.parse (XMLFilterImpl.java:357)
>>>    at
>>> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0
>>> (UnmarshallerImpl.java:258)
>>>    at
>> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal
>>> (UnmarshallerImpl.java:236)
>>>    at
>> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal
>>> (UnmarshallerImpl.java:288)
>>>    at org.apache.openejb.jee.JaxbJavaee.unmarshalJavaee
>>> (JaxbJavaee.java:133)
>>>    at org.apache.openejb.config.ReadDescriptors.readBeans
>>> (ReadDescriptors.java:691)
>>>    at org.apache.openejb.config.DeploymentLoader.mergeBeansXml
>>> (DeploymentLoader.java:1196)
>>>    at org.apache.openejb.config.DeploymentLoader.addBeansXmls
>>> (DeploymentLoader.java:1184)
>>>    at org.apache.openejb.config.DeploymentLoader.createWebModule
>>> (DeploymentLoader.java:1098)
>>>    at org.apache.openejb.config.DeploymentLoader.createWebModule
>>> (DeploymentLoader.java:823)
>>>    at org.apache.openejb.config.DeploymentLoader.load
>>> (DeploymentLoader.java:234)
>>>    at org.apache.tomee.catalina.TomcatWebAppBuilder.loadApplication
>>> (TomcatWebAppBuilder.java:2347)
>>>    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:133)
>>>    at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent
>>> (LifecycleBase.java:123)
>>> 
>>> 
>>> 
>>> Am Fr., 9. Nov. 2018 um 13:27 Uhr schrieb Thomas Andraschko <
>>> andraschko.thomas@gmail.com>:
>>> 
>>>> @Jean-Louis
>>>> Are you saying that TomEE8 M1 itself is not compatbile with Java11?
>>>> 
>>>> Currently trying to run my application with tomee-maven-embedded and it
>>>> fails:
>>>> java.lang.IllegalStateException: Unable to initialize agent
>>>>        at
>>>> org.apache.openejb.javaagent.Agent.checkInitialization(Agent.java:104)
>>>>        at
>>>> org.apache.openejb.javaagent.Agent.getInstrumentation(Agent.java:94)
>>>>        at
>>>> org.apache.tomee.embedded.Container.<clinit>(Container.java:128)
>>>>        at
>>>> 
>> org.apache.openejb.maven.plugins.TomEEEmbeddedMojo.execute(TomEEEmbeddedMojo.java:392)
>>>>        at
>>>> 
>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
>>>> 
>>>> 
>>>> Am Do., 8. Nov. 2018 um 21:36 Uhr schrieb Romain Manni-Bucau <
>>>> rmannibucau@gmail.com>:
>>>> 
>>>>> Hi JL
>>>>> 
>>>>> Openjpa needs xbean upgrade but should be quick. Cxf stack needs some
>>>>> jaxb
>>>>> upgrades from memory. After the stack "supports" java11 as "run it" but
>>>>> think no spec in EE is java >= 9 compatible (modules, spi etc).
>>>>> 
>>>>> Should be enough for tomee that said.
>>>>> 
>>>>> 
>>>>> Le jeu. 8 nov. 2018 20:27, Jean-Louis Monteiro <
>> jlmonteiro@tomitribe.com>
>>>>> a
>>>>> écrit :
>>>>> 
>>>>>> Hey TomEE lovers,
>>>>>> 
>>>>>> I would like to push the Java 11 support forward.
>>>>>> 
>>>>>> I tried to gather information here and there. Here is a status with
>> my
>>>>>> view. Please, lemme know if you have further updates or any
>> additional
>>>>>> information.
>>>>>> 
>>>>>> XBean: ready and released
>>>>>> OWB: ready and released
>>>>>> TomEE itself (OpenEJB and other integration): ready but not released
>>>>> yet
>>>>>> OpenJPA: not clear, but looks like there is still some work to be
>> done
>>>>>> CXF: ready and released
>>>>>> MyFaces, ActiveMQ, EclipseLink, Mojorra: unknown
>>>>>> Tomcat: ready and released
>>>>>> 
>>>>>> Are we on the same page?
>>>>>> 
>>>>>> I propose to reach out to communities when libraries are not yet
>> ready
>>>>> or
>>>>>> released and see how we can help.
>>>>>> 
>>>>>> Thoughts?
>>>>>> 
>>>>>> --
>>>>>> Jean-Louis Monteiro
>>>>>> http://twitter.com/jlouismonteiro
>>>>>> http://www.tomitribe.com
>>>>>> 
>>>>> 
>>>> 
>> 


Re: Java 11 status

Posted by Romain Manni-Bucau <rm...@gmail.com>.
I don't have the list handy but tomee will need at least some --add-opens
etc to run on java11 (you can add it in setenv.sh) - likely for unsafe and
the agent.

Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<https://rmannibucau.metawerx.net/> | Old Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
<https://www.packtpub.com/application-development/java-ee-8-high-performance>


Le ven. 9 nov. 2018 à 14:09, Thomas Andraschko <an...@gmail.com>
a écrit :

> (e.g. Tomcat and DeltaSpike still uses the old namespace it's in
> web/beans.xml)
>
> Am Fr., 9. Nov. 2018 um 13:35 Uhr schrieb Thomas Andraschko <
> andraschko.thomas@gmail.com>:
>
> > Also looks like XML unmarshalling is broken:
> >
> > Caused by: javax.xml.bind.UnmarshalException: unerwartetes Element (URI:"
> > http://java.sun.com/xml/ns/javaee", lokal:"interceptors"). Erwartete
> > Elemente
> >  sind <{}trim>,<{}decorators>,<{}scan>,<{}alternatives>,<{}interceptors>
> >     at
> > com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.handleEvent
> > (UnmarshallingContext.java:744)
> >     at com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError
> > (Loader.java:262)
> >     at com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError
> > (Loader.java:257)
> >     at
> >
> com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportUnexpectedChildElement
> > (Loader.java:124)
> >     at com.sun.xml.bind.v2.runtime.unmarshaller.Loader.childElement
> > (Loader.java:105)
> >     at
> > com.sun.xml.bind.v2.runtime.unmarshaller.StructureLoader.childElement
> > (StructureLoader.java:268)
> >     at
> >
> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext._startElement
> > (UnmarshallingContext.java:574)
> >     at
> >
> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.startElement
> > (UnmarshallingContext.java:556)
> >     at com.sun.xml.bind.v2.runtime.unmarshaller.SAXConnector.startElement
> > (SAXConnector.java:168)
> >     at org.xml.sax.helpers.XMLFilterImpl.startElement
> > (XMLFilterImpl.java:551)
> >     at
> > org.apache.openejb.jee.JaxbJavaee$JavaeeNamespaceFilter.startElement
> > (JaxbJavaee.java:293)
> >     at
> > com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement
> > (AbstractSAXParser.java:510)
> >     at
> >
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement
> > (XMLNSDocumentScannerImpl.java:374)
> >     at
> >
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next
> > (XMLDocumentFragmentScannerImpl.java:2708)
> >     at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next
> > (XMLDocumentScannerImpl.java:605)
> >     at
> > com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next
> > (XMLNSDocumentScannerImpl.java:112)
> >     at
> >
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument
> > (XMLDocumentFragmentScannerImpl.java:534)
> >     at
> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse
> > (XML11Configuration.java:888)
> >     at
> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse
> > (XML11Configuration.java:824)
> >     at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse
> > (XMLParser.java:141)
> >     at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse
> > (AbstractSAXParser.java:1216)
> >     at
> > com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse
> > (SAXParserImpl.java:635)
> >     at org.xml.sax.helpers.XMLFilterImpl.parse (XMLFilterImpl.java:357)
> >     at
> > com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0
> > (UnmarshallerImpl.java:258)
> >     at
> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal
> > (UnmarshallerImpl.java:236)
> >     at
> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal
> > (UnmarshallerImpl.java:288)
> >     at org.apache.openejb.jee.JaxbJavaee.unmarshalJavaee
> > (JaxbJavaee.java:133)
> >     at org.apache.openejb.config.ReadDescriptors.readBeans
> > (ReadDescriptors.java:691)
> >     at org.apache.openejb.config.DeploymentLoader.mergeBeansXml
> > (DeploymentLoader.java:1196)
> >     at org.apache.openejb.config.DeploymentLoader.addBeansXmls
> > (DeploymentLoader.java:1184)
> >     at org.apache.openejb.config.DeploymentLoader.createWebModule
> > (DeploymentLoader.java:1098)
> >     at org.apache.openejb.config.DeploymentLoader.createWebModule
> > (DeploymentLoader.java:823)
> >     at org.apache.openejb.config.DeploymentLoader.load
> > (DeploymentLoader.java:234)
> >     at org.apache.tomee.catalina.TomcatWebAppBuilder.loadApplication
> > (TomcatWebAppBuilder.java:2347)
> >     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:133)
> >     at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent
> > (LifecycleBase.java:123)
> >
> >
> >
> > Am Fr., 9. Nov. 2018 um 13:27 Uhr schrieb Thomas Andraschko <
> > andraschko.thomas@gmail.com>:
> >
> >> @Jean-Louis
> >> Are you saying that TomEE8 M1 itself is not compatbile with Java11?
> >>
> >> Currently trying to run my application with tomee-maven-embedded and it
> >> fails:
> >> java.lang.IllegalStateException: Unable to initialize agent
> >>         at
> >> org.apache.openejb.javaagent.Agent.checkInitialization(Agent.java:104)
> >>         at
> >> org.apache.openejb.javaagent.Agent.getInstrumentation(Agent.java:94)
> >>         at
> >> org.apache.tomee.embedded.Container.<clinit>(Container.java:128)
> >>         at
> >>
> org.apache.openejb.maven.plugins.TomEEEmbeddedMojo.execute(TomEEEmbeddedMojo.java:392)
> >>         at
> >>
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
> >>
> >>
> >> Am Do., 8. Nov. 2018 um 21:36 Uhr schrieb Romain Manni-Bucau <
> >> rmannibucau@gmail.com>:
> >>
> >>> Hi JL
> >>>
> >>> Openjpa needs xbean upgrade but should be quick. Cxf stack needs some
> >>> jaxb
> >>> upgrades from memory. After the stack "supports" java11 as "run it" but
> >>> think no spec in EE is java >= 9 compatible (modules, spi etc).
> >>>
> >>> Should be enough for tomee that said.
> >>>
> >>>
> >>> Le jeu. 8 nov. 2018 20:27, Jean-Louis Monteiro <
> jlmonteiro@tomitribe.com>
> >>> a
> >>> écrit :
> >>>
> >>> > Hey TomEE lovers,
> >>> >
> >>> > I would like to push the Java 11 support forward.
> >>> >
> >>> > I tried to gather information here and there. Here is a status with
> my
> >>> > view. Please, lemme know if you have further updates or any
> additional
> >>> > information.
> >>> >
> >>> > XBean: ready and released
> >>> > OWB: ready and released
> >>> > TomEE itself (OpenEJB and other integration): ready but not released
> >>> yet
> >>> > OpenJPA: not clear, but looks like there is still some work to be
> done
> >>> > CXF: ready and released
> >>> > MyFaces, ActiveMQ, EclipseLink, Mojorra: unknown
> >>> > Tomcat: ready and released
> >>> >
> >>> > Are we on the same page?
> >>> >
> >>> > I propose to reach out to communities when libraries are not yet
> ready
> >>> or
> >>> > released and see how we can help.
> >>> >
> >>> > Thoughts?
> >>> >
> >>> > --
> >>> > Jean-Louis Monteiro
> >>> > http://twitter.com/jlouismonteiro
> >>> > http://www.tomitribe.com
> >>> >
> >>>
> >>
>

Re: Java 11 status

Posted by Thomas Andraschko <an...@gmail.com>.
(e.g. Tomcat and DeltaSpike still uses the old namespace it's in
web/beans.xml)

Am Fr., 9. Nov. 2018 um 13:35 Uhr schrieb Thomas Andraschko <
andraschko.thomas@gmail.com>:

> Also looks like XML unmarshalling is broken:
>
> Caused by: javax.xml.bind.UnmarshalException: unerwartetes Element (URI:"
> http://java.sun.com/xml/ns/javaee", lokal:"interceptors"). Erwartete
> Elemente
>  sind <{}trim>,<{}decorators>,<{}scan>,<{}alternatives>,<{}interceptors>
>     at
> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.handleEvent
> (UnmarshallingContext.java:744)
>     at com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError
> (Loader.java:262)
>     at com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError
> (Loader.java:257)
>     at
> com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportUnexpectedChildElement
> (Loader.java:124)
>     at com.sun.xml.bind.v2.runtime.unmarshaller.Loader.childElement
> (Loader.java:105)
>     at
> com.sun.xml.bind.v2.runtime.unmarshaller.StructureLoader.childElement
> (StructureLoader.java:268)
>     at
> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext._startElement
> (UnmarshallingContext.java:574)
>     at
> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.startElement
> (UnmarshallingContext.java:556)
>     at com.sun.xml.bind.v2.runtime.unmarshaller.SAXConnector.startElement
> (SAXConnector.java:168)
>     at org.xml.sax.helpers.XMLFilterImpl.startElement
> (XMLFilterImpl.java:551)
>     at
> org.apache.openejb.jee.JaxbJavaee$JavaeeNamespaceFilter.startElement
> (JaxbJavaee.java:293)
>     at
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement
> (AbstractSAXParser.java:510)
>     at
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement
> (XMLNSDocumentScannerImpl.java:374)
>     at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next
> (XMLDocumentFragmentScannerImpl.java:2708)
>     at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next
> (XMLDocumentScannerImpl.java:605)
>     at
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next
> (XMLNSDocumentScannerImpl.java:112)
>     at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument
> (XMLDocumentFragmentScannerImpl.java:534)
>     at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse
> (XML11Configuration.java:888)
>     at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse
> (XML11Configuration.java:824)
>     at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse
> (XMLParser.java:141)
>     at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse
> (AbstractSAXParser.java:1216)
>     at
> com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse
> (SAXParserImpl.java:635)
>     at org.xml.sax.helpers.XMLFilterImpl.parse (XMLFilterImpl.java:357)
>     at
> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0
> (UnmarshallerImpl.java:258)
>     at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal
> (UnmarshallerImpl.java:236)
>     at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal
> (UnmarshallerImpl.java:288)
>     at org.apache.openejb.jee.JaxbJavaee.unmarshalJavaee
> (JaxbJavaee.java:133)
>     at org.apache.openejb.config.ReadDescriptors.readBeans
> (ReadDescriptors.java:691)
>     at org.apache.openejb.config.DeploymentLoader.mergeBeansXml
> (DeploymentLoader.java:1196)
>     at org.apache.openejb.config.DeploymentLoader.addBeansXmls
> (DeploymentLoader.java:1184)
>     at org.apache.openejb.config.DeploymentLoader.createWebModule
> (DeploymentLoader.java:1098)
>     at org.apache.openejb.config.DeploymentLoader.createWebModule
> (DeploymentLoader.java:823)
>     at org.apache.openejb.config.DeploymentLoader.load
> (DeploymentLoader.java:234)
>     at org.apache.tomee.catalina.TomcatWebAppBuilder.loadApplication
> (TomcatWebAppBuilder.java:2347)
>     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:133)
>     at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent
> (LifecycleBase.java:123)
>
>
>
> Am Fr., 9. Nov. 2018 um 13:27 Uhr schrieb Thomas Andraschko <
> andraschko.thomas@gmail.com>:
>
>> @Jean-Louis
>> Are you saying that TomEE8 M1 itself is not compatbile with Java11?
>>
>> Currently trying to run my application with tomee-maven-embedded and it
>> fails:
>> java.lang.IllegalStateException: Unable to initialize agent
>>         at
>> org.apache.openejb.javaagent.Agent.checkInitialization(Agent.java:104)
>>         at
>> org.apache.openejb.javaagent.Agent.getInstrumentation(Agent.java:94)
>>         at
>> org.apache.tomee.embedded.Container.<clinit>(Container.java:128)
>>         at
>> org.apache.openejb.maven.plugins.TomEEEmbeddedMojo.execute(TomEEEmbeddedMojo.java:392)
>>         at
>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
>>
>>
>> Am Do., 8. Nov. 2018 um 21:36 Uhr schrieb Romain Manni-Bucau <
>> rmannibucau@gmail.com>:
>>
>>> Hi JL
>>>
>>> Openjpa needs xbean upgrade but should be quick. Cxf stack needs some
>>> jaxb
>>> upgrades from memory. After the stack "supports" java11 as "run it" but
>>> think no spec in EE is java >= 9 compatible (modules, spi etc).
>>>
>>> Should be enough for tomee that said.
>>>
>>>
>>> Le jeu. 8 nov. 2018 20:27, Jean-Louis Monteiro <jl...@tomitribe.com>
>>> a
>>> écrit :
>>>
>>> > Hey TomEE lovers,
>>> >
>>> > I would like to push the Java 11 support forward.
>>> >
>>> > I tried to gather information here and there. Here is a status with my
>>> > view. Please, lemme know if you have further updates or any additional
>>> > information.
>>> >
>>> > XBean: ready and released
>>> > OWB: ready and released
>>> > TomEE itself (OpenEJB and other integration): ready but not released
>>> yet
>>> > OpenJPA: not clear, but looks like there is still some work to be done
>>> > CXF: ready and released
>>> > MyFaces, ActiveMQ, EclipseLink, Mojorra: unknown
>>> > Tomcat: ready and released
>>> >
>>> > Are we on the same page?
>>> >
>>> > I propose to reach out to communities when libraries are not yet ready
>>> or
>>> > released and see how we can help.
>>> >
>>> > Thoughts?
>>> >
>>> > --
>>> > Jean-Louis Monteiro
>>> > http://twitter.com/jlouismonteiro
>>> > http://www.tomitribe.com
>>> >
>>>
>>

Re: Java 11 status

Posted by Thomas Andraschko <an...@gmail.com>.
Also looks like XML unmarshalling is broken:

Caused by: javax.xml.bind.UnmarshalException: unerwartetes Element (URI:"
http://java.sun.com/xml/ns/javaee", lokal:"interceptors"). Erwartete
Elemente
 sind <{}trim>,<{}decorators>,<{}scan>,<{}alternatives>,<{}interceptors>
    at
com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.handleEvent
(UnmarshallingContext.java:744)
    at com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError
(Loader.java:262)
    at com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError
(Loader.java:257)
    at
com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportUnexpectedChildElement
(Loader.java:124)
    at com.sun.xml.bind.v2.runtime.unmarshaller.Loader.childElement
(Loader.java:105)
    at
com.sun.xml.bind.v2.runtime.unmarshaller.StructureLoader.childElement
(StructureLoader.java:268)
    at
com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext._startElement
(UnmarshallingContext.java:574)
    at
com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.startElement
(UnmarshallingContext.java:556)
    at com.sun.xml.bind.v2.runtime.unmarshaller.SAXConnector.startElement
(SAXConnector.java:168)
    at org.xml.sax.helpers.XMLFilterImpl.startElement
(XMLFilterImpl.java:551)
    at org.apache.openejb.jee.JaxbJavaee$JavaeeNamespaceFilter.startElement
(JaxbJavaee.java:293)
    at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement
(AbstractSAXParser.java:510)
    at
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement
(XMLNSDocumentScannerImpl.java:374)
    at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next
(XMLDocumentFragmentScannerImpl.java:2708)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next
(XMLDocumentScannerImpl.java:605)
    at
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next
(XMLNSDocumentScannerImpl.java:112)
    at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument
(XMLDocumentFragmentScannerImpl.java:534)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse
(XML11Configuration.java:888)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse
(XML11Configuration.java:824)
    at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse
(XMLParser.java:141)
    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse
(AbstractSAXParser.java:1216)
    at
com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse
(SAXParserImpl.java:635)
    at org.xml.sax.helpers.XMLFilterImpl.parse (XMLFilterImpl.java:357)
    at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0
(UnmarshallerImpl.java:258)
    at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal
(UnmarshallerImpl.java:236)
    at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal
(UnmarshallerImpl.java:288)
    at org.apache.openejb.jee.JaxbJavaee.unmarshalJavaee
(JaxbJavaee.java:133)
    at org.apache.openejb.config.ReadDescriptors.readBeans
(ReadDescriptors.java:691)
    at org.apache.openejb.config.DeploymentLoader.mergeBeansXml
(DeploymentLoader.java:1196)
    at org.apache.openejb.config.DeploymentLoader.addBeansXmls
(DeploymentLoader.java:1184)
    at org.apache.openejb.config.DeploymentLoader.createWebModule
(DeploymentLoader.java:1098)
    at org.apache.openejb.config.DeploymentLoader.createWebModule
(DeploymentLoader.java:823)
    at org.apache.openejb.config.DeploymentLoader.load
(DeploymentLoader.java:234)
    at org.apache.tomee.catalina.TomcatWebAppBuilder.loadApplication
(TomcatWebAppBuilder.java:2347)
    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:133)
    at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent
(LifecycleBase.java:123)



Am Fr., 9. Nov. 2018 um 13:27 Uhr schrieb Thomas Andraschko <
andraschko.thomas@gmail.com>:

> @Jean-Louis
> Are you saying that TomEE8 M1 itself is not compatbile with Java11?
>
> Currently trying to run my application with tomee-maven-embedded and it
> fails:
> java.lang.IllegalStateException: Unable to initialize agent
>         at
> org.apache.openejb.javaagent.Agent.checkInitialization(Agent.java:104)
>         at
> org.apache.openejb.javaagent.Agent.getInstrumentation(Agent.java:94)
>         at org.apache.tomee.embedded.Container.<clinit>(Container.java:128)
>         at
> org.apache.openejb.maven.plugins.TomEEEmbeddedMojo.execute(TomEEEmbeddedMojo.java:392)
>         at
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
>
>
> Am Do., 8. Nov. 2018 um 21:36 Uhr schrieb Romain Manni-Bucau <
> rmannibucau@gmail.com>:
>
>> Hi JL
>>
>> Openjpa needs xbean upgrade but should be quick. Cxf stack needs some jaxb
>> upgrades from memory. After the stack "supports" java11 as "run it" but
>> think no spec in EE is java >= 9 compatible (modules, spi etc).
>>
>> Should be enough for tomee that said.
>>
>>
>> Le jeu. 8 nov. 2018 20:27, Jean-Louis Monteiro <jl...@tomitribe.com>
>> a
>> écrit :
>>
>> > Hey TomEE lovers,
>> >
>> > I would like to push the Java 11 support forward.
>> >
>> > I tried to gather information here and there. Here is a status with my
>> > view. Please, lemme know if you have further updates or any additional
>> > information.
>> >
>> > XBean: ready and released
>> > OWB: ready and released
>> > TomEE itself (OpenEJB and other integration): ready but not released yet
>> > OpenJPA: not clear, but looks like there is still some work to be done
>> > CXF: ready and released
>> > MyFaces, ActiveMQ, EclipseLink, Mojorra: unknown
>> > Tomcat: ready and released
>> >
>> > Are we on the same page?
>> >
>> > I propose to reach out to communities when libraries are not yet ready
>> or
>> > released and see how we can help.
>> >
>> > Thoughts?
>> >
>> > --
>> > Jean-Louis Monteiro
>> > http://twitter.com/jlouismonteiro
>> > http://www.tomitribe.com
>> >
>>
>

Re: Java 11 status

Posted by Thomas Andraschko <an...@gmail.com>.
@Jean-Louis
Are you saying that TomEE8 M1 itself is not compatbile with Java11?

Currently trying to run my application with tomee-maven-embedded and it
fails:
java.lang.IllegalStateException: Unable to initialize agent
        at
org.apache.openejb.javaagent.Agent.checkInitialization(Agent.java:104)
        at
org.apache.openejb.javaagent.Agent.getInstrumentation(Agent.java:94)
        at org.apache.tomee.embedded.Container.<clinit>(Container.java:128)
        at
org.apache.openejb.maven.plugins.TomEEEmbeddedMojo.execute(TomEEEmbeddedMojo.java:392)
        at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)


Am Do., 8. Nov. 2018 um 21:36 Uhr schrieb Romain Manni-Bucau <
rmannibucau@gmail.com>:

> Hi JL
>
> Openjpa needs xbean upgrade but should be quick. Cxf stack needs some jaxb
> upgrades from memory. After the stack "supports" java11 as "run it" but
> think no spec in EE is java >= 9 compatible (modules, spi etc).
>
> Should be enough for tomee that said.
>
>
> Le jeu. 8 nov. 2018 20:27, Jean-Louis Monteiro <jl...@tomitribe.com>
> a
> écrit :
>
> > Hey TomEE lovers,
> >
> > I would like to push the Java 11 support forward.
> >
> > I tried to gather information here and there. Here is a status with my
> > view. Please, lemme know if you have further updates or any additional
> > information.
> >
> > XBean: ready and released
> > OWB: ready and released
> > TomEE itself (OpenEJB and other integration): ready but not released yet
> > OpenJPA: not clear, but looks like there is still some work to be done
> > CXF: ready and released
> > MyFaces, ActiveMQ, EclipseLink, Mojorra: unknown
> > Tomcat: ready and released
> >
> > Are we on the same page?
> >
> > I propose to reach out to communities when libraries are not yet ready or
> > released and see how we can help.
> >
> > Thoughts?
> >
> > --
> > Jean-Louis Monteiro
> > http://twitter.com/jlouismonteiro
> > http://www.tomitribe.com
> >
>

Re: Java 11 status

Posted by Romain Manni-Bucau <rm...@gmail.com>.
Hi JL

Openjpa needs xbean upgrade but should be quick. Cxf stack needs some jaxb
upgrades from memory. After the stack "supports" java11 as "run it" but
think no spec in EE is java >= 9 compatible (modules, spi etc).

Should be enough for tomee that said.


Le jeu. 8 nov. 2018 20:27, Jean-Louis Monteiro <jl...@tomitribe.com> a
écrit :

> Hey TomEE lovers,
>
> I would like to push the Java 11 support forward.
>
> I tried to gather information here and there. Here is a status with my
> view. Please, lemme know if you have further updates or any additional
> information.
>
> XBean: ready and released
> OWB: ready and released
> TomEE itself (OpenEJB and other integration): ready but not released yet
> OpenJPA: not clear, but looks like there is still some work to be done
> CXF: ready and released
> MyFaces, ActiveMQ, EclipseLink, Mojorra: unknown
> Tomcat: ready and released
>
> Are we on the same page?
>
> I propose to reach out to communities when libraries are not yet ready or
> released and see how we can help.
>
> Thoughts?
>
> --
> Jean-Louis Monteiro
> http://twitter.com/jlouismonteiro
> http://www.tomitribe.com
>

Re: Java 11 status

Posted by Thomas Andraschko <an...@gmail.com>.
About MyFaces: we are not aware of any issue, but i didn't test it
explicitly
in theory there could be problem when scanning the classpath and reading
the classes but AFAIK this part is completely replaced by TomEE via MyFaces
SPI (AnnotationProvider)

Am Do., 8. Nov. 2018 um 20:27 Uhr schrieb Jean-Louis Monteiro <
jlmonteiro@tomitribe.com>:

> Hey TomEE lovers,
>
> I would like to push the Java 11 support forward.
>
> I tried to gather information here and there. Here is a status with my
> view. Please, lemme know if you have further updates or any additional
> information.
>
> XBean: ready and released
> OWB: ready and released
> TomEE itself (OpenEJB and other integration): ready but not released yet
> OpenJPA: not clear, but looks like there is still some work to be done
> CXF: ready and released
> MyFaces, ActiveMQ, EclipseLink, Mojorra: unknown
> Tomcat: ready and released
>
> Are we on the same page?
>
> I propose to reach out to communities when libraries are not yet ready or
> released and see how we can help.
>
> Thoughts?
>
> --
> Jean-Louis Monteiro
> http://twitter.com/jlouismonteiro
> http://www.tomitribe.com
>