quality@glassfish.java.net

Re: OpenSolaris package for Glassfish V3

From: Alexis Moussine-Pouchkine <alexis.mp_at_sun.com>
Date: Wed, 16 Dec 2009 11:24:49 +0100

On a similar note, I posted some blogs and screencasts earlier this
years: blogs.sun.com/alexismp/tags/alacarte
In any case http://ipshowto.org is your friend!
-Alexis

On Dec 15, 2009, at 18:23, Tom Mueller wrote:

> Manfred,
>
> You need the pkg(5) tools in order to get started. Most people get
> these tools by downloading a GFv3 bundle. However, if you are on
> OpenSolaris 2009.06, then you have pkg(1) in /usr/bin. So you can
> just do:
>
> pkg image-create -U -a stable.glassfish.org=http://pkg.glassfish.org/v3/stable/
> ~/gfv3
>
> This will create an empty user image in the gfv3 directory under
> your home directory that points to the stable repository. Then you
> can install the desired packages into that image. For example:
>
> cd ~/gfv3
> pkg install glassfish-web-profile
>
> You might also want the graphical tool for managing your install:
>
> pkg install updatetool
>
> After performing this install, you need to do the configuration that
> is normally done by the installer or at the factory for the zip
> bundle. For example, do
>
> bin/asadmin create-domain
>
> (and answer the various prompts).
>
> bin/asadmin start-domain
>
> At this point, GlassFish v3 is up and running, all without
> downloading an install bundle.
>
> Note: if you are on a development release of OpenSolaris after build
> 122, then this procedure will work, but updatetool will not be able
> to manage your user image because the later OpenSolaris builds have
> a newer version of pkg(5) that is incompatible with the updatetool
> that is made available with GlassFish v3. If the download bundle is
> used, including the version of pkg(5) included with that bundle,
> then updatetool will work fine.
>
> For platforms other than OpenSolaris, you can get a pkg(5) toolkit
> image from this download site:
> http://wikis.sun.com/display/IpsBestPractices/Downloads
>
> Once you have the pkg command from one of these images, then the
> above procedure will work for any of the supported platforms.
>
> In summary, the recommended procedure is to use one of the GFv3
> download bundles. But in answer to your question, yes, it is
> possible to just point to the package repository and get it that way.
>
> Tom
>
>
> Manfred Riem wrote:
>> Tom,
>>
>> Thanks for the explanation. So I do have to download it first. I
>> can't just
>> point to the package repository and get it that way? Just want to
>> clarify.
>>
>> Manfred
>>
>> -----Original Message-----
>> From: Tom.Mueller_at_Sun.COM [mailto:Tom.Mueller_at_Sun.COM] Sent:
>> Tuesday, December 15, 2009 8:00 AM
>> To: quality_at_glassfish.dev.java.net; mriem_at_manorrock.org
>> Subject: Re: OpenSolaris package for Glassfish V3
>>
>> Manfred,
>>
>> When you install the current GFv3 download bundle, it is connected
>> to a
>> package repository. You can see what repository it is connected to
>> by
>> either running "$INSTALLDIR/bin/pkg publisher" from the command
>> line or by
>> running $INSTALLDIR/bin/updatetool and clicking on the image title
>> in the
>> left panel. This will show the list of publishers in the right
>> panel.
>>
>> You can also browse the repositories from your browser. Note that
>> the "/" at
>> the end or the URL is required when using a browser. These are all
>> "http"
>> URLs.
>>
>> Community Distributions
>> Repository URL Description Publisher
>> pkg.glassfish.org/v3/stable/ This hosts all RC, FCS packages that
>> are open source. This is the preferred repository for community
>> distribution. stable.glassfish.org
>> pkg.glassfish.org/v3/dev/ This hosts all pre-FCS packages that are
>> open source. dev.glassfish.org
>> pkg.sun.com/glassfish/v3/contrib/ This hosts all non open source
>> partner contributed packages. contrib.glassfish.sun.com
>> pkg.glassfish.org/v3/contrib/ This hosts all 3rd party (partner,
>> etc.) packages that are open source. contrib.glassfish.org
>>
>> ------------------------------------------------------------------------
>>
>> Sun Branded Distributions (SGES and SDK)
>>
>> Repository URL Description Publisher
>> pkg.sun.com/glassfish/v3/release/ This is the preferred
>> repository. This host sall the FCS Sun branded GlassFish packages.
>> release.glassfish.sun.com
>> pkg.sun.com/glassfish/v3/contrib/ This hosts all non open source
>> partner contributed packages. contrib.glassfish.sun.com
>> pkg.glassfish.org/v3/contrib/ Open source 3rd party (partner,
>> etc.) contributed packages. contrib.glassfish.org
>> pkg.sun.com/glassfish/v3/dev/ Open source pre-FCS packages.
>> dev.glassfish.sun.com
>>
>> ------------------------------------------------------------------------
>>
>> Tom
>>
>> Manfred Riem wrote:
>>
>>> Hi Tom,
>>>
>>> I wasn't aware there was an V3 package repository. However I still
>>> feel the official OpenSolaris package repository should contain
>>> the installation.
>>>
>>> Any more details on the other package repository and how to use it?
>>>
>>> Manfred
>>>
>>> -----Original Message-----
>>> From: Tom.Mueller_at_Sun.COM [mailto:Tom.Mueller_at_Sun.COM]
>>> Sent: Tuesday, December 15, 2009 6:56 AM
>>> To: quality_at_glassfish.dev.java.net
>>> Subject: Re: OpenSolaris package for Glassfish V3
>>>
>>> I'd just like to clarify the term "Opensolaris package" for GFv3
>>> that was used below for everyone on this alias. If you disagree
>>> with this understanding, please response.
>>>
>>> An "Opensolaris package" in this context means an Image Packaging
>>> System
>>> package(s) that is/are:
>>> a) delivered in one of the OpenSolaris publishers, such as
>>> pkg.opensolaris.org, or pkg.sun.com/opensolaris/release,
>>> b) designed to have a file system layout that installs the product
>>> into /usr, /etc, /var, /opt, i.e., system directories,
>>> c) designed to be installed into the OpenSolaris system image by a
>>> privileged user,
>>> d) limited to be installed only once on the system, unless zones
>>> are used
>>> e) updated according to the OpenSolaris delivery schedule
>>> (approximately twice a year)
>>> f) managed with the OpenSolaris system package management tools,
>>> i.e., packagemanager, updatemanager, /usr/bin/pkg.
>>>
>>> The current GFv3 packages are also Image Packaging System
>>> packages, but they differ from the "OpenSolaris packages" above in
>>> that that are:
>>> a) delivered in by the GFv3 publishers, e.g., pkg.glassfish.org or
>>> pkg.sun.com/glassfish/v3/release
>>> b) designed to be delivered in a user image, with a corresponding
>>> file system layout appropriate for that image type
>>> c) can be installed multiple times in multiple user images by an
>>> unprivileged user,
>>> d) updated nightly (for dev repositories) and according to a GFv3
>>> schedule
>>> e) managed with user image management tools, i.e., updatetool,
>>> software update, notifier, <image>/bin/pkg.
>>> f) the packages can be used not just on OpenSolaris, but also on
>>> Solaris 10, Linux, Windows, Mac OS, etc.
>>>
>>> What these both have in common is that they both run on OpenSolaris.
>>>
>>> I expect that there would also be differences in marketing,
>>> licensing, support, etc. between these offerings, but I've only
>>> addressed the technical issues here.
>>>
>>> Tom
>>>
>>>
>>> Judy Tang wrote:
>>>
>>>> Hi Manfred,
>>>>
>>>> "If you need any help testing those package let me know. ", ha, I
>>>> saw it, thanks so much for offering to test!
>>>>
>>>> Judy
>>>>
>>>> Manfred Riem wrote:
>>>>
>>>>> Hi Ludo,
>>>>>
>>>>> I used the OpenSolaris repositories obviously and I would expect
>>>>> the updates to use that as well ;)
>>>>>
>>>>> If you need any help testing those package let me know.
>>>>>
>>>>> Manfred
>>>>>
>>>>>
>>>>> -----Original Message-----
>>>>> From: Ludovic.Champenois_at_Sun.COM <mailto:Ludovic.Champenois_at_Sun.COM
>>>>> >
>>>>>
>>> [mailto:Ludovic.Champenois_at_Sun.COM]
>>>
>>>>> Sent: Monday, December 14, 2009 9:16 AM
>>>>> To: quality_at_glassfish.dev.java.net
>>>>>
>>> <mailto:quality_at_glassfish.dev.java.net>
>>>
>>>>> Subject: Re: OpenSolaris package for Glassfish V3
>>>>>
>>>>> Manfred Riem wrote:
>>>>>
>>>>>> Hi there,
>>>>>>
>>>>>>
>>>>>> Is there an OpenSolaris package in store for the Glassfish V3
>>>>>> release,
>>>>>>
>>>>>> just like there is a V2 version?
>>>>>>
>>>>>>
>>>>>> Manfred
>>>>>>
>>>>>>
>>>>> Not expected before q2 next year...We need to solve the
>>>>> differences between Solaris repositories and our GlassFish
>>>>> Update Center repositories (which one do you use when updating
>>>>> the bits??...) Meanwhile, use the zip or regular installer to
>>>>> install v3 in
>>>>>
>> OpenSolaris.
>>
>>>>> Ludo
>>>>>
>>>>> --------------------------------------------------------------------
>>>>> - To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
>>>>>
>>> <mailto:quality-unsubscribe_at_glassfish.dev.java.net>
>>>
>>>>> For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
>>>>>
>>> <mailto:quality-help_at_glassfish.dev.java.net>
>>>
>>>>> --------------------------------------------------------------------
>>>>> - To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
>>>>>
>>> <mailto:quality-unsubscribe_at_glassfish.dev.java.net>
>>>
>>>>> For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
>>>>>
>>> <mailto:quality-help_at_glassfish.dev.java.net>
>>>
>>>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
>>>
>>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
>>
>>
>
> <
> Tom_Mueller
> .vcf
> >---------------------------------------------------------------------
> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: quality-help_at_glassfish.dev.java.net