Software Defined Networking
1843047 Members
2959 Online
110212 Solutions
New Discussion

Re: issues with uploading SDN application from SDN controller GUI

 
yadima
Visitor

issues with uploading SDN application from SDN controller GUI

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 REPLIES 2
Carlos
Frequent Advisor

Re: issues with uploading SDN application from SDN controller GUI

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,

 

yadima
Visitor

Re: issues with uploading SDN application from SDN controller GUI

Problem solved. Thanks SDN team!