Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4465657

S9: GUI application can not be launched on Solaris9/X86

XMLWordPrintable

    • 2d
    • x86
    • solaris

      =========================================================================
      Merlin build: beta_refresh-b66
      Solaris9 build: s81_39 with "Entire distribution OEM support" installing
      locale : ja_JP.UTF-8, ja, ja_JP.PCK and C locale also
      =========================================================================

      >java -version
      java version "1.4.0-beta_refresh"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta_refresh-b66)
      Java HotSpot(TM) Client VM (build 1.4.0-beta_refresh-b66, mixed mode)

      >uname -a
      SunOS bombay 5.9 s81_39 i86pc i386 i86pc


      Trying to launch any GUI application (such as SwingSet2, Java2D and Font2Ddemo), the messages below is displayed and the application can not be launched.
      ===========================================================================
      Font specified in font.properties not found [-monotype-courier new-bold-i---*-%d-*-*-m-*-iso8859-1]
      Font specified in font.properties not found [-monotype-arial-regular-r-normal--*-%d-*-*-p-*-iso8859-1]
      Font specified in font.properties not found [-monotype-courier new-bold-r---*-%d-*-*-m-*-iso8859-1]
      Font specified in font.properties not found [-monotype-arial-bold-i-normal--*-%d-*-*-p-*-iso8859-1]
      Font specified in font.properties not found [-monotype-courier new-regular-r---*-%d-*-*-m-*-iso8859-1]
      Font specified in font.properties not found [-monotype-arial-regular-r-normal--*-%d-*-*-p-*-iso8859-1]
      Font specified in font.properties not found [-monotype-times new roman-bold-r---*-%d-*-*-p-*-iso8859-1]
      Font specified in font.properties not found [-monotype-courier new-bold-r---*-%d-*-*-m-*-iso8859-1]
      Font specified in font.properties not found [-monotype-times new roman-regular-r---*-%d-*-*-p-*-iso8859-1]
      Font specified in font.properties not found [-monotype-courier new-regular-r---*-%d-*-*-m-*-iso8859-1]
      Font specified in font.properties not found [-monotype-courier new-regular-i---*-%d-*-*-m-*-iso8859-1]
      Font specified in font.properties not found [-monotype-arial-bold-r-normal--*-%d-*-*-p-*-iso8859-1]
      Font specified in font.properties not found [-monotype-arial-regular-i-normal--*-%d-*-*-p-*-iso8859-1]
      Font specified in font.properties not found [-monotype-courier new-regular-i---*-%d-*-*-m-*-iso8859-1]
      Font specified in font.properties not found [-monotype-times new roman-regular-i---*-%d-*-*-p-*-iso8859-1]
      Font specified in font.properties not found [-monotype-courier new-bold-i---*-%d-*-*-m-*-iso8859-1]
      Font specified in font.properties not found [-monotype-times new roman-bold-i---*-%d-*-*-p-*-iso8859-1]
      Font specified in font.properties not found [-monotype-arial-bold-i-normal--*-%d-*-*-p-*-iso8859-1]
      Font specified in font.properties not found [-monotype-arial-regular-i-normal--*-%d-*-*-p-*-iso8859-1]
      Font specified in font.properties not found [-monotype-arial-bold-r-normal--*-%d-*-*-p-*-iso8859-1

      ===========================================================================

      To reproduce,

      1. Launch SwingSet2 ($JAVAHOME/jfc/SwingSet2/SwingSet2.jar).
      Then, the messages above are displayed on terminal and SwingSet2 can not be launched.

      Other demos such as Java2D or Font2D also can not be launched.
      Any GUI test case also can not.
      This problem is reproducible with appletviewer.

      <NOTE>
      - This is reproducible with merlin beta-refresh b63b.
      - This problem occurs also on C locale
      - Optional font package "SUNWi1of: ISO-8859-1 (Latin-1) Optional Fonts" is installed by default (installed in Solaris 9 s81_39 installing).
      - This is not repoducible Solaris8/X86 with merlin beta-refresh b66.
      - With merlin-beta b65, SwingSet2 can be launched and work though messages are displayed;
      ===========================================================================
      Font specified in font.properties not found [-monotype-courier new-bold-i---*-%d-*-*-m-*-iso8859-1]
      Font specified in font.properties not found [-monotype-arial-regular-r-normal--*-%d-*-*-p-*-iso8859-1]
      Font specified in font.properties not found [-monotype-courier new-bold-r---*-%d-*-*-m-*-iso8859-1]
      Font specified in font.properties not found [-monotype-arial-bold-i-normal--*-%d-*-*-p-*-iso8859-1]
      Font specified in font.properties not found [-monotype-courier new-regular-r---*-%d-*-*-m-*-iso8859-1]
      Font specified in font.properties not found [-monotype-arial-regular-r-normal--*-%d-*-*-p-*-iso8859-1]
      Font specified in font.properties not found [-monotype-times new roman-bold-r---*-%d-*-*-p-*-iso8859-1]
      Font specified in font.properties not found [-monotype-courier new-bold-r---*-%d-*-*-m-*-iso8859-1]
      Font specified in font.properties not found [-monotype-times new roman-regular-r---*-%d-*-*-p-*-iso8859-1]
      Font specified in font.properties not found [-monotype-courier new-regular-r---*-%d-*-*-m-*-iso8859-1]
      Font specified in font.properties not found [-monotype-courier new-regular-i---*-%d-*-*-m-*-iso8859-1]
      Font specified in font.properties not found [-monotype-arial-bold-r-normal--*-%d-*-*-p-*-iso8859-1]
      Font specified in font.properties not found [-monotype-arial-regular-i-normal--*-%d-*-*-p-*-iso8859-1]
      Font specified in font.properties not found [-monotype-courier new-regular-i---*-%d-*-*-m-*-iso8859-1]
      Font specified in font.properties not found [-monotype-times new roman-regular-i---*-%d-*-*-p-*-iso8859-1]
      Font specified in font.properties not found [-monotype-courier new-bold-i---*-%d-*-*-m-*-iso8859-1]
      Font specified in font.properties not found [-monotype-times new roman-bold-i---*-%d-*-*-p-*-iso8859-1]
      Font specified in font.properties not found [-monotype-arial-bold-i-normal--*-%d-*-*-p-*-iso8859-1]
      Font specified in font.properties not found [-monotype-arial-regular-i-normal--*-%d-*-*-p-*-iso8859-1]
      Font specified in font.properties not found [-monotype-arial-bold-r-normal--*-%d-*-*-p-*-iso8859-1]
      Warning: Cannot convert string "-monotype-arial-regular-r-normal--*-140-*-*-p-*-iso8859-1" to type FontStruct
      ===========================================================================

      The difference of error messages between merlin beta-refresh b66 and merlin beta b65 is only the line below, which is dispalyed with b65;

      Warning: Cannot convert string "-monotype-arial-regular-r-normal--*-140-*-*-p-*-iso8859-1" to type FontStruct


      -------------------------------------------------------------------------------
      miki.tokunaga@japan 2001-06-05

      1)Regarding CourierNew.ttf
      Any ttf file does not exist /usr/openwin/lib/X11/fonts/TrueType.
      Only ttmap directory exists.

      >pwd
      /usr/openwin/lib/X11/fonts/TrueType
      >ls -l
      drwxr-xr-x 2 root bin 1024 6·î 4Æü 14:12 ttmap/

      s81_39 x86 version was installed with OEM support intalling and any ttf files are not installed on the directory.
      This seems a problem on Solaris side.

      ***NOTE*************************************************************************
      I copied /usr/openwin/lib/X11/fonts/TrueType of Solaris8/x86 to Solaris9/x86 s81_39 and tried to test GUI application.
      GUI applicaion can be launched and works though some "font not found" messages are displayed.
      ********************************************************************************

      2)Regarding thread dump
      Thread dump is got as below;
      ===========================================================================
      signal Dispatcher" daemon prio=10 tid=0x80dfca0 nid=0x7 waiting on monitor [0..0]

      "Finalizer" daemon prio=8 tid=0x80da828 nid=0x4 waiting on monitor [d9b2f000..d9b2fdd8]
              at java.lang.Object.wait(Native Method)
              - waiting on <d3a9be38> (a java.lang.ref.ReferenceQueue$Lock)
              at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:111)
              - locked <d3a9be38> (a java.lang.ref.ReferenceQueue$Lock)
              at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:126)
              at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:162)

      "Reference Handler" daemon prio=10 tid=0x80d9e88 nid=0x3 waiting on monitor [d9b7f000..d9b7
      fdd8]
              at java.lang.Object.wait(Native Method)
              - waiting on <d3a9be98> (a java.lang.ref.Reference$Lock)
              at java.lang.Object.wait(Object.java:425)
              at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:110)
              - locked <d3a9be98> (a java.lang.ref.Reference$Lock)

      "main" prio=5 tid=0x8068368 nid=0x1 runnable [8045000..8046160]
              at sun.awt.font.NativeFontWrapper.getFullNameByFileName(Native Method)
              - locked <d79d82f8> (a java.lang.Class)
              at sun.awt.X11GraphicsEnvironment.parseFamilyNameProperty(X11GraphicsEnvironment.ja
      va:242)
              at sun.java2d.SunGraphicsEnvironment.initCompositeFonts(SunGraphicsEnvironment.java
      :667)
              at sun.awt.X11GraphicsEnvironment.initCompositeFonts(X11GraphicsEnvironment.java:57
      9)
              at sun.java2d.SunGraphicsEnvironment$1.run(SunGraphicsEnvironment.java:105)
              at java.security.AccessController.doPrivileged(Native Method)
              at sun.java2d.SunGraphicsEnvironment.<init>(SunGraphicsEnvironment.java:84)
              at sun.awt.X11GraphicsEnvironment.<init>(X11GraphicsEnvironment.java:84)
              at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
              at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorI
      mpl.java:33)
              at sun.reflect.InflatableConstructorAccessorImpl.newInstance(InflatableConstructorA
      ccessorImpl.java:38)
              at java.lang.reflect.Constructor.newInstance(Constructor.java:273)
              at java.lang.Class.newInstance0(Class.java:290)
              at java.lang.Class.newInstance(Class.java:249)
              at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.jav
      a:64)
              - locked <d79b9ff0> (a java.lang.Class)
              at SwingSet2.main(SwingSet2.java:222)

      "VM Thread" prio=5 tid=0x80d8b50 nid=0x2 runnable

      "VM Periodic Task Thread" prio=10 tid=0x80deb08 nid=0x5 waiting on monitor
      "Suspend Checker Thread" prio=10 tid=0x80df3b8 nid=0x6 runnable
      ===========================================================================

      3)Regarding Optional package

      SUNWi1of is installed by default on Solaris9/X86 s81_39.

      >pkginfo |grep SUNWi1of
      system SUNWi1of ISO-8859-1 (Latin-1) Optional Fonts


      -------------------------------------------------------------------------------

      Reinstalling Solaris9/X86 s81_39, TrueType fonts are installed correctly and no warning messages for font is displayed and GUI application can be launched and work.
      Therefore, there is no problem on Solaris side also.
      It turned out that some error occurred on our machine side in installing Solaris9 and SUNWi1of package was not installed correctly.

      I close this bug as not reproducible.
      Sorry for confusion.

      miki.tokunaga@japan 2001-06-05

            Unassigned Unassigned
            mmtokunasunw Mtokunaga Mtokunaga (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: