- Community Home
- >
- Networking
- >
- Software Defined Networking
- >
- Re: Server Error when importing new Application
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2014 01:44 AM
01-16-2014 01:44 AM
Following the Health Monitor turorial, I've tried to create and import my first application.
I've first generate the template application with the command:
bin/gen-sdn-app /Users/admin/Documents/DataSerge/DEVELOPEMENT/HP/sdn-apps/health-monitor hm hp OpenFlowSwitch "Device Health Monitor" "Hewlett-Packard" "Application for monitoring health of network devices." health
Then I've created the "hm-1.0.0-SNPSHOT.zip" file from the hm-root folder with the command:
mvn clean install
Finally I've used the Application/New button to import the previous ZIP file.
BUT, after having press the upload button, I've obtained the following error window:
Server Error - 400: Bad Request
Type: error
URL: rs/apps/upload
View ID: apps
Once I've closed the window I have the status:
Unsigned jars
Did someone have the same behaviour ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2014 05:17 AM
01-16-2014 05:17 AM
Re: Server Error when importing new Application
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 - Stop the SDN controller:
sudo service sdnc stop
2 - Modify the /opt/sdn/virgo/bin/dmk.sh script to include the line shown below in boldface type:
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2014 05:21 AM
01-16-2014 05:21 AM
Re: Server Error when importing new Application
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2014 01:27 AM
01-17-2014 01:27 AM
Re: Server Error when importing new Application
Same issue solved at http://h30499.www3.hp.com/t5/SDN-Development/Unsigned-Jars/m-p/6302295#M81
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2014 11:27 AM
02-12-2014 11:27 AM
Re: Server Error when importing new Application
Hi,
Please let us know if your problem is solved.
Please feel free to reply incase you have more questions around the same topic or open a new thread if new topic.
If you feel your question has been answered, please do let us know by marking this response as an 'accepted solution’.
Thanks
HP SDN Team
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2014 02:06 AM