Java error FailedDownloadException: Unable to load resource: <opsiserver>:4447/configed/configed.jar

Antworten
NJ13
Beiträge: 3
Registriert: 14 Jun 2016, 12:51

Java error FailedDownloadException: Unable to load resource: <opsiserver>:4447/configed/configed.jar

Beitrag von NJ13 »

Hello,

I am unable to start "opsi configuration editor (java web start)".

After I click the link a "configed.jnlp" file is downloaded on my system.
When I launch the "configed.jnlp" file I get a Java "Security Warning" telling me the certificate is not valid and asks me if I want to continue.
After pressing "Continue" button I get a Java "Application Error".

Error Details - Exeption:
com.sun.deploy.net.FailedDownloadException: Unable to load resource: <https://opsiserver>/configed/configed.jar
at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
at com.sun.deploy.net.DownloadEngine.downloadResource(Unknown Source)
at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
at com.sun.javaws.LaunchDownload$DownloadTask.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)


Java version = 1.8.0.91.

Can somebody solve this problem or point me in the right direction.

Thank you!
Benutzeravatar
n.wenselowski
Ex-uib-Team
Beiträge: 3194
Registriert: 04 Apr 2013, 12:15

Re: Java error FailedDownloadException: Unable to load resource: <opsiserver>:4447/configed/configed.jar

Beitrag von n.wenselowski »

Hi,

please make sure that rights on the server are set:

Code: Alles auswählen

opsi-set-rights
Are you running the latest server packages?
Are you able to receive the file with i.e. wget?


Kind regards

Niko

Code: Alles auswählen

import OPSI
NJ13
Beiträge: 3
Registriert: 14 Jun 2016, 12:51

Re: Java error FailedDownloadException: Unable to load resource: <opsiserver>:4447/configed/configed.jar

Beitrag von NJ13 »

Niko,

2 of my colleaugues are able to start "opsi configuration editor (java web start)".

When they logon to my machine they are experiencing the same problem as I do.
If I logon on the machine of my colleague I get the same error.

We've tried this several times. Every time with the same error result.

How do I set rights on the server and use wget? I'm no linux pro so.

Thank you.
Benutzeravatar
SisterOfMercy
Beiträge: 1556
Registriert: 22 Jun 2012, 19:18

Re: Java error FailedDownloadException: Unable to load resource: <opsiserver>:4447/configed/configed.jar

Beitrag von SisterOfMercy »

NJ13 hat geschrieben:We've tried this several times. Every time with the same error result.
How do I set rights on the server and use wget? I'm no linux pro so.
Well, uhh, he tells you: opsi-set-rights (or opsi-setup --set-rights if you have enough rights).

wget (or curl) is used on the same command line, in a ssh session to the opsi server.
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!
NJ13
Beiträge: 3
Registriert: 14 Jun 2016, 12:51

Re: Java error FailedDownloadException: Unable to load resource: <opsiserver>:4447/configed/configed.jar

Beitrag von NJ13 »

I don't think it's a security issue.

How is it possible that my colleague can start "opsi configuration editor (java web start)" on machine A but get's the same error as me when he tries to start "opsi configuration editor (java web start)" on machine B??

The difference, we can see, between machine A en B:

Under Java configuration - General - View - Java Cache Viewer the "opsi-configed" application has a size of 8231KB on machine A (working machine) and a size of 1.3KB on machine B (not working machine).
Benutzeravatar
n.wenselowski
Ex-uib-Team
Beiträge: 3194
Registriert: 04 Apr 2013, 12:15

Re: Java error FailedDownloadException: Unable to load resource: <opsiserver>:4447/configed/configed.jar

Beitrag von n.wenselowski »

Hi,
NJ13 hat geschrieben:Under Java configuration - General - View - Java Cache Viewer the "opsi-configed" application has a size of 8231KB on machine A (working machine) and a size of 1.3KB on machine B (not working machine).
Does clearing the cache help?

What versions of Java are you running?
And what implementation (OpenJDK, Oracle Java, ...)


Kind regards

Niko

Code: Alles auswählen

import OPSI
Antworten