Bugs item #552536, was opened at 2002-05-05 09:23 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=376685&aid=552536&group_id=22866
Category: JBossServer Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Georg Schmid (giorgio42) Assigned to: Jay Walters (jwalters) 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 ---------------------------------------------------------------------- >Comment By: Jay Walters (jwalters) Date: 2002-05-11 00:13 Message: Logged In: YES user_id=183794 Logic has been changed as you suggested (HEAD and Branch_3_0). 7.10.1 (and corresponding entity bean message) are only generated if the interfaces aren't supplied. verification of the interfaces is separate. ---------------------------------------------------------------------- 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