users@glassfish.java.net

Re: problem deploying with asadmin

From: <forums_at_java.net>
Date: Thu, 24 Jan 2013 07:40:51 -0600 (CST)

This error occurs when Glassfish process doesn't have permissions to read WAR
file. For example, when your Glassfish is started by "glassfish" user and
myapp.war is located in "/home/brian" directory, which can only be accessed
by "brian" and "root" users. The solution - place WAR in some directory that
could be accessed by "glassfish" user, e.g. /tmp. Of course, the WAR file
also should have proper permissions settings (e.g. readable by all users -
rw-r--r-- string in ls -l command output). Hope this will be helpful.

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