[JBoss JIRA] Created: (JBAOP-563) get(FieldReadInvocation invocation) signature not supported
by Galder Zamarreno (JIRA)
get(FieldReadInvocation invocation) signature not supported
-----------------------------------------------------------
Key: JBAOP-563
URL: http://jira.jboss.com/jira/browse/JBAOP-563
Project: JBoss AOP
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 1.5.5.GA
Reporter: Galder Zamarreno
Creating an Advice containing a method with this signature:
public Object get(FieldReadInvocation invocation)
Throws an Exception like this:
java.lang.ClassCastException: com.foo.bar.portal.presentation.DefaultActionBeanContext$portalService_Set
at org.jboss.aop.advice.com.foo.bar.core.aop.aspects.InjectSessionBeanAspect1.invoke(InjectSessionBeanAspect1.java)
at com.foo.bar.portal.presentation.DefaultActionBeanContext$portalService_Set.invokeNext(DefaultActionBeanContext$portalService_Set.java)
at com.foo.bar.portal.presentation.DefaultActionBeanContext.portalService_w_$aop(DefaultActionBeanContext.java)
at com.foo.bar.portal.presentation.DefaultActionBeanContext.<init>(DefaultActionBeanContext.java:40)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
18 years, 3 months
[JBoss JIRA] Created: (JBMETA-25) remote-binding is ignored in determineJndiName
by Alexey Loubyansky (JIRA)
remote-binding is ignored in determineJndiName
----------------------------------------------
Key: JBMETA-25
URL: http://jira.jboss.com/jira/browse/JBMETA-25
Project: JBoss Metadata
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 1.0.0.Beta8
Reporter: Alexey Loubyansky
Assigned To: Alexey Loubyansky
Fix For: 1.0.0.Beta9
A session bean in the jboss.xml may have a number of remote-binding elements and no jndi-name. Current JBossSessionBeanMetaData.determineJndiName() is taking into account only home-jndi-name, mapped-name and the ejb-name.
So, I am going to add remote-binding to the list.
Otherwise, tests that define ejb-ref/ejb-link establish dependencies on the wrong names (in the tests I am looking into it's jndi:ejbName) and fail to deploy.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
18 years, 3 months