tags:

views:

81

answers:

2

After many efforts, i did installing of java_ee on my system. I'm using eclipse Galileo. After i try to add a new server, I choose the location for glassfish, click next and it gives me:

home/banco/glassfishv3/glassfish/domains/domain1 is not writable

Since the glassfish is situated in Home folder, i can't understand the reason for this error

+1  A: 

Because it is placed in your home directory, it doesn't give you automaticly write permission to files.

Have you checked the folder permissions with ls -l ?

ls -l home/banco/glassfishv3/glassfish/domains/domain1

Sometimes I decompress archives as the wrong user in my home directory and have similiar errors...

echox
I think you unpacked glassfish as root and started eclipse as a normal user.See http://www.tuxfiles.org/linuxhelp/filepermissions.htmlYou should spend also some time to check some basic OS documentation like http://tldp.org/LDP/intro-linux/html/
echox
A: 

After that i check for permissions i got:

drwxr-xr-x 2 root root 4096 2010-06-03 14:37 applications
drwxr-xr-x 3 root root 4096 2010-06-03 14:37 autodeploy
drwxr-xr-x 2 root root 4096 2010-06-03 14:37 bin
drwx------ 2 root root 4096 2010-06-03 14:37 config
drwxr-xr-x 2 root root 4096 2010-06-03 14:37 docroot
drwxr-xr-x 6 root root 4096 2010-06-03 14:37 lib
drwxr-xr-x 2 root root 4096 2010-06-03 14:37 logs
-rw------- 1 root root  500 2010-06-03 14:37 master-password

so .... I cannot understand ... i'm relatively new to linux. Can you explain me please?

artaxerxe
I think you unpacked glassfish as root and started eclipse as a normal user.See http://www.tuxfiles.org/linuxhelp/filepermissions.htmlYou should spend also some time to check some basic OS documentation like http://tldp.org/LDP/intro-linux/html/
echox
Thank you for links.
artaxerxe