<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Liferay 7 and OpenJ9 fail to load themes</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=111405483" />
  <subtitle>Liferay 7 and OpenJ9 fail to load themes</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=111405483</id>
  <updated>2026-04-04T02:57:18Z</updated>
  <dc:date>2026-04-04T02:57:18Z</dc:date>
  <entry>
    <title>RE: Liferay 7 and OpenJ9 fail to load themes</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111409377" />
    <author>
      <name>William Gosse</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111409377</id>
    <updated>2018-10-31T19:02:39Z</updated>
    <published>2018-10-31T19:02:39Z</published>
    <summary type="html">I just try these guys: &lt;a href="https://www.azul.com/downloads/zulu/"&gt;https://www.azul.com/downloads/zulu/&lt;/a&gt;Specifically zulu8.31.0.1-jdk8.0.181-win_x64 server version. Everything works fine on it.&lt;br /&gt;I also tried their zulu11.2.3-jdk11.0.1-win_x64 server as well. The BPM engine I&amp;#39;m using seemed to have issue with it so it never started. I nerver got araound to trying Liferay with it.</summary>
    <dc:creator>William Gosse</dc:creator>
    <dc:date>2018-10-31T19:02:39Z</dc:date>
  </entry>
  <entry>
    <title>Liferay 7 and OpenJ9 fail to load themes</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111405482" />
    <author>
      <name>William Gosse</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111405482</id>
    <updated>2018-10-31T17:01:08Z</updated>
    <published>2018-10-31T17:01:08Z</published>
    <summary type="html">In the advent of free support for Oracle JDK 8 ending in January I&amp;#39;m starting to look for alternatives. I thought I&amp;#39;d try running Liferay on Eclipse OpenJ9, specifically version jdk8u192-b12.  I&amp;#39;m seeing an issue with the themes not loading. My Liferay log having messages like:&lt;br /&gt;&lt;strong&gt;2018-10-30 19:43:53.572 WARN  [http-nio-8080-exec-5][ThemeLocalServiceImpl:230] No theme found for specified theme id maintheme_WAR_signintheme. Returning the default theme.&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;In the osgi/state folder get a log file containing the following message:&lt;br /&gt;&lt;strong&gt;!SESSION 2018-10-30 19:43:05.495 -----------------------------------------------&lt;br /&gt;eclipse.buildId=unknown&lt;br /&gt;java.fullversion=1.8.0_192-b12&lt;br /&gt;JRE 1.8.0 Windows 10 amd64-64-Bit Compressed References 20181019_105 (JIT enabled, AOT enabled)&lt;br /&gt;OpenJ9   - 090ff9dc&lt;br /&gt;OMR      - ea548a66&lt;br /&gt;JCL      - 51609250b5 based on jdk8u192-b12&lt;br /&gt;BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US&lt;br /&gt;&lt;br /&gt;!ENTRY org.apache.felix.fileinstall 4 0 2018-10-30 19:43:05.495&lt;br /&gt;!MESSAGE Failed to install artifact: C:\Dev\aim_project_repos\liferay-ce-portal-7.0-ga7\osgi\war\sign-in-theme.war&lt;br /&gt;!STACK 0&lt;br /&gt;java.lang.NullPointerException&lt;br /&gt;at com.liferay.portal.util.FileImpl.deltree(FileImpl.java:342)&lt;br /&gt;at com.liferay.portal.util.FileImpl.deltree(FileImpl.java:344)&lt;br /&gt;at com.liferay.portal.util.FileImpl.deltree(FileImpl.java:344)&lt;br /&gt;at com.liferay.portal.util.FileImpl.deltree(FileImpl.java:344)&lt;br /&gt;at com.liferay.portal.kernel.util.FileUtil.deltree(FileUtil.java:176)&lt;br /&gt;at com.liferay.portal.osgi.web.wab.generator.internal.connection.WabURLConnection$1.close(WabURLConnection.java:113)&lt;br /&gt;at java.io.BufferedInputStream.close(BufferedInputStream.java:483)&lt;br /&gt;at org.eclipse.osgi.storage.StorageUtil.readFile(StorageUtil.java:74)&lt;br /&gt;at org.eclipse.osgi.storage.Storage.stageContent0(Storage.java:838)&lt;br /&gt;at org.eclipse.osgi.storage.Storage.stageContent(Storage.java:801)&lt;br /&gt;at org.eclipse.osgi.storage.Storage.install(Storage.java:503)&lt;br /&gt;at org.eclipse.osgi.internal.framework.BundleContextImpl.installBundle(BundleContextImpl.java:146)&lt;br /&gt;at org.apache.felix.fileinstall.internal.DirectoryWatcher.installOrUpdateBundle(DirectoryWatcher.java:1036)&lt;br /&gt;at org.apache.felix.fileinstall.internal.DirectoryWatcher.install(DirectoryWatcher.java:952)&lt;br /&gt;at org.apache.felix.fileinstall.internal.DirectoryWatcher.install(DirectoryWatcher.java:871)&lt;br /&gt;at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:485)&lt;br /&gt;at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:361)&lt;br /&gt;at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:312)&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;I have several other Java based web apps and restful services that seem to run fine. I&amp;#39;d like to know if this an issue with OpenJdk in general or OpenJ9 specifically. &lt;br /&gt;&lt;br /&gt;​​​​​​​Any help or information will be greatly appreciated. &lt;br /&gt;&lt;br /&gt;I should also speicifically mention the the default sigin porlet fields would not allow data entry on OpenJ9 as well. &lt;br /&gt;&lt;br /&gt;I went ahead and installed the latest Oracle JDK,  jdk1.8.0_192, and it works fine with Liferay 7. So the problem seems to be with OpenJ9 itself</summary>
    <dc:creator>William Gosse</dc:creator>
    <dc:date>2018-10-31T17:01:08Z</dc:date>
  </entry>
</feed>
