Getting Error running the application from the serve

Questions and Answers on installation, deployment, management, locking, tranasactions of Servoy Application Server

Getting Error running the application from the serve

Postby siavash.roozbehan » Fri Nov 30, 2012 12:48 am

Hi Guys,

I our application we are using different plugins including IT2bemanager calendar plugins. The application works fine on developer and on two of our servers on other machines as we upload the solution there for the testers to be able to test it. Recently one of our testers tried to run the solution on a new machine and when the application tries to install and load it comes up with an error attached to this post and it complains about not to be able to certify the plugin!

Any ideas why this error occurs and stops the application installation?

Cheers,
Siavash
Attachments
it2bemanager.png
it2bemanager.png (6.97 KiB) Viewed 3752 times
Siavash

TSM (The Service Manager)
Australia
siavash.roozbehan
 
Posts: 97
Joined: Wed Apr 11, 2012 2:21 am

Re: Getting Error running the application from the serve

Postby Joas » Fri Nov 30, 2012 4:10 pm

What message do you see when you click "Details"?
Joas de Haan
Yield Software Development
Need help on your project? yieldsd.com
User avatar
Joas
Site Admin
 
Posts: 842
Joined: Mon Mar 20, 2006 4:07 pm
Location: Leusden, NL

Re: Getting Error running the application from the serve

Postby siavash.roozbehan » Tue Dec 04, 2012 4:00 am

Hi Joas,

Following is the error details:

java.security.cert.CertificateException: java.security.cert.CertPathValidatorException: java.security.InvalidKeyException: Wrong key usage
at com.sun.deploy.security.TrustDecider.doCheckRevocationStatus(Unknown Source)
at com.sun.deploy.security.TrustDecider.validateChain(Unknown Source)
at com.sun.deploy.security.TrustDecider.isAllPermissionGranted(Unknown Source)
at com.sun.javaws.security.AppPolicy.grantUnrestrictedAccess(Unknown Source)
at com.sun.javaws.security.JNLPSignedResourcesHelper.checkSignedResourcesHelper(Unknown Source)
at com.sun.javaws.security.JNLPSignedResourcesHelper.checkSignedResources(Unknown Source)
at com.sun.javaws.Launcher.prepareResources(Unknown Source)
at com.sun.javaws.Launcher.prepareAllResources(Unknown Source)
at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
at com.sun.javaws.Launcher.launch(Unknown Source)
at com.sun.javaws.Main.launchApp(Unknown Source)
at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
at com.sun.javaws.Main.access$000(Unknown Source)
at com.sun.javaws.Main$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.security.cert.CertPathValidatorException: java.security.InvalidKeyException: Wrong key usage
at sun.security.provider.certpath.OCSPResponse.verifyResponse(Unknown Source)
at sun.security.provider.certpath.OCSPResponse.<init>(Unknown Source)
at sun.security.provider.certpath.OCSP.check(Unknown Source)
at sun.security.provider.certpath.OCSP.check(Unknown Source)
at sun.security.provider.certpath.OCSP.check(Unknown Source)
at com.sun.deploy.security.TrustDecider.doOCSPEEValidation(Unknown Source)
... 16 more
Caused by: java.security.InvalidKeyException: Wrong key usage
at java.security.Signature.initVerify(Unknown Source)
... 22 more
Siavash

TSM (The Service Manager)
Australia
siavash.roozbehan
 
Posts: 97
Joined: Wed Apr 11, 2012 2:21 am

Re: Getting Error running the application from the serve

Postby boonstrj » Tue Dec 04, 2012 9:42 am

I get this when I use Java 7. If you enable online certificate validation in the java control panel advanced tab under security/general, it should work.
Jeroen Boonstra
2Serve-IT

Servoy version 5.2.13/6.1.x/7.1.0
boonstrj
 
Posts: 63
Joined: Mon Jan 07, 2008 11:49 am
Location: Netherlands

Re: Getting Error running the application from the serve

Postby siavash.roozbehan » Wed Dec 05, 2012 7:15 am

Thanks boostrj, problem solved :)
Siavash

TSM (The Service Manager)
Australia
siavash.roozbehan
 
Posts: 97
Joined: Wed Apr 11, 2012 2:21 am

Re: Getting Error running the application from the serve

Postby jcompagner » Fri Jan 11, 2013 11:15 am

ok the finally seems to have fixed this issue first for u12:

http://bugs.sun.com/bugdatabase/view_bu ... id=7197652

that one has a release date i guess of June this year, but happily the seem to backport it to u11:

http://bugs.sun.com/bugdatabase/view_bu ... id=8000784

so it seems to also be in u11 that is coming next month (Feb)
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8833
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet


Return to Servoy Server

Who is online

Users browsing this forum: No registered users and 14 guests