What I mean is externalizing the org.jboss.hibernate.jmx.Hibernate call:
protected void createService() throws Exception
{
log.trace( "forcing bytecode provider -> javassist" );
// todo : really need a much better solution for this...
System.setProperty( Environment.BYTECODE_PROVIDER, "javassist"
);
}
So the har deployer is really the sar deployer now, where does this
Hibernate mbean fit in? If it does not then won't a har still need
cglib? If it does this is why I was looking for a META-INF/services
bootstrap mechanism.
> -----Original Message-----
> From: Steve Ebersole
> Sent: Wednesday, May 10, 2006 8:10 AM
> To: Scott M Stark; 'Emmanuel Bernard'
> Cc: Dev - JBossSeam; dev-ejb3;
> '[email protected]'
> Subject: RE: cglib still being seen as bytecode provider
>
> 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....
>
-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development