dev@glassfish.java.net

Re: V3 : Upgrade Service Questions

From: Kumar Jayanti <Vbkumar.Jayanti_at_Sun.COM>
Date: Wed, 19 Aug 2009 16:12:06 +0530

Kumar Jayanti wrote:
> Hi,
>
> I just tried to take the latest V3 build (built from my workspace)
> and tried to run the asadmin --upgrade command today with a GlassFish
> V2UR2 installation. The V2UR2 installation has only a single domain
> called domain1 but somehow i see the following message :
>
> -----------------------
> c:\kumar\workspaces\latest\glassfish\glassfishv3\glassfish\bin>.\asadmin
> start-domain --upgrade=true --user admin --domaindir
> c:\kumar\glassfish2.1\domains domain1
> Deprecated syntax, instead use:
> asadmin --user admin start-domain [options] ...
> com.sun.enterprise.universal.xml.MiniXmlParserException:
> com.ctc.wstx.exc.WstxIOException: www.sun.com
> Command start-domain failed.
> -----------------------------------------------
>
> What should i do now ?. It looks like it is trying to access the
> network (www.sun.com), do we need to set some proxy info, but where ?.
> I am stuck here....
Just to clarify i was not using V2UR2 but V2.1.
Also in the TOI there is a mention of LogService (TBD) that may need to
be used to Flag User Intervention is that ready (if so then please point
me to some sample usage).

regards,
kumar

>
> regards,
> kumar
>
>
> Kumar Jayanti wrote:
>> Rebecca Searls wrote:
>>> Kumar Jayanti wrote:
>>>> Hi all,
>>>>
>>>> Has anyone completed their upgrade service implementation ?. If
>>>> yes please pass on the pointers to your code so i can take a look.
>>>>
>>>> Specifically i have questions like :
>>>>
>>>> 1. How does the Upgrade Service Access the domain.xml of the
>>>> source V2 server?. 2. And can i assume that the domain.xml
>>>> entities of the destination V3 server can be injected as usual
>>>
>>> Look at the Grizzle code.
>>> Search for class GrizzlyConfigSchemaMigrator.java in module
>>> admin/config-api.
>>>
>>>
>>>> 3. Is there any specific location (module/dir-structure) etc. for
>>>> the Upgrade Service. I mean can i for example implement the
>>>> Security Upgrade Service inside the security/core module.
>>>
>>> You must implement the service tag. Look at the Upgrade Service TOI
>>> slides
>>> on the wiki.
>>> http://wiki.glassfish.java.net/Wiki.jsp?page=V3UpgradeDashboard
>>> It identifies the API you must implement.
>> I understand that we need to implement a HK2 Service, but where
>> should i place by java file, can it lie inside the security modules
>> or is there a separate repo/module where upgrade tool related code
>> should be residing.
>>
>> regards,
>> kumar
>>
>>>
>>>> 4. Does the upgrade service automatically copy resources under the
>>>> domainX/config directory from the source V2 server to the
>>>> destination V3 server
>>>
>>> If there is domain config information that you component requires
>>> your service
>>> must tranlate that information from the V2 and V3-Prelude to the V3
>>> env.
>>>
>>>> 5. Where can i find samples and instructions on how to run the
>>>> upgrade tool or specifically unit test the Upgrade Service
>>>> implementation for my specific module.
>>> See the Upgrade Service TOI slide for your options.
>>>
>>>>
>>>> Thanks.
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>
>