----- Original Message -----
From: Juan Hernandez <jhernand(a)redhat.com>
To: Stephen Liu <satimis(a)yahoo.com>
Cc: "engine-devel(a)ovirt.org" <engine-devel(a)ovirt.org>
Sent: Thursday, November 22, 2012 6:01 AM
Subject: Re: [Engine-devel] Testing failed
- snip -
>> # cd /home/satimis/jboss-as/bin
>> # ./standalone.sh -b 0.0.0.0
By the way, I see here the # prompt. Does that mean that you are running
the application server with the root user? That is very bad idea.
Shouldn't make your JVM crash, but better avoid it, use your satimis
user instead.
I was following the steps on "Testing" on
http://wiki.ovirt.org/wiki/Building_Engine_Draft#Testing
Besides,
#> cd $JBOSS_HOME/bin>
never brought me to "jboss-as" directory. I have to running the command on full
path;
#> cd /home/satimis/jboss-as
If you already ran with root some of the files will probably have
been
created with root as owner, so you will probably need to fix them:
sudo chown --recursive satimis:satimis /home/satimis/jboss-as
The directory is already owned by satimis:satimis including all files on that directory
$ ls -ald /home/satimis/jboss-as
drwxrwxr-x. 11 satimis satimis 4096 Nov 16 17:57 /home/satimis/jboss-as
$ ls -al /home/satimis/jboss-as/
total 260616
drwxrwxr-x. 11 satimis satimis 4096 Nov 16 17:57 .
drwx------. 30 satimis satimis 4096 Nov 22 10:15 ..
drwxr-xr-x. 3 satimis satimis 4096 Mar 10 2012 appclient
drwxr-xr-x. 5 satimis satimis 4096 Nov 21 22:07 bin
drwxr-xr-x. 4 satimis satimis 4096 Mar 10 2012 bundles
-rw-r--r--. 1 satimis satimis 2451 Mar 10 2012 copyright.txt
drwxr-xr-x. 4 satimis satimis 4096 Mar 10 2012 docs
drwxr-xr-x. 5 satimis satimis 4096 Mar 10 2012 domain
drwxr-xr-x. 10 satimis satimis 4096 Nov 16 17:57 jboss-as-7.1.1.Final
-rw-rw-r--. 1 satimis satimis 133255203 Mar 10 2012 jboss-as-7.1.1.Final.zip
-rw-rw-r--. 1 satimis satimis 133255203 Mar 10 2012 jboss-as-7.1.1.Final.zip.1
-rw-r--r--. 1 satimis satimis 266549 Mar 10 2012 jboss-modules.jar
-rw-r--r--. 1 satimis satimis 26530 Mar 10 2012 LICENSE.txt
drwxr-xr-x. 13 satimis satimis 4096 Mar 10 2012 modules
-rw-r--r--. 1 satimis satimis 2421 Mar 10 2012 README.txt
drwxr-xr-x. 8 satimis satimis 4096 Nov 14 15:04 standalone
drwxr-xr-x. 2 satimis satimis 4096 Mar 10 2012 welcome-content
B.R.
Stephen L
--
Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta
3ºD, 28016 Madrid, Spain
Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.