Darrel Riekhof created KARAF-7881:
-------------------------------------

             Summary: Bundles get stuck in Starting status with nothing in logs
                 Key: KARAF-7881
                 URL: https://issues.apache.org/jira/browse/KARAF-7881
             Project: Karaf
          Issue Type: Bug
          Components: karaf
    Affects Versions: 4.4.6
         Environment: Karaf 4.4.6, Camel 4.7.0, Windows
            Reporter: Darrel Riekhof


After initially deploying our model, service, and XML blueprint bundles, all is 
well.

But after stopping and starting Karaf (as a windows service or stand alone), 
and then redeploying our model and service bundles by replacing their jars in 
the deploy directory we frequently get in a state where the service bundle gets 
stuck in the starting status, and then any blueprint we try to hot deploy in 
same manner also gets stuck in the 'Starting'.

Example:

308 │ Active   │  80 │ 1.0.0.SNAPSHOT     │ our-model
309 │ Starting │  80 │ 1.0.0.SNAPSHOT     │ our-service
310 │ Starting │  80 │ 0.0.0              │ a-blueprint.xml
admin@root()>

Once in this state trying to stop our-service just hangs the karaf console, and 
trying to stop the windows karaf service also hangs and we have to kill the 
karaf java process with task manager or CLI kill command.

Nothing is written to any of the logs in data/log.  I'm not sure how to debug 
this issue or what to try.  The service jar file is kind of large, about 15mb, 
so we were thinking of trying to divide that up in a few bundles.  Or, I've 
tried removing some of the compile time dependencies from our services jar 
which look to already be available in karaf, like the camel libraries.  I've 
noticed if I mark them as provided in our POM file, then they don't get placed 
in the services jar, but they seem to be required in services jar.  

Any advice appreciated.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to