Hi Fong,
It looks like your issue related to this message:
Root contexts can not be deployed when the virtual host configuration has the welcome root
enabled, disable it and redeploy
This mean you have both a ROOT folder under jboss deployments, and also welcome-content is
enabled.
Try editing your standalone.conf and comment out the relevant part.
Change-
<virtual-server name="default-host" enable-welcome-root="true">
into something like:
<virtual-server name="default-host"
enable-welcome-root="false">
On 03/03/12 00:01, Fong Vang wrote:
Hi All,
I installed oVirt on CentOS 6.2 using this procedure:
http://www.dreyou.org/ovirt/.
Unfornately, I can't get jboss to start. Below is the error. Does anyone have any
suggestion where to look?
05:08:55,146 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-23) MSC00001:
Failed to start service jboss.web.deployment.default-host./ROOT:
org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./ROOT:
Failed to start service
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1780)
[jboss-msc-1.0.1.GA.jar:]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
[:1.6.0_22]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
[:1.6.0_22]
at java.lang.Thread.run(Thread.java:679) [:1.6.0_22]
Caused by: java.lang.IllegalStateException: Root contexts can not be deployed when the
virtual host configuration has the welcome root enabled, disable it and redeploy
at
org.jboss.as.web.deployment.WebContextInjector.inject(WebContextInjector.java:55)
at
org.jboss.as.web.deployment.WebContextInjector.inject(WebContextInjector.java:36)
at org.jboss.msc.inject.CastingInjector.inject(CastingInjector.java:55)
[jboss-msc-1.0.1.GA.jar:]
at
org.jboss.msc.service.ServiceControllerImpl.doInject(ServiceControllerImpl.java:1562)
[jboss-msc-1.0.1.GA.jar:]
at
org.jboss.msc.service.ServiceControllerImpl.access$1900(ServiceControllerImpl.java:49)
[jboss-msc-1.0.1.GA.jar:]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.performInjections(ServiceControllerImpl.java:1793)
[jboss-msc-1.0.1.GA.jar:]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1754)
[jboss-msc-1.0.1.GA.jar:]
... 3 more
05:08:56,224 INFO [org.jboss.as.server.deployment] (MSC service thread 1-13) Starting
deployment of "restapi.war"
...
...
...
05:08:57,441 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-25) MSC00001:
Failed to start service
jboss.deployment.subunit."engine.ear"."engine-bll.jar".POST_MODULE:
org.jboss.msc.service.StartException in service
jboss.deployment.subunit."engine.ear"."engine-bll.jar".POST_MODULE:
Failed to process phase POST_MODULE of subdeployment "engine-bll.jar" of
deployment "engine.ear"
at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:121)
[jboss-as-server-7.1.0.Beta1b.jar:]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824)
[jboss-msc-1.0.1.GA.jar:]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759)
[jboss-msc-1.0.1.GA.jar:]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
[:1.6.0_22]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
[:1.6.0_22]
at java.lang.Thread.run(Thread.java:679) [:1.6.0_22]
Caused by: java.lang.RuntimeException: Error getting reflective information for class
org.ovirt.engine.core.bll.adbroker.KerberosManager with ClassLoader ModuleClassLoader for
Module "deployment.engine.ear.engine-bll.jar:main" from Service Module Loader
at
org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:70)
[jboss-as-server-7.1.0.Beta1b.jar:]
at
org.jboss.as.ee.metadata.MethodAnnotationAggregator.runtimeAnnotationInformation(MethodAnnotationAggregator.java:58)
at
org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.handleAnnotations(InterceptorAnnotationProcessor.java:70)
at
org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.processComponentConfig(InterceptorAnnotationProcessor.java:117)
at
org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.deploy(InterceptorAnnotationProcessor.java:54)
at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115)
[jboss-as-server-7.1.0.Beta1b.jar:]
... 5 more
Caused by: java.lang.NoClassDefFoundError: sun/security/krb5/KrbException
at java.lang.Class.getDeclaredMethods0(Native Method) [:1.6.0_22]
at java.lang.Class.privateGetDeclaredMethods(Class.java:2444) [:1.6.0_22]
at java.lang.Class.getDeclaredMethods(Class.java:1808) [:1.6.0_22]
at
org.jboss.as.server.deployment.reflect.ClassReflectionIndex.<init>(ClassReflectionIndex.java:65)
[jboss-as-server-7.1.0.Beta1b.jar:]
at
org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:66)
[jboss-as-server-7.1.0.Beta1b.jar:]
... 10 more
Caused by: java.lang.ClassNotFoundException: sun.security.krb5.KrbException from [Module
"deployment.engine.ear.engine-bll.jar:main" from Service Module Loader]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)
[jboss-modules.jar:1.1.0.CR4]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:485)
[jboss-modules.jar:1.1.0.CR4]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:444)
[jboss-modules.jar:1.1.0.CR4]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:421)
[jboss-modules.jar:1.1.0.CR4]
at
org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:143)
[jboss-modules.jar:1.1.0.CR4]
... 15 more
I have the following RPMs installed:
ovirt-engine-image-uploader-3.0.0_0001-1.8.el6.x86_64
ovirt-engine-backend-3.0.0_0001-1.8.el6.x86_64
ovirt-engine-tools-common-3.0.0_0001-1.8.el6.x86_64
ovirt-engine-jboss-deps-3.0.0_0001-1.8.el6.x86_64
ovirt-guest-agent-1.0.0-1.el6.x86_64
ovirt-engine-setup-3.0.0_0001-1.8.el6.x86_64
ovirt-engine-dbscripts-3.0.0_0001-1.8.el6.x86_64
ovirt-engine-userportal-3.0.0_0001-1.8.el6.x86_64
ovirt-engine-restapi-3.0.0_0001-1.8.el6.x86_64
ovirt-guest-agent-pam-module-1.0.0-1.el6.x86_64
ovirt-engine-iso-uploader-3.0.0_0001-1.8.el6.x86_64
ovirt-engine-config-3.0.0_0001-1.8.el6.x86_64
ovirt-engine-log-collector-3.0.0_0001-1.8.el6.x86_64
ovirt-engine-jbossas-1.2-2.fc16.x86_64
ovirt-engine-genericapi-3.0.0_0001-1.8.el6.x86_64
ovirt-engine-notification-service-3.0.0_0001-1.8.el6.x86_64
ovirt-engine-webadmin-portal-3.0.0_0001-1.8.el6.x86_64
ovirt-engine-jboss-deps-3.0.0_0001-1.8.el6.x86_64
jbossweb-servlet-2.5-api-2.1.3-2.jpp6.noarch
ovirt-engine-jbossas-1.2-2.fc16.x86_64
jbossweb-jsp-2.1-api-2.1.3-2.jpp6.noarch
java-1.6.0-openjdk-devel-1.6.0.0-1.43.1.10.6.el6_2.x86_64
java-1.6.0-openjdk-1.6.0.0-1.43.1.10.6.el6_2.x86_64
jbossweb-jsp-2.1-api-2.1.3-2.jpp6.noarch
vdsm-cli-4.9.4-0.91.git877ee56.el6.noarch
vdsm-4.9.4-0.91.git877ee56.el6.x86_64
vdsm-reg-4.9.4-0.91.git877ee56.el6.noarch
vdsm-bootstrap-4.9.4-0.91.git877ee56.el6.noarch
vdsm-hook-simpleqemu-4.9.4-0.91.git877ee56.el6.noarch
Thanks for any help you can provide.
_______________________________________________
Users mailing list
Users(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
--
/d
"Forty-two," said Deep Thought, with infinite majesty and calm. --Douglas Adams,
The Hitchhiker's Guide to the Galaxy