Bruce Edge created SLING-4328:
---------------------------------

             Summary: Loading gogo.shell in launchpad fails & kills felix 
framework, won't restart.
                 Key: SLING-4328
                 URL: https://issues.apache.org/jira/browse/SLING-4328
             Project: Sling
          Issue Type: Bug
          Components: Console
    Affects Versions: Launchpad Builder 8
         Environment: Ubuntu 14.04
java version "1.7.0_72"
Java(TM) SE Runtime Environment (build 1.7.0_72-b14)
Java HotSpot(TM) 64-Bit Server VM (build 24.72-b04, mixed mode)
            Reporter: Bruce Edge


I’m having trouble loading the gogo shell in a default launchpad config. 

I’m assuming I just need org.apache.felix.gogo.shell and it’s dependencies, 
which I can find in the with the default OBR config.

Using a fresh launchpad installation built from trunk a few days ago, the OBR 
console search for gogo [1] shows:

Resource Name   Installed Version
Apache Felix Gogo Command (org.apache.felix.gogo.command)       
Apache Felix Gogo Runtime (org.apache.felix.gogo.runtime)       
Apache Felix Gogo Shell (org.apache.felix.gogo.shell)

    0.10.0
    0.6.0
    0.6.1
    0.8.0

        
Apache Felix Gogo Shell Commands (org.apache.felix.gogo.commands)       
Apache Felix Gogo Shell Console (org.apache.felix.gogo.console) 
Apache Felix Gogo Shell Launcher (org.apache.felix.gogo.launcher)       
Apache Felix iPOJO Gogo Command (org.apache.felix.ipojo.arch.gogo)

I select version 0.10.0 and check "deploy optional dependencies” and click on 
“deploy and start”.

In the logs it shows the gogo shell loading & starting, but then I get a 
         [FelixShutdown] org.apache.felix.framework BundleEvent STOPPING
and everything shuts down:

