BundleException: Unable to resolve due to constraint violation
johanmicoud Oct 16, 2008 1:00 PMEach time I run "mvn eclipse:eclipse" under examples project to get a eclipse project structure compliant with SMX4, I get this error
After that, my SE/BC component are down and impossible to clean anything....
I have to reinstall SMX and clean my .m2 directory (just in case)
Any clue?
Sami
C:\java\fuse-esb-4.0.0.2\bin>servicemix
DEBUG Scheduling task ManagedService Update: pid=org.ops4j.pax.url.mvn
DEBUG Running task ManagedService Update: pid=org.ops4j.pax.url.mvn
DEBUG Scheduling task ManagedServiceFactory Update: factoryPid=org.apache.servicemix.kernel.filemonitor.FileMonitor
DEBUG Running task ManagedServiceFactory Update: factoryPid=org.apache.servicemix.kernel.filemonitor.FileMonitor
DEBUG Scheduling task Update: pid=org.apache.servicemix.transaction
DEBUG Scheduling task ManagedService Update: pid=org.ops4j.pax.logging
DEBUG org.apache.servicemix.kernel.filemonitor.FileMonitor - File changed: C:\java\fuse-esb-4.0.0.2\etc\org.ops4j.pax.url.mvn.cfg
INFO org.ops4j.pax.logging.pax-logging-service - BundleEvent STARTED
DEBUG org.apache.felix.configadmin - Running task Update: pid=org.apache.servicemix.transaction
DEBUG org.apache.felix.configadmin - Scheduling task Fire ConfigurationEvent: pid=org.apache.servicemix.transaction
DEBUG org.apache.felix.configadmin - Running task ManagedService Update: pid=org.ops4j.pax.logging
INFO org.apache.felix.bundlerepository - ServiceEvent REGISTERED
INFO org.apache.servicemix.bundles.aopalliance - BundleEvent RESOLVED
INFO org.apache.servicemix.bundles.aopalliance - BundleEvent STARTED
INFO org.springframework.bundle.osgi.core - BundleEvent RESOLVED
INFO org.apache.servicemix.bundles.cglib - BundleEvent RESOLVED
INFO org.apache.geronimo.specs.geronimo-jms_1.1_spec - BundleEvent RESOLVED
INFO org.springframework.bundle.osgi.io - BundleEvent RESOLVED
INFO org.apache.servicemix.kernel.jaas.keystore - BundleEvent RESOLVED
INFO org.apache.servicemix.bundles.groovy - BundleEvent RESOLVED
INFO org.springframework.bundle.spring.beans - BundleEvent RESOLVED
INFO org.apache.geronimo.specs.geronimo-jta_1.1_spec - BundleEvent RESOLVED
INFO org.apache.servicemix.kernel.jaas.config - BundleEvent RESOLVED
INFO org.springframework.bundle.spring.context - BundleEvent RESOLVED
INFO org.apache.servicemix.bundles.asm - BundleEvent RESOLVED
INFO org.springframework.bundle.spring.aop - BundleEvent RESOLVED
INFO org.apache.commons.pool - BundleEvent RESOLVED
INFO org.springframework.bundle.spring.core - BundleEvent RESOLVED
INFO org.apache.servicemix.bundles.antlr - BundleEvent RESOLVED
INFO org.apache.servicemix.kernel.jaas.keystore - BundleEvent STARTED
INFO org.springframework.bundle.osgi.io - BundleEvent STARTED
INFO org.apache.servicemix.kernel.gshell.core - BundleEvent RESOLVED
INFO org.apache.servicemix.bundles.mina - BundleEvent RESOLVED
INFO org.apache.servicemix.kernel.gshell.features - BundleEvent RESOLVED
INFO org.apache.servicemix.kernel.gshell.features - BundleEvent STARTED
DEBUG org.apache.felix.configadmin - Scheduling task Update: pid=org.ops4j.pax.url.mvn
INFO org.apache.servicemix.bundles.cglib - BundleEvent STARTED
INFO org.springframework.bundle.osgi.core - BundleEvent STARTED
INFO org.apache.servicemix.kernel.gshell.packages - BundleEvent RESOLVED
INFO org.apache.servicemix.kernel.gshell.packages - BundleEvent STARTED
ERROR: JarContent: Unable to open JAR file. (java.io.FileNotFoundException: C:\java\fuse-esb-4.0.0.2\data\cache\bundle33\version0.1\bundle.jar (The system cannot find the path spec
java.io.FileNotFoundException: C:\java\fuse-esb-4.0.0.2\data\cache\bundle33\version0.1\bundle.jar (The system cannot find the path specified)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.(Manifest.java:52)
at org.apache.felix.framework.searchpolicy.ContentLoaderImpl.calculateContentPath(ContentLoaderImpl.java:340)
at org.apache.felix.framework.searchpolicy.ContentLoaderImpl.initializeContentPath(ContentLoaderImpl.java:311)
at org.apache.felix.framework.searchpolicy.ContentLoaderImpl.getClassPath(ContentLoaderImpl.java:86)
at org.apache.felix.framework.searchpolicy.ContentLoaderImpl.getResource(ContentLoaderImpl.java:188)
at org.apache.felix.framework.searchpolicy.R4SearchPolicyCore.findClassOrResource(R4SearchPolicyCore.java:471)
at org.apache.felix.framework.searchpolicy.R4SearchPolicyCore.findResource(R4SearchPolicyCore.java:210)
at org.apache.felix.framework.searchpolicy.R4SearchPolicy.findResource(R4SearchPolicy.java:51)
at org.apache.felix.moduleloader.ModuleImpl.getResource(ModuleImpl.java:195)
at org.apache.felix.framework.Felix.getBundleResource(Felix.java:1364)
at org.apache.felix.framework.BundleImpl.getResource(BundleImpl.java:187)
at org.springframework.osgi.util.BundleDelegatingClassLoader.findResource(BundleDelegatingClassLoader.java:124)
at org.springframework.osgi.util.BundleDelegatingClassLoader.getResource(BundleDelegatingClassLoader.java:146)
at java.lang.ClassLoader.getResourceAsStream(ClassLoader.java:1159)
at javax.xml.parsers.SecuritySupport$4.run(SecuritySupport.java:96)
at java.security.AccessController.doPrivileged(Native Method)
at javax.xml.parsers.SecuritySupport.getResourceAsStream(SecuritySupport.java:89)
at javax.xml.parsers.FactoryFinder.findJarServiceProvider(FactoryFinder.java:250)
at javax.xml.parsers.FactoryFinder.find(FactoryFinder.java:223)
at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:123)
at org.springframework.beans.factory.xml.DefaultDocumentLoader.createDocumentBuilderFactory(DefaultDocumentLoader.java:89)
at org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:70)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:396)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:342)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:310)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)
at org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext.loadBeanDefinitions(OsgiBundleXmlApplicationContext.java:166)
at org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext.loadBeanDefinitions(OsgiBundleXmlApplicationContext.java:132)
at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123)
at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:423)
at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.startRefresh(AbstractDelegatedExecutionApplicationContext.java:211)
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.stageOne(DependencyWaiterApplicationContextExecutor.java:221)
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.refresh(DependencyWaiterApplicationContextExecutor.java:172)
at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.refresh(AbstractDelegatedExecutionApplicationContext.java:136)
at org.springframework.osgi.extender.internal.activator.ContextLoaderListener$2.run(ContextLoaderListener.java:746)
at java.lang.Thread.run(Thread.java:619)
ERROR: Error starting mvn:org.apache.servicemix/servicemix-cxf-bc/2008.01.0.0-fuse (org.osgi.framework.BundleException: Unable to resolve due to constraint violation.)
org.osgi.framework.BundleException: Unable to resolve due to constraint violation.
at org.apache.felix.framework.Felix._resolveBundle(Felix.java:1732)
at org.apache.felix.framework.Felix._startBundle(Felix.java:1588)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1541)
at org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:1135)
at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:267)
at java.lang.Thread.run(Thread.java:619)
ERROR: Error starting mvn:org.apache.servicemix/servicemix-cxf-se/2008.01.0.0-fuse (org.osgi.framework.BundleException: Unable to resolve due to constraint violation.)
org.osgi.framework.BundleException: Unable to resolve due to constraint violation.
at org.apache.felix.framework.Felix._resolveBundle(Felix.java:1732)
at org.apache.felix.framework.Felix._startBundle(Felix.java:1588)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1541)
at org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:1135)
at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:267)
at java.lang.Thread.run(Thread.java:619)
ERROR: Error starting mvn:org.apache.servicemix/servicemix-wsn2005/2008.01.0.0-fuse (org.osgi.framework.BundleException: Unable to resolve due to constraint violation.)
org.osgi.framework.BundleException: Unable to resolve due to constraint violation.
at org.apache.felix.framework.Felix._resolveBundle(Felix.java:1732)
at org.apache.felix.framework.Felix._startBundle(Felix.java:1588)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1541)
at org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:1135)
at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:267)
at java.lang.Thread.run(Thread.java:619)
____ _ __ __ _
/ ___| ___ _ ____ () ___ ___| \/ (_)_ __
\___ \ / _ \ '__\ \ / / |/ __/ _ \ |\/| | \ \/ /
___) | __/ | \ V /| | (_| __/ | | | |> <
|____/ \___|_| \_/ |_|\___\___|_| |_|_/_/\_\