quality@glassfish.java.net

Re: Problem with glassfish v3 update tool

From: Judy Tang <Judy.J.Tang_at_Sun.COM>
Date: Wed, 17 Sep 2008 14:55:38 -0700

Hi Sreekanth,

I checked with update tool team and would like to let you know the LANG
issue should be fixed in the next update of the Prelude repositories.
Thanks for your good testing, please et us know is every thing work for
you or not.

Thanks,
Judy
Manpreet Singh wrote:
> Christopher Kampmeier wrote:
>> OK, the Prelude distros to date have build 14. So I am assuming that
>> the issue the user ran into won't be an issue when he tries Prelude
>> again when build 15 of the Update Tool package is present.
>>
>> http://pkg.glassfish.org/dev/mac/v3prelude/
>>
>> Judy, someone should inform Sreekanth that the LANG issue should be
>> fixed in the next update of the Prelude repositories. i.e. He should
>> not have to set the LANG variable manually when the current language
>> setting is not supported by the tool. The tool will default to
>> English and I believe it should inform the user why it is defaulting
>> to English.
>>
>> Manpreet, can you confirm that the user should see an error or
>> informational dialog explaining the issue the tool encountered and
>> the fact that it's defaulting to some form of English?
>>
>
> Currently, it only shows the message on the terminal when launched
> from a terminal on Solaris/Linux. No dialog is displayed on any OS.
> The message is not displayed at all when run on Windows or Mac.
>
> -manpreet
>
>> Thanks,
>> ckamps
>>
>> Manpreet Singh wrote:
>>> The new locale use logic went into MS 15 and wasn't available in MS14.
>>> I'd need more info on user's host and build they are using to provide a
>>> more useful answer.
>>>
>>> -manpreet
>>>
>>> Christopher Kampmeier wrote:
>>>> Hi Manpreet,
>>>>
>>>> Can you determine if the langauge setting issue and the user's
>>>> resolution is avoided in our more recent builds?
>>>>
>>>> Specifically, the user mentions that he had to set the LANG
>>>> variable to make it work properly. I though that when an
>>>> unsupported LANG setting is in effect, the GUI would start in the
>>>> fallback English language. If this user has the fix level, I
>>>> assume he has at least build 14, I am curious why he had to
>>>> manually set the LANG variable.
>>>>
>>>> > I had to reset the environment variable LANG=en.US.UTF-8 which was
>>>> > earlier set to en_IN to make this work.This solved my problem in
>>>> > Ubuntu machine.
>>>>
>>>> Thanks,
>>>> ckamps
>>>>
>>>>>
>>>>>
>>>>> -------- Original Message --------
>>>>> Subject: Re: Fwd: Problem with glassfish v3 update tool
>>>>> Date: Wed, 17 Sep 2008 00:37:47 -0700
>>>>> From: Judy Tang <Judy.J.Tang_at_Sun.COM>
>>>>> Reply-To: users_at_glassfish.dev.java.net
>>>>> To: quality_at_glassfish.dev.java.net
>>>>> CC: users_at_glassfish.dev.java.net
>>>>> References:
>>>>> <4646196.20801221632416111.JavaMail.tomcat_at_sdcst12.sjc.collab.net>
>>>>> <499c0b240809162324p3e5a98f7ufd75bede5d41a7b3_at_mail.gmail.com>
>>>>> <48D0AD16.3090603_at_sun.com> <48D0B0DC.9000802_at_sun.com>
>>>>>
>>>>>
>>>>>
>>>>> Thanks Sreekanth for letting us know how you resolved the
>>>>> problems. Looks usability can be enhanced, Would you like
>>>>> to file issues and give your steps and suggestion. Meanwhile I
>>>>> will help to follow up with Update Tool SQE.
>>>>>
>>>>> Judy
>>>>>
>>>>> Sreekanth wrote:
>>>>>
>>>>> > Hi Judy,
>>>>> >
>>>>> > I got this issue resolved.Seems there is a known issue with
>>>>> Ubuntu 8.
>>>>> >
>>>>> > I had to reset the environment variable LANG=en.US.UTF-8 which
>>>>> was > earlier set to en_IN to make this work.This solved my
>>>>> problem in > Ubuntu machine.
>>>>> >
>>>>> > And coming to solaris,I came to know that update tool doesn't
>>>>> support > Solaris Update1.But my sparc machines shows 0 Available
>>>>> Updates :-(
>>>>> >
>>>>> > Thanks,
>>>>> > Sreekanth
>>>>> >
>>>>> >
>>>>> >
>>>>> > Judy Tang wrote:
>>>>> >
>>>>> >> Hi Sreekanth,
>>>>> >>
>>>>> >> Thank you for testing the update tool. Looks you ran into
>>>>> issues in >> both Linux and Solaris. The error below says
>>>>> >> the software needed for this command (updatetool) is not
>>>>> installed, >> but it does not say what software. You can
>>>>> >> file an issue to enhance this error message. I wonder if it is
>>>>> >> because can't find your JDK environment ?
>>>>> >>
>>>>> >> "Here is the console output I see in Linux machine:
>>>>> >> sreekanth_at_sreekanth:/space/servers/glassfishv3-prelude$
>>>>> bin/updatetool
>>>>> >> The software needed for this command (updatetool) is not
>>>>> installed."
>>>>> >>
>>>>> >> Thanks,
>>>>> >> Judy
>>>>> >> Sreekanth wrote:
>>>>> >>
>>>>> >>> copying quality team
>>>>> >>>
>>>>> >>> ---------- Forwarded message ----------
>>>>> >>> From: <glassfish_at_javadesktop.org
>>>>> <mailto:glassfish_at_javadesktop.org>>
>>>>> >>> Date: Wed, Sep 17, 2008 at 11:49 AM
>>>>> >>> Subject: Problem with glassfish v3 update tool
>>>>> >>> To: users_at_glassfish.dev.java.net
>>>>> <mailto:users_at_glassfish.dev.java.net>
>>>>> >>>
>>>>> >>>
>>>>> >>> Hi,
>>>>> >>>
>>>>> >>> I have downloaded gfv3 prelude from the location >>>
>>>>> http://javaweb.sfbay.sun.com/java/re/glassfish/v3/promoted/prelude/latest/bundles/glassfish-v3-prelude-b24.zip
>>>>> >>> and ran the update tool.
>>>>> >>>
>>>>> >>> Now I reran the update tool, to see the update tool gui.But I
>>>>> got an >>> trace back error.
>>>>> >>> I tried the same in solaris machine and got a Segmentation
>>>>> Fault - >>> core dumped error.
>>>>> >>>
>>>>> >>> Is this an issue?
>>>>> >>>
>>>>> >>> Here is the console output I see in Linux machine:
>>>>> >>>
>>>>> >>> sreekanth_at_sreekanth:/space/servers/glassfishv3-prelude$
>>>>> bin/updatetool
>>>>> >>>
>>>>> >>> The software needed for this command (updatetool) is not
>>>>> installed.
>>>>> >>>
>>>>> >>> If you choose to install Update Tool, your system will be
>>>>> automatically
>>>>> >>> configured to periodically check for software updates. If you
>>>>> would >>> like
>>>>> >>> to configure the tool to not check for updates, you can
>>>>> override the
>>>>> >>> default behavior via the tool's Preferences facility.
>>>>> >>>
>>>>> >>> When this tool interacts with package repositories, some
>>>>> system >>> information
>>>>> >>> such as your system's IP address and operating system type and
>>>>> version
>>>>> >>> is sent to the repository server. For more information please
>>>>> see:
>>>>> >>>
>>>>> >>> http://wiki.updatecenter.java.net/Wiki.jsp?page=UsageMetricsUC2
>>>>> >>>
>>>>> >>> Once installation is complete you may re-run this command.
>>>>> >>>
>>>>> >>> Would you like to install Update Tool now (y/n): y
>>>>> >>>
>>>>> >>> Software repository:
>>>>> http://pkg.glassfish.org/dev/linux/v3prelude/
>>>>> >>> Install image: /space/servers/glassfishv3-prelude/bin/..
>>>>> >>> Installing pkg packages.
>>>>> >>> pkg:/pkg_at_1.0.7,0-14.1116:20080820T192908Z: downloading
>>>>> manifest from >>> server
>>>>> >>> pkg:/python2.4-minimal_at_2.4.4.0 >>>
>>>>> <mailto:python2.4-minimal_at_2.4.4.0>,0-14.1116:20080820T192920Z: >>>
>>>>> downloading manifest from server
>>>>> >>> Installing: [pkg:/pkg_at_1.0.7,0-14.1116:20080820T192908Z]
>>>>> >>> pkg:/pkg_at_1.0.7,0-14.1116:20080820T192908Z: downloading 208 files
>>>>> >>> pkg:/python2.4-minimal_at_2.4.4.0 >>>
>>>>> <mailto:python2.4-minimal_at_2.4.4.0>,0-14.1116:20080820T192920Z: >>>
>>>>> downloading 284 files
>>>>> >>> Installing updatetool packages.
>>>>> >>> pkg:/updatetool_at_2.0.0,0-14.1116:20080820T192946Z: downloading
>>>>> >>> manifest from server
>>>>> >>> pkg:/wxpython2.8-minimal_at_2.8.8,0-14.1116:20080820T193003Z: >>>
>>>>> downloading manifest from server
>>>>> >>> Installing: [pkg:/updatetool_at_2.0.0,0-14.1116:20080820T192946Z]
>>>>> >>> pkg:/updatetool_at_2.0.0,0-14.1116:20080820T192946Z: downloading
>>>>> 302 files
>>>>> >>> pkg:/wxpython2.8-minimal_at_2.8.8,0-14.1116:20080820T193003Z: >>>
>>>>> downloading 315 files
>>>>> >>> Registering notifier: Successful.
>>>>> >>> Starting notifier.
>>>>> >>> Initialization complete.
>>>>> >>>
>>>>> >>> Software successfully installed. You may now re-run this
>>>>> command >>> (updatetool).
>>>>> >>> sreekanth_at_sreekanth:/space/servers/glassfishv3-prelude$
>>>>> bin/updatetool
>>>>> >>> Traceback (most recent call last):
>>>>> >>> File >>>
>>>>> "/space/servers/glassfishv3-prelude/updatetool/bin/../vendor-packages/updatetool/main.py",
>>>>> >>> line 49, in ?
>>>>> >>> import boot
>>>>> >>> File >>>
>>>>> "/space/servers/glassfishv3-prelude/updatetool/vendor-packages/updatetool/boot.py",
>>>>> >>> line 150, in ?
>>>>> >>> gettext.translation(INFO.CMD_NAME, localedir, >>>
>>>>> languages=[locale_var], fallback=True).install(unicode=True)
>>>>> >>> NameError: name 'locale_var' is not defined
>>>>> >>> sreekanth_at_sreekanth:/space/servers/glassfishv3-prelude$
>>>>> >>> [Message sent by forum member 'msreekanth' (msreekanth)]
>>>>> >>>
>>>>> >>> http://forums.java.net/jive/thread.jspa?messageID=299741
>>>>> >>>
>>>>> >>>
>>>>> ---------------------------------------------------------------------
>>>>> >>> To unsubscribe, e-mail:
>>>>> users-unsubscribe_at_glassfish.dev.java.net >>>
>>>>> <mailto:users-unsubscribe_at_glassfish.dev.java.net>
>>>>> >>> For additional commands, e-mail:
>>>>> users-help_at_glassfish.dev.java.net >>>
>>>>> <mailto:users-help_at_glassfish.dev.java.net>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> -- >>> Sreekanth
>>>>> >>> Mobile: +91 99 867 10468
>>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe_at_updatecenter.dev.java.net
>>>> For additional commands, e-mail: dev-help_at_updatecenter.dev.java.net
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_updatecenter.dev.java.net
>> For additional commands, e-mail: dev-help_at_updatecenter.dev.java.net
>>
>
>