Bugs item #610008, was opened at 2002-09-16 09:29 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=610008&group_id=22866
Category: JBossServer Group: v3.2 Status: Open Resolution: Fixed Priority: 5 Submitted By: Scott M Stark (starksm) Assigned to: Christian Riege (lqd) Summary: Verifier too strict for 2.0 cmp 1.1 home Initial Comment: The verifier is validating 2.0 EJBs that use 1.1 cmp as EJB 1.1 beans. This fails when the home includes method forms from the EJB 2.0 spec, which should be allowed. See the current failures to deploy the org.jboss.test.testbean.test.BeanUnitTestCase testbean.jar in either 3.2 or main. ---------------------------------------------------------------------- >Comment By: Scott M Stark (starksm) Date: 2002-09-18 04:52 Message: Logged In: YES user_id=175228 Yes, if you can, verifier the cmp 1.1 bean and if it fails, instead of failing the deployment issue a warning saying that the bean is suspect but allow it to deploy since there are valid constructs they verifier cannot handle currently. ---------------------------------------------------------------------- Comment By: Christian Riege (lqd) Date: 2002-09-18 01:08 Message: Logged In: YES user_id=176671 scott, i'm sorry but i don't get the direction you're leaning to. from my understanding you want the CMP 1.1 Bean to be verified but when there is an error condition encountered, the bean shouild still be marked as valid?! please clarify, i will fix this to your likings. ---------------------------------------------------------------------- Comment By: Scott M Stark (starksm) Date: 2002-09-17 10:00 Message: Logged In: YES user_id=175228 The let's change the verifier error to a warning if a 2.0 DTD is seen and the entity bean is using cmp 1.1 ---------------------------------------------------------------------- Comment By: Christian Riege (lqd) Date: 2002-09-17 08:48 Message: Logged In: YES user_id=176671 CMP 1.x Entity Beans are not checked anymore when encountered in a 2.0 JAR file. This is also noted in the logging infrastructure, although on a DEBUG level (see org.jboss.ejb.EJBDeployer for more info on this). This is certainly not the most elegant solution but its the most viable workaround I can see ATM w/o opening up too many construction sites in the current code. The whole Verifier infrastructure will undergo a rewrite for JBoss 4.0; once that is ready and tested a backport into 3.x Branch should be possible w/o many problems. I just need a quiet weekend to get that done :). Stay tuned. Oh yeah, this is in HEAD and 3.2; does it make sense to bring this into 3.0, too? ---------------------------------------------------------------------- Comment By: Christian Riege (lqd) Date: 2002-09-17 08:09 Message: Logged In: YES user_id=176671 The current Verifier doesn't have a notion of different levels of Spec Violations (i.e. Warning/Error). This is on my TODO for the next generation of the Verifier. I think what I will do is a work-around in the current incarnation. EJB 1.1 Beans inside a 2.0 jar won't get verified at all and a warning message will be issued. ---------------------------------------------------------------------- Comment By: Scott M Stark (starksm) Date: 2002-09-17 07:42 Message: Logged In: YES user_id=175228 The let's change the verifier error to a warning if a 2.0 DTD is seen and the entity bean is using cmp 1.1 ---------------------------------------------------------------------- Comment By: Christian Riege (lqd) Date: 2002-09-17 01:56 Message: Logged In: YES user_id=176671 I will have a look at this but from my memory the current architecture of the Verifier doesn't allow for an easy fix for this -- it's either 2.0 or 1.1 all the way. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=610008&group_id=22866 ------------------------------------------------------- This SF.NET email is sponsored by: AMD - Your access to the experts on Hammer Technology! Open Source & Linux Developers, register now for the AMD Developer Symposium. Code: EX8664 http://www.developwithamd.com/developerlab _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
