Problem with ActivationSpec setters for MessageDribenBean
---------------------------------------------------------
Key: GERONIMO-1546
URL: http://issues.apache.org/jira/browse/GERONIMO-1546
Project: Geronimo
Type: Bug
Components: deployment
Versions: 1.0
Reporter: johnxmas
Priority: Minor
Given an int property in an ActivationSpec, setters with an int or an Integer
parameter cause a
ClassCast Exception at deployment time
7:26:08,054 ERROR [GBeanInstanceState] Error while starting; GBean is now in
the FAILED state:
objectName="geronimo.server:EJBModule=InboundMdb,J2EEApplication=null,J2EEServer=geronimo,j2eeType=JCAActivationSpec,name=InboundMdb"
java.lang.ClassCastException
at
com.scort.inbound.jca.socket.impl.SocketActivationSpec$$FastClassByCGLIB$$7d9f9cac.invoke(<generated>)
at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
at
org.apache.geronimo.gbean.DynamicGBeanDelegate$Operation.invoke(DynamicGBeanDelegate.java:181)
at
org.apache.geronimo.gbean.DynamicGBeanDelegate.setAttribute(DynamicGBeanDelegate.java:134)
at
org.apache.geronimo.connector.ActivationSpecWrapperGBean.setAttribute(ActivationSpecWrapperGBean.java:68)
at
org.apache.geronimo.gbean.runtime.GBeanAttribute$DynamicSetterMethodInvoker.invoke(GBeanAttribute.java:430)
at
org.apache.geronimo.gbean.runtime.GBeanAttribute.setValue(GBeanAttribute.java:403)
at
org.apache.geronimo.gbean.runtime.GBeanAttribute.inject(GBeanAttribute.java:334)
at
org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:925)
......
A setter with a String parameter do work
An ActivationSpec offering these three setters (that may be needed for
deploying under miscellaneous Application
Servers if you want to avoid type conversion...) will throw the same exception
--
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