users@glassfish.java.net

RE: Deploying Spring 3.2.8 based app to Oracle Supported ...

From: Martin Gainty <mgainty_at_hotmail.com>
Date: Mon, 7 Apr 2014 12:45:13 -0400

why not allow write access to the folder?

$GF_HOME/config/server.policy


grant codeBase "file:file:${com.sun.aas.instanceRoot}/generated/jsp/S2-testapp/testapp_war/loader_24298432/META-INF/-" {

 permission java.io.FilePermission "<<ALL FILES>>", "write";
};

?
Martin
______________________________________________

  



> To: users_at_glassfish.java.net
> Subject: Re: Deploying Spring 3.2.8 based app to Oracle Supported ...
> From: forums_at_java.net
> Date: Mon, 7 Apr 2014 03:19:26 -0500
>
> Any idea ? I sense that I miss a setting somewhere. getResourceasStream seems
> to extract the jar files to look into their content but the workdir path is
> under the war folder. Is there a way to change that workdir via
> glassfish-web.xml ? I didn't see any documentantion describing that or Is my
> java policy too strict went it comes to that folder ? Thanks!
>
> --
>
> [Message sent by forum member 'theqmaster']
>
> View Post: http://forums.java.net/node/901652
>
>