How will this be done on the har mbean? It cannot be a managed attribute, in that changing it at runtime will have no effect (basically the same for ejb3, since it uses the same underlying machinery). This setting needs to be defined appropriately before the org.hibernate.cfg.Environment static initializers kick in....
-----Original Message----- From: Scott M Stark Sent: Wednesday, May 10, 2006 9:49 AM To: Emmanuel Bernard Cc: Dev - JBossSeam; dev-ejb3; jboss-development@lists.sourceforge.net Subject: RE: cglib still being seen as bytecode provider Looks much better. I'm going to make the bytecode provider a configurable option on the ejb3 deployer and har mbean rather than using a hard-coded setting. [EMAIL PROTECTED] ~]$ cd /cvs/JBoss4.0/jboss-4.0.x/ejb3 [EMAIL PROTECTED] ejb3]$ ant -buildfile build-test.xml no-start-jboss-ejb-te sts Buildfile: build-test.xml init: no-start-jboss-ejb-tests: init: test: test-with-jvmargs: [delete] Deleting: C:\cvs\JBoss4.0\jboss-4.0.x\ejb3\output\log\test.log [junit] Running org.jboss.ejb3.test.webservices.unit.WsUnitTestCase [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 3.094 sec init: test: test-with-jvmargs: [delete] Deleting: C:\cvs\JBoss4.0\jboss-4.0.x\ejb3\output\log\test.log [junit] Running org.jboss.ejb3.test.regression.ejbthree454.unit.RemoteUnitTe stCase [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 3.297 sec init: test: test-with-jvmargs: [delete] Deleting: C:\cvs\JBoss4.0\jboss-4.0.x\ejb3\output\log\test.log [junit] Running org.jboss.ejb3.test.regression.salesforce7123.unit.NotSuppor tedUnitTestCase [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.922 sec init: test: test-with-jvmargs: [delete] Deleting: C:\cvs\JBoss4.0\jboss-4.0.x\ejb3\output\log\test.log [junit] Running org.jboss.ejb3.test.regression.scopedclassloader.unit.ScopeU nitTestCase [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.781 sec init: test: test-with-jvmargs: [delete] Deleting: C:\cvs\JBoss4.0\jboss-4.0.x\ejb3\output\log\test.log [junit] Running org.jboss.ejb3.test.dependency.unit.DependencyUnitTestCase [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 3.5 sec init: test: test-with-jvmargs: [delete] Deleting: C:\cvs\JBoss4.0\jboss-4.0.x\ejb3\output\log\test.log [junit] Running org.jboss.ejb3.test.bmt.unit.BMTUnitTestCase [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 1.984 sec init: test: test-with-jvmargs: [delete] Deleting: C:\cvs\JBoss4.0\jboss-4.0.x\ejb3\output\log\test.log [junit] Running org.jboss.ejb3.test.regression.ejbthree249.unit.Dependencies UnitTestCase [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.641 sec init: test: test-with-jvmargs: [delete] Deleting: C:\cvs\JBoss4.0\jboss-4.0.x\ejb3\output\log\test.log [junit] Running org.jboss.ejb3.test.regression.ejbthree316.unit.StatefulUnit TestCase [junit] Before DOIT testStateful [junit] After DOIT testStateful [junit] After find testStateful [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 16.593 sec init: test: test-with-jvmargs: [delete] Deleting: C:\cvs\JBoss4.0\jboss-4.0.x\ejb3\output\log\test.log [junit] Running org.jboss.ejb3.test.regression.ejbthree231.unit.StatefulUnit TestCase [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 6.016 sec init: test: test-with-jvmargs: [delete] Deleting: C:\cvs\JBoss4.0\jboss-4.0.x\ejb3\output\log\test.log init: test: test-with-jvmargs: [junit] Running org.jboss.ejb3.test.interceptors2.unit.InterceptorsTestCase [junit] Tests run: 12, Failures: 0, Errors: 0, Time elapsed: 8.437 sec init: test: test-with-jvmargs: [delete] Deleting: C:\cvs\JBoss4.0\jboss-4.0.x\ejb3\output\log\test.log [junit] Running org.jboss.ejb3.test.interceptors.unit.RemoteUnitTestCase [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.453 sec > -----Original Message----- > From: Emmanuel Bernard [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 10, 2006 6:57 AM > To: Scott M Stark > Cc: Dev - JBossSeam; dev-ejb3; jboss-development@lists.sourceforge.net > Subject: Re: cglib still being seen as bytecode provider > > I've track down the leak > http://opensource.atlassian.com/projects/hibernate/browse/ANN-340 > > The new hibernate-annotations.jar (version 3.2.0.CR1) has > been updated in repository.jboss.com (CVS). > > I haven't found other dependecies to CGLIB, in HA and HEM, let me know > ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ JBoss-Development mailing list JBoss-Development@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-development