users@genericjmsra.java.net

Re: Multiple MDBs with Single CF

From: Jaideep Chhabra <Jaideep.Chhabra_at_Sun.COM>
Date: Tue, 10 Jan 2006 17:16:40 +0530

Yes I have specified the UserName and Password in the sun-ejb-jar.xml

here is the entry that I made.

<activation-config-property>
<activation-config-property-name>UserName</activation-config-property-name>
<activation-config-property-value>name</activation-config-property-value>
</activation-config-property>
<activation-config-property>
<activation-config-property-name>Password</activation-config-property-name>
<activation-config-property-value>password</activation-config-property-value>
</activation-config-property>


Regards,
Jaideep




Binod wrote:
> Hi Jaideep,
>
>> Hi Binod,
>>
>> I got struck at a place, can you pls. suggest something here.
>>
>> In our setup we have four topics and MDBs listening to these topics,
>> additionally we have four users privileged to subscribe/listen to
>> these topics. We have configured subscription type as durable in the MDB.
>> We want to have a single connection factory/connector connection
>> pool , and have the four mdbs deployed using the genericjmsra.
>> I am trying to configure a single durable mdb on one of the topics.
>> I am not able to specify the user id password for the connection
>> factory. I want to have it set at the time of deployment so that I can
>> specify different user ids for all the four MDBs.
>
>
> I thought you can specify UserName and Password as explicit
> activation-config properties or connection pool property. You dont need
> to depend
> on bound JNDI object for that. Did you try that?
>
> thanks,
> Binod.
>
>> I can't specify the user id and password in the cf stored in the
>> ldap as that would not allow the other MDB to connect to their
>> respective topics.
>>
>>
>> Regards,
>> Jaideep
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_genericjmsra.dev.java.net
> For additional commands, e-mail: users-help_at_genericjmsra.dev.java.net
>