[ovirt-users] engine gives JBAS015011 java.lang.NullPointerException

Juan Hernández jhernand at redhat.com
Fri May 6 04:02:33 EDT 2016


On 05/06/2016 07:58 AM, Jorick Astrego wrote:
> Hi,
> 
> One of our older ovirt engine 3.5.5 (CentOS 7) machines had a raid
> controller faillure and no recent ovirt-engine backup.
> 
> So I recovered the files + database and reinstalled with
> ovirt-engine-3.5.6.2-1. But I can't get it to work.
> 
> engine-setup runs fine but in the server.log I keep getting these and
> the webinterface is blank.
> 

The /var/liv/ovirt-engine/jboss_runtime directory doesn't contain any
persistent data, and it will be the engine during startup if it doesn't
exist. So I'd suggest you remove it completely (with the engine stopped):

  # rm -rf /var/lib/ovirt-engine/jboss_runtime

For this to work the "ovirt" user needs permission to write to
/var/lib/ovirt-engine, make sure that directory is owned by user "ovirt"
and group "ovirt", and that permissions are u=rwx,g=rx,o=r-x.

However, if you lost permissions in other directories you will probably
have similar problems once this is solved.

>     2016-05-05 17:24:43,431 INFO  [org.apache.coyote.ajp.AjpProtocol]
>     (MSC service thread 1-4) Starting Coyote AJP/1.3 on ajp--127.0.0.1-8702
>     2016-05-05 17:24:43,493 INFO  [org.jboss.as.remoting] (MSC service
>     thread 1-2) JBAS017100: Listening on /127.0.0.1:8703
>     2016-05-05 17:24:43,704 INFO  [org.jboss.as.remoting] (MSC service
>     thread 1-2) JBAS017100: Listening on /127.0.0.1:8706
>     2016-05-05 17:24:43,720 INFO 
>     [org.jboss.as.server.deployment.scanner] (MSC service thread 1-1)
>     JBAS015012: Started FileSystemDeploymentService for directory
>     /var/lib/ovirt-engine/jboss_runtime/deployments
>     2016-05-05 17:24:43,893 INFO 
>     [org.jboss.as.connector.subsystems.datasources] (MSC service thread
>     1-3) JBAS010400: Bound data source [java:/ENGINEDataSource]
>     2016-05-05 17:24:43,899 ERROR
>     [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads
>     - 1) JBAS015011: Scan of
>     /var/lib/ovirt-engine/jboss_runtime/deployments threw Exception:
>     java.lang.NullPointerException
>             at
>     org.jboss.as.server.deployment.scanner.FileSystemDeploymentService.getDeploymentTimestamp(FileSystemDeploymentService.java:682)
>     [jboss-as-deployment-scanner-7.1.1.Final.jar:7.1.1.Final]
>             at
>     org.jboss.as.server.deployment.scanner.FileSystemDeploymentService.getDeploymentTimestamp(FileSystemDeploymentService.java:683)
>     [jboss-as-deployment-scanner-7.1.1.Final.jar:7.1.1.Final]
>             at
>     org.jboss.as.server.deployment.scanner.FileSystemDeploymentService.getDeploymentTimestamp(FileSystemDeploymentService.java:683)
>     [jboss-as-deployment-scanner-7.1.1.Final.jar:7.1.1.Final]
>             at
>     org.jboss.as.server.deployment.scanner.FileSystemDeploymentService.getDeploymentTimestamp(FileSystemDeploymentService.java:683)
>     [jboss-as-deployment-scanner-7.1.1.Final.jar:7.1.1.Final]
>             at
>     org.jboss.as.server.deployment.scanner.FileSystemDeploymentService.scanDirectory(FileSystemDeploymentService.java:525)
>     [jboss-as-deployment-scanner-7.1.1.Final.jar:7.1.1.Final]
>             at
>     org.jboss.as.server.deployment.scanner.FileSystemDeploymentService.scan(FileSystemDeploymentService.java:336)
>     [jboss-as-deployment-scanner-7.1.1.Final.jar:7.1.1.Final]
>             at
>     org.jboss.as.server.deployment.scanner.FileSystemDeploymentService$DeploymentScanRunnable.run(FileSystemDeploymentService.java:149)
>     [jboss-as-deployment-scanner-7.1.1.Final.jar:7.1.1.Final]
>             at
>     java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>     [rt.jar:1.7.0_101]
>             at
>     java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
>     [rt.jar:1.7.0_101]
>             at
>     java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
>     [rt.jar:1.7.0_101]
>             at
>     java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
>     [rt.jar:1.7.0_101]
>             at
>     java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>     [rt.jar:1.7.0_101]
>             at
>     java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>     [rt.jar:1.7.0_101]
>             at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_101]
>             at org.jboss.threads.JBossThread.run(JBossThread.java:122)
>     [jboss-threads-2.0.0.GA.jar:2.0.0.GA]
> 
>     2016-05-05 17:24:44,141 INFO  [org.jboss.as] (Controller Boot
>     Thread) JBAS015874: JBoss AS 7.1.1.Final "Brontes" started in 3718ms
>     - Started 136 of 160 services (23 services are passive or on-demand)
>     2016-05-05 17:24:48,918 ERROR
>     [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads
>     - 1) JBAS015011: Scan of
>     /var/lib/ovirt-engine/jboss_runtime/deployments threw Exception:
>     java.lang.NullPointerException
>             at
>     org.jboss.as.server.deployment.scanner.FileSystemDeploymentService.getDeploymentTimestamp(FileSystemDeploymentService.java:682)
>     [jboss-as-deployment-scanner-7.1.1.Final.jar:7.1.1.Final]
>             at
>     org.jboss.as.server.deployment.scanner.FileSystemDeploymentService.getDeploymentTimestamp(FileSystemDeploymentService.java:683)
>     [jboss-as-deployment-scanner-7.1.1.Final.jar:7.1.1.Final]
> 
> Anyone seen these errors before? I have all the files/directories of the
> old drive but all the permissions are gone :-(
> 
> 
> 
> 
> 
> **
> 
> Met vriendelijke groet, With kind regards,
> 
> Jorick Astrego
> *
> Netbulae Virtualization Experts *
> ------------------------------------------------------------------------
> Tel: 053 20 30 270 	info at netbulae.eu 	Staalsteden 4-3A 	KvK 08198180
> Fax: 053 20 30 271 	www.netbulae.eu 	7547 TA Enschede 	BTW NL821234584B01
> 
> 
> ------------------------------------------------------------------------
> 
> 
> 
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 


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


More information about the Users mailing list