Bugs item #552536, was opened at 2002-05-05 15:23
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=376685&aid=552536&group_id=22866
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Georg Schmid (giorgio42)
Assigned to: Nobody/Anonymous (nobody)
Summary: Verifier prints erraneous 7.10.1 warning
Initial Comment:
(JBoss 3.1.0alpha, current CVS head, NT/W2K/Solaris)
According to the current code in EJBVerifier20.java
the existence of (local) home and remote interfaces
is checked like this:
if (!(remoteHomeVerified && remoteVerified) &&
!(localHomeVerified && localVerified))
{
localOrHomeExists = false;
fireSpecViolationEvent
(session, new Section "7.10.1"));
}
which leads to firing a 7.10.1 violation warning when
any other spec violation is found in the local/remote
(home)interfaces.
My suggestion would be to use the methods from
the AbstractVerifier to check the existence of
these interfaces, something like:
if (!(hasEJBObjectInterface(...) && hasEJBHomeInterface
(...)) && !(hasEJBLocalObjectInterface(...) &&
hasEJBLocalHomeInterface(...)) {
... send 7.10.1 spec violation message ...
}
(If I had more time, I'd submit a patch, but just now
I simply can't).
Georg
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=376685&aid=552536&group_id=22866
_______________________________________________________________
Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development