Bugs item #607805, was opened at 2002-09-11 15:06
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=607805&group_id=22866

Category: JBossServer
Group: CVS HEAD
Status: Open
>Resolution: Accepted
Priority: 5
Submitted By: Oskari Kettunen (aok)
>Assigned to: Christian Riege (lqd)
Summary: invalid ejbspec 12.2.11 warning

Initial Comment:
Method verifyEntityLocalHome(...) in 
org.jboss.verifier.strategy.EJBVerifier20 uses method 
throwsRemoteException(...) in 
org.jboss.verifier.strategy.AbstractVerifier to enforce 
EJB Spec 12.2.11. This causes misfired 
SpecViolationEvents.

Because of Bug #434739, the assignability is in the 
direction e.isAssignableFrom
(java.rmi.RemoteException.class) however, for this 
purpose it should be the original 
java.rmi.RemoteException.class.isAssignableFrom(e).

For, example, throwing an IOException from an entity's 
local home is not prohibited by the spec:
--
The throws clause of any method on the entity bean�s 
local home interface must not include the 
java.rmi.RemoteException.
--
but java.io.IOException.class.isAssignableFrom
(java.rmi.RemoteException.class) returns true, an the 
bean gets rejected...

Apparently the verifiation should use two separate 
throwsRemoteException(...) methods, one or each 
direction...

Oskari Kettunen, Finland

----------------------------------------------------------------------

>Comment By: Christian Riege (lqd)
Date: 2002-09-11 16:01

Message:
Logged In: YES 
user_id=176671

I'll look into this.

Setting the StrictVerifier attribute to 'false' in
jboss-service.xml will allow you to deploy your beans
despite of the verification failing; you might want to try
this as a workaround in the meantime.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=607805&group_id=22866


-------------------------------------------------------
In remembrance
www.osdn.com/911/
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to