Hi Ryan,
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?
Have you noticed any error during the maven work? Any error during the
jboss start?
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
Cheers
Douglas