users@genericjmsra.java.net

Re: RAD/Webpshere 6, Sonic MQ 7.0 and Generic JMS RAR

From: Ramesh <Ramesh.Parthasarathy_at_Sun.COM>
Date: Tue, 11 Sep 2007 22:32:52 +0530

Hi Mathew,
    Were do you specify the jndi properties, (PROVIDER_URL,
CONTEXT_FACTORY..) ?

Thanks
-Ramesh

Sivakumar Thyagarajan wrote:
> Hi
>
> [copying the users alias where such discussions are usually held]
>
> > I am trying to run an MDB on RAD 6 with generic JMS
> > RAR Installed. The JMS provider is SONIC MQ V 7.0.
>
> I don't know why this occurs in Websphere 6, but could you set the RA
> logger level to FINEST and provide this thread the logs and we could
> probably try to find out why this is happening.
>
> Thanks
> --Siva.
>
> mathew philip wrote:
>> HI,
>> I am trying to run an MDB on RAD 6 with generic JMS
>> RAR Installed. The JMS provider is SONIC MQ V 7.0.
>>
>> I am using the provider integration mode as jndi.
>> I keep getting an error (javax.resource.spi.InvalidPropertyException: )
>>
>> J2CA0138E: The MessageEndpoint activation failed for
>> ActivationSpec
>> com.sun.genericra.inbound.ActivationSpec and MDB
>> Application Test#TestEJB.jar#DataAcessMDB, due to the
>> following exception:
>> javax.resource.spi.InvalidPropertyException: String
>> index out of range: -1 at
>> com.sun.genericra.util.ExceptionUtils.newInvalidPropertyException
>> (ExceptionUtils.java:42) at
>> com.sun.genericra.util.ObjectBuilderFactory$JndiObjectBuilder.createObject(ObjectBuilderFactory.java:100)
>>
>> at com.sun.genericra.util.ObjectBuilder.build(
>>
>> This is a snippet of ejb-jar.xml
>> <enterprise-beans>
>> <message-driven id="DataAcessMDB">
>> <ejb-name>DataAcessMDB</ejb-name>
>> <ejb-class>com.arbell.app.mdb.DataAcessMDBBean</ejb-class>
>> <messaging-type>javax.jms.MessageListener</messaging-type>
>> <transaction-type>Container</transaction-type>
>> <message-destination-type>javax.jms.Queue</message-destination-type>
>> <activation-config>
>> <activation-config-property>
>> <activation-config-property-name>destinationType</activation-config-property-name>
>>
>> <activation-config-property-
>>
>> value>javax.jms.Queue</activation-config-property-value>
>> </activation-config-property>
>> <activation-config-property>
>> <activation-config-property-
>>
>> name>ConnectionFactoryJndiName</activation-config-property-name>
>> <activation-config-property-
>>
>> value>jms/sonic/MDBConnectionFactory</activation-config-property-value>
>> </activation-config-property>
>> <activation-config-property>
>> <activation-config-property-
>>
>> name>DestinationJndiName</activation-config-property-name>
>> <activation-config-property-
>>
>> value>jms/sonic/Sample.Q1</activation-config-property-value>
>> </activation-config-property>
>> </activation-config>
>> </message-driven>
>>
>> Did anyone see this error in websphere environment
>>
>>
>> ___________________________________________________________
>> Want ideas for reducing your carbon footprint? Visit Yahoo! For Good
>> http://uk.promotions.yahoo.com/forgood/environment.html
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: issues-unsubscribe_at_genericjmsra.dev.java.net
>> For additional commands, e-mail: issues-help_at_genericjmsra.dev.java.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_genericjmsra.dev.java.net
> For additional commands, e-mail: users-help_at_genericjmsra.dev.java.net
>