hciserveradmin on Linux

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf hciserveradmin on Linux

  • Creator
    Topic
  • #55665
    Michael Hertel
    Participant

      Hi all,

      I am trying to run hciserveradmin on a new Linux box.

      Has anyone seen this before?

      [hci@vsiep01 ~]$ export DISPLAY=10.12.16.222:0.0

      [hci@vsiep01 ~]$ hciserveradmin &

      [1] 12851

      [hci@vsiep01 ~]$ java.lang.ArrayIndexOutOfBoundsException: 0

             at sun.font.CompositeStrike.getStrikeForSlot(CompositeStrike.java:75)

             at sun.font.CompositeStrike.getFontMetrics(CompositeStrike.java:93)

             at sun.font.FontDesignMetrics.initMatrixAndMetrics(FontDesignMetrics.java:359)

             at sun.font.FontDesignMetrics.(FontDesignMetrics.java:350)

             at sun.font.FontDesignMetrics.getMetrics(FontDesignMetrics.java:302)

             at sun.swing.SwingUtilities2.getFontMetrics(SwingUtilities2.java:1113)

             at javax.swing.JComponent.getFontMetrics(JComponent.java:1626)

             at javax.swing.text.PlainView.calculateLongestLine(PlainView.java:639)

             at javax.swing.text.PlainView.updateMetrics(PlainView.java:209)

             at javax.swing.text.PlainView.setSize(PlainView.java:490)

             at javax.swing.plaf.basic.BasicTextUI$RootView.setSize(BasicTextUI.java:1722)

             at javax.swing.plaf.basic.BasicTextUI.getPreferredSize(BasicTextUI.java:917)

             at javax.swing.JComponent.getPreferredSize(JComponent.java:1662)

             at javax.swing.JTextField.getPreferredSize(JTextField.java:424)

             at com.hie.cloverleaf.gui.EnvironChooser.jbInit(Unknown Source)

             at com.hie.cloverleaf.gui.EnvironChooser.createContents(Unknown Source)

             at com.hie.cloverleaf.gui.StdGuiDialog.init(Unknown Source)

             at com.hie.cloverleaf.gui.StdGuiDialog.init(Unknown Source)

             at com.hie.cloverleaf.gui.StdGuiDialog.open(Unknown Source)

             at com.hie.cloverleaf.gui.StdGuiDialog.open(Unknown Source)

             at com.hie.cloverleaf.gui.StdGuiMainFrame.changeCloverleafServer(Unknown Source)

             at com.hie.cloverleaf.gui.StdGuiMainFrame.getEnvironAndServer(Unknown Source)

             at com.hie.cloverleaf.gui.StdGuiMainFrame.doServerLogin(Unknown Source)

             at com.hie.cloverleaf.gui.serveradmin.ServerAdminMainFrame.doServerLogin(Unknown Source)

             at com.hie.cloverleaf.gui.StdGuiMainFrame.(Unknown Source)

             at com.hie.cloverleaf.gui.serveradmin.ServerAdminMainFrame.(Unknown Source)

             at com.hie.cloverleaf.gui.serveradmin.ServerAdminApplication.constructMainFrame(Unknown Source)

             at com.hie.cloverleaf.gui.StdGuiApplication.(Unknown Source)

             at com.hie.cloverleaf.gui.serveradmin.ServerAdminApplication.(Unknown Source)

             at com.hie.cloverleaf.gui.serveradmin.ServerAdminApplication.main(Unknown Source)

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

      Information on configuration:

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

      Host Server: vsiep01.internal.vmmc.org/10.20.209.5

      Current Platform:

      Java version: 1.8.0_60

       Java vendor: Oracle Corporation

           OS type: Linux

        OS version: 3.10.0-693.17.1.el7.x86_64

           OS arch: amd64

      Host Server Build Information:

           Version: 6.2.0.2P

              Date: Thu Jun 8 2017

              Time: 03:03:04 AM

          Platform: Windows_NT

       Java Vendor: Sun Microsystems Inc.

       JDK Version: 1.8.0_60

      Swing Version: 1.8.0_60

       RMI Version: 1.8.0_60

      Engine Build Information:

                Version: 6.2.0.2P

                   Date: Thu Jun  1 2017

                   Time: 22:10:01 PM

               Platform: Linux x86_64

      LogicalProcessors: 2

    Viewing 5 reply threads
    • Author
      Replies
      • #86049
        David Barr
        Participant

          Looks like a missing font or display size issue with your X server. What are you using for your X11 display? I normally use Cygwin, but there are lots of things you can use: Linux console, Reflection, MobaXterm, etc. Maybe try using something else and see if the problem goes away.

          Are other X11 programs working? Can you run Xterm?

        • #86050
          David Barr
          Participant

            I’m also not sure what you mean by “new Linux box”. There are potentially three systems involved: the Cloverleaf server where the host server is running, the computer where the hciserveradmin client is running, and the computer with the X11 display. They might all be one and the same or they might all be different. Which one is the new one?

          • #86051
            Michael Hertel
            Participant

              Sorry for the confusion David.

              I’ve been on AIX for a hundred years using tcsh.

              We are upgrading to a new (to us) Linux host.

              I am encountering differences obviously.

              I am using Exceed and it work fine when I bring up hciserveradmin on the AIX host. CL 6.1

              I am now trying to use the same exceed on my workstation pointing at the new Linux box. BTW, I’m using the bash shell instead of tcsh.

              Yes, xclock works but I do get the error “Warning: Missing charsets in String to FontSet conversion”

              So you are right it probably is X11 and something in the difference with my .profile kind of files in my hci home directory.

              I don’t get the warning like the xclock warning when I run hciserveradmin, it just blows up.

            • #86052
              David Barr
              Participant

                It sounds like a font problem. I’m not sure how you configure fonts for Exceed. When you type “xset q”, what is your font path set to? You can type “xlsfonts” to list your fonts. Are there a lot of them? I get about 4600 of them with the Cygwin X server.

              • #86053
                Michael Hertel
                Participant

                  It was a font issue, on the Linux box, David.

                  I was confused as to where you wanted me to run xset q and xlsfonts but thank you for the advice.

                  In the meantime, support/development came back with the solution:

                  Please try installing this package:

                  yum install dejavu-serif-fonts

                  Details

                  Incident : 11390947

                • #86054
                  David Barr
                  Participant

                    That’s weird. If you’re running Exceed, then most of the time the fonts will be loaded from your PC. Maybe you have a font server in your font path, and it’s loading fonts from the Linux box. Glad to hear it’s fixed.

                Viewing 5 reply threads
                • The forum ‘Cloverleaf’ is closed to new topics and replies.