Openejb standalone

classic Classic list List threaded Threaded
11 messages Options
BPB
Reply | Threaded
Open this post in threaded view
|

Openejb standalone

BPB
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 [hidden email] :

 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 [hidden email] (Massmart's Ethics Line is managed confidentially by Deloitte Tip-offs Anonymous)
 To view the Email Disclaimer, click on the hyperlink: Massmart Email Disclaimer    
Reply | Threaded
Open this post in threaded view
|

Re: Openejb standalone

Jean-Louis MONTEIRO
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 <[hidden email]>
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 [hidden email] :
>
>  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 [hidden email]
> (Massmart's Ethics Line is managed confidentially by Deloitte Tip-offs
> Anonymous)
>  To view the Email Disclaimer, click on the hyperlink: Massmart Email
> Disclaimer
>
   --
    Jean-Louis Monteiro
    http://twitter.com/jlouismonteiro
    http://www.tomitribe.com
Reply | Threaded
Open this post in threaded view
|

Re: Openejb standalone

Jean-Louis MONTEIRO
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 <
[hidden email]> 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 <[hidden email]>
> 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 [hidden email] :
>>
>>  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 [hidden email]
>> (Massmart's Ethics Line is managed confidentially by Deloitte Tip-offs
>> Anonymous)
>>  To view the Email Disclaimer, click on the hyperlink: Massmart Email
>> Disclaimer
>>
>
   --
    Jean-Louis Monteiro
    http://twitter.com/jlouismonteiro
    http://www.tomitribe.com
Reply | Threaded
Open this post in threaded view
|

Re: Openejb standalone

jgallimore
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, <[hidden email]>
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 <
> [hidden email]> 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 <
> [hidden email]>
> > 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 [hidden email] :
> >>
> >>  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 [hidden email]
> >> (Massmart's Ethics Line is managed confidentially by Deloitte Tip-offs
> >> Anonymous)
> >>  To view the Email Disclaimer, click on the hyperlink: Massmart Email
> >> Disclaimer
> >>
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: Openejb standalone

Jean-Louis MONTEIRO
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 <
[hidden email]> 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, <[hidden email]>
> 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 <
> > [hidden email]> 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 <
> > [hidden email]>
> > > 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 [hidden email] :
> > >>
> > >>  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 [hidden email]
> > >> (Massmart's Ethics Line is managed confidentially by Deloitte Tip-offs
> > >> Anonymous)
> > >>  To view the Email Disclaimer, click on the hyperlink: Massmart Email
> > >> Disclaimer
> > >>
> > >
> >
>
   --
    Jean-Louis Monteiro
    http://twitter.com/jlouismonteiro
    http://www.tomitribe.com
Reply | Threaded
Open this post in threaded view
|

Re: Openejb standalone

Jean-Louis MONTEIRO
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 <
[hidden email]> 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 <
> [hidden email]> 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, <[hidden email]
>> >
>> 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 <
>> > [hidden email]> 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 <
>> > [hidden email]>
>> > > 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 [hidden email] :
>> > >>
>> > >>  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 [hidden email]
>> > >> (Massmart's Ethics Line is managed confidentially by Deloitte
>> Tip-offs
>> > >> Anonymous)
>> > >>  To view the Email Disclaimer, click on the hyperlink: Massmart Email
>> > >> Disclaimer
>> > >>
>> > >
>> >
>>
>
   --
    Jean-Louis Monteiro
    http://twitter.com/jlouismonteiro
    http://www.tomitribe.com
Reply | Threaded
Open this post in threaded view
|

Re: Openejb standalone

Jean-Louis MONTEIRO
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 <
[hidden email]> 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 <
> [hidden email]> 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 <
>> [hidden email]> 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, <
>>> [hidden email]>
>>> 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 <
>>> > [hidden email]> 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 <
>>> > [hidden email]>
>>> > > 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 [hidden email] :
>>> > >>
>>> > >>  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 [hidden email]
>>> > >> (Massmart's Ethics Line is managed confidentially by Deloitte
>>> Tip-offs
>>> > >> Anonymous)
>>> > >>  To view the Email Disclaimer, click on the hyperlink: Massmart
>>> Email
>>> > >> Disclaimer
>>> > >>
>>> > >
>>> >
>>>
>>
   --
    Jean-Louis Monteiro
    http://twitter.com/jlouismonteiro
    http://www.tomitribe.com
BPB
Reply | Threaded
Open this post in threaded view
|

Re: Openejb standalone

BPB
Thank you

From: Jean-Louis Monteiro <[hidden email]<mailto:[hidden email]>>
Reply-To: "[hidden email]<mailto:[hidden email]>" <[hidden email]<mailto:[hidden email]>>
Date: Tuesday, 24 September 2019 at 00:20
To: "[hidden email]<mailto:[hidden email]>" <[hidden email]<mailto:[hidden email]>>
Subject: Re: Openejb standalone

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://twitter.com/jlouismonteiro>
http://www.tomitribe.com<http://www.tomitribe.com>


On Mon, Sep 23, 2019 at 2:07 PM Jean-Louis Monteiro <
[hidden email]<mailto:[hidden email]>> 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://twitter.com/jlouismonteiro>
> http://www.tomitribe.com<http://www.tomitribe.com>
>
>
> On Mon, Sep 23, 2019 at 10:46 AM Jean-Louis Monteiro <
> [hidden email]<mailto:[hidden email]>> 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://twitter.com/jlouismonteiro>
>> http://www.tomitribe.com<http://www.tomitribe.com>
>>
>>
>> On Mon, Sep 23, 2019 at 10:40 AM Jonathan Gallimore <
>> [hidden email]<mailto:[hidden email]>> 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, <
>>> [hidden email]<mailto:[hidden email]>>
>>> 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://twitter.com/jlouismonteiro>
>>> > http://www.tomitribe.com<http://www.tomitribe.com>
>>> >
>>> >
>>> > On Mon, Sep 23, 2019 at 9:03 AM Jean-Louis Monteiro <
>>> > [hidden email]<mailto:[hidden email]>> 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://twitter.com/jlouismonteiro>
>>> > > http://www.tomitribe.com<http://www.tomitribe.com>
>>> > >
>>> > >
>>> > > On Mon, Sep 23, 2019 at 6:23 AM Bruce Beaumont <
>>> > [hidden email]<mailto:[hidden email]>>
>>> > > 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>(http://OpenEJB.java:150<http://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>(http://AbstractSecurityService.java:78<http://AbstractSecurityService.java:78>)
>>> > >>
>>> > >> at
>>> > >>
>>> >
>>> org.apache.openejb.core.security.SecurityServiceImpl.<init>(http://SecurityServiceImpl.java:46<http://SecurityServiceImpl.java:46>)
>>> > >>
>>> > >> at
>>> > >>
>>> >
>>> org.apache.openejb.core.security.SecurityServiceImpl.<init>(http://SecurityServiceImpl.java:42<http://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 [hidden email]<mailto:[hidden email]> :
>>> > >>
>>> > >> 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>(http://OpenEJB.java:150<http://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>(http://AbstractSecurityService.java:78<http://AbstractSecurityService.java:78>)
>>> > >>
>>> > >> at
>>> > >>
>>> >
>>> org.apache.openejb.core.security.SecurityServiceImpl.<init>(http://SecurityServiceImpl.java:46<http://SecurityServiceImpl.java:46>)
>>> > >>
>>> > >> at
>>> > >>
>>> >
>>> org.apache.openejb.core.security.SecurityServiceImpl.<init>(http://SecurityServiceImpl.java:42<http://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>(http://OpenEJB.java:150<http://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>(http://AbstractSecurityService.java:78<http://AbstractSecurityService.java:78>)
>>> > >>
>>> > >> at
>>> > >>
>>> >
>>> org.apache.openejb.core.security.SecurityServiceImpl.<init>(http://SecurityServiceImpl.java:46<http://SecurityServiceImpl.java:46>)
>>> > >>
>>> > >> at
>>> > >>
>>> >
>>> org.apache.openejb.core.security.SecurityServiceImpl.<init>(http://SecurityServiceImpl.java:42<http://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 [hidden email]<mailto:[hidden email]>
>>> > >> (Massmart's Ethics Line is managed confidentially by Deloitte
>>> Tip-offs
>>> > >> Anonymous)
>>> > >> To view the Email Disclaimer, click on the hyperlink: Massmart
>>> Email
>>> > >> Disclaimer
>>> > >>
>>> > >
>>> >
>>>
>>
BPB
Reply | Threaded
Open this post in threaded view
|

Re: Openejb standalone

BPB
In reply to this post by Jean-Louis MONTEIRO
On OSX


java version "1.8.0_77"

Java(TM) SE Runtime Environment (build 1.8.0_77-b03)

Java HotSpot(TM) 64-Bit Server VM (build 25.77-b03, mixed mode)


openjdk version "1.8.0_222"

OpenJDK Runtime Environment (Zulu 8.40.0.25-CA-macosx) (build 1.8.0_222-b10)

OpenJDK 64-Bit Server VM (Zulu 8.40.0.25-CA-macosx) (build 25.222-b10, mixed mode)


Similar list on Linux (64 bit Centos 7)

From: Jean-Louis Monteiro <[hidden email]<mailto:[hidden email]>>
Reply-To: "[hidden email]<mailto:[hidden email]>" <[hidden email]<mailto:[hidden email]>>
Date: Monday, 23 September 2019 at 19:46
To: "[hidden email]<mailto:[hidden email]>" <[hidden email]<mailto:[hidden email]>>
Subject: Re: Openejb standalone

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://twitter.com/jlouismonteiro>
http://www.tomitribe.com<http://www.tomitribe.com>


On Mon, Sep 23, 2019 at 10:40 AM Jonathan Gallimore <
[hidden email]<mailto:[hidden email]>> 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, <[hidden email]<mailto:[hidden email]>>
> 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://twitter.com/jlouismonteiro>
> > http://www.tomitribe.com<http://www.tomitribe.com>
> >
> >
> > On Mon, Sep 23, 2019 at 9:03 AM Jean-Louis Monteiro <
> > [hidden email]<mailto:[hidden email]>> 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://twitter.com/jlouismonteiro>
> > > http://www.tomitribe.com<http://www.tomitribe.com>
> > >
> > >
> > > On Mon, Sep 23, 2019 at 6:23 AM Bruce Beaumont <
> > [hidden email]<mailto:[hidden email]>>
> > > 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>(http://OpenEJB.java:150<http://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>(http://AbstractSecurityService.java:78<http://AbstractSecurityService.java:78>)
> > >>
> > >> at
> > >>
> >
> org.apache.openejb.core.security.SecurityServiceImpl.<init>(http://SecurityServiceImpl.java:46<http://SecurityServiceImpl.java:46>)
> > >>
> > >> at
> > >>
> >
> org.apache.openejb.core.security.SecurityServiceImpl.<init>(http://SecurityServiceImpl.java:42<http://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 [hidden email]<mailto:[hidden email]> :
> > >>
> > >> 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>(http://OpenEJB.java:150<http://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>(http://AbstractSecurityService.java:78<http://AbstractSecurityService.java:78>)
> > >>
> > >> at
> > >>
> >
> org.apache.openejb.core.security.SecurityServiceImpl.<init>(http://SecurityServiceImpl.java:46<http://SecurityServiceImpl.java:46>)
> > >>
> > >> at
> > >>
> >
> org.apache.openejb.core.security.SecurityServiceImpl.<init>(http://SecurityServiceImpl.java:42<http://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>(http://OpenEJB.java:150<http://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>(http://AbstractSecurityService.java:78<http://AbstractSecurityService.java:78>)
> > >>
> > >> at
> > >>
> >
> org.apache.openejb.core.security.SecurityServiceImpl.<init>(http://SecurityServiceImpl.java:46<http://SecurityServiceImpl.java:46>)
> > >>
> > >> at
> > >>
> >
> org.apache.openejb.core.security.SecurityServiceImpl.<init>(http://SecurityServiceImpl.java:42<http://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 [hidden email]<mailto:[hidden email]>
> > >> (Massmart's Ethics Line is managed confidentially by Deloitte Tip-offs
> > >> Anonymous)
> > >> To view the Email Disclaimer, click on the hyperlink: Massmart Email
> > >> Disclaimer
> > >>
> > >
> >
>
BPB
Reply | Threaded
Open this post in threaded view
|

Re: Openejb standalone

BPB
In reply to this post by Jean-Louis MONTEIRO
Hi

Sorry to bug you but I do not understand the process.
When / where will it be possible to get the new versions?
Will 8.0.0 also have a standalone? There is no option to download on the tomee.apache.org site

From: Jean-Louis Monteiro <[hidden email]<mailto:[hidden email]>>
Reply-To: "[hidden email]<mailto:[hidden email]>" <[hidden email]<mailto:[hidden email]>>
Date: Tuesday, 24 September 2019 at 00:20
To: "[hidden email]<mailto:[hidden email]>" <[hidden email]<mailto:[hidden email]>>
Subject: Re: Openejb standalone

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://twitter.com/jlouismonteiro>
http://www.tomitribe.com<http://www.tomitribe.com>


On Mon, Sep 23, 2019 at 2:07 PM Jean-Louis Monteiro <
[hidden email]<mailto:[hidden email]>> 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://twitter.com/jlouismonteiro>
> http://www.tomitribe.com<http://www.tomitribe.com>
>
>
> On Mon, Sep 23, 2019 at 10:46 AM Jean-Louis Monteiro <
> [hidden email]<mailto:[hidden email]>> 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://twitter.com/jlouismonteiro>
>> http://www.tomitribe.com<http://www.tomitribe.com>
>>
>>
>> On Mon, Sep 23, 2019 at 10:40 AM Jonathan Gallimore <
>> [hidden email]<mailto:[hidden email]>> 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, <
>>> [hidden email]<mailto:[hidden email]>>
>>> 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://twitter.com/jlouismonteiro>
>>> > http://www.tomitribe.com<http://www.tomitribe.com>
>>> >
>>> >
>>> > On Mon, Sep 23, 2019 at 9:03 AM Jean-Louis Monteiro <
>>> > [hidden email]<mailto:[hidden email]>> 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://twitter.com/jlouismonteiro>
>>> > > http://www.tomitribe.com<http://www.tomitribe.com>
>>> > >
>>> > >
>>> > > On Mon, Sep 23, 2019 at 6:23 AM Bruce Beaumont <
>>> > [hidden email]<mailto:[hidden email]>>
>>> > > 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>(http://OpenEJB.java:150<http://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>(http://AbstractSecurityService.java:78<http://AbstractSecurityService.java:78>)
>>> > >>
>>> > >> at
>>> > >>
>>> >
>>> org.apache.openejb.core.security.SecurityServiceImpl.<init>(http://SecurityServiceImpl.java:46<http://SecurityServiceImpl.java:46>)
>>> > >>
>>> > >> at
>>> > >>
>>> >
>>> org.apache.openejb.core.security.SecurityServiceImpl.<init>(http://SecurityServiceImpl.java:42<http://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 [hidden email]<mailto:[hidden email]> :
>>> > >>
>>> > >> 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>(http://OpenEJB.java:150<http://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>(http://AbstractSecurityService.java:78<http://AbstractSecurityService.java:78>)
>>> > >>
>>> > >> at
>>> > >>
>>> >
>>> org.apache.openejb.core.security.SecurityServiceImpl.<init>(http://SecurityServiceImpl.java:46<http://SecurityServiceImpl.java:46>)
>>> > >>
>>> > >> at
>>> > >>
>>> >
>>> org.apache.openejb.core.security.SecurityServiceImpl.<init>(http://SecurityServiceImpl.java:42<http://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>(http://OpenEJB.java:150<http://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>(http://AbstractSecurityService.java:78<http://AbstractSecurityService.java:78>)
>>> > >>
>>> > >> at
>>> > >>
>>> >
>>> org.apache.openejb.core.security.SecurityServiceImpl.<init>(http://SecurityServiceImpl.java:46<http://SecurityServiceImpl.java:46>)
>>> > >>
>>> > >> at
>>> > >>
>>> >
>>> org.apache.openejb.core.security.SecurityServiceImpl.<init>(http://SecurityServiceImpl.java:42<http://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 [hidden email]<mailto:[hidden email]>
>>> > >> (Massmart's Ethics Line is managed confidentially by Deloitte
>>> Tip-offs
>>> > >> Anonymous)
>>> > >> To view the Email Disclaimer, click on the hyperlink: Massmart
>>> Email
>>> > >> Disclaimer
>>> > >>
>>> > >
>>> >
>>>
>>
Reply | Threaded
Open this post in threaded view
|

Re: Openejb standalone

Jean-Louis MONTEIRO
Hi,

Don't be sorry, it's always fine to ask questions.
And if you do, probably more users are wondering the same thing.

Long story short, we have added the fix in the Java EE 7 and 8 APIs.
The snapshots have been deployed and used in the build to see if something
else have been broken after the change.

I have been traveling for 2 days and could not monitor the build state. But
it's green on TomEE 8.x
On TomEE 7.1.x I haven't done the backport yet.


In terms of release, we'll need to discuss in the community if we want to
do some.
If we do, we need first some days to get the javaee-api jars up for vote
and wait the required time (per Apache rules).

Then we would need to do the same with TomEE itself.
Even if standalone is not advertise on the TomEE download page, it's still
built and available from maven central.

Hope it helps



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


On Wed, Sep 25, 2019 at 9:03 AM Bruce Beaumont <[hidden email]>
wrote:

> Hi
>
> Sorry to bug you but I do not understand the process.
> When / where will it be possible to get the new versions?
> Will 8.0.0 also have a standalone? There is no option to download on the
> tomee.apache.org site
>
> From: Jean-Louis Monteiro <[hidden email]<mailto:
> [hidden email]>>
> Reply-To: "[hidden email]<mailto:[hidden email]>" <
> [hidden email]<mailto:[hidden email]>>
> Date: Tuesday, 24 September 2019 at 00:20
> To: "[hidden email]<mailto:[hidden email]>" <
> [hidden email]<mailto:[hidden email]>>
> Subject: Re: Openejb standalone
>
> 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://twitter.com/jlouismonteiro>
> http://www.tomitribe.com<http://www.tomitribe.com>
>
>
> On Mon, Sep 23, 2019 at 2:07 PM Jean-Louis Monteiro <
> [hidden email]<mailto:[hidden email]>> 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://twitter.com/jlouismonteiro>
> > http://www.tomitribe.com<http://www.tomitribe.com>
> >
> >
> > On Mon, Sep 23, 2019 at 10:46 AM Jean-Louis Monteiro <
> > [hidden email]<mailto:[hidden email]>> 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://twitter.com/jlouismonteiro>
> >> http://www.tomitribe.com<http://www.tomitribe.com>
> >>
> >>
> >> On Mon, Sep 23, 2019 at 10:40 AM Jonathan Gallimore <
> >> [hidden email]<mailto:[hidden email]>>
> 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, <
> >>> [hidden email]<mailto:[hidden email]>>
> >>> 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://twitter.com/jlouismonteiro>
> >>> > http://www.tomitribe.com<http://www.tomitribe.com>
> >>> >
> >>> >
> >>> > On Mon, Sep 23, 2019 at 9:03 AM Jean-Louis Monteiro <
> >>> > [hidden email]<mailto:[hidden email]>> 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://twitter.com/jlouismonteiro>
> >>> > > http://www.tomitribe.com<http://www.tomitribe.com>
> >>> > >
> >>> > >
> >>> > > On Mon, Sep 23, 2019 at 6:23 AM Bruce Beaumont <
> >>> > [hidden email]<mailto:[hidden email]>>
> >>> > > 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>(
> http://OpenEJB.java:150<http://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>(
> http://AbstractSecurityService.java:78<
> http://AbstractSecurityService.java:78>)
> >>> > >>
> >>> > >> at
> >>> > >>
> >>> >
> >>> org.apache.openejb.core.security.SecurityServiceImpl.<init>(
> http://SecurityServiceImpl.java:46<http://SecurityServiceImpl.java:46>)
> >>> > >>
> >>> > >> at
> >>> > >>
> >>> >
> >>> org.apache.openejb.core.security.SecurityServiceImpl.<init>(
> http://SecurityServiceImpl.java:42<http://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 [hidden email]
> <mailto:[hidden email]> :
> >>> > >>
> >>> > >> 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>(
> http://OpenEJB.java:150<http://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>(
> http://AbstractSecurityService.java:78<
> http://AbstractSecurityService.java:78>)
> >>> > >>
> >>> > >> at
> >>> > >>
> >>> >
> >>> org.apache.openejb.core.security.SecurityServiceImpl.<init>(
> http://SecurityServiceImpl.java:46<http://SecurityServiceImpl.java:46>)
> >>> > >>
> >>> > >> at
> >>> > >>
> >>> >
> >>> org.apache.openejb.core.security.SecurityServiceImpl.<init>(
> http://SecurityServiceImpl.java:42<http://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>(
> http://OpenEJB.java:150<http://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>(
> http://AbstractSecurityService.java:78<
> http://AbstractSecurityService.java:78>)
> >>> > >>
> >>> > >> at
> >>> > >>
> >>> >
> >>> org.apache.openejb.core.security.SecurityServiceImpl.<init>(
> http://SecurityServiceImpl.java:46<http://SecurityServiceImpl.java:46>)
> >>> > >>
> >>> > >> at
> >>> > >>
> >>> >
> >>> org.apache.openejb.core.security.SecurityServiceImpl.<init>(
> http://SecurityServiceImpl.java:42<http://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 [hidden email]
> <mailto:[hidden email]>
> >>> > >> (Massmart's Ethics Line is managed confidentially by Deloitte
> >>> Tip-offs
> >>> > >> Anonymous)
> >>> > >> To view the Email Disclaimer, click on the hyperlink: Massmart
> >>> Email
> >>> > >> Disclaimer
> >>> > >>
> >>> > >
> >>> >
> >>>
> >>
>
   --
    Jean-Louis Monteiro
    http://twitter.com/jlouismonteiro
    http://www.tomitribe.com