Java 8 update 60 32 bit breaks Weasis

375 views
Skip to first unread message

Jon Ander Zuccaro

unread,
Sep 7, 2015, 4:49:49 PM9/7/15
to dcm4che
After updating to Java 8 update 60 Weasis dies with the following error:

ERROR: Bundle weasis-dicom-sr [5] Error starting http://localhost:8080/weasis/bundle/weasis-dicom-sr-2.0.4.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle jai-lib-windows-x86 [1]: No matching native libraries found.)
org.osgi.framework.BundleException: Unresolved constraint in bundle jai-lib-windows-x86 [1]: No matching native libraries found.
    at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java)
    at org.apache.felix.framework.Felix.startBundle(Felix.java)
    at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java)
    at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java)
    at java.lang.Thread.run(Unknown Source)

This only applies for the 32 bit version. While using the 32 bit version on a 64 bit OS the problem persists, if I switch to the 64 bit JVM the problem goes away.

On a 32 bit OS the only alternative is to uninstall the update.

Weasis version 2.0.4
Tested on Windows 10 (both 32 and 64)

Looks like this has happened before: http://forums.dcm4che.org/jiveforums/message.jspa?messageID=17195

The Update 60 release notes offer no clue

Any insights?


Nicolas Roduit

unread,
Sep 8, 2015, 1:54:40 AM9/8/15
to dcm4che
I tried on windows 7 32-bit but I cannot reproduce the issue. Could you post the entire starting log.

Jon Ander Zuccaro

unread,
Sep 8, 2015, 2:53:42 AM9/8/15
to dcm4che

Sure. I cleaned everything, deleted the .weasis folder and the Temp files from Java on the Control Panel first.

I am launching from the Weasis demo:

Java Web Start 11.60.2.27
Usando versión de JRE 1.8.0_60-b27 Java HotSpot(TM) Client VM
Directorio de inicio del usuario = C:\Users\ANALISTA
----------------------------------------------------
c:   borrar ventana de consola
f:   finalizar objetos en la cola de finalización
g:   recopilación de basura
h:   mostrar este mensaje de ayuda
m:   imprimir uso de memoria
o:   disparar registro
p:   recargar configuración de proxy
q:   ocultar consola
r:   recargar configuración de política
s:   volcar propiedades del sistema y de despliegue
t:   volcar lista de threads
v:   volcar pila de threads
0-5: definir nivel de rastreo en <n>
----------------------------------------------------
server running at port: 51970
server running at port: 51970

***** Starting Configuration *****
Operating system: windows-x86
Preferences directory: C:\Users\ANALISTA\.weasis\preferences\ANALISTA\default
locale.lang.code: en
locale.format.code: system
org.apache.sling.commons.log.level: INFO
org.apache.sling.commons.log.file.activate: false
org.apache.sling.commons.log.file.number: 5
org.apache.sling.commons.log.file.size: 10MB
org.apache.sling.commons.log.pattern: {0,date,dd.MM.yyyy HH:mm:ss.SSS} *{4}* [{2}]() {3} {5}
weasis.look: org.pushingpixels.substance.api.skin.SubstanceTwilightLookAndFeel
Last running version: 2.0.4
Current version: 2.0.4
weasis.resources.path: C:\Users\ANALISTA\.weasis\data\9158522D\resources
Clean plug-in cache because Weasis has crashed during the previous launch
***** End of Configuration *****

Weasis Starting...
========================

08.09.2015 01:48:48.073 *INFO* [FelixStartLevel]() org.apache.sling.commons.log.internal.LogManager LogManager: Logging set up from context
ERROR: Bundle jai-lib [10] Error starting http://osirix.vital-it.ch:8089/weasis/bundle/jai-lib-1.1.4-b05.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle jai-lib-windows-x86 [1]: No matching native libraries found.)

org.osgi.framework.BundleException: Unresolved constraint in bundle jai-lib-windows-x86 [1]: No matching native libraries found.
    at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java)
    at org.apache.felix.framework.Felix.startBundle(Felix.java)
    at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java)
    at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java)
    at java.lang.Thread.run(Unknown Source)


My Java version:

C:\Program Files\Java>java -version
java version "1.8.0_60"
Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
Java HotSpot(TM) Client VM (build 25.60-b23, mixed mode, sharing)

Windows 10 32 bit on a x64 processor.

I am also attaching the result of running javaws with the -verbose flag.

Even weirder, I have other and previous jre versions on the same machine, if I try to run the jnlp directly via javaws.exe none of those versions work until I remove the update 8_60

I also tested on Windows 7 32 bit and it works like you describe so the problem is java 8 update 60 on Windows 10 32 bit or using a 32 bit jre on Windows 10

I may be able to get my hands on a Windows 8 machine and test it there for good measure.
screen.png

Nicolas Roduit

unread,
Sep 8, 2015, 2:12:58 PM9/8/15
to dcm4che
The problem comes from the Felix OSGI framework which do not handle correctly the OS name. The OS name has changed since Java update 60, it is Windows 10 (was Windows 8.1 in previous JRE even for Windows 10).

This issue has been fixed and should be in the next release soon.

Jon Ander Zuccaro

unread,
Sep 8, 2015, 9:40:12 PM9/8/15
to dcm4che
Thank you Mr Roduit.

Glad I could be of some use.

Cheers!
Reply all
Reply to author
Forward
0 new messages