I added the following to the head deployer. Once this can be passed in via the pm properties the system property set can be dropped.
/** * Overriden to set the hibernate.bytecode.provider from the * * @throws Exception */ protected void createService() throws Exception { URL propsUrl = this.getClass().getClassLoader().getResource("META-INF/persistence.prope rties"); DefaultProperties = new Properties(); DefaultProperties.load(propsUrl.openStream()); log.debug("Default persistence.properties: " + DefaultProperties); /* Current hack to establish the hibernate bytecode provider from the externalized persistence.properties */ String bcprovider = DefaultProperties.getProperty("hibernate.bytecode.provider", "javassist"); System.setProperty("hibernate.bytecode.provider", bcprovider); super.createService(); } ------------------------------------------------------- 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