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

Problem installing karaf: java.lang.IllegalArgumentException

asked 2015-01-01 09:33:10 -0800

nehajoshi gravatar image

hello, I am trying to install helium SR1 on ubuntu 12.04 with JDK 1.7. As mentioned in installation guide when I run ./bin/karaf it gives following error:

WARN: file:/home/neha/opendaylight_controller/opendaylight/distribution/opendaylight-karaf-resources/src/main/resources/etc/config.properties is not found, so not loaded Could not create framework: java.lang.IllegalArgumentException: Property karaf.framework must be set in the etc/config.properties configuration file java.lang.IllegalArgumentException: Property karaf.framework must be set in the etc/config.properties configuration file at org.apache.karaf.main.Main.createClassLoader(Main.java:1066) at org.apache.karaf.main.Main.launch(Main.java:258) at org.apache.karaf.main.Main.main(Main.java:497)

I tried to create a blank config.properties file at specified location but it did not work. Can anyone help with this? and if i need to create that file what should be its contents.

-neha

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-01-12 02:33:01 -0800

Tony Tkacik gravatar image

opendaylight/distribution/opendaylight-karaf-resources is not Opendaylight Karaf distribution, only resources needed to build it. Please use distribution from integration project

edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools

Follow
1 follower

Stats

Asked: 2015-01-01 09:33:10 -0800

Seen: 208 times

Last updated: Jan 12 '15