dev@glassfish.java.net

Re: domain.xml/hk2 broken

From: Marina Vatkina <marina.vatkina_at_oracle.com>
Date: Thu, 19 Aug 2010 14:44:27 -0700

Same problem or a different one:

<ejb-timer-service> as a subnode of the <ejb-container> became
unavailable recently (it was working for me on default-config at least a
week ago):

-------------
% asadmin set
configs.config.default-config.ejb-container.ejb-timer-service.timer-datasource=foo
remote failure: No configuration found for
configs.config.default-config.ejb-container.ejb-timer-service

Command set failed.
-------------

There are checks in the code for it to be null, so it shouldn't require
a @NotNull annotation, correct?

thanks,
-marina

Ludovic Champenois wrote:
> On 8/19/10 9:13 AM, Justin Lee wrote:
>> Adding an @NotNull there would mean that element would always be
>> there and that's not what we need.
>>
>> On 8/19/10 12:08 PM, Tom Mueller wrote:
>>> Back the original problem - just want to make sure I understand:
>>>
>>> <protocol name="http-listener-1"/>
>>>
>>> and
>>>
>>> <protocol name="http-listener-1">
>>> <http-redirect/>
>>> </protocol>
>>>
>>> have a different meeting?
>>>
>>> And a @NotNull on Protocol.getHttpRedirect doesn't fix this?
>>>
>>> Tom
>>>
> Working on a correct solution that would only do changes in hk2 and
> REST....
> Almost done on REST, and Jerome needs to checkin a few lines in hk2.
> Later this week or early next week...
>
> Ludo
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>