users@glassfish.java.net

Glassfish 3.1.1 local instance permission denied to replace libraries in

From: <forums_at_java.net>
Date: Thu, 12 Apr 2012 13:16:59 -0500 (CDT)

On Glassfish 3.1.1 running under 32 bit Windows 7 OS, I created a domain
'mydomain' and a local instance server 'myinstance'. After starting domain
and instance servers, I deployed a web app in exploded form with target
server as 'myinstance'. Now I wanted to replace a jar file with its latest
version, in WEB-INF\lib directory of deployed web application. I stopped
'myinstance' server and tried to rename the existing jar file in WEB-INF\lib
directory. I am getting Access denied error in Windows Explorer. Then I
undeployed the web application and tried again to rename the jar file. Same
error again. Once I stop domain server 'mydomain', I am able to rename the
jar file. Is it not possible to make changes to libraries in WEB-INF\lib by
stopping just the local instance. Is it required to stop domain server as
well? Practically in a production environment, there could be one domain
server and several instance servers. Just to make a library change in one
instance, I need to stop all other instances. Only then I would be able to
stop the domain. Is there any configuration setting by which I could avoid
this problem? Please help. Thanks Kalyan

--
[Message sent by forum member 'kalyanks']
View Post: http://forums.java.net/node/885049