
* Douglas Landgraf <dougsland@redhat.com> [2012-02-17 12:15]:
Hi Ryan,
Hey Douglas, thanks for the reply,
On 02/17/2012 12:36 PM, Ryan Harper wrote:
Hi,
I've been attempting to build and deploy ovirt-engine from source; i've been following the guide[1] and I'm still having a bit of trouble; hoping for some help here.
I've got a F16 64-bit server. I'm using the jboss that's available via the f16 repos:
ovirt-engine-jbossas-1.2-2.fc16.x86_64
which is jboss 7.1 based. I've updated my .m2/settings.xml to match the install path of the above RPM:
[build@f16-node ear]$ cat ~/.m2/settings.xml <settings xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
<!--**************************** PROFILES ****************************-->
<activeProfiles> <activeProfile>oVirtEnvSettings</activeProfile> </activeProfiles>
<profiles> <profile> <id>oVirtEnvSettings</id> <properties> <jbossHome>/usr/share/jboss-as-7.1.0.Beta1b</jbossHome> <JAVA_1_6_HOME>/usr/lib/jvm/java-1.6.0-openjdk.x86_64</JAVA_1_6_HOME> <forkTests>always</forkTests> </properties> </profile> </profiles> </settings>
engine and the gui build fine with the commands from the wiki. When I attempt to test the connection and webgui they fail. so I looked out in the deployment directory and I see the following:
[root@f16-node deployments]# pwd /usr/share/jboss-as-7.1.0.Beta1b/standalone/deployments [root@f16-node deployments]# ls -al total 28 drwxrwxr-x. 3 jboss-as jboss-as 4096 Feb 17 12:28 . drwxrwxr-x. 8 jboss-as jboss-as 4096 Feb 3 11:19 .. -rw-rw-r--. 1 jboss-as jboss-as 8868 Dec 1 16:10 README.txt drwxrwxr-x 15 build build 4096 Feb 17 12:21 engine.ear -rw-rw-r-- 1 jboss-as jboss-as 2353 Feb 17 12:21 engine.ear.failed
I'm attaching the engine.ear.failed.
1. http://ovirt.org/wiki/Building_oVirt_engine I have made a few changes into this url yesterday, have you tried today?
I looked at the wiki and didn't see anything significantly different. I've pulled the latest engine code and re-ran the build and deploy with the same results. I did see the "I've made a change how do I test" and the only comment there is that the script calls 'mvn' and the rest of the wiki page uses 'mvn2' to ensure folks are using the right maven.
Have you noticed any error during the maven work? Any error during the jboss start?
Not that I can tell. The build log shows what looks to be errors, but it never fails out, and the report lines always show 0 Errors. Nothing from the service restart jboss-as, nothing in /var/log/messages nor /var/log/jboss-as/console.log
Can you please try to execute chmod 777 /usr/share/jboss-as and the run again the deploy commands? http://ovirt.org/wiki/Building_oVirt_engine#Deploy
[root@f16-node share]# ls -al | grep jboss lrwxrwxrwx. 1 jboss-as jboss-as 32 Feb 3 11:13 jboss-as -> /usr/share/jboss-as-7.1.0.Beta1b drwxrwxr-x. 10 jboss-as jboss-as 4096 Feb 15 11:09 jboss-as-7.1.0.Beta1b They're already 777. Again, thanks for the help debugging this. -- Ryan Harper Software Engineer; Linux Technology Center IBM Corp., Austin, Tx ryanh@us.ibm.com