Discussion:
Karaf shutdown while starting
Srikanth Hugar
2014-11-19 07:58:44 UTC
Permalink
How to make karaf start successful if stopped while starting?

1. First time start the karaf
2. Stop the karaf before it actually starts fully.
3. Start the karaf

Karaf does not start, how to resolve the issue?



1. First time start the karaf
2. Stop the karaf before it actually starts fully.
3. delete data folder
4. Start the karaf

Karaf starts
Srikanth Hugar
2014-11-19 08:05:51 UTC
Permalink
Additional details

*Start First time*
07:38:03.484 [FelixStartLevel] INFO o.a.k.f.internal.FeaturesServiceImpl -
Installing feature cxf-ws-policy 2.7.7
07:38:07.150 [FelixStartLevel] INFO o.a.k.f.internal.FeaturesServiceImpl -
Installing feature wss4j 1.6.12

*Shutdown while karaf starting*
07:38:37.258 [Thread-2] INFO o.a.karaf.main.ShutdownSocketThread - Karaf
shutdown socket: received shutdown command. Stopping framework...

*Start again without deleting data folder.*
07:45:35.968 [Blueprint Extender: 1] ERROR o.a.a.b.c.BlueprintContainerImpl
- Unable to start blueprint container for bundle
org.apache.karaf.shell.help due to unresolved dependencies
[(objectClass=org.apache.felix.service.threadio.ThreadIO)]
java.util.concurrent.TimeoutException: null

Srikanth Hugar
www.gharki.com
Post by Srikanth Hugar
How to make karaf start successful if stopped while starting?
1. First time start the karaf
2. Stop the karaf before it actually starts fully.
3. Start the karaf
Karaf does not start, how to resolve the issue?
1. First time start the karaf
2. Stop the karaf before it actually starts fully.
3. delete data folder
4. Start the karaf
Karaf starts
Jean-Baptiste Onofré
2014-11-19 08:18:19 UTC
Permalink
Hi,

I would cleanup the data folder as you may have some bundles cache in
incorrect state.

Regards
JB
Post by Srikanth Hugar
How to make karaf start successful if stopped while starting?
1. First time start the karaf
2. Stop the karaf before it actually starts fully.
3. Start the karaf
Karaf does not start, how to resolve the issue?
1. First time start the karaf
2. Stop the karaf before it actually starts fully.
3. delete data folder
4. Start the karaf
Karaf starts
--
Jean-Baptiste Onofré
***@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com
Srikanth Hugar
2014-11-19 08:20:50 UTC
Permalink
It works if i clean up the data folder. Do we have option to start the
karaf without cleaning the data folder?

Srikanth Hugar
www.gharki.com
Post by Jean-Baptiste Onofré
Hi,
I would cleanup the data folder as you may have some bundles cache in
incorrect state.
Regards
JB
Post by Srikanth Hugar
How to make karaf start successful if stopped while starting?
1. First time start the karaf
2. Stop the karaf before it actually starts fully.
3. Start the karaf
Karaf does not start, how to resolve the issue?
1. First time start the karaf
2. Stop the karaf before it actually starts fully.
3. delete data folder
4. Start the karaf
Karaf starts
--
Jean-Baptiste Onofré
http://blog.nanthrax.net
Talend - http://www.talend.com
Jean-Baptiste Onofré
2014-11-19 08:32:39 UTC
Permalink
What's your Karaf version ?

Regards
JB
Post by Srikanth Hugar
It works if i clean up the data folder. Do we have option to start the
karaf without cleaning the data folder?
Srikanth Hugar
www.gharki.com <http://www.gharki.com>
Hi,
I would cleanup the data folder as you may have some bundles cache
in incorrect state.
Regards
JB
How to make karaf start successful if stopped while starting?
1. First time start the karaf
2. Stop the karaf before it actually starts fully.
3. Start the karaf
Karaf does not start, how to resolve the issue?
1. First time start the karaf
2. Stop the karaf before it actually starts fully.
3. delete data folder
4. Start the karaf
Karaf starts
--
Jean-Baptiste Onofré
http://blog.nanthrax.net
Talend - http://www.talend.com
--
Jean-Baptiste Onofré
***@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com
Srikanth Hugar
2014-11-19 08:34:20 UTC
Permalink
karaf version is 3.0.0

Srikanth Hugar
www.gharki.com
Post by Jean-Baptiste Onofré
What's your Karaf version ?
Regards
JB
Post by Srikanth Hugar
It works if i clean up the data folder. Do we have option to start the
karaf without cleaning the data folder?
Srikanth Hugar
www.gharki.com <http://www.gharki.com>
Hi,
I would cleanup the data folder as you may have some bundles cache
in incorrect state.
Regards
JB
How to make karaf start successful if stopped while starting?
1. First time start the karaf
2. Stop the karaf before it actually starts fully.
3. Start the karaf
Karaf does not start, how to resolve the issue?
1. First time start the karaf
2. Stop the karaf before it actually starts fully.
3. delete data folder
4. Start the karaf
Karaf starts
--
Jean-Baptiste Onofré
http://blog.nanthrax.net
Talend - http://www.talend.com
--
Jean-Baptiste Onofré
http://blog.nanthrax.net
Talend - http://www.talend.com
Loading...