You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@karaf.apache.org by zaerymoghaddam <za...@gmail.com> on 2014/07/17 11:32:50 UTC

Karaf 4.0.0-SNAPSHOT hang on startup

Hi

I've cloned the 4.0.0-SNAPSHOT repository and built it from scratch. When I
try to run it, it hangs on startup with following message in karaf.log:

2014-07-17 12:29:16,235 | ERROR | pool-1-thread-1  | BootFeaturesInstaller           
| 6 - org.apache.karaf.features.core - 4.0.0.SNAPSHOT | Error installing
boot features
org.osgi.service.resolver.ResolutionException: Unable to resolve root:
missing requirement [root] osgi.identity; osgi.identity=management;
type=karaf.feature; version="[4.0.0.SNAPSHOT,4.0.0.SNAPSHOT]";
filter:="(&(osgi.identity=management)(type=karaf.feature)(version>=4.0.0.SNAPSHOT)(version<=4.0.0.SNAPSHOT))"
[caused by: Unable to resolve management/4.0.0.SNAPSHOT: missing requirement
[management/4.0.0.SNAPSHOT] osgi.identity;
osgi.identity=org.apache.aries.jmx.core; type=osgi.bundle;
version="[1.1.2,1.1.2]"; resolution:=mandatory [caused by: Unable to resolve
org.apache.aries.jmx.core/1.1.2: missing requirement
[org.apache.aries.jmx.core/1.1.2] osgi.service; effective:=active;
filter:="(objectClass=javax.management.MBeanServer)"]]
	at
org.apache.felix.resolver.Candidates.populateResource(Candidates.java:285)[6:org.apache.karaf.features.core:4.0.0.SNAPSHOT]
	at
org.apache.felix.resolver.Candidates.processCandidates(Candidates.java:454)[6:org.apache.karaf.features.core:4.0.0.SNAPSHOT]
	at
org.apache.felix.resolver.Candidates.populateResource(Candidates.java:266)[6:org.apache.karaf.features.core:4.0.0.SNAPSHOT]
.
.
.
.

Base on older discussions, I tried different values for
*respectStartLvlDuringFeatureStartup* and *featuresBootAsynchronous*
properties but nothing happened. The org.apache.aries.jmx.core/1.1.2 already
exists in users's maven repository as well as karaf/system repository.

I'm using Windows 7 32bit, JDK 1.7 HotSpot.

Is there any necessary configuration or installation hint that I missed?

Regards





-----
Ehsan Zaery Moghaddam 
zaerymoghaddam@gmail.com 
developmentor.blogspot.com 
--
View this message in context: http://karaf.922171.n3.nabble.com/Karaf-4-0-0-SNAPSHOT-hang-on-startup-tp4034268.html
Sent from the Karaf - Dev mailing list archive at Nabble.com.

Re: Karaf 4.0.0-SNAPSHOT hang on startup

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi,

I just tested now (we are working on master/4.0.0-SNAPSHOT), and it 
starts without problem.

Let me deploy a new SNAPSHOT just to be sure of the one that you use.

Regards
JB

On 07/17/2014 11:32 AM, zaerymoghaddam wrote:
> Hi
>
> I've cloned the 4.0.0-SNAPSHOT repository and built it from scratch. When I
> try to run it, it hangs on startup with following message in karaf.log:
>
> 2014-07-17 12:29:16,235 | ERROR | pool-1-thread-1  | BootFeaturesInstaller
> | 6 - org.apache.karaf.features.core - 4.0.0.SNAPSHOT | Error installing
> boot features
> org.osgi.service.resolver.ResolutionException: Unable to resolve root:
> missing requirement [root] osgi.identity; osgi.identity=management;
> type=karaf.feature; version="[4.0.0.SNAPSHOT,4.0.0.SNAPSHOT]";
> filter:="(&(osgi.identity=management)(type=karaf.feature)(version>=4.0.0.SNAPSHOT)(version<=4.0.0.SNAPSHOT))"
> [caused by: Unable to resolve management/4.0.0.SNAPSHOT: missing requirement
> [management/4.0.0.SNAPSHOT] osgi.identity;
> osgi.identity=org.apache.aries.jmx.core; type=osgi.bundle;
> version="[1.1.2,1.1.2]"; resolution:=mandatory [caused by: Unable to resolve
> org.apache.aries.jmx.core/1.1.2: missing requirement
> [org.apache.aries.jmx.core/1.1.2] osgi.service; effective:=active;
> filter:="(objectClass=javax.management.MBeanServer)"]]
> 	at
> org.apache.felix.resolver.Candidates.populateResource(Candidates.java:285)[6:org.apache.karaf.features.core:4.0.0.SNAPSHOT]
> 	at
> org.apache.felix.resolver.Candidates.processCandidates(Candidates.java:454)[6:org.apache.karaf.features.core:4.0.0.SNAPSHOT]
> 	at
> org.apache.felix.resolver.Candidates.populateResource(Candidates.java:266)[6:org.apache.karaf.features.core:4.0.0.SNAPSHOT]
> .
> .
> .
> .
>
> Base on older discussions, I tried different values for
> *respectStartLvlDuringFeatureStartup* and *featuresBootAsynchronous*
> properties but nothing happened. The org.apache.aries.jmx.core/1.1.2 already
> exists in users's maven repository as well as karaf/system repository.
>
> I'm using Windows 7 32bit, JDK 1.7 HotSpot.
>
> Is there any necessary configuration or installation hint that I missed?
>
> Regards
>
>
>
>
>
> -----
> Ehsan Zaery Moghaddam
> zaerymoghaddam@gmail.com
> developmentor.blogspot.com
> --
> View this message in context: http://karaf.922171.n3.nabble.com/Karaf-4-0-0-SNAPSHOT-hang-on-startup-tp4034268.html
> Sent from the Karaf - Dev mailing list archive at Nabble.com.
>

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com