SD-WAN

 View Only
Expand all | Collapse all

issues with uploading SDN application from SDN controller GUI

This thread has been viewed 1 times
  • 1.  issues with uploading SDN application from SDN controller GUI

    Posted Dec 04, 2014 02:44 PM

    Hi SDN team,

    I followed the instruction from "SDN Controller Programming Guide" and generated the hm (health monitor) application. It builds successfully, but when I try to upload it using the SDN controller GUI, I got the following error. Any idea what's wrong? Thanks!

    hm-api-1.0.0-SNAPSHOT.jar is not signed or has been tampered with

    Server Error – 400: Bad Request

    URL: rs/apps

    View ID: apps

    Type: error

     



  • 2.  RE: issues with uploading SDN application from SDN controller GUI

    Posted Dec 05, 2014 12:44 PM

    Hi,

     

    Thank you for contacting the HP SDN Forum. Have you tried running the controller without the Jar-Signing Validation?

    If not, here are the instructions from the HP VAN SDN Controller 2.3 Administrator Guide, page 68-69:

     

     

    5.8.2 Running the SDN Controller Without Jar-Signing Validation

    The SDN Controller enforces jar-signing validation by default. For an experimental/development

    environment where unsigned applications need to be deployed, jar-signing validation can be

    turned off altogether:

     

    1.  Use the following command to stop the SDN Controller:

    sudo service sdnc stop

     

    2.  Modify the/opt/sdn/virgo/bin/dmk.shscript to add the following option to the list of

    JMX_OPTS

     

    -Dsdn.signedJar=none

     

    For example:

    cd $KERNEL_HOME; exec $JAVA_EXECUTABLE \

    $JAVA_OPTS \

    $DEBUG_OPTS \

    $JMX_OPTS \

    -XX:+HeapDumpOnOutOfMemoryError \

    -XX:ErrorFile=$KERNEL_HOME/serviceability/error.log \

    -XX:HeapDumpPath=$KERNEL_HOME/serviceability/heap_dump.hprof \

    -Dsdn.signedJar=none \

    -Djava.security.auth.login.config=$AUTH_LOGIN \

    -Dorg.eclipse.virgo.kernel.authentication.file=$AUTH_FILE \

     

    3. Start the SDN Controller:

     

    sudo service sdnc start

     

    To enable jar-signing validation, remove the line containing the

    -Dsdn.signedJar=noneoption

    from the /opt/sdn/virgo/bin/dmk.sh script and restart the controller.

     

    Best Regards,

     

    Carlos

    CoE SDN Team,

     



  • 3.  RE: issues with uploading SDN application from SDN controller GUI

    Posted Dec 05, 2014 03:05 PM

    Problem solved. Thanks SDN team!