16.01.2015 12:54:42.335 *INFO* [OBR Bundle Deployer (Apache Felix API)] 
groovy-all BundleEvent INSTALLED
16.01.2015 12:54:42.392 *INFO* [OBR Bundle Deployer (Apache Felix API)] 
org.apache.felix.gogo.shell BundleEvent INSTALLED
16.01.2015 12:54:42.406 *INFO* [OBR Bundle Deployer (Apache Felix API)] 
org.apache.felix.gogo.runtime BundleEvent RESOLVED
16.01.2015 12:54:42.423 *INFO* [OBR Bundle Deployer (Apache Felix API)] 
org.apache.felix.gogo.runtime BundleEvent STARTING
16.01.2015 12:54:42.444 *INFO* [OBR Bundle Deployer (Apache Felix API)] 
org.apache.felix.gogo.runtime Service [292] ServiceEvent REGISTERED
16.01.2015 12:54:42.461 *INFO* [OBR Bundle Deployer (Apache Felix API)] 
org.apache.felix.gogo.runtime Service [293] ServiceEvent REGISTERED
16.01.2015 12:54:42.474 *INFO* [OBR Bundle Deployer (Apache Felix API)] 
org.apache.felix.gogo.runtime BundleEvent STARTED
16.01.2015 12:54:42.480 *INFO* [OBR Bundle Deployer (Apache Felix API)] 
org.apache.felix.shell BundleEvent RESOLVED
16.01.2015 12:54:42.492 *INFO* [OBR Bundle Deployer (Apache Felix API)] 
org.apache.felix.shell BundleEvent STARTING
16.01.2015 12:54:42.532 *INFO* [OBR Bundle Deployer (Apache Felix API)] 
org.apache.sling.settings Service [Apache Sling Sling Run Mode Shell 
Command,295] ServiceEvent REGISTERED
16.01.2015 12:54:42.541 *INFO* [OBR Bundle Deployer (Apache Felix API)] 
org.apache.felix.shell Service [294] ServiceEvent REGISTERED
16.01.2015 12:54:42.558 *INFO* [OBR Bundle Deployer (Apache Felix API)] 
org.apache.felix.shell Service [296] ServiceEvent REGISTERED
16.01.2015 12:54:42.580 *INFO* [OBR Bundle Deployer (Apache Felix API)] 
org.apache.felix.shell Service [297] ServiceEvent REGISTERED
16.01.2015 12:54:42.594 *INFO* [OBR Bundle Deployer (Apache Felix API)] 
org.apache.felix.shell Service [298] ServiceEvent REGISTERED
16.01.2015 12:54:42.598 *INFO* [OBR Bundle Deployer (Apache Felix API)] 
org.apache.felix.shell Service [299] ServiceEvent REGISTERED
16.01.2015 12:54:42.601 *INFO* [OBR Bundle Deployer (Apache Felix API)] 
org.apache.felix.shell Service [300] ServiceEvent REGISTERED
16.01.2015 12:54:42.612 *INFO* [OBR Bundle Deployer (Apache Felix API)] 
org.apache.felix.shell Service [301] ServiceEvent REGISTERED
16.01.2015 12:54:42.643 *INFO* [OBR Bundle Deployer (Apache Felix API)] 
org.apache.felix.shell Service [302] ServiceEvent REGISTERED
16.01.2015 12:54:42.655 *INFO* [OBR Bundle Deployer (Apache Felix API)] 
org.apache.felix.shell Service [303] ServiceEvent REGISTERED
16.01.2015 12:54:42.656 *INFO* [OBR Bundle Deployer (Apache Felix API)] 
org.apache.felix.shell Service [304] ServiceEvent REGISTERED
16.01.2015 12:54:42.663 *INFO* [OBR Bundle Deployer (Apache Felix API)] 
org.apache.felix.shell Service [305] ServiceEvent REGISTERED
16.01.2015 12:54:42.686 *INFO* [OBR Bundle Deployer (Apache Felix API)] 
org.apache.felix.shell Service [306] ServiceEvent REGISTERED
16.01.2015 12:54:42.698 *INFO* [OBR Bundle Deployer (Apache Felix API)] 
org.apache.felix.shell Service [307] ServiceEvent REGISTERED
16.01.2015 12:54:42.710 *INFO* [OBR Bundle Deployer (Apache Felix API)] 
org.apache.felix.shell Service [308] ServiceEvent REGISTERED
16.01.2015 12:54:42.724 *INFO* [OBR Bundle Deployer (Apache Felix API)] 
org.apache.felix.shell Service [309] ServiceEvent REGISTERED
16.01.2015 12:54:42.728 *INFO* [OBR Bundle Deployer (Apache Felix API)] 
org.apache.felix.shell Service [310] ServiceEvent REGISTERED
16.01.2015 12:54:42.733 *INFO* [OBR Bundle Deployer (Apache Felix API)] 
org.apache.felix.shell Service [311] ServiceEvent REGISTERED
16.01.2015 12:54:42.748 *INFO* [OBR Bundle Deployer (Apache Felix API)] 
org.apache.felix.shell Service [312] ServiceEvent REGISTERED
16.01.2015 12:54:42.779 *INFO* [OBR Bundle Deployer (Apache Felix API)] 
org.apache.felix.shell Service [313] ServiceEvent REGISTERED
16.01.2015 12:54:42.780 *INFO* [OBR Bundle Deployer (Apache Felix API)] 
org.apache.felix.shell BundleEvent STARTED
16.01.2015 12:54:42.787 *INFO* [OBR Bundle Deployer (Apache Felix API)] 
org.apache.sling.junit.core BundleEvent RESOLVED
16.01.2015 12:54:42.790 *INFO* [OBR Bundle Deployer (Apache Felix API)] 
org.apache.sling.junit.core BundleEvent STARTING
16.01.2015 12:54:42.808 *INFO* [OBR Bundle Deployer (Apache Felix API)] 
org.apache.sling.junit.core Service 
[org.apache.sling.junit.impl.AnnotationsProcessor,314] ServiceEvent REGISTERED
16.01.2015 12:54:42.827 *INFO* [OBR Bundle Deployer (Apache Felix API)] 
org.apache.sling.junit.core Service 
[org.apache.sling.junit.impl.BundleTestsProvider,315] ServiceEvent REGISTERED
16.01.2015 12:54:42.833 *INFO* [OBR Bundle Deployer (Apache Felix API)] 
org.apache.sling.junit.core Service 
[org.apache.sling.junit.impl.RendererSelectorImpl,316] ServiceEvent REGISTERED
16.01.2015 12:54:42.844 *INFO* [OBR Bundle Deployer (Apache Felix API)] 
org.apache.sling.junit.core Service 
[org.apache.sling.junit.impl.TestsManagerImpl,317] ServiceEvent REGISTERED
16.01.2015 12:54:42.853 *INFO* [OBR Bundle Deployer (Apache Felix API)] 
org.apache.sling.junit.core Service 
[org.apache.sling.junit.impl.servlet.HtmlRenderer,318] ServiceEvent REGISTERED
16.01.2015 12:54:42.862 *INFO* [OBR Bundle Deployer (Apache Felix API)] 
org.apache.sling.junit.core Service 
[org.apache.sling.junit.impl.servlet.JsonRenderer,319] ServiceEvent REGISTERED
16.01.2015 12:54:42.879 *INFO* [OBR Bundle Deployer (Apache Felix API)] 
org.apache.sling.junit.core Service 
[org.apache.sling.junit.impl.servlet.PlainTextRenderer,320] ServiceEvent 
REGISTERED
16.01.2015 12:54:42.892 *INFO* [OBR Bundle Deployer (Apache Felix API)] 
org.apache.sling.junit.core Service 
[org.apache.sling.junit.impl.servlet.XmlRenderer,321] ServiceEvent REGISTERED
16.01.2015 12:54:42.948 *INFO* [OBR Bundle Deployer (Apache Felix API)] 
org.apache.sling.junit.impl.servlet.JUnitServlet Servlet registered at 
/system/sling/junit
16.01.2015 12:54:42.959 *INFO* [OBR Bundle Deployer (Apache Felix API)] 
org.apache.sling.junit.impl.servlet.SlingJUnitServlet Servlet path is null, not 
registering with HttpService
16.01.2015 12:54:42.991 *INFO* [OBR Bundle Deployer (Apache Felix API)] 
org.apache.sling.servlets.resolver Service [ServletResourceProvider for 
Servlets at [/apps/sling/junit/testing/junit.POST.servlet, 
/apps/sling/junit/testing/junit.GET.servlet],323] ServiceEvent REGISTERED
16.01.2015 12:54:42.991 *INFO* [OBR Bundle Deployer (Apache Felix API)] 
org.apache.sling.servlets.resolver.internal.SlingServletResolver Registered 
ServletResourceProvider: 
servlet=org.apache.sling.junit.impl.servlet.SlingJUnitServlet, 
paths=[/apps/sling/junit/testing/junit.PO
ST.servlet, /apps/sling/junit/testing/junit.GET.servlet]
16.01.2015 12:54:42.995 *INFO* [OBR Bundle Deployer (Apache Felix API)] 
org.apache.sling.junit.core Service 
[org.apache.sling.junit.impl.servlet.SlingJUnitServlet,322] ServiceEvent 
REGISTERED
16.01.2015 12:54:42.996 *INFO* [OBR Bundle Deployer (Apache Felix API)] 
org.apache.sling.junit.core BundleEvent STARTED
16.01.2015 12:54:43.008 *INFO* [OBR Bundle Deployer (Apache Felix API)] 
groovy-all BundleEvent RESOLVED
16.01.2015 12:54:43.013 *INFO* [OBR Bundle Deployer (Apache Felix API)] 
groovy-all BundleEvent STARTING
16.01.2015 12:54:43.023 *INFO* [OBR Bundle Deployer (Apache Felix API)] 
groovy-all BundleEvent STARTED
16.01.2015 12:54:43.028 *INFO* [OBR Bundle Deployer (Apache Felix API)] 
org.apache.felix.gogo.shell BundleEvent RESOLVED
16.01.2015 12:54:43.091 *INFO* [OBR Bundle Deployer (Apache Felix API)] 
org.apache.felix.gogo.shell BundleEvent STARTING
16.01.2015 12:54:43.130 *INFO* [OBR Bundle Deployer (Apache Felix API)] 
org.apache.felix.gogo.shell Service [324] ServiceEvent REGISTERED
16.01.2015 12:54:43.162 *INFO* [OBR Bundle Deployer (Apache Felix API)] 
org.apache.felix.gogo.shell Service [325] ServiceEvent REGISTERED
16.01.2015 12:54:43.184 *INFO* [OBR Bundle Deployer (Apache Felix API)] 
org.apache.felix.gogo.shell Service [326] ServiceEvent REGISTERED
16.01.2015 12:54:43.206 *INFO* [OBR Bundle Deployer (Apache Felix API)] 
org.apache.felix.gogo.shell Service [327] ServiceEvent REGISTERED
16.01.2015 12:54:43.212 *INFO* [OBR Bundle Deployer (Apache Felix API)] 
org.apache.felix.gogo.shell Service [328] ServiceEvent REGISTERED
16.01.2015 12:54:43.239 *INFO* [OBR Bundle Deployer (Apache Felix API)] 
org.apache.felix.gogo.shell Service [329] ServiceEvent REGISTERED
16.01.2015 12:54:43.260 *INFO* [OBR Bundle Deployer (Apache Felix API)] 
org.apache.felix.gogo.shell BundleEvent STARTED
16.01.2015 12:54:43.512 *INFO* [FelixShutdown] org.apache.felix.framework 
BundleEvent STOPPING
16.01.2015 12:54:43.527 *INFO* [FelixStartLevel] org.apache.felix.gogo.shell 
BundleEvent STOPPING
16.01.2015 12:54:43.544 *INFO* [FelixStartLevel] org.apache.felix.gogo.shell 
Service [327] ServiceEvent UNREGISTERING
16.01.2015 12:54:43.548 *INFO* [FelixStartLevel] org.apache.felix.gogo.shell 
Service [325] ServiceEvent UNREGISTERING
16.01.2015 12:54:43.575 *INFO* [FelixStartLevel] org.apache.felix.gogo.shell 
Service [329] ServiceEvent UNREGISTERING
16.01.2015 12:54:43.579 *INFO* [FelixStartLevel] org.apache.felix.gogo.shell 
Service [326] ServiceEvent UNREGISTERING
16.01.2015 12:54:43.588 *INFO* [FelixStartLevel] org.apache.felix.gogo.shell 
Service [324] ServiceEvent UNREGISTERING
16.01.2015 12:54:43.602 *INFO* [FelixStartLevel] org.apache.felix.gogo.shell 
Service [328] ServiceEvent UNREGISTERING
16.01.2015 12:54:43.603 *INFO* [FelixStartLevel] org.apache.felix.gogo.shell 
BundleEvent STOPPED
16.01.2015 12:54:43.603 *INFO* [FelixStartLevel] groovy-all BundleEvent STOPPING
16.01.2015 12:54:43.604 *INFO* [FelixStartLevel] groovy-all BundleEvent STOPPED
16.01.2015 12:54:43.623 *INFO* [FelixStartLevel] org.apache.sling.junit.core 
Service [org.apache.sling.junit.impl.AnnotationsProcessor,314] ServiceEvent 
UNREGISTERING

At this point, restarting sling fails and I’m wiping SLING_HOME to get it 
running again.

[1] http://localhost:8090/system/console/obr?query=gogo





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to