[GLASSFISH-18965] Issue updating Glassfish 3.1.2 on Ubuntu 12.04 server Created: 31/Jul/12  Updated: 13/Feb/14

Status: Open
Project: glassfish
Component/s: update_center
Affects Version/s: 3.1.2
Fix Version/s: None

Type: Bug Priority: Major
Reporter: schaffer1969 Assignee: Joe Di Pol
Resolution: Unresolved Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Ubuntu server 12.04


Tags: Ubuntu, pkg, updatetool

 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.



 Comments   
Comment by Snjezana Sevo-Zenzerovic [ 31/Jul/12 ]

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

Comment by Joe Di Pol [ 31/Jul/12 ]

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

Comment by schaffer1969 [ 31/Jul/12 ]

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.

Generated at Wed Apr 26 12:54:07 UTC 2017 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.