users@genericjmsra.java.net

RE: InvalidPropertyException when deploying MDB on Weblogic

From: Evans, Martin <martin.evans_at_credit-suisse.com>
Date: Fri, 7 Aug 2009 16:00:34 -0400

Hi All,
 
I've set the adapter to debug but I still don't see anything in my
weblogic log, even if I set all debug flags in weblogic?
 
I set the log level in ra.xml and I can see it in the weblogic console;
 
<config-property>

<config-property-name>LogLevel</config-property-name>

<config-property-type>java.lang.String</config-property-type>

<config-property-value>DEBUG</config-property-value>

</config-property>

Any help would be appreciated.

Martin


________________________________

From: Evans, Martin
Sent: 07 August 2009 10:41
To: users_at_genericjmsra.dev.java.net
Subject: InvalidPropertyException when deploying MDB on Weblogic




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
<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
========================================================================
======



===============================================================================
 Please access the attached hyperlink for an important electronic communications disclaimer:
 http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
 ===============================================================================