Http/pax server not starting?

This morning I had some updates on my raspberry pi, and since then the HTTP server in openhab won’t start!

This is the error I’m getting in openhab2:

2016-11-19 13:23:41.419 [ERROR] [j.pax.web.service.internal.Activator] - Unable to start pax web server: Unknown constant tag 116 in class file com/sun/org/apache/xerces/internal/dom/ElementImpl
java.lang.ClassFormatError: Unknown constant tag 116 in class file com/sun/org/apache/xerces/internal/dom/ElementImpl
        at com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl.(CoreDocumentImpl.java:269)[:1.8.0_65]
        at com.sun.org.apache.xerces.internal.parsers.AbstractDOMParser.startDocument(AbstractDOMParser.java:832)[:1.8.0_65]
        at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.startDocument(XMLDTDValidator.java:636)[:1.8.0_65]
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.startEntity(XMLDocumentScannerImpl.java:546)[:1.8.0_65]
        at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.startDocumentParsing(XMLVersionDetector.java:175)[:1.8.0_65]
        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:826)[:1.8.0_65]
        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)[:1.8.0_65]
        at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)[:1.8.0_65]
        at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:243)[:1.8.0_65]
        at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:339)[:1.8.0_65]
        at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:121)[:1.8.0_65]
        at org.ops4j.util.xml.ElementHelper.getRootElement(ElementHelper.java:103)[166:org.ops4j.pax.web.pax-web-runtime:4.2.4]
        at org.ops4j.pax.web.service.internal.DefaultPropertyResolver.getDefaltProperties(DefaultPropertyResolver.java:59)[166:org.ops4j.pax.web.pax-web-runtime:4.2.4]
        at org.ops4j.pax.web.service.internal.DefaultPropertyResolver.(DefaultPropertyResolver.java:50)[166:org.ops4j.pax.web.pax-web-runtime:4.2.4]
        at org.ops4j.pax.web.service.internal.Activator.updateController(Activator.java:343)[166:org.ops4j.pax.web.pax-web-runtime:4.2.4]
        at org.ops4j.pax.web.service.internal.Activator$3.run(Activator.java:293)[166:org.ops4j.pax.web.pax-web-runtime:4.2.4]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_65]
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_65]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_65]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_65]
        at java.lang.Thread.run(Thread.java:745)[:1.8.0_65]

Packages that were updated:

