karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From frank pientka <frank.pien...@gmail.com>
Subject Problems to deploy
Date Sun, 16 Sep 2012 18:52:25 GMT
Hello I can't deploy
 Aries sample with Karaf 2.2.9 and Java 7

With Karaf 2.2.3 and Java 6 it was possible
Any idea what I va do?

ERROR | raf-2.2.9/deploy | fileinstall                      | 6 -
org.apache.felix.fileinstall - 3.2.4 | Failed to install artifact:
C:\apache-karaf-2.2.9\deploy\org.apache.aries.samples.ariestrader.all-1.0.0.eba
org.apache.aries.application.management.ResolverException:
org.apache.aries.application.modelling.ModellerException:
org.osgi.service.blueprint.container.ComponentDefinitionException:
Unsupported node namespace:
http://aries.apache.org/xmlns/transactions/v1.0.0
    at
org.apache.aries.application.deployment.management.impl.DeploymentManifestManagerImpl.generateDeploymentManifest(DeploymentManifestManagerImpl.java:145)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)[:1.7.0_07]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
Source)[:1.7.0_07]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)[:1.7.0_07]
    at java.lang.reflect.Method.invoke(Unknown Source)[:1.7.0_07]
    at
org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.java:50)[7:org.apache.aries.proxy:0.3.1]
    at
org.apache.aries.proxy.impl.DefaultWrapper.invoke(DefaultWrapper.java:31)[7:org.apache.aries.proxy:0.3.1]
    at
org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.java:78)[7:org.apache.aries.proxy:0.3.1]
    at $Proxy35.generateDeploymentManifest(Unknown Source)
    at
org.apache.aries.application.management.impl.AriesApplicationManagerImpl.resolve(AriesApplicationManagerImpl.java:271)
    at
org.apache.aries.application.management.impl.AriesApplicationManagerImpl.install(AriesApplicationManagerImpl.java:288)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)[:1.7.0_07]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
Source)[:1.7.0_07]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)[:1.7.0_07]
    at java.lang.reflect.Method.invoke(Unknown Source)[:1.7.0_07]
    at
org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.java:50)[7:org.apache.aries.proxy:0.3.1]
    at
org.apache.aries.proxy.impl.DefaultWrapper.invoke(DefaultWrapper.java:31)[7:org.apache.aries.proxy:0.3.1]
    at
org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.java:78)[7:org.apache.aries.proxy:0.3.1]
    at $Proxy42.install(Unknown
Source)[88:org.apache.aries.application.api:0.3.0]
    at
org.apache.aries.application.install.EBAInstaller.install(EBAInstaller.java:71)[87:org.apache.aries.application.install:0.3.0]
    at
org.apache.felix.fileinstall.internal.DirectoryWatcher.install(DirectoryWatcher.java:926)[6:org.apache.felix.fileinstall:3.2.4]
ERROR | raf-2.2.9/deploy | fileinstall                      | 6 -
org.apache.felix.fileinstall - 3.2.4 | Failed to install artifact:
C:\apache-karaf-2.2.9\deploy\org.apache.aries.samples.blog.jdbc.eba-1.0.0.eba
org.apache.aries.application.management.ResolverException: The system
cannot provision the EBA org.apache.aries.samples.blog.jdbc.eba because the
following problems in the dependency chain were detected:
The package dependency org.apache.derby.jdbc required by bundle
org.apache.aries.samples.blog.persistence.jdbc_1.0.0 cannot be resolved.
    at
org.apache.aries.application.resolver.obr.OBRAriesResolver.resolve(OBRAriesResolver.java:212)
    at
org.apache.aries.application.resolver.obr.OBRAriesResolver.resolve(OBRAriesResolver.java:136)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)[:1.7.0_07]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
Source)[:1.7.0_07]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)[:1.7.0_07]
    at java.lang.reflect.Method.invoke(Unknown Source)[:1.7.0_07]
    at
org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.java:50)[7:org.apache.aries.proxy:0.3.1]
    at
org.apache.aries.proxy.impl.DefaultWrapper.invoke(DefaultWrapper.java:31)[7:org.apache.aries.proxy:0.3.1]
    at
org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.java:78)[7:org.apache.aries.proxy:0.3.1]
    at $Proxy34.resolve(Unknown Source)
    at
org.apache.aries.application.deployment.management.impl.DeploymentManifestManagerImpl.generateDeployedBundles(DeploymentManifestManagerImpl.java:216)
    at
org.apache.aries.application.deployment.management.impl.DeploymentManifestManagerImpl.generateDeploymentManifest(DeploymentManifestManagerImpl.java:160)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)[:1.7.0_07]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
Source)[:1.7.0_07]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)[:1.7.0_07]
    at java.lang.reflect.Method.invoke(Unknown Source)[:1.7.0_07]
    at
org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.java:50)[7:org.apache.aries.proxy:0.3.1]
    at
org.apache.aries.proxy.impl.DefaultWrapper.invoke(DefaultWrapper.java:31)[7:org.apache.aries.proxy:0.3.1]
    at
org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.java:78)[7:org.apache.aries.proxy:0.3.1]
    at $Proxy35.generateDeploymentManifest(Unknown Source)
    at
org.apache.aries.application.management.impl.AriesApplicationManagerImpl.resolve(AriesApplicationManagerImpl.java:271)
    at
org.apache.aries.application.management.impl.AriesApplicationManagerImpl.install(AriesApplicationManagerImpl.java:288)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)[:1.7.0_07]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
Source)[:1.7.0_07]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)[:1.7.0_07]
    at java.lang.reflect.Method.invoke(Unknown Source)[:1.7.0_07]
    at
org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.java:50)[7:org.apache.aries.proxy:0.3.1]
    at
org.apache.aries.proxy.impl.DefaultWrapper.invoke(DefaultWrapper.java:31)[7:org.apache.aries.proxy:0.3.1]
    at
org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.java:78)[7:org.apache.aries.proxy:0.3.1]
    at $Proxy42.install(Unknown
Source)[88:org.apache.aries.application.api:0.3.0]
    at
org.apache.aries.application.install.EBAInstaller.install(EBAInstaller.java:71)[87:org.apache.aries.application.install:0.3.0]
    at
org.apache.felix.fileinstall.internal.DirectoryWatcher.install(DirectoryWatcher.java:926)[6:org.apache.felix.fileinstall:3.2.4]
    at
org.apache.felix.fileinstall.internal.DirectoryWatcher.install(DirectoryWatcher.java:854)[6:org.apache.felix.fileinstall:3.2.4]
    at
org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:483)[6:org.apache.felix.fileinstall:3.2.4]
    at
org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:291)[6:org.apache.felix.fileinstall:3.2.4]
 ERROR | raf-2.2.9/deploy | fileinstall                      | 6 -
org.apache.felix.fileinstall - 3.2.4 | Failed to install artifact:
C:\apache-karaf-2.2.9\deploy\org.apache.aries.samples.blog.jdbc.eba-1.0.0.eba
org.apache.aries.application.management.ResolverException: The system
cannot provision the EBA org.apache.aries.samples.blog.jdbc.eba because the
following problems in the dependency chain were detected:
The package dependency org.apache.derby.jdbc required by bundle
org.apache.aries.samples.blog.persistence.jdbc_1.0.0 cannot be resolved.
    at
org.apache.aries.application.resolver.obr.OBRAriesResolver.resolve(OBRAriesResolver.java:212)
    at
org.apache.aries.application.resolver.obr.OBRAriesResolver.resolve(OBRAriesResolver.java:136)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)[:1.7.0_07]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
Source)[:1.7.0_07]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)[:1.7.0_07]
    at java.lang.reflect.Method.invoke(Unknown Source)[:1.7.0_07]
    at
org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.java:50)[7:org.apache.aries.proxy:0.3.1]
    at
org.apache.aries.proxy.impl.DefaultWrapper.invoke(DefaultWrapper.java:31)[7:org.apache.aries.proxy:0.3.1]
    at
org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.java:78)[7:org.apache.aries.proxy:0.3.1]
    at $Proxy34.resolve(Unknown Source)
    at
org.apache.aries.application.deployment.management.impl.DeploymentManifestManagerImpl.generateDeployedBundles(DeploymentManifestManagerImpl.java:216)
    at
org.apache.aries.application.deployment.management.impl.DeploymentManifestManagerImpl.generateDeploymentManifest(DeploymentManifestManagerImpl.java:160)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)[:1.7.0_07]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
Source)[:1.7.0_07]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)[:1.7.0_07]
    at java.lang.reflect.Method.invoke(Unknown Source)[:1.7.0_07]
ERROR | raf-2.2.9/deploy | fileinstall                      | 6 -
org.apache.felix.fileinstall - 3.2.4 | In main loop, we have serious trouble
java.lang.NoSuchMethodError:
org.osgi.framework.Version.compareTo(Lorg/osgi/framework/Version;)I
    at org.apache.aries.util.VersionRange.intersect(VersionRange.java:388)
    at
org.apache.aries.application.impl.VersionRangeImpl.intersect(VersionRangeImpl.java:145)
    at
org.apache.aries.application.modelling.utils.impl.ModellingHelperImpl.intersectPackage_(ModellingHelperImpl.java:173)
    at
org.apache.aries.application.modelling.internal.PackageRequirementMerger.<init>(PackageRequirementMerger.java:77)
    at
org.apache.aries.application.modelling.impl.DeployedBundlesImpl.getExternalPackageRequirements(DeployedBundlesImpl.java:305)
    at
org.apache.aries.application.modelling.impl.DeployedBundlesImpl.getRequiredUseBundle(DeployedBundlesImpl.java:452)
    at
org.apache.aries.application.deployment.management.impl.DeploymentManifestManagerImpl.generateDeployedBundles(DeploymentManifestManagerImpl.java:227)
    at
org.apache.aries.application.deployment.management.impl.DeploymentManifestManagerImpl.generateDeploymentManifest(DeploymentManifestManagerImpl.java:160)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)[:1.7.0_07]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
Source)[:1.7.0_07]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)[:1.7.0_07]
Thanks
Frank

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message