[ https://issues.apache.org/jira/browse/TOMEE-2270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16685389#comment-16685389 ]
Romain Manni-Bucau commented on TOMEE-2270: ------------------------------------------- Hi guys, this requires {code} -Djdk.attach.allowAttachSelf=true {code} in maven opts or so for this plugin since it is embedded > Java11: Unable to initialize agent with embedded-maven-plugin > ------------------------------------------------------------- > > Key: TOMEE-2270 > URL: https://issues.apache.org/jira/browse/TOMEE-2270 > Project: TomEE > Issue Type: Bug > Components: TomEE Core Server, TomEE Maven Plugin > Affects Versions: 8.0.0-M1, 7.0.5 > Reporter: Thomas Andraschko > Priority: Major > Fix For: 8.0.0-Final > > Attachments: test.zip > > > ava.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) -- This message was sent by Atlassian JIRA (v7.6.3#76005)