users@genericjmsra.java.net

Re: InvalidPropertyException when deploying MDB on Weblogic

From: Ramesh <Ramesh.Parthasarathy_at_Sun.COM>
Date: Fri, 07 Aug 2009 21:13:47 +0530

Hi Martin,
    Do you have this section in the weblogic-ejb-jar.xml

<message-driven-descriptor>
<!-- instead of GenericRAJMS use whatever is the jndi name configured
in weblogic-ra.xml-->
<resource-adapter-jndi-name>GenericRAJMS</resource-adapter-jndi-name>
</message-driven-descriptor>

Thanks
-Ramesh
Evans, Martin wrote:
>
> Hi,
>
> I'm getting an exception when deploying an MDB in Weblogic;
>
> javax.resource.spi.InvalidPropertyExceptionweblogic.connector.external.EndpointActivationException:
> javax.resource.spi.InvalidPropertyException
>
> I set the debug level to finest and turned on debug in weblogic but
> still don't see what the invalid property is?
>
> I've set the appropriate properties in weblogic-ra.xml to enable JNDI.
>
> This is my ejb-jar.xml
>
> <?xml version="1.0" encoding="UTF-8"?>
> <ejb-jar xmlns="http://java.sun.com/xml/ns/j2ee"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.1"
> xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
> _http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd_">
>
> <display-name>Message Processor Configuration</display-name>
> <enterprise-beans>
> <message-driven>
> <display-name>MessageProcessor</display-name>
> <ejb-name>MessageProcessor</ejb-name>
>
> <ejb-class>com.cs.dtacc.messaging.WeblogicJMS</ejb-class>
> <transaction-type>Container</transaction-type>
> <activation-config>
> <activation-config-property>
>
> <activation-config-property-name>ConnectionFactoryJndiName</activation-config-property-name>
>
>
> <activation-config-property-value>WMQ_QM1CF</activation-config-property-value>
>
> </activation-config-property>
> <activation-config-property>
>
> <activation-config-property-name>DestinationJndiName</activation-config-property-name>
>
>
> <activation-config-property-value>WMQ_MARTIN_TEST</activation-config-property-value>
>
> </activation-config-property>
> </activation-config>
> </message-driven>
> </enterprise-beans>
> <assembly-descriptor>
> <container-transaction>
> <method>
> <ejb-name>MessageProcessor</ejb-name>
> <method-name>*</method-name>
> </method>
> <trans-attribute>NotSupported</trans-attribute>
> </container-transaction>
> </assembly-descriptor>
> </ejb-jar>
>
> Martin
>
>
>
>
> ==============================================================================
> Please access the attached hyperlink for an important electronic
> communications disclaimer:
> http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
> ==============================================================================
>
>