dev@glassfish.java.net

Re: enabling resource in a cluster?

From: Marina Vatkina <marina.vatkina_at_oracle.com>
Date: Thu, 29 Jul 2010 14:14:09 -0700

I've just tested that if create-resource-ref is executed, jdbc/__default
is available on an instance.

Best,
-marina

Hong Zhang wrote:
> Is this the cause of issue 12755?
> https://glassfish.dev.java.net/issues/show_bug.cgi?id=12755
>
> From the description of the issue, it seems it once worked with build
> 10, but started to fail in build 11?
>
> Sherry: was the resource-ref created for the instance in that sqe test?
>
> Thanks,
>
> - Hong
>
> On 7/27/2010 11:47 PM, Jagadish Prasath Ramu wrote:
>> GlassFish v2 also has the same behavior.
>> When an instance is created, jdbc/__default (resource-ref) is not made
>> available in the instance.
>> Copying admin_at_GF to see whether there was any specific reason.
>>
>> Thanks,
>> -Jagadish
>>
>> On Tue, 2010-07-27 at 20:37 -0700, Marina Vatkina wrote:
>>
>>> Hi Jagadish,
>>>
>>> Why isn't it available by default on all instances?
>>>
>>> thanks,
>>> -marina
>>>
>>> Jagadish Prasath Ramu wrote:
>>>
>>>> Hi Marina,
>>>>
>>>> You need to create a resource-ref if you want a resource that already
>>>> exists in the domain to be made available for specific target.
>>>> eg:
>>>> asadmin create-resource-ref --target "CLUSTER_NAME" jdbc/__default
>>>>
>>>> Thanks,
>>>> -Jagadish
>>>>
>>>> On Tue, 2010-07-27 at 13:10 -0700, Marina Vatkina wrote:
>>>>
>>>>
>>>>> How do I enable jdbc/__default in a cluster?
>>>>>
>>>>> thanks,
>>>>> -marina
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> 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: admin-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>>
>>