2016-11-19 11:15:12 startup archives unpack
2016-11-19 11:15:13 upgrade libraspberrypi-dev:armhf 1.20161020-1 1.20161116-1
2016-11-19 11:15:13 status half-configured libraspberrypi-dev:armhf 1.20161020-1
2016-11-19 11:15:13 status unpacked libraspberrypi-dev:armhf 1.20161020-1
2016-11-19 11:15:13 status half-installed libraspberrypi-dev:armhf 1.20161020-1
2016-11-19 11:15:21 status half-installed libraspberrypi-dev:armhf 1.20161020-1
2016-11-19 11:15:22 status unpacked libraspberrypi-dev:armhf 1.20161116-1
2016-11-19 11:15:22 status unpacked libraspberrypi-dev:armhf 1.20161116-1
2016-11-19 11:15:22 upgrade libraspberrypi-doc:armhf 1.20161020-1 1.20161116-1
2016-11-19 11:15:22 status half-configured libraspberrypi-doc:armhf 1.20161020-1
2016-11-19 11:15:22 status unpacked libraspberrypi-doc:armhf 1.20161020-1
2016-11-19 11:15:22 status half-installed libraspberrypi-doc:armhf 1.20161020-1
2016-11-19 11:16:05 status half-installed libraspberrypi-doc:armhf 1.20161020-1
2016-11-19 11:16:07 status unpacked libraspberrypi-doc:armhf 1.20161116-1
2016-11-19 11:16:07 status unpacked libraspberrypi-doc:armhf 1.20161116-1
2016-11-19 11:16:09 upgrade raspberrypi-kernel:armhf 1.20161020-1 1.20161116-1
2016-11-19 11:16:09 status half-configured raspberrypi-kernel:armhf 1.20161020-1
2016-11-19 11:16:09 status unpacked raspberrypi-kernel:armhf 1.20161020-1
2016-11-19 11:16:09 status half-installed raspberrypi-kernel:armhf 1.20161020-1
2016-11-19 11:20:09 status half-installed raspberrypi-kernel:armhf 1.20161020-1
2016-11-19 11:20:16 status unpacked raspberrypi-kernel:armhf 1.20161116-1
2016-11-19 11:20:17 status unpacked raspberrypi-kernel:armhf 1.20161116-1
2016-11-19 11:20:17 upgrade libraspberrypi-bin:armhf 1.20161020-1 1.20161116-1
2016-11-19 11:20:17 status half-configured libraspberrypi-bin:armhf 1.20161020-1
2016-11-19 11:20:17 status unpacked libraspberrypi-bin:armhf 1.20161020-1
2016-11-19 11:20:17 status half-installed libraspberrypi-bin:armhf 1.20161020-1
2016-11-19 11:20:36 status half-installed libraspberrypi-bin:armhf 1.20161020-1
2016-11-19 11:20:37 status unpacked libraspberrypi-bin:armhf 1.20161116-1
2016-11-19 11:20:37 status unpacked libraspberrypi-bin:armhf 1.20161116-1
2016-11-19 11:20:37 upgrade libraspberrypi0:armhf 1.20161020-1 1.20161116-1
2016-11-19 11:20:37 status half-configured libraspberrypi0:armhf 1.20161020-1
2016-11-19 11:20:37 status unpacked libraspberrypi0:armhf 1.20161020-1
2016-11-19 11:20:37 status half-installed libraspberrypi0:armhf 1.20161020-1
2016-11-19 11:20:44 status half-installed libraspberrypi0:armhf 1.20161020-1
2016-11-19 11:20:46 status unpacked libraspberrypi0:armhf 1.20161116-1
2016-11-19 11:20:46 status unpacked libraspberrypi0:armhf 1.20161116-1
2016-11-19 11:20:46 upgrade raspberrypi-bootloader:armhf 1.20161020-1 1.20161116-1
2016-11-19 11:20:46 status half-configured raspberrypi-bootloader:armhf 1.20161020-1
2016-11-19 11:20:46 status unpacked raspberrypi-bootloader:armhf 1.20161020-1
2016-11-19 11:20:46 status half-installed raspberrypi-bootloader:armhf 1.20161020-1
2016-11-19 11:20:49 status half-installed raspberrypi-bootloader:armhf 1.20161020-1
2016-11-19 11:20:50 status unpacked raspberrypi-bootloader:armhf 1.20161116-1
2016-11-19 11:20:50 status unpacked raspberrypi-bootloader:armhf 1.20161116-1
2016-11-19 11:20:52 startup packages configure
2016-11-19 11:20:52 configure raspberrypi-bootloader:armhf 1.20161116-1 
2016-11-19 11:20:52 status unpacked raspberrypi-bootloader:armhf 1.20161116-1
2016-11-19 11:20:52 status half-configured raspberrypi-bootloader:armhf 1.20161116-1
2016-11-19 11:21:22 status installed raspberrypi-bootloader:armhf 1.20161116-1
2016-11-19 11:21:22 configure libraspberrypi0:armhf 1.20161116-1 
2016-11-19 11:21:22 status unpacked libraspberrypi0:armhf 1.20161116-1
2016-11-19 11:21:22 status unpacked libraspberrypi0:armhf 1.20161116-1
2016-11-19 11:21:22 status half-configured libraspberrypi0:armhf 1.20161116-1
2016-11-19 11:21:22 status installed libraspberrypi0:armhf 1.20161116-1
2016-11-19 11:21:22 status triggers-pending libc-bin:armhf 2.19-18+deb8u6
2016-11-19 11:21:22 configure libraspberrypi-dev:armhf 1.20161116-1 
2016-11-19 11:21:22 status unpacked libraspberrypi-dev:armhf 1.20161116-1
2016-11-19 11:21:22 status half-configured libraspberrypi-dev:armhf 1.20161116-1
2016-11-19 11:21:22 status installed libraspberrypi-dev:armhf 1.20161116-1
2016-11-19 11:21:22 configure libraspberrypi-doc:armhf 1.20161116-1 
2016-11-19 11:21:22 status unpacked libraspberrypi-doc:armhf 1.20161116-1
2016-11-19 11:21:22 status half-configured libraspberrypi-doc:armhf 1.20161116-1
2016-11-19 11:21:22 status installed libraspberrypi-doc:armhf 1.20161116-1
2016-11-19 11:21:22 configure raspberrypi-kernel:armhf 1.20161116-1 
2016-11-19 11:21:22 status unpacked raspberrypi-kernel:armhf 1.20161116-1
2016-11-19 11:21:22 status half-configured raspberrypi-kernel:armhf 1.20161116-1
2016-11-19 11:22:03 status installed raspberrypi-kernel:armhf 1.20161116-1
2016-11-19 11:22:03 configure libraspberrypi-bin:armhf 1.20161116-1 
2016-11-19 11:22:03 status unpacked libraspberrypi-bin:armhf 1.20161116-1
2016-11-19 11:22:03 status half-configured libraspberrypi-bin:armhf 1.20161116-1
2016-11-19 11:22:03 status installed libraspberrypi-bin:armhf 1.20161116-1
2016-11-19 11:22:03 trigproc libc-bin:armhf 2.19-18+deb8u6 
2016-11-19 11:22:03 status half-configured libc-bin:armhf 2.19-18+deb8u6
2016-11-19 11:22:03 status installed libc-bin:armhf 2.19-18+deb8u6
2016-11-19 11:22:04 startup packages configure

did you reboot the Pi? On a couple of occasions after an update I’ve had to reboot the Pi to clear up some locks that were left around after the upgrade. Not usually with openHAB, but it is always a good thing to try.

Yes I have tried even re-installed openHAB from scratch using a apt-get purge. Still doesn’t work after reinstall. I will try reinstalling my raspbian but I think I maybe have a bad SD card.

  • Sent from my iPhone