----- 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 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.