Problème d'applet cache entry et autre
Bonjour,
J'ai un soucis avec mon applet, qui fonctionne bien depuis Netbeans et l'applet viewer.
Sur un hébergeur, j'ai des erreurs que je ne comprends pas.
cahce entry d'abord, puis des soucis de permission sur des fichiers alors que sous Netbeans, j'ai supprimé les dossiers les contenants et que tout fonctionne...
L'applet est auto signée.
Voici l'adresse : http://lostsouldark.free.fr/applet/index2.html
Et le message d'erreur :
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102
|
CacheEntry[http://lostsouldark.free.fr/applet/ProfTuxBot.jar]: updateAvailable=true,lastModified=Mon Nov 25 03:37:18 CET 2013,length=29799
Missing Application-Name: manifest attribute for: http://lostsouldark.free.fr/applet/ProfTuxBot.jar
Missing Permissions manifest attribute for: http://lostsouldark.free.fr/applet/ProfTuxBot.jar
Missing Codebase manifest attribute for: http://lostsouldark.free.fr/applet/ProfTuxBot.jar
Missing Application-Name: manifest attribute for: http://lostsouldark.free.fr/applet/ProfTuxBot.jar
Missing Permissions manifest attribute for: http://lostsouldark.free.fr/applet/ProfTuxBot.jar
Missing Codebase manifest attribute for: http://lostsouldark.free.fr/applet/ProfTuxBot.jar
Missing Application-Name: manifest attribute for: http://lostsouldark.free.fr/applet/ProfTuxBot.jar
Missing Permissions manifest attribute for: http://lostsouldark.free.fr/applet/ProfTuxBot.jar
Missing Codebase manifest attribute for: http://lostsouldark.free.fr/applet/ProfTuxBot.jar
0
Name = proftux Path = ../ProfTuxBot/bots/proftux
c:/ab
../ProfTuxBot/bots
../ProfTuxBot/bots/proftux
../ProfTuxBot/bots/proftux/aiml
../ProfTuxBot/bots/proftux/aimlif
../ProfTuxBot/bots/proftux/config
../ProfTuxBot/bots/proftux/logs
../ProfTuxBot/bots/proftux/sets
../ProfTuxBot/bots/proftux/maps
Error: access denied ("java.io.FilePermission" "../ProfTuxBot/bots/proftux/config/normal.txt" "read")
Error: access denied ("java.io.FilePermission" "../ProfTuxBot/bots/proftux/config/denormal.txt" "read")
Error: access denied ("java.io.FilePermission" "../ProfTuxBot/bots/proftux/config/person.txt" "read")
Error: access denied ("java.io.FilePermission" "../ProfTuxBot/bots/proftux/config/person2.txt" "read")
Error: access denied ("java.io.FilePermission" "../ProfTuxBot/bots/proftux/config/gender.txt" "read")
Preprocessor: 0 norms 0 persons 0 person2
Get Properties: ../ProfTuxBot/bots/proftux/config/properties.txt
Error: access denied ("java.io.FilePermission" "../ProfTuxBot/bots/proftux/config/properties.txt" "read")
java.security.AccessControlException: access denied ("java.io.FilePermission" "../ProfTuxBot/bots/proftux/sets" "read")
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at sun.plugin2.applet.AWTAppletSecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkRead(Unknown Source)
at java.io.File.exists(Unknown Source)
at org.alicebot.ab.Bot.addAIMLSets(Bot.java:693)
at org.alicebot.ab.Bot.<init>(Bot.java:114)
at org.alicebot.ab.Bot.<init>(Bot.java:91)
at bot.BotApplet.<init>(BotApplet.java:85)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter$1.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
java.security.AccessControlException: access denied ("java.io.FilePermission" "../ProfTuxBot/bots/proftux/maps" "read")
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at sun.plugin2.applet.AWTAppletSecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkRead(Unknown Source)
at java.io.File.exists(Unknown Source)
at org.alicebot.ab.Bot.addAIMLMaps(Bot.java:726)
at org.alicebot.ab.Bot.<init>(Bot.java:115)
at org.alicebot.ab.Bot.<init>(Bot.java:91)
at bot.BotApplet.<init>(BotApplet.java:85)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter$1.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source) |
Voila, si vous voyez d'ou vient le soucis,
Merci d'avance,
Très cordialement,
ANDRE Ani