Bonjour,
Lors de mon appel JNLP j'ai le message d'erreur suivant dans l'onglet Exception:
Lorsque j'appel en direct l'url de l'image j'ai bien l'image dans mon navigateur
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14 com.sun.deploy.net.FailedDownloadException: Impossible de charger la ressource : http://192.168.17.4/Jnlpltut-Web-1.0/pat.png at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source) at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source) at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source) at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source) at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source) at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source) at com.sun.javaws.LaunchDownload$DownloadTask.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)
http://192.168.17.4/Jnlpltut-Web-1.0/pat.png
Dans le troisieme onglet 'exception boucle' j'ai
mon jnlp
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 java.io.IOException: Invalid jar file at com.sun.deploy.net.HttpDownloadHelper.download(Unknown Source) at com.sun.deploy.cache.Cache.downloadResourceToTempFile(Unknown Source) at com.sun.deploy.cache.Cache.downloadResourceToCache(Unknown Source) at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source) at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source) at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source) at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source) at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source) at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source) at com.sun.javaws.LaunchDownload$DownloadTask.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)
ma structure de webapp
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 <?xml version="1.0" encoding="utf-8" ?> <jnlp codebase="http://192.168.17.4/Jnlpltut-Web-1.0"> <information> <title>TechnoS SourceS sample</title> <vendor>Julien CHABLE</vendor> <description>TechnoS SourceS sample application</description> <description kind="short">Demo JNLP TechnoS SourceS</description> <icon href="/pat.png"/> <icon kind="splash" href="/pat.png"/> <offline-allowed/> </information> <resources> <j2se version="1.6+"/> <jar href="webstart/lib/tsapp-1.0.jar" main="true"/> <jar href="pat.png"/> </resources> <application-desc main-class="com.ts.TSApp"/> </jnlp>
Jnlpltut-Web-1.0
-- pat.png
-- webstart
---- tsapp.jnlp
---- SwingWebstartMavenExample-KeyStore
---- lib
------ tsapp-1.0.jar
Ou est mon erreur ?
Merci d'avance
Phil
Partager