[Engine-devel] Testing failed

Hi all Fedora 17 64bit # cd /home/satimis/jboss-as/bin # ./standalone.sh -b 0.0.0.0 ...... ...... ./standalone.sh: line 178: 2121 Aborted (core dumped) "java" -D"[Standalone]" -server -XX:+UseCompressedOops -XX:+TieredCompilation -Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Djboss.server.default.config=standalone.xml "-Dorg.jboss.boot.log.file=/home/satimis/jboss-as/standalone/log/boot.log" "-Dlogging.configuration=file:/home/satimis/jboss-as/standalone/configuration/logging.properties" -jar "/home/satimis/jboss-as/jboss-modules.jar" -mp "/home/satimis/jboss-as/modules" -jaxpmodule javax.xml.jaxp-provider org.jboss.as.standalone -Djboss.home.dir="/home/satimis/jboss-as" -b 0.0.0.0 Pls help Re running:- http://<server name>:<port>/api server name? Is it the hostname of Fedora17? # hostname fedora17 TIA B.R Stephen L

On 11/21/2012 04:20 PM, Stephen Liu wrote:
Hi all
Fedora 17 64bit
# cd /home/satimis/jboss-as/bin # ./standalone.sh -b 0.0.0.0 ...... ...... ./standalone.sh: line 178: 2121 Aborted (core dumped) "java" -D"[Standalone]" -server -XX:+UseCompressedOops -XX:+TieredCompilation -Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Djboss.server.default.config=standalone.xml "-Dorg.jboss.boot.log.file=/home/satimis/jboss-as/standalone/log/boot.log" "-Dlogging.configuration=file:/home/satimis/jboss-as/standalone/configuration/logging.properties" -jar "/home/satimis/jboss-as/jboss-modules.jar" -mp "/home/satimis/jboss-as/modules" -jaxpmodule javax.xml.jaxp-provider org.jboss.as.standalone -Djboss.home.dir="/home/satimis/jboss-as" -b 0.0.0.0
Pls help
Re running:-
http://<server name>:<port>/api
server name? Is it the hostname of Fedora17?
Hi, The hostname of the server that runs the Jboss AS
# hostname fedora17
TIA
B.R Stephen L
_______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel

----- Original Message -----
From: Yair Zaslavsky <yzaslavs@redhat.com> To: Stephen Liu <satimis@yahoo.com> Cc: "engine-devel@ovirt.org" <engine-devel@ovirt.org> Sent: Wednesday, November 21, 2012 10:53 PM Subject: Re: [Engine-devel] Testing failed
- snip -
Re running:-
http://<server name>:<port>/api
server name? Is it the hostname of Fedora17?
Hi,
The hostname of the server that runs the Jboss AS
Hi, Could you please explain in more detail? Jboss AS is running on Fedora. On the latter's terminal running; $ hostname fedora17 $ hostname -f fedora17 I suppose "fedora17" is the hostname of the server where Jboss AS is now running. Thanks B.R. Stephen L

On 11/21/2012 03:20 PM, Stephen Liu wrote:
Hi all
Fedora 17 64bit
# cd /home/satimis/jboss-as/bin # ./standalone.sh -b 0.0.0.0 ...... ...... ./standalone.sh: line 178: 2121 Aborted (core dumped) "java" -D"[Standalone]" -server -XX:+UseCompressedOops -XX:+TieredCompilation -Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Djboss.server.default.config=standalone.xml "-Dorg.jboss.boot.log.file=/home/satimis/jboss-as/standalone/log/boot.log" "-Dlogging.configuration=file:/home/satimis/jboss-as/standalone/configuration/logging.properties" -jar "/home/satimis/jboss-as/jboss-modules.jar" -mp "/home/satimis/jboss-as/modules" -jaxpmodule javax.xml.jaxp-provider org.jboss.as.standalone -Djboss.home.dir="/home/satimis/jboss-as" -b 0.0.0.0
That is a really severe problem, it means that your Java Virtual Machine really crashed, probably due to a bug in the JVM itself, very unusual. Is this something that you reproduce easily? Is that all what you get as output? Don't you get something like this: # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x00007f84b36f85fe, pid=30284, tid=140208179570432 # # JRE version: 7.0_09 # Java VM: OpenJDK 64-Bit Server VM (23.2-b09 mixed mode linux-amd64 compressed oops) # Problematic frame: Or maybe a "hs_err_pid*.log" file? The information there could be useful to find cause of the problem.
Pls help
Re running:-
http://<server name>:<port>/api
server name? Is it the hostname of Fedora17?
# hostname fedora17
-- 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.

On 11/21/2012 10:55 PM, Juan Hernandez wrote:
On 11/21/2012 03:20 PM, Stephen Liu wrote:
Hi all
Fedora 17 64bit
# 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. 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 -- 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.

----- Original Message -----
From: Juan Hernandez <jhernand@redhat.com> To: Stephen Liu <satimis@yahoo.com> Cc: "engine-devel@ovirt.org" <engine-devel@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.

