users@genericjmsra.java.net

InvalidPropertyException when deploying MDB on Weblogic

From: Evans, Martin <martin.evans_at_credit-suisse.com>
Date: Fri, 7 Aug 2009 10:40:31 -0400

Hi,

I'm getting an exception when deploying an MDB in Weblogic;

javax.resource.spi.InvalidPropertyExceptionweblogic.connector.external.E
ndpointActivationException: 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-c
onfig-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-pro
perty-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
 ===============================================================================