Hello, Has anyone gotten the class HotSwap feature to work on JBoss using the IBM J9 VM? Using the Sun VM one can modify a class in memory when running in debug mode as long as you don't change the "shape" of the class. This works fine for me. IBM's J9 goes further and allows you to make changes that modify the shape of the class, like adding a new method. However, when I try to HotSwap a class with J9 I encounter the error stack below.
Getting this to work would be a tremendous productivity boon. I could keep the app redeployments to a minimum. There is a rejected bug entry (JBAS-2780) that points the finger to the VM. It may very well be. Still if you have found a workaround of any sort, please do share. My configuration: JBoss 4.0.3SP1 IBM JVM 1.5.0 Eclipse 3.1.0 Thanks, Marco 02:04:10,212 ERROR [AbstractDeploymentScanner$ScannerThread] Scanning failed; continuing java.lang.NullPointerException at java.lang.String.endsWith(String.java :494) at org.jboss.deployment.DeploymentSorter.getExtensionIndex (DeploymentSorter.java:84) at org.jboss.deployment.DeploymentSorter.compare(DeploymentSorter.java:72) at java.util.Arrays.mergeSort(Arrays.java:1299) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3927568#3927568 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3927568 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user