----- Original Message -----
From: Juan Hernandez <jhernand@redhat.com> To: Stephen Liu <satimis@yahoo.com> Cc: "engine-devel@ovirt.org" <engine-devel@ovirt.org> Sent: Thursday, November 22, 2012 5:55 AM Subject: Re: [Engine-devel] Testing failed
On 11/21/2012 03:20 PM, Stephen Liu wrote:
Hi all
Fedora 17 64bit
# cd /home/satimis/jboss-as/bin # ./standalone.sh -b 0.0.0.0 ...... ...... ./standalone.sh: line 178: 2121 Aborted (core dumped) "java" -D"[Standalone]" -server -XX:+UseCompressedOops -XX:+TieredCompilation -Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Djboss.server.default.config=standalone.xml "-Dorg.jboss.boot.log.file=/home/satimis/jboss-as/standalone/log/boot.log" "-Dlogging.configuration=file:/home/satimis/jboss-as/standalone/configuration/logging.properties" -jar "/home/satimis/jboss-as/jboss-modules.jar" -mp "/home/satimis/jboss-as/modules" -jaxpmodule javax.xml.jaxp-provider org.jboss.as.standalone -Djboss.home.dir="/home/satimis/jboss-as" -b 0.0.0.0
That is a really severe problem, it means that your Java Virtual Machine really crashed, probably due to a bug in the JVM itself, very unusual.
Is this something that you reproduce easily? Is that all what you get as output? Don't you get something like this:
Re-performed following steps; $ cd $JBOSS_HOME/bin $ ./standalone.sh -b 0.0.0.0 bash: ./standalone.sh: No such file or directory It is quite strange:"? $ sudo find / -name standalone.sh find: `/run/user/satimis/gvfs': Permission denied /home/satimis/jboss-as/jboss-as-7.1.1.Final/bin/standalone.sh /home/satimis/jboss-as/bin/standalone.sh The file is there. I have to enter the full path then it works. $ cd /home/satimis/jboss-as/bin $ ./standalone.sh -b 0.0.0.0 ========================================================================= JBoss Bootstrap Environment JBOSS_HOME: /home/satimis/jboss-as JAVA: java JAVA_OPTS: -server -XX:+UseCompressedOops -XX:+TieredCompilation -Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Djboss.server.default.config=standalone.xml ========================================================================= 01:06:53,441 INFO [org.jboss.modules] JBoss Modules version 1.1.1.GA 01:06:53,917 INFO [org.jboss.msc] JBoss MSC version 1.0.2.GA .... .... 2012-11-24 00:46:01,350 INFO [org.ovirt.engine.core.bll.InitBackendServicesOnStartupBean] (pool-10-thread-1) MacPoolManager finished: 11/24/12 12:46 AM 2012-11-24 00:46:01,462 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018559: Deployed "engine.ear" (hanging waiting for something?) Pressing [Ctrl]+c ..... .... 01:08:02,790 INFO [com.arjuna.ats.jbossatx] ARJUNA032014: Stopping transaction recovery manager 01:08:02,821 INFO [org.jboss.as.server.deployment] JBAS015877: Stopped deployment engine-scheduler.jar in 309ms 01:08:02,828 INFO [org.jboss.as.server.deployment] JBAS015877: Stopped deployment engine-genericapi.jar in 338ms 01:08:02,833 INFO [org.jboss.as.server.deployment] JBAS015877: Stopped deployment ovirtengineweb.war in 346ms 01:08:02,840 INFO [org.jboss.as.server.deployment] JBAS015877: Stopped deployment root.war in 351ms 01:08:02,845 INFO [org.jboss.as.server.deployment] JBAS015877: Stopped deployment engine-bll.jar in 358ms 01:08:02,849 INFO [org.jboss.as.server.deployment] JBAS015877: Stopped deployment userportal.war in 365ms 01:08:02,848 INFO [org.jboss.as.server.deployment] JBAS015877: Stopped deployment webadmin.war in 360ms 01:08:02,866 INFO [org.jboss.as.server.deployment] JBAS015877: Stopped deployment restapi.war in 438ms 01:08:02,932 INFO [org.jboss.as.server.deployment] JBAS015877: Stopped deployment engine.ear in 445ms 01:08:02,942 INFO [org.jboss.as] JBAS015950: JBoss AS 7.1.1.Final "Brontes" stopped in 455ms [satimis@fedora17 bin]$ $ wget -O - \
--debug \ --auth-no-challenge \ --http-user=admin@internal \ --http-password='letmein!' \ head='Accept: application/xml' \ http://fadora17:8700/api/ Setting --auth-no-challenge (authnochallenge) to 1 Setting --http-user (httpuser) to admin@internal Setting --http-password (httppassword) to letmein! DEBUG output created by Wget 1.13.4 on linux-gnu.
URI encoding = `UTF-8' --2012-11-24 00:54:13-- ftp://head=accept/%20application/xml => `-' Resolving head=accept (head=accept)... failed: Name or service not known. wget: unable to resolve host address `head=accept' URI encoding = `UTF-8' --2012-11-24 00:54:13-- http://fadora17:8700/api/ Auth-without-challenge set, sending Basic credentials. Resolving fadora17 (fadora17)... failed: Name or service not known. wget: unable to resolve host address `fadora17' I have no idea of the server name of jboss nor the password. During its installation there were no requests for such information. Because it is running on Fedora I suppose it to be Fadora hostname. $ hostname fedora17 $ hostname -f fedora17 Neither can I browse it on browser with; http://fadora17:8700/api B.R. Stephen L
# # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x00007f84b36f85fe, pid=30284, tid=140208179570432 # # JRE version: 7.0_09 # Java VM: OpenJDK 64-Bit Server VM (23.2-b09 mixed mode linux-amd64 compressed oops) # Problematic frame:
Or maybe a "hs_err_pid*.log" file?
The information there could be useful to find cause of the problem.
Pls help
Re running:-
http://<server name>:<port>/api
server name? Is it the hostname of Fedora17?
# hostname fedora17
-- 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.
participants (3)
-
Juan Hernandez
-
Stephen Liu
-
Yair Zaslavsky