- Community Home
- >
- Networking
- >
- Software Defined Networking
- >
- Re: Newbie question: Server error when uploading A...
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
09-03-2014 01:24 PM
09-03-2014 01:24 PM
Hi Guys - I followed the instructions to add
"-Dsdn.signedJar=none \" to /opt/sdn/virgo/bin/dmk.sh, as described in the HP VAN SDN Controller 2.3 Administrator Guide, pg 69, 5.8.2
I did stop & start the service as shown, and added it in the location shown - but when I try to add the example Health Monitor App, and click "upload" I still get
App could not be verified: Unsigned file hm-api-1.0.0-SNAPSHOT.jar
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2014 07:31 AM - edited 09-04-2014 07:33 AM
09-04-2014 07:31 AM - edited 09-04-2014 07:33 AM
Re: Newbie question: Server error when uploading Application
Exactly the same problem than you.
This add of the instruction "-Dsdn.signedJar=non" worked with version 2.0 but no more with version 2.3.5 !!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2014 09:57 AM
09-04-2014 09:57 AM
Re: Newbie question: Server error when uploading Application
Could you help with the solution for this as I have tried a couple of things:-
1. Capitalised "Dsdn" to "DSDN".
2. In SDN UI on Configurations tab, changed "verifyZips" to "false" in App.Manager
After this got 2 different errors:-
(i) With Zip file containing UnSigned Jar files: "App could not be verified: Unsigned file"
(ii) With Zip file Signed Jar files: "App could not be verified: Signer not trusted (public certificate missing from sdnjar_trust.jks)"
Please suggest a solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2014 06:06 AM
09-05-2014 06:06 AM
Re: Newbie question: Server error when uploading Application
I am having a similar problem with v.2.3.5. After building the sample Health Monitor App per the programming guide I tried to install the app on the controller. I get "App could not be verified: Unsigned file com/hp/hm/api/DeviceHealthService.class". I also have verifyZips = false.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2014 12:56 PM
09-05-2014 12:56 PM
Re: Newbie question: Server error when uploading Application
I've opened an HP support Case - 4736080403 - hopefully it will get routed to the SDN team so we can get this resolved for all of us :-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2014 04:43 AM
09-06-2014 04:43 AM
SolutionHi friends!
Setting -Dsdn.signedJar=none in /opt/sdn/virgo/bin/dmk.sh and setting com.hp.sdn.adm.mgr.impl.AppManager.verifyZips to flase in HP SDN Controller Console worked for me.
There is another solution to upload apps smoothly, but it's not so convenient.
You need to properly sing every .jar and .war file in your app. In the guides, there is no advice how to achieve this. I didn't succeed with lots of experimentation and hours spent on this issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2014 11:53 PM
09-07-2014 11:53 PM
Re: Newbie question: Server error when uploading Application
(I've just Install version 2.3.5)
For my part, with:
1) Setting -Dsdn.signedJar=none in /opt/sdn/virgo/bin/dmk.sh and
2) com.hp.sdn.adm.mgr.impl.AppManager.verifyZips = false
I can now UPLOAD all my applications (I didn't before point 1) and 2) )
However when I try to Deploy my applications , It failed with the following error message:
Server Error – 500: Internal Server Error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2014 12:15 AM
09-08-2014 12:15 AM
Re: Newbie question: Server error when uploading Application
Hi sbotkine,
sudo tail -n 256 /var/log/sdn/virgo/logs/log.log
will show you last 256 lines of virgo log where you can find app deployment exception stack trace, the cause of failure.
I think, the most probable cause of the error could be UnableToSatisfyBundleDependenciesException. In other words, you are referencig a library which is not available.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2014 06:55 AM
09-08-2014 06:55 AM
Re: Newbie question: Server error when uploading Application
Thanks guys - I'm going to try the suggestions in the next couple days.
I really appreciate the help so far!! Hopefully I don't run into missing dependencies.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2014 02:28 PM
09-08-2014 02:28 PM
Re: Newbie question: Server error when uploading Application
Just wanted to update you all -
I was able to get the Health Monitor application to Upload *and* Deploy.
One last question for now - do you folks know the correct URL to access the healthmonitor app, once installed?
What file makes this determination? (so I could change it, for example?)
Steps I took to allow the example Health Monitor app from the SDK included with 2.3.5 to install on VAN controller 2.3.5
1. Add "-Dsdn.signedJar=none \" to /opt/sdn/virgo/bin/dmk.sh, as described in the HP VAN SDN Controller 2.3 Administrator Guide, pg 69, 5.8.2, then restart the sdnc service
2. In the configurations section in the gui under com.hp.sdn.adm.mgr.impl.AppManager change verifyZips to false
HP VAN SDN Controller 2.3 Administrators Guide, pg 35 3.10.4
Thank you guys, and thank you HP Support!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2014 12:28 AM
09-09-2014 12:28 AM
Re: Newbie question: Server error when uploading Application
Not Sure, I retried everything but still could not get it working for me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2014 12:53 AM
09-09-2014 12:53 AM
Re: Newbie question: Server error when uploading Application
I don't know details about healthmonitor app, so I'll try to asnwer you in a generic way.
For instance, we generated app using gen-sdn-app --app myapp --company mycompany --subject MySubj --rest-path turbosubject ...
The default path to access MySubj REST API will be https://{CONTROLLER_ADDRESS}:8443/sdn/myapp/v1.0/turbosubject .
The default path to access GUI REST from outside the Admin Console: https://{CONTROLLER_ADDRESS}:8443/sdn/ui/myapp/app/rs/mysubj .
In other words, you can access internal app in two ways:
- via REST API, definition in "myapp-rs" project, and RSDoc: https://{CONTROLLER_ADDRESS}:8443/api/ ,
- via Admin console, definition in "myapp-ui" project.
Both are basically classic Java Web Services hosted on Tomcat. Each project Tomcat treats as an independent application, .war file. Each Tomcat app has a descriptor, usually web.xml. You can find it in project folder under: src/main/webapp/WEB-INF/web.xml. We only need to edit section near to com.sun.jersey.config.property.classnames which "activates" our ControllerResource defined in project. Each class which extends ControllerResource has @Path annotation, this determines the suffix of REST path.
I hope, I answered your questions completly despite the fact I'm not from HP and I'm not a Tomcat expert.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2014 04:18 AM
09-09-2014 04:18 AM
Re: Newbie question: Server error when uploading Application
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2014 10:59 AM
09-12-2014 10:59 AM
Re: Newbie question: Server error when uploading Application
Hi ALL,
We are glad that your problem is solved, please let us know if you still face any issue.
The correct and working steps to upload the application (e.g. Device Health Monitor) mentioned as below
1.As per Admin guide 2.3 page 35-36 please make sure that verifyZips key value is false under com.hp.sdn.adm.mgr.impl.AppManager component.
2. AS per the Admin guide 2.3 page 68-69 please follow as below
a) sudo service sdnc stop
b) make an entry -Dsdn.signedJar=none \ in the file /opt/sdn/virgo/bin/dmk.sh
e.g.
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 \
c) start the sdnc service by running
sudo service sdnc start
Please try the method mentioned as above and let us know if you still face any issue.
Thanks,
HP SDN Team
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2016 03:01 AM
04-14-2016 03:01 AM
Re: Newbie question: Server error when uploading Application
Hi TurboLuk OCCASIONAL ADVISOR!
Thanks a lot for sharing the solution with us. I’m also facing the same problem few days back but didn’t get any appropriate solution. Your idea helped me.