[
https://jira.jboss.org/jira/browse/EJBTHREE-1629?page=com.atlassian.jira....
]
jaikiran pai resolved EJBTHREE-1629.
------------------------------------
Fix Version/s: 1.1.2
Resolution: Done
Fixed in r85151.
Ejb3DescriptorHandler has been fixed to use the PrimitiveAwareClassLoader.
Ejb3DescriptorHandler does not handle complete set of primitives
----------------------------------------------------------------
Key: EJBTHREE-1629
URL:
https://jira.jboss.org/jira/browse/EJBTHREE-1629
Project: EJB 3.0
Issue Type: Bug
Affects Versions: 1.0.0-Beta10
Environment: JBossAS-5.0 GA
Reporter: jaikiran pai
Assignee: jaikiran pai
Fix For: 1.1.2
Attachments: EJBTHREE-1629-testcase.patch
Ejb3DescriptorHandler throws:
Caused by: java.lang.RuntimeException: Unable to create annotation for method/field
partialRollbackG
amePayment for EJB GamePaymentProcessDelegateBean
at
org.jboss.ejb3.Ejb3DescriptorHandler.addAnnotations(Ejb3DescriptorHandler.java:2214)
at
org.jboss.ejb3.Ejb3DescriptorHandler.addAnnotations(Ejb3DescriptorHandler.java:2227)
at
org.jboss.ejb3.Ejb3DescriptorHandler.addTransactionAnnotations(Ejb3DescriptorHandler.java
:1176)
at
org.jboss.ejb3.Ejb3DescriptorHandler.addDescriptorAnnotations(Ejb3DescriptorHandler.java:
915)
at
org.jboss.ejb3.Ejb3DescriptorHandler.getStatefulContainer(Ejb3DescriptorHandler.java:469)
at
org.jboss.ejb3.Ejb3AnnotationHandler.getContainers(Ejb3AnnotationHandler.java:209)
at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:668)
at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:628)
at org.jboss.ejb3.Ejb3Deployment.deployUrl(Ejb3Deployment.java:610)
at org.jboss.ejb3.Ejb3Deployment.deploy(Ejb3Deployment.java:573)
at org.jboss.ejb3.Ejb3Deployment.create(Ejb3Deployment.java:488)
at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:189)
... 23 more
Caused by: java.lang.ClassNotFoundException: double from
BaseClassLoader@1c749fc{VFSClassLoaderPolic
y@ca6d70{name=vfszip:/C:/development/tools/jboss-5.0.0.GA/server/default/deploy/eloto.ear
domain=Cl
when the bean contains this method:
public void partialRollbackGamePayment(GamePaymentRecord rec, double rollbackSum);
The double primitive (and float) are not handled in Ejb3DescriptorHandler.
Please see referenced forum thread for details.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira