users@glassfish.java.net

Re: Installation

From: Alex Pineda <alex.pineda_at_oracle.com>
Date: Wed, 23 Feb 2011 09:18:15 -0800

JVR,

I do not recommend creating an answer file with "vim". As Sathyan suggested below, you should create
it using the -n option of the installer (<name of Glassfish distribution> -n filename). You can then edit the
file to point to a specific location if you like. Then run the installer with the -a option in silent mode
(<name of Glassfish distribution> -a filename -s).

This should work for you. The other alternative of course is to use the "zip" version as it comes preconfigured
and ready to go.

Alex Pineda

On Feb 23, 2011, at 8:40 AM, jvr wrote:

> Hi,
>
> Finally I tried to install in the silent mode creating a answer file with
> vim but I'm getting permission denied in tmp directory when installing
>
> ...
> ...
> ...
> ...
> ...
>
> inflated: install/metadata/view/Summary.xml
> inflated: install/metadata/view/glassfish.xml
> inflated: install/metadata/view/jwsdp_1.png
> inflated: install/metadata/view/jwsdp_2.png
> inflated: install/metadata/view/jwsdp_3.png
> inflated: install/metadata/view/jwsdp_4.png
> inflated: install/metadata/view/jwsdp_5.png
> inflated: install/metadata/view/jwsdp_6.png
> inflated: install/metadata/view/jwsdp_7.png
> inflated: install/metadata/view/updatetool.xml
>
> Welcome to GlassFish V3 installer
>
> Using the user defined JAVA_HOME : /usr/java/jdk1.6.0_24
> Entering setup...
> product-installer.sh: /tmp/install.022311172758/install/bin/engine-wrapper:
> /bin/sh: bad interpreter: Permission denied
>
> I'm the root user the /tmp has got 777 permissions
>
> These are the files at /tmp directory which installation creates the
> directories are empty
>
> drwxr-xr-x 2 admin admin 4096 Feb 23 16:24 hsperfdata_admin
> drwxr-xr-x 2 root root 4096 Feb 23 17:28 hsperfdata_root
> drwxr-xr-x 2 root root 4096 Feb 23 14:16 install.022311141630
> drwxr-xr-x 2 root root 4096 Feb 23 14:21 install.022311142100
> drwxr-xr-x 2 root root 4096 Feb 23 15:19 install.022311151900
> drwxr-xr-x 2 root root 4096 Feb 23 16:28 install.022311162839
> drwxr-xr-x 2 root root 4096 Feb 23 16:45 install.022311164553
> drwxr-xr-x 2 root root 4096 Feb 23 16:58 install.022311165825
> drwxr-xr-x 2 root root 4096 Feb 23 17:01 install.022311170117
> drwxr-xr-x 2 root root 4096 Feb 23 17:03 install.022311170315
> drwxr-xr-x 2 root root 4096 Feb 23 17:28 install.022311172758
>
> Any suggestion?
>
> Thank you.
> Regards.
>
> -----Original Message-----
> From: Sathyan Catari [mailto:Sathyan.Catari_at_oracle.com]
> Sent: lunes, 21 de febrero de 2011 15:25
> To: users_at_glassfish.java.net
> Subject: Re: Installation
>
> OR you may use the "non-interactive" installation that doesn't require a
> DISPLAY setup/requirement.
>
> Run it with -n flag first to generate the response file in a different
> machine that has DISPLAY, once the file is generated by installer(after you
> have gone through all the prompts), use the file to run interactively using
> "-a <file> -s" arguments on a machine that does not have the display
> environment.
>
> HTH
> Thanks
> Sathyan
>
>
> On 2/21/11 3:29 AM, Mumuney Abdlquadri wrote:
>> you have to install with X server running, meaning you switch to GUI.
>>
>> Or downlaod the zipped format and unzip it! thats all!.
>>
>> On Mon, Feb 21, 2011 at 5:20 AM,<jvr968_at_gmail.com> wrote:
>>> I'm trying to install JEE in a linux system but is telling me that I
>>> need to set $DISPLAY enviroment variable.
>>>
>>> I had installed JEE at windows system and I didn't have this problem
>>> any $DISPLAY was created.
>>>
>>> At the installation instructions is not telling anything about to set
>>> this enviroment variable.
>>>
>>> I manage this linux system remotelly
>>> Any suggestion?
>>>
>