Ask is moving to Stack Overflow and Serverfault.com! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode

0

When starting karaf, some errors.

asked 2016-06-30 05:17:41 -0800

casper37 gravatar image

updated 2016-06-30 05:21:31 -0800

  • Used ODL version: Helium
  • problem: when starting karaf, there are some errors.
  • please, refer to the following karaf log, analyze the cause of the errors and inform me how to fix them.

Nov 19, 2015 5:10:28 PM org.apache.karaf.main.Main launch INFO: Installing and starting initial bundles Nov 19, 2015 5:10:29 PM org.apache.karaf.main.Main launch INFO: All initial bundles installed and set to start Nov 19, 2015 5:10:29 PM org.apache.karaf.main.lock.SimpleFileLock lock INFO: Trying to lock /topas/lib/tsdn/Controller/distribution-karaf-ap1/lock Nov 19, 2015 5:10:29 PM org.apache.karaf.main.lock.SimpleFileLock lock INFO: Lock acquired Nov 19, 2015 5:10:29 PM org.apache.karaf.main.Main$KarafLockCallback lockAquired INFO: Lock acquired. Setting startlevel to 100 2015-11-19 17:10:34,554 | INFO | Event Dispatcher | FeaturesServiceImpl | 24 - org.apache.karaf.features.core - 3.0.1 | Installing feature config 3.0.1 2015-11-19 17:10:34,606 | INFO | Event Dispatcher | FeaturesServiceImpl | 24 - org.apache.karaf.features.core - 3.0.1 | Installing feature standard 3.0.1 2015-11-19 17:10:34,767 | INFO | Event Dispatcher | FeaturesServiceImpl | 24 - org.apache.karaf.features.core - 3.0.1 | Installing feature package 3.0.1 2015-11-19 17:10:34,797 | INFO | Event Dispatcher | FeaturesServiceImpl | 24 - org.apache.karaf.features.core - 3.0.1 | Installing feature region 3.0.1 2015-11-19 17:10:34,903 | WARN | Event Dispatcher | AetherBasedResolver | 5 - org.ops4j.pax.url.mvn - 1.6.0 | Error resolving artifactorg.eclipse.equinox:region:jar:1.0.0.v20110506:Could not transfer artifact org.eclipse.equinox:region:jar:1.0.0.v20110506 from/to central ( http://repo1.maven.org/maven2/ ): Error transferring file: repo1.maven.org org.sonatype.aether.resolution.ArtifactResolutionException: Could not transfer artifact org.eclipse.equinox:region:jar:1.0.0.v20110506 from/to central ( http://repo1.maven.org/maven2/ ): Error transferring file: repo1.maven.org at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:538) at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:216) at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:193) at org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveArtifact(DefaultRepositorySystem.java:286) at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:250) at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolveFile(AetherBasedResolver.java:239) at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:223) at org.ops4j.pax.url.mvn.internal.Connection.getInputStream(Connection.java:122) at java.net.URL.openStream(URL.java:1050)[:1.7.0] at org.apache.karaf.features.internal.BundleManager.getInputStreamForBundle(BundleManager.java:173) at org.apache.karaf.features.internal.BundleManager.doInstallBundleIfNeeded(BundleManager.java:92) at org.apache.karaf.features.internal.BundleManager.installBundleIfNeeded(BundleManager.java:86) at org.apache.karaf.features.internal.FeaturesServiceImpl.doInstallFeature(FeaturesServiceImpl.java:529) at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeatures(FeaturesServiceImpl.java:393) at org.apache.karaf.features.internal.BootFeaturesInstaller.installBootFeatures(BootFeaturesInstaller.java:92) at org.apache.karaf.features.internal.BootFeaturesInstaller.start(BootFeaturesInstaller.java:76) at ...

(more)
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-06-30 16:59:06 -0800

jgoodyear gravatar image

Are you running ODL behind a firewall?

The logging entry:

" 3.0.1 2015-11-19 17:10:34,903 | WARN | Event Dispatcher | AetherBasedResolver | 5 - org.ops4j.pax.url.mvn - 1.6.0 | Error resolving artifactorg.eclipse.equinox:region:jar:1.0.0.v20110506:Could not transfer artifact org.eclipse.equinox:region:jar:1.0.0.v20110506 from/to central ( http://repo1.maven.org/maven2/ ): Error transferring file: repo1.maven.org org.sonatype.aether.resolution.ArtifactResolutionException: Could not transfer artifact org.eclipse.equinox:region:jar:1.0.0.v20110506 from/to central ( http://repo1.maven.org/maven2/ ): Error transferring file: repo1.maven.org "

Suggests to me that Karaf can't reach out to maven repositories from your host. Has their been any changes to your ODL containers' maven repo settings? Local settings xml file?

Please ensure that Karaf can contact any required repositories.

edit flag offensive delete publish link more

Comments

Thank you for your answer. Right. The SDN system is running behind the firewall. But, I cannot open the SDN server to public network because of security. Is there any way to solve this problem without opening the firewall?

casper37 ( 2016-07-03 18:30:38 -0800 )edit
Login/Signup to Answer

Question Tools

Follow
1 follower

Stats

Asked: 2016-06-30 05:17:41 -0800

Seen: 141 times

Last updated: Jun 30 '16