dev@glassfish.java.net

Re: Changes to domain.xml lost when domain is restarted

From: Ming Zhang <Ming.Zhang_at_Sun.COM>
Date: Thu, 09 Oct 2008 13:37:55 -0700

I have just added the admincli test to QL. The test use admincli to
create a jdbc connect pool (QLJdbcPool), ping it and then restart
domain, ping the same pool again. The test failed in second ping since
it's not existing anymore after the domain restart. For output and
stacktrace:
http://hudson.sfbay/job/v3-dev-builds-quicklook/2810/console
Can someone take a look?

Thanks,
Ming

Ming Zhang wrote:
> Hi Kedar,
>
> Is this the test scenario severing the purpose: createPool/pingPool
> (existing in admin tests), start/stop domain, pingPool again (adding)?
> Would it be possible for you to add this test in admin tests?
>
> Thanks,
> Ming
>
> Marina Vatkina wrote:
>> We do need a server restart in the QL. There was some other problem
>> not that long ago that was showing up only after the restart.
>>
>> thanks,
>> -marina
>>
>> Anissa Lam wrote:
>>>
>>> Thats correct. This happens only on the trunk. A fresh build on
>>> the branch doesn't show this problem. Quicklook should include such
>>> a test.
>>>
>>> Anissa.
>>>
>>> Jerome Dochez wrote:
>>>
>>>> just to be clear, this happens only with the trunk, not the branch
>>>> right ?
>>>>
>>>>
>>>> jerome
>>>>
>>>> Anissa Lam wrote:
>>>>
>>>>>
>>>>> Yes, I notice the same thing when using the console. Seems
>>>>> like everything is just in memory and once you stop the server,
>>>>> nothing is saved. This is definitely a P1.
>>>>>
>>>>> thanks
>>>>> Anissa.
>>>>>
>>>>> Jane Young wrote:
>>>>>
>>>>>> Just wondering if you see the same issue when using admin console?
>>>>>>
>>>>>>
>>>>>> Marina Vatkina wrote:
>>>>>>
>>>>>>> See issue
>>>>>>> https://glassfish.dev.java.net/issues/show_bug.cgi?id=6452 that
>>>>>>> covers a similar problem. If it's as bad as any configuration
>>>>>>> being lost, it's a P1.
>>>>>>>
>>>>>>> thanks,
>>>>>>> -marina
>>>>>>>
>>>>>>> Prashanth Abbagani wrote:
>>>>>>>
>>>>>>>>
>>>>>>>> Does anyone see this? I made config changes with asadmin set
>>>>>>>> command and a deploy. Upon restart I don't see my changes in
>>>>>>>> domain.xml (also get and list-components command returns old
>>>>>>>> values). I do see the application bits in the
>>>>>>>> domains/domain1/application directory though, no entries in
>>>>>>>> domain.xml.
>>>>>>>>
>>>>>>>> I start the domain with java -jar glassfish.jar and Ctrl-C to
>>>>>>>> stop.
>>>>>>>>
>>>>>>>> ---------------------------------------------------------------------
>>>>>>>>
>>>>>>>> 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: admin-unsubscribe_at_glassfish.dev.java.net
>>>>>> For additional commands, e-mail: admin-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
>>>
>>
>>
>> ---------------------------------------------------------------------
>> 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
>