server.policy

Ouvrez le fichier server.policy situé dans le répertoire profiles/AppSvr01/properties de l'installation WebSphere Application Server. Ajoutez les lignes suivantes à la fin du fichier :

grant codeBase "file:<CURAMSDEJ>/drivers/-" {
permission java.security.AllPermission;
};

<CURAMSDEJ> correspond au répertoire d'installation SDEJ.

grant codeBase "file:${was.install.root}/
profiles/<nom.profil>/installedApps/
<nom.cible>/<NOM_MODELE_SERVEUR>.ear/
guice-2.0.jar" { permission java.lang.RuntimePermission
"modifyThread"; permission java.lang.RuntimePermission
"modifyThreadGroup"; };

<nom.profil> correspond au nom du profil WebSphere Application Server cible ;

<nom.cible> correspond au nom de la cellule WebSphere Application Server cible ;

<NOM_MODELE_SERVEUR> correspond au nom de l'application (nom de base du fichier EAR).