I have opened this ticket and pushed a fix on both Java EE 7 and 8 API jar. New snapshot deployed.
I'm waiting for the full build on master to pass and then I'll close the ticket and fire up the 2 releases -- Jean-Louis Monteiro http://twitter.com/jlouismonteiro http://www.tomitribe.com On Mon, Sep 23, 2019 at 2:07 PM Jean-Louis Monteiro < jlmonte...@tomitribe.com> wrote: > Ok I think I found the issue. > It's the locator that disappeared from the javaee-api jar. > -- > Jean-Louis Monteiro > http://twitter.com/jlouismonteiro > http://www.tomitribe.com > > > On Mon, Sep 23, 2019 at 10:46 AM Jean-Louis Monteiro < > jlmonte...@tomitribe.com> wrote: > >> Yeah, got it from Maven, but does not really matter. Just wanted to >> double check if it was still there. >> Bruce, can you please give some JVM details? >> >> -- >> Jean-Louis Monteiro >> http://twitter.com/jlouismonteiro >> http://www.tomitribe.com >> >> >> On Mon, Sep 23, 2019 at 10:40 AM Jonathan Gallimore < >> jonathan.gallim...@gmail.com> wrote: >> >>> I think we still put the standalone server in Maven, but it shouldn't be >>> in >>> the dist area or on the website for 8.0.0. Same for the .war files. >>> >>> Jon >>> >>> On Mon, 23 Sep 2019, 17:56 Jean-Louis Monteiro, < >>> jlmonte...@tomitribe.com> >>> wrote: >>> >>> > I double check in the last TomEE 8.0.0 final and looks like there is >>> the >>> > same issue happening. >>> > -- >>> > Jean-Louis Monteiro >>> > http://twitter.com/jlouismonteiro >>> > http://www.tomitribe.com >>> > >>> > >>> > On Mon, Sep 23, 2019 at 9:03 AM Jean-Louis Monteiro < >>> > jlmonte...@tomitribe.com> wrote: >>> > >>> > > Hi, >>> > > >>> > > Thanks for reporting the issue. >>> > > I'll download it and have a look quickly to see if I can point out >>> > > something. >>> > > >>> > > -- >>> > > Jean-Louis Monteiro >>> > > http://twitter.com/jlouismonteiro >>> > > http://www.tomitribe.com >>> > > >>> > > >>> > > On Mon, Sep 23, 2019 at 6:23 AM Bruce Beaumont < >>> > bruce.beaum...@makro.co.za> >>> > > wrote: >>> > > >>> > >> HI >>> > >> >>> > >> I have downloaded and extracted the latest openejb standalone >>> (7.1.1) >>> > >> When I run it (bin/openejb start) it does not start and throws the >>> > >> following stack trace. >>> > >> I have tried this on Linux and OSX with a variety of Java version 8 >>> > >> (Openjdk and oracle) >>> > >> >>> > >> Is there something else I need to add to the class path or >>> configure? >>> > >> >>> > >> >>> > >> INFO: Creating SecurityService(id=Default Security Service) >>> > >> >>> > >> org.apache.openejb.OpenEJBException: >>> > >> org.apache.xbean.recipe.ConstructionException: Error invoking >>> > constructor: >>> > >> public org.apache.openejb.core.security.SecurityServiceImpl(): Error >>> > >> invoking constructor: public >>> > >> org.apache.openejb.core.security.SecurityServiceImpl() >>> > >> >>> > >> at >>> > >> >>> org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:497) >>> > >> >>> > >> at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:150) >>> > >> >>> > >> at org.apache.openejb.OpenEJB.init(OpenEJB.java:307) >>> > >> >>> > >> at org.apache.openejb.server.Server.init(Server.java:65) >>> > >> >>> > >> at org.apache.openejb.server.Main.initServer(Main.java:154) >>> > >> >>> > >> at org.apache.openejb.server.Main.main(Main.java:128) >>> > >> >>> > >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>> > >> >>> > >> at >>> > >> >>> > >>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) >>> > >> >>> > >> at >>> > >> >>> > >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) >>> > >> >>> > >> at java.lang.reflect.Method.invoke(Method.java:498) >>> > >> >>> > >> at org.apache.openejb.cli.MainImpl.main(MainImpl.java:149) >>> > >> >>> > >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>> > >> >>> > >> at >>> > >> >>> > >>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) >>> > >> >>> > >> at >>> > >> >>> > >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) >>> > >> >>> > >> at java.lang.reflect.Method.invoke(Method.java:498) >>> > >> >>> > >> at org.apache.openejb.cli.Bootstrap.main(Bootstrap.java:189) >>> > >> >>> > >> Caused by: org.apache.xbean.recipe.ConstructionException: Error >>> invoking >>> > >> constructor: public >>> > org.apache.openejb.core.security.SecurityServiceImpl() >>> > >> >>> > >> at >>> > >> >>> > >>> org.apache.xbean.recipe.ReflectionUtil$ConstructorFactory.create(ReflectionUtil.java:979) >>> > >> >>> > >> at >>> > >> >>> > >>> org.apache.xbean.recipe.ObjectRecipe.internalCreate(ObjectRecipe.java:279) >>> > >> >>> > >> at >>> org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:96) >>> > >> >>> > >> at >>> org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:61) >>> > >> >>> > >> at >>> org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:49) >>> > >> >>> > >> at >>> > >> >>> > >>> org.apache.openejb.assembler.classic.Assembler.createSecurityService(Assembler.java:3533) >>> > >> >>> > >> at >>> > >> >>> > >>> org.apache.openejb.assembler.classic.Assembler.buildContainerSystem(Assembler.java:566) >>> > >> >>> > >> at >>> > >> >>> org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:484) >>> > >> >>> > >> ... 15 more >>> > >> >>> > >> Caused by: java.lang.NoClassDefFoundError: >>> > >> org/apache/geronimo/osgi/locator/ProviderLocator >>> > >> >>> > >> at >>> > >> >>> > >>> javax.security.jacc.PolicyConfigurationFactory$1.run(PolicyConfigurationFactory.java:89) >>> > >> >>> > >> at java.security.AccessController.doPrivileged(Native Method) >>> > >> >>> > >> at >>> > >> >>> > >>> javax.security.jacc.PolicyConfigurationFactory.getPolicyConfigurationFactory(PolicyConfigurationFactory.java:80) >>> > >> >>> > >> at >>> > >> >>> > >>> org.apache.openejb.core.security.AbstractSecurityService.installJacc(AbstractSecurityService.java:352) >>> > >> >>> > >> at >>> > >> >>> > >>> org.apache.openejb.core.security.AbstractSecurityService.<init>(AbstractSecurityService.java:78) >>> > >> >>> > >> at >>> > >> >>> > >>> org.apache.openejb.core.security.SecurityServiceImpl.<init>(SecurityServiceImpl.java:46) >>> > >> >>> > >> at >>> > >> >>> > >>> org.apache.openejb.core.security.SecurityServiceImpl.<init>(SecurityServiceImpl.java:42) >>> > >> >>> > >> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native >>> Method) >>> > >> >>> > >> at >>> > >> >>> > >>> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) >>> > >> >>> > >> at >>> > >> >>> > >>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) >>> > >> >>> > >> at java.lang.reflect.Constructor.newInstance(Constructor.java:423) >>> > >> >>> > >> at >>> > >> >>> > >>> org.apache.xbean.recipe.ReflectionUtil$ConstructorFactory.create(ReflectionUtil.java:969) >>> > >> >>> > >> ... 22 more >>> > >> >>> > >> Caused by: java.lang.ClassNotFoundException: >>> > >> org.apache.geronimo.osgi.locator.ProviderLocator >>> > >> >>> > >> at java.net.URLClassLoader.findClass(URLClassLoader.java:381) >>> > >> >>> > >> at java.lang.ClassLoader.loadClass(ClassLoader.java:424) >>> > >> >>> > >> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) >>> > >> >>> > >> at java.lang.ClassLoader.loadClass(ClassLoader.java:357) >>> > >> >>> > >> ... 34 more >>> > >> >>> > >> Sep 23, 2019 3:17:07 PM org.apache.openejb.util.LogStreamAsync run >>> > >> >>> > >> SEVERE: FATAL ERROR: Unknown error in Assembler. Please send the >>> > >> following stack trace and this message to users@tomee.apache.org : >>> > >> >>> > >> org.apache.xbean.recipe.ConstructionException: Error invoking >>> > >> constructor: public >>> > org.apache.openejb.core.security.SecurityServiceImpl() >>> > >> >>> > >> at >>> > >> >>> > >>> org.apache.xbean.recipe.ReflectionUtil$ConstructorFactory.create(ReflectionUtil.java:979) >>> > >> >>> > >> at >>> > >> >>> > >>> org.apache.xbean.recipe.ObjectRecipe.internalCreate(ObjectRecipe.java:279) >>> > >> >>> > >> at >>> org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:96) >>> > >> >>> > >> at >>> org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:61) >>> > >> >>> > >> at >>> org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:49) >>> > >> >>> > >> at >>> > >> >>> > >>> org.apache.openejb.assembler.classic.Assembler.createSecurityService(Assembler.java:3533) >>> > >> >>> > >> at >>> > >> >>> > >>> org.apache.openejb.assembler.classic.Assembler.buildContainerSystem(Assembler.java:566) >>> > >> >>> > >> at >>> > >> >>> org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:484) >>> > >> >>> > >> at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:150) >>> > >> >>> > >> at org.apache.openejb.OpenEJB.init(OpenEJB.java:307) >>> > >> >>> > >> at org.apache.openejb.server.Server.init(Server.java:65) >>> > >> >>> > >> at org.apache.openejb.server.Main.initServer(Main.java:154) >>> > >> >>> > >> at org.apache.openejb.server.Main.main(Main.java:128) >>> > >> >>> > >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>> > >> >>> > >> at >>> > >> >>> > >>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) >>> > >> >>> > >> at >>> > >> >>> > >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) >>> > >> >>> > >> at java.lang.reflect.Method.invoke(Method.java:498) >>> > >> >>> > >> at org.apache.openejb.cli.MainImpl.main(MainImpl.java:149) >>> > >> >>> > >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>> > >> >>> > >> at >>> > >> >>> > >>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) >>> > >> >>> > >> at >>> > >> >>> > >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) >>> > >> >>> > >> at java.lang.reflect.Method.invoke(Method.java:498) >>> > >> >>> > >> at org.apache.openejb.cli.Bootstrap.main(Bootstrap.java:189) >>> > >> >>> > >> Caused by: java.lang.NoClassDefFoundError: >>> > >> org/apache/geronimo/osgi/locator/ProviderLocator >>> > >> >>> > >> at >>> > >> >>> > >>> javax.security.jacc.PolicyConfigurationFactory$1.run(PolicyConfigurationFactory.java:89) >>> > >> >>> > >> at java.security.AccessController.doPrivileged(Native Method) >>> > >> >>> > >> at >>> > >> >>> > >>> javax.security.jacc.PolicyConfigurationFactory.getPolicyConfigurationFactory(PolicyConfigurationFactory.java:80) >>> > >> >>> > >> at >>> > >> >>> > >>> org.apache.openejb.core.security.AbstractSecurityService.installJacc(AbstractSecurityService.java:352) >>> > >> >>> > >> at >>> > >> >>> > >>> org.apache.openejb.core.security.AbstractSecurityService.<init>(AbstractSecurityService.java:78) >>> > >> >>> > >> at >>> > >> >>> > >>> org.apache.openejb.core.security.SecurityServiceImpl.<init>(SecurityServiceImpl.java:46) >>> > >> >>> > >> at >>> > >> >>> > >>> org.apache.openejb.core.security.SecurityServiceImpl.<init>(SecurityServiceImpl.java:42) >>> > >> >>> > >> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native >>> Method) >>> > >> >>> > >> at >>> > >> >>> > >>> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) >>> > >> >>> > >> at >>> > >> >>> > >>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) >>> > >> >>> > >> at java.lang.reflect.Constructor.newInstance(Constructor.java:423) >>> > >> >>> > >> at >>> > >> >>> > >>> org.apache.xbean.recipe.ReflectionUtil$ConstructorFactory.create(ReflectionUtil.java:969) >>> > >> >>> > >> ... 22 more >>> > >> >>> > >> Caused by: java.lang.ClassNotFoundException: >>> > >> org.apache.geronimo.osgi.locator.ProviderLocator >>> > >> >>> > >> at java.net.URLClassLoader.findClass(URLClassLoader.java:381) >>> > >> >>> > >> at java.lang.ClassLoader.loadClass(ClassLoader.java:424) >>> > >> >>> > >> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) >>> > >> >>> > >> at java.lang.ClassLoader.loadClass(ClassLoader.java:357) >>> > >> >>> > >> ... 34 more >>> > >> >>> > >> >>> > >> Sep 23, 2019 3:17:07 PM org.apache.openejb.util.LogStreamAsync run >>> > >> >>> > >> SEVERE: OpenEJB has encountered a fatal error and cannot be started: >>> > >> Assembler failed to build the container system. >>> > >> >>> > >> org.apache.openejb.OpenEJBException: >>> > >> org.apache.xbean.recipe.ConstructionException: Error invoking >>> > constructor: >>> > >> public org.apache.openejb.core.security.SecurityServiceImpl(): Error >>> > >> invoking constructor: public >>> > >> org.apache.openejb.core.security.SecurityServiceImpl() >>> > >> >>> > >> at >>> > >> >>> org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:497) >>> > >> >>> > >> at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:150) >>> > >> >>> > >> at org.apache.openejb.OpenEJB.init(OpenEJB.java:307) >>> > >> >>> > >> at org.apache.openejb.server.Server.init(Server.java:65) >>> > >> >>> > >> at org.apache.openejb.server.Main.initServer(Main.java:154) >>> > >> >>> > >> at org.apache.openejb.server.Main.main(Main.java:128) >>> > >> >>> > >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>> > >> >>> > >> at >>> > >> >>> > >>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) >>> > >> >>> > >> at >>> > >> >>> > >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) >>> > >> >>> > >> at java.lang.reflect.Method.invoke(Method.java:498) >>> > >> >>> > >> at org.apache.openejb.cli.MainImpl.main(MainImpl.java:149) >>> > >> >>> > >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>> > >> >>> > >> at >>> > >> >>> > >>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) >>> > >> >>> > >> at >>> > >> >>> > >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) >>> > >> >>> > >> at java.lang.reflect.Method.invoke(Method.java:498) >>> > >> >>> > >> at org.apache.openejb.cli.Bootstrap.main(Bootstrap.java:189) >>> > >> >>> > >> Caused by: org.apache.xbean.recipe.ConstructionException: Error >>> invoking >>> > >> constructor: public >>> > org.apache.openejb.core.security.SecurityServiceImpl() >>> > >> >>> > >> at >>> > >> >>> > >>> org.apache.xbean.recipe.ReflectionUtil$ConstructorFactory.create(ReflectionUtil.java:979) >>> > >> >>> > >> at >>> > >> >>> > >>> org.apache.xbean.recipe.ObjectRecipe.internalCreate(ObjectRecipe.java:279) >>> > >> >>> > >> at >>> org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:96) >>> > >> >>> > >> at >>> org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:61) >>> > >> >>> > >> at >>> org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:49) >>> > >> >>> > >> at >>> > >> >>> > >>> org.apache.openejb.assembler.classic.Assembler.createSecurityService(Assembler.java:3533) >>> > >> >>> > >> at >>> > >> >>> > >>> org.apache.openejb.assembler.classic.Assembler.buildContainerSystem(Assembler.java:566) >>> > >> >>> > >> at >>> > >> >>> org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:484) >>> > >> >>> > >> ... 15 more >>> > >> >>> > >> Caused by: java.lang.NoClassDefFoundError: >>> > >> org/apache/geronimo/osgi/locator/ProviderLocator >>> > >> >>> > >> at >>> > >> >>> > >>> javax.security.jacc.PolicyConfigurationFactory$1.run(PolicyConfigurationFactory.java:89) >>> > >> >>> > >> at java.security.AccessController.doPrivileged(Native Method) >>> > >> >>> > >> at >>> > >> >>> > >>> javax.security.jacc.PolicyConfigurationFactory.getPolicyConfigurationFactory(PolicyConfigurationFactory.java:80) >>> > >> >>> > >> at >>> > >> >>> > >>> org.apache.openejb.core.security.AbstractSecurityService.installJacc(AbstractSecurityService.java:352) >>> > >> >>> > >> at >>> > >> >>> > >>> org.apache.openejb.core.security.AbstractSecurityService.<init>(AbstractSecurityService.java:78) >>> > >> >>> > >> at >>> > >> >>> > >>> org.apache.openejb.core.security.SecurityServiceImpl.<init>(SecurityServiceImpl.java:46) >>> > >> >>> > >> at >>> > >> >>> > >>> org.apache.openejb.core.security.SecurityServiceImpl.<init>(SecurityServiceImpl.java:42) >>> > >> >>> > >> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native >>> Method) >>> > >> >>> > >> at >>> > >> >>> > >>> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) >>> > >> >>> > >> at >>> > >> >>> > >>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) >>> > >> >>> > >> at java.lang.reflect.Constructor.newInstance(Constructor.java:423) >>> > >> >>> > >> at >>> > >> >>> > >>> org.apache.xbean.recipe.ReflectionUtil$ConstructorFactory.create(ReflectionUtil.java:969) >>> > >> >>> > >> ... 22 more >>> > >> >>> > >> Caused by: java.lang.ClassNotFoundException: >>> > >> org.apache.geronimo.osgi.locator.ProviderLocator >>> > >> >>> > >> at java.net.URLClassLoader.findClass(URLClassLoader.java:381) >>> > >> >>> > >> at java.lang.ClassLoader.loadClass(ClassLoader.java:424) >>> > >> >>> > >> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) >>> > >> >>> > >> at java.lang.ClassLoader.loadClass(ClassLoader.java:357) >>> > >> >>> > >> ... 34 more >>> > >> >>> > >> Disclaimer >>> > >> >>> > >> >>> > >> Massmart Ethics: Tell us if we don't do what is Right, Fair, >>> Honest and >>> > >> Legal. Free call 0800 20 32 46 or email massm...@ethics-line.com >>> > >> (Massmart's Ethics Line is managed confidentially by Deloitte >>> Tip-offs >>> > >> Anonymous) >>> > >> To view the Email Disclaimer, click on the hyperlink: Massmart >>> Email >>> > >> Disclaimer >>> > >> >>> > > >>> > >>> >>