[ http://issues.apache.org/jira/browse/GERONIMO-689?page=all ]
David Blevins updated GERONIMO-689:
-----------------------------------
Fix Version: 1.0
(was: 1.0-M5)
> Cannot set MDB activation config maxSessions property
> -----------------------------------------------------
>
> Key: GERONIMO-689
> URL: http://issues.apache.org/jira/browse/GERONIMO-689
> Project: Geronimo
> Type: Bug
> Versions: 1.0-M4
> Reporter: Ivan Dubrov
> Fix For: 1.0
>
> The following OpenEJB deployment descriptor:
> <message-driven>
> <ejb-name>SomeMDB</ejb-name>
> <resource-adapter>
> <resource-link>SomeJMSResources</resource-link>
> </resource-adapter>
> <activation-config>
> <activation-config-property>
>
> <activation-config-property-name>maxSessions</activation-config-property-name>
>
> <activation-config-property-value>10</activation-config-property-value>
> </activation-config-property>
> <activation-config-property>
>
> <activation-config-property-name>destinationType</activation-config-property-name>
>
> <activation-config-property-value>javax.jms.Topic</activation-config-property-value>
> </activation-config-property>
> <activation-config-property>
>
> <activation-config-property-name>destination</activation-config-property-name>
>
> <activation-config-property-value>SomeTopic</activation-config-property-value>
> </activation-config-property>
> </activation-config>
> </message-driven>
> causes the following exception during deployment:
> 13:30:45,587 ERROR [GBeanInstanceState] Error while starting; GBean is now in
> the FAILED state: obje
> ctName="geronimo.server:EJBModule=com.ibm.workdev.v1.ejb.jar,J2EEApplication=com/ibm/workdev/v1,J2EE
> Server=geronimo,j2eeType=JCAActivationSpec,name=Statistics"
> java.lang.ClassCastException
> at
> org.activemq.ra.ActiveMQActivationSpec$$FastClassByCGLIB$$47bafc00.invoke(<generated>)
> at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
> at
> org.apache.geronimo.gbean.DynamicGBeanDelegate$Operation.invoke(DynamicGBeanDelegate.java
> :155)
> at
> org.apache.geronimo.gbean.DynamicGBeanDelegate.setAttribute(DynamicGBeanDelegate.java:130
> )
> at
> org.apache.geronimo.connector.ActivationSpecWrapper.setAttribute(ActivationSpecWrapper.ja
> va:118)
> at
> org.apache.geronimo.gbean.runtime.GBeanAttribute$DynamicSetterMethodInvoker.invoke(GBeanA
> ttribute.java:414)
> at
> org.apache.geronimo.gbean.runtime.GBeanAttribute.setValue(GBeanAttribute.java:387)
> at
> org.apache.geronimo.gbean.runtime.GBeanAttribute.inject(GBeanAttribute.java:318)
> at
> org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:839)
> at
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.
> java:328)
> Together with issue http://issues.apache.org/jira/browse/GERONIMO-688 this
> makes configuring MDB that listens to given topic not possible.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira