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

Revision history [back]

click to hide/show revision 1
initial version

Which Java JDK version do you use? Is it possible that you are using Java 8? As far as I know Java 8 is not yet supported by Opendaylight. Maybe you try it with Java JDK 7, I could build and run the sample, at least with Java 7 without problems and also see the "HelloProvider Session Initiated" message in the logs. The Java version that i used is:

/.../target/assembly$ java -version
java version "1.7.0_75"
OpenJDK Runtime Environment (IcedTea 2.5.4) (7u75-2.5.4-1~trusty1)
OpenJDK 64-Bit Server VM (build 24.75-b04, mixed mode)

Which Java JDK version do you use? Is it possible that you are using Java 8? As far as I know Java 8 is not yet supported by Opendaylight. Maybe you try it with Java JDK 7, I could build and run the sample, at least with Java 7 without problems and also see the "HelloProvider Session Initiated" message in the logs. The Java version that i used is:

/.../target/assembly$ java -version
java version "1.7.0_75"
OpenJDK Runtime Environment (IcedTea 2.5.4) (7u75-2.5.4-1~trusty1)
 OpenJDK 64-Bit Server VM (build 24.75-b04, mixed mode)
VM