Ask Your Question

Opendaylight-Karaf doesn't start the console

asked 2016-01-25 11:38:17 -0700

cavaz gravatar image

Hi! I'm Alvise, and i'm trying to start Opendaylight with the integration of Karaf through the developer guide. I had no problems with the installation, i've also crated the Example project from the developer guide all was working, but when i start karaf from the folder ~/controller/karaf/opendaylight-karaf/target/assembly/bin it's not working, and the first time i have this error: Error installing bundle listed in with url: wrap:mvn:javax.servlet.jsp/jsp-api/2.1 and startlevel: 30 Exception in thread "main" java.lang.NullPointerException at org.apache.karaf.main.Main.destroy( at org.apache.karaf.main.Main.main(

When i restart Karaf the error disappear, but the prompt is showing only this: karaf: Enabling Java debug options: -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dtsocket,server=y,suspend=n,address=5005 Listening for transport dtsocket at address: 5005

I've also checked the karaf.log and i have this inside: Jan 25, 2016 11:47:37 AM org.apache.karaf.main.lock.SimpleFileLock lock INFO: Trying to lock /home/ubuntu/controller/karaf/opendaylight-karaf/target/assembly/lock Jan 25, 2016 11:47:37 AM org.apache.karaf.main.lock.SimpleFileLock lock INFO: Lock acquired Jan 25, 2016 11:47:37 AM org.apache.karaf.main.Main$KarafLockCallback lockAquired INFO: Lock acquired. Setting startlevel to 100

I have java version "1.7.0_91" and Apache Maven 3.3.3 and i am working on a Virtual machine with Linux. It's 2 days that i'm working on it but without results, if someone has any idea i appreciate it a lot. Thanks!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-05-26 09:03:24 -0700

jgoodyear gravatar image

Please down load an OpenDaylight kit from the website for your initial environment testing.

Using Karaf directly from the controller build might not be stable at all times (its development code).

That being said, the distribution should be able to start up -- its strange that Karaf started in Debug mode, usually Karaf starts up in normal mode.

My apologies for the long delay in finding this ask ticket, I'm trying to groom ODL Karaf questions more proactively.

edit flag offensive delete publish link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]


Asked: 2016-01-25 11:38:17 -0700

Seen: 305 times

Last updated: May 26 '16