Open coltaa opened 10 years ago
This is experimental at this stage, I am working on a deeper integration with Openshift and this cartridge is an early work.
However it does work for me on my test env at http://oriontest-gorkem.rhcloud.com/ . What is the behaviour that you are seeing.
Hello
I have created using raw link:
https://raw.githubusercontent.com/amakitu/openshift-cartridge-orion/master/metadata/manifest.yml
Website: http://orion-magickapps.amakitu.com/
But is never starts, i ssh to app, and tryied to run, not working, and run orion comand manually:
]> ./orion/usr/eclipse/orion
And got this logs:
eclipse.buildId=6.0.0.v20140629-0222 java.version=1.7.0_55 java.vendor=Oracle Corporation BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US Command-line arguments: -os linux -ws gtk -arch x86_64 -consoleLog -console -data serverworkspace
!ENTRY org.eclipse.osgi 4 0 2014-07-04 15:51:24.870 !MESSAGE An error occurred while automatically activating bundle org.eclipse.orion.server.core (89). !STACK 0 org.osgi.framework.BundleException: Exception in org.eclipse.orion.internal.server.core.Activator.start() of bundle org.eclipse.orion.server.core. at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:792) at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:721) at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:936) at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:319) at org.eclipse.osgi.container.Module.doStart(Module.java:571) at org.eclipse.osgi.container.Module.start(Module.java:439) at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:454) at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107) at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:531) at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:324) at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:311) at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:386) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:336) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:328) at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) at org.eclipse.osgi.internal.framework.EquinoxBundle.loadClass(EquinoxBundle.java:568) at org.eclipse.equinox.internal.ds.model.ServiceComponent.createInstance(ServiceComponent.java:493) at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.createInstance(ServiceComponentProp.java:270) at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:331) at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620) at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197) at org.eclipse.equinox.internal.ds.Resolver.buildNewlySatisfied(Resolver.java:473) at org.eclipse.equinox.internal.ds.Resolver.enableComponents(Resolver.java:217) at org.eclipse.equinox.internal.ds.SCRManager.performWork(SCRManager.java:816) at org.eclipse.equinox.internal.ds.SCRManager$QueuedJob.dispatch(SCRManager.java:783) at org.eclipse.equinox.internal.ds.WorkThread.run(WorkThread.java:89) at org.eclipse.equinox.internal.util.impl.tpt.threadpool.Executor.run(Executor.java:70) Caused by: java.lang.NullPointerException
at
org.eclipse.orion.internal.server.core.tasks.TaskStore.removeAllTempTasks(TaskStore.java:149)
at
org.eclipse.orion.internal.server.core.tasks.TaskService.cleanUpTasks(TaskService.java:64)
at
org.eclipse.orion.internal.server.core.tasks.TaskService.
at
org.eclipse.orion.internal.server.core.Activator.registerServices(Activator.java:183)
at
org.eclipse.orion.internal.server.core.Activator.start(Activator.java:175)
at
org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:771)
at
org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1)
at java.security.AccessController.doPrivileged(Native
Method)
at
org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:764)
... 27
more
Root exception:
java.lang.NullPointerException
at
org.eclipse.orion.internal.server.core.tasks.TaskStore.removeAllTempTasks(TaskStore.java:149)
at
org.eclipse.orion.internal.server.core.tasks.TaskService.cleanUpTasks(TaskService.java:64)
at
org.eclipse.orion.internal.server.core.tasks.TaskService.
!ENTRY org.eclipse.equinox.ds 4 0 2014-07-04 15:51:24.878
!MESSAGE Exception occurred while creating new instance of component
Component[
name = IEventService
activate = activate
deactivate = deactivate
modified =
configuration-policy = optional
factory = null
autoenable = true
immediate = true
implementation =
org.eclipse.orion.internal.server.events.EventService
state = Unsatisfied
properties =
serviceFactory = false
serviceInterface =
[org.eclipse.orion.server.core.events.IEventService]
references = null
located in bundle =
org.eclipse.orion.server.events_1.0.0.v20140529-2003 [91]
]
!STACK 0
java.lang.ClassNotFoundException: An error occurred while automatically
activating bundle org.eclipse.orion.server.core (89).
at
org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:116)
at
org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:531)
at
org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:324)
at
org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:311)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:386)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:336)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:328)
at
org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at
org.eclipse.osgi.internal.framework.EquinoxBundle.loadClass(EquinoxBundle.java:568)
at
org.eclipse.equinox.internal.ds.model.ServiceComponent.createInstance(ServiceComponent.java:493)
at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.createInstance(ServiceComponentProp.java:270)
at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:331)
at
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
at
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
at
org.eclipse.equinox.internal.ds.Resolver.buildNewlySatisfied(Resolver.java:473)
at
org.eclipse.equinox.internal.ds.Resolver.enableComponents(Resolver.java:217)
at
org.eclipse.equinox.internal.ds.SCRManager.performWork(SCRManager.java:816)
at
org.eclipse.equinox.internal.ds.SCRManager$QueuedJob.dispatch(SCRManager.java:783)
at
org.eclipse.equinox.internal.ds.WorkThread.run(WorkThread.java:89)
at
org.eclipse.equinox.internal.util.impl.tpt.threadpool.Executor.run(Executor.java:70)
Caused by: org.osgi.framework.BundleException: Exception in
org.eclipse.orion.internal.server.core.Activator.start() of bundle
org.eclipse.orion.server.core.
at
org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:792)
at
org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:721)
at
org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:936)
at
org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:319)
at org.eclipse.osgi.container.Module.doStart(Module.java:571)
at org.eclipse.osgi.container.Module.start(Module.java:439)
at
org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:454)
at
org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)
... 20 more
Caused by: java.lang.NullPointerException
at
org.eclipse.orion.internal.server.core.tasks.TaskStore.removeAllTempTasks(TaskStore.java:149)
at
org.eclipse.orion.internal.server.core.tasks.TaskService.cleanUpTasks(TaskService.java:64)
at
org.eclipse.orion.internal.server.core.tasks.TaskService.
!ENTRY org.eclipse.equinox.ds 4 0 2014-07-04 15:51:24.881
!MESSAGE Exception occurred while creating new instance of component
Component[
name = IEventService
activate = activate
deactivate = deactivate
modified =
configuration-policy = optional
factory = null
autoenable = true
immediate = true
implementation =
org.eclipse.orion.internal.server.events.EventService
state = Unsatisfied
properties =
serviceFactory = false
serviceInterface =
[org.eclipse.orion.server.core.events.IEventService]
references = null
located in bundle =
org.eclipse.orion.server.events_1.0.0.v20140529-2003 [91]
]
!STACK 0
java.lang.ClassNotFoundException: An error occurred while automatically
activating bundle org.eclipse.orion.server.core (89).
at
org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:116)
at
org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:531)
at
org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:324)
at
org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:311)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:386)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:336)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:328)
at
org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at
org.eclipse.osgi.internal.framework.EquinoxBundle.loadClass(EquinoxBundle.java:568)
at
org.eclipse.equinox.internal.ds.model.ServiceComponent.createInstance(ServiceComponent.java:493)
at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.createInstance(ServiceComponentProp.java:270)
at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:331)
at
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
at
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
at
org.eclipse.equinox.internal.ds.Resolver.buildNewlySatisfied(Resolver.java:473)
at
org.eclipse.equinox.internal.ds.Resolver.enableComponents(Resolver.java:217)
at
org.eclipse.equinox.internal.ds.SCRManager.performWork(SCRManager.java:816)
at
org.eclipse.equinox.internal.ds.SCRManager$QueuedJob.dispatch(SCRManager.java:783)
at
org.eclipse.equinox.internal.ds.WorkThread.run(WorkThread.java:89)
at
org.eclipse.equinox.internal.util.impl.tpt.threadpool.Executor.run(Executor.java:70)
Caused by: org.osgi.framework.BundleException: Exception in
org.eclipse.orion.internal.server.core.Activator.start() of bundle
org.eclipse.orion.server.core.
at
org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:792)
at
org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:721)
at
org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:936)
at
org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:319)
at org.eclipse.osgi.container.Module.doStart(Module.java:571)
at org.eclipse.osgi.container.Module.start(Module.java:439)
at
org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:454)
at
org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)
... 20 more
Caused by: java.lang.NullPointerException
at
org.eclipse.orion.internal.server.core.tasks.TaskStore.removeAllTempTasks(TaskStore.java:149)
at
org.eclipse.orion.internal.server.core.tasks.TaskService.cleanUpTasks(TaskService.java:64)
at
org.eclipse.orion.internal.server.core.tasks.TaskService.
!ENTRY org.eclipse.equinox.ds 4 0 2014-07-04 15:51:25.072
!MESSAGE Exception occurred while creating new instance of component
Component[
name = IEventService
activate = activate
deactivate = deactivate
modified =
configuration-policy = optional
factory = null
autoenable = true
immediate = true
implementation =
org.eclipse.orion.internal.server.events.EventService
state = Unsatisfied
properties =
serviceFactory = false
serviceInterface =
[org.eclipse.orion.server.core.events.IEventService]
references = null
located in bundle =
org.eclipse.orion.server.events_1.0.0.v20140529-2003 [91]
]
!STACK 0
java.lang.NoClassDefFoundError:
org/eclipse/orion/server/core/PreferenceHelper
at
org.eclipse.orion.internal.server.events.EventService.initClient(EventService.java:43)
at
org.eclipse.orion.internal.server.events.EventService.
!ENTRY org.eclipse.equinox.ds 4 0 2014-07-04 15:51:25.074
!MESSAGE Exception occurred while creating new instance of component
Component[
name = IEventService
activate = activate
deactivate = deactivate
modified =
configuration-policy = optional
factory = null
autoenable = true
immediate = true
implementation =
org.eclipse.orion.internal.server.events.EventService
state = Unsatisfied
properties =
serviceFactory = false
serviceInterface =
[org.eclipse.orion.server.core.events.IEventService]
references = null
located in bundle =
org.eclipse.orion.server.events_1.0.0.v20140529-2003 [91]
]
!STACK 0
java.lang.NoClassDefFoundError:
org/eclipse/orion/server/core/PreferenceHelper
at
org.eclipse.orion.internal.server.events.EventService.initClient(EventService.java:43)
at
org.eclipse.orion.internal.server.events.EventService.
!ENTRY org.eclipse.equinox.ds 4 0 2014-07-04 15:51:25.125
!MESSAGE Exception occurred while creating new instance of component
Component[
name = IEventService
activate = activate
deactivate = deactivate
modified =
configuration-policy = optional
factory = null
autoenable = true
immediate = true
implementation =
org.eclipse.orion.internal.server.events.EventService
state = Unsatisfied
properties =
serviceFactory = false
serviceInterface =
[org.eclipse.orion.server.core.events.IEventService]
references = null
located in bundle =
org.eclipse.orion.server.events_1.0.0.v20140529-2003 [91]
]
!STACK 0
java.lang.NoClassDefFoundError:
org/eclipse/orion/server/core/PreferenceHelper
at
org.eclipse.orion.internal.server.events.EventService.initClient(EventService.java:43)
at
org.eclipse.orion.internal.server.events.EventService.
!ENTRY org.eclipse.equinox.ds 4 0 2014-07-04 15:51:25.126
!MESSAGE Exception occurred while creating new instance of component
Component[
name = IEventService
activate = activate
deactivate = deactivate
modified =
configuration-policy = optional
factory = null
autoenable = true
immediate = true
implementation =
org.eclipse.orion.internal.server.events.EventService
state = Unsatisfied
properties =
serviceFactory = false
serviceInterface =
[org.eclipse.orion.server.core.events.IEventService]
references = null
located in bundle =
org.eclipse.orion.server.events_1.0.0.v20140529-2003 [91]
]
!STACK 0
java.lang.NoClassDefFoundError:
org/eclipse/orion/server/core/PreferenceHelper
at
org.eclipse.orion.internal.server.events.EventService.initClient(EventService.java:43)
at
org.eclipse.orion.internal.server.events.EventService.
!ENTRY org.eclipse.equinox.ds 4 0 2014-07-04 15:51:25.129 !MESSAGE Exception occurred while creating new instance of component Component[ name = IEventService activate = activate deactivate = deactivate modified = configuration-policy = optional factory = null autoenable = true immediate = true implementation = org.eclipse.orion.internal.server.events.EventService state = Unsatisfied properties = serviceFactory = false serviceInterface = [org.eclipse.orion.server.core.events.IEventService] references = null located in bundle = org.eclipse.orion.server.events_1.0.0.v20140529-2003 [91] ]
Can you help to understand what is the issue.
On Fri, Jul 4, 2014 at 4:44 PM, Gorkem Ercan notifications@github.com wrote:
This is experimental at this stage, I am working on a deeper integration with Openshift and this cartridge is an early work.
However it does work for me on my test env at http://oriontest-gorkem.rhcloud.com/ . What is the behaviour that you are seeing.
— Reply to this email directly or view it on GitHub https://github.com/gorkem/openshift-cartridge-orion/issues/1#issuecomment-48045340 .
What are the steps which you use to deploy on Openshfit?
Thank you in advance, Andrei
I use the cartridge reflector https://github.com/smarterclayton/cartridge-reflector so basically the URL for the cartridge would be http://cartreflect-claytondev.rhcloud.com/github/gorkem/openshift-cartridge-orion
Hello,
I am interested to know if this is a stable cartridge? does it work on your env?
Thank you in advance, Andrei