You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Ivan Dubrov (JIRA)" <de...@geronimo.apache.org> on 2005/06/30 08:29:58 UTC
[jira] Created: (GERONIMO-689) Cannot set MDB activation config maxSessions property
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
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
[jira] Updated: (GERONIMO-689) Cannot set MDB activation config maxSessions property
Posted by "Aaron Mulder (JIRA)" <de...@geronimo.apache.org>.
[ http://issues.apache.org/jira/browse/GERONIMO-689?page=all ]
Aaron Mulder updated GERONIMO-689:
----------------------------------
Fix Version: 1.0-M5
Need to test this for M5. Ivan, if you have sample code we could use, or if you could test it again, that would be really helpful.
> 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-M5
>
> 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
[jira] Closed: (GERONIMO-689) Cannot set MDB activation config maxSessions property
Posted by "Matt Hogstrom (JIRA)" <de...@geronimo.apache.org>.
[ http://issues.apache.org/jira/browse/GERONIMO-689?page=all ]
Matt Hogstrom closed GERONIMO-689:
----------------------------------
Resolution: Fixed
This appears to be working and has not been commented. If this is still an issue please reopen the issue.
> 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
[jira] Updated: (GERONIMO-689) Cannot set MDB activation config maxSessions property
Posted by "David Blevins (JIRA)" <de...@geronimo.apache.org>.
[ 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