dev@glassfish.java.net

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

From: Jennifer Chou <Jennifer.Chou_at_Sun.COM>
Date: Wed, 08 Oct 2008 12:46:15 -0400

If somebody can tell me the module and where to set a breakpoint I can
try to debug it more. I'm not familiar with that code.

Sahoo wrote:
> There has to be a problem in the module that's responsible for storing
> data in domain.xml as it does not report any warning/error when it is
> not able to store to domain.xml. How can the system silently choose to
> behave differently? The system should not be that intelligent, should
> it? More over, if javax.xml is not available to some module, how does
> that module not report any kind of NoClassDefFoundError?
>
> Thanks,
> Sahoo
>
> Jerome Dochez wrote:
>> jdk6.
>> I think Sahoo did not completely fix the problem.
>> but since we are going to switch trunk to require jdk6, I think it's
>> time to switch...
>>
>> jerome
>>
>> Marina Vatkina wrote:
>>> No, it still failing for me on the latest trunk. Which JDK version
>>> do you use?
>>>
>>> thanks,
>>> -marina
>>>
>>> Jerome Dochez wrote:
>>>> OK it appears to be fixed in my workspace. I think this was a side
>>>> effect of the change Sahoo did with regards to not include the
>>>> javax.stream implementation on the classpath. Can you try to
>>>> rebuild and try again...
>>>>
>>>> thanks, jerome
>>>>
>>>> Marina Vatkina wrote:
>>>>
>>>>> Right. I've just checked with
>>>>> create-jdbc-connection-pool/create-jdbc-resource.
>>>>>
>>>>> regards,
>>>>> -marina
>>>>>
>>>>> 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: 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
>