glassfish
  1. glassfish
  2. GLASSFISH-18965

Issue updating Glassfish 3.1.2 on Ubuntu 12.04 server

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 3.1.2
    • Fix Version/s: None
    • Component/s: update_center
    • Labels:
      None
    • Environment:

      Ubuntu server 12.04

      Description

      I have successfully installed Glassfish 3.1.2 onto Ubuntu server 12.04.
      However when I try to update the server using "sudo ./bin/pkg image-update" I am prompted to install the pkg package.
      It attempts to use the system proxy settings and I get the following error:

      GLib-GIO-ERROR **: Settings schema 'org.gnome.system.proxy' is not installed

      Obviously as a server edition it will not have gnome installed.

      I have also noticed that this screws up glassfish as it fails with the same error when started.
      This only occurs when I try to update glassfish after running pkg. Also there is no .updatetool/init.cgf file created where the a proxy is set.
      Even if I do a fresh install of glassfish the problem exists. The running or installation of pkg must set a system variable to look for the system.proxy.

        Activity

        Hide
        Snjezana Sevo-Zenzerovic added a comment -

        Assigning to Joe since the error is coming from pkg bootstrap code.

        Show
        Snjezana Sevo-Zenzerovic added a comment - Assigning to Joe since the error is coming from pkg bootstrap code.
        Hide
        Joe Di Pol added a comment -

        This may be coming from the JDK since it supports getting proxy settings from the system configuration. Which version of Java SE is being used?

        Do you need to use a proxy? If yes, as a work-around you can try setting the http_proxy environment variable:

        http_proxy=http://host:port/
        export http_proxy

        Show
        Joe Di Pol added a comment - This may be coming from the JDK since it supports getting proxy settings from the system configuration. Which version of Java SE is being used? Do you need to use a proxy? If yes, as a work-around you can try setting the http_proxy environment variable: http_proxy= http://host:port/ export http_proxy
        Hide
        schaffer1969 added a comment -

        I'm using 1.7.0_03. 64bit
        I don't use or require a proxy.

        It occurs on a fresh install of Ubuntu 12.04.

        Show
        schaffer1969 added a comment - I'm using 1.7.0_03. 64bit I don't use or require a proxy. It occurs on a fresh install of Ubuntu 12.04.

          People

          • Assignee:
            Joe Di Pol
            Reporter:
            schaffer1969
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: