Comments on: Fast Swap in WebLogic 10.3 (and JDeveloper 11g) – redeploy after compile in running application Friends of Oracle and Java Mon, 24 Nov 2014 11:49:17 +0000 hourly 1 By: Asmit Fri, 03 Jun 2011 17:00:37 +0000 Can someone please tel me if fastswap feature is possible on WLS in production mode?

By: lwpro2 Thu, 09 Dec 2010 07:33:30 +0000 some people call it hot swap. it’s not proprietary with WLS, nor jDeveloper. It’s actually a feature called JDPA, since java 1.4.
It helps a lot for developers.

By: Florin POP Wed, 20 Jan 2010 09:48:31 +0000 nice feature… to bad it doesn’t work :(
ps: it works in debug mode i must say… but this ain’t new

By: Kenton Ho Thu, 02 Jul 2009 20:58:09 +0000 I’m wondering whether anyone got this working on OSX 10.5.7 (JDK 1.6.0_13)?

Seems there’s an issue with the ClassRedefinerFactory:

<Failure occurred in the execution of deployment request with ID ‘1246569437213’ for task ‘0’. Error is: ‘weblogic.application.ModuleException: Cannot initailize ClassRedefinerFactory’
weblogic.application.ModuleException: Cannot initailize ClassRedefinerFactory
at weblogic.servlet.internal.WebAppModule.loadFastSwapClassloader(
at weblogic.servlet.internal.WebAppModule.prepare(
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(
at weblogic.application.internal.flow.DeploymentCallbackFlow$
Truncated. see log file for complete stacktrace well-known file is not secure
at Method)
at com.bea.wls.redef.AttachUtils.findVirtualMachine(
Truncated. see log file for complete stacktrace

By: George Maggessy Mon, 29 Jun 2009 16:45:34 +0000 I understand how nice this feature is, but I personally prefer to start my app in debug mode and make the changes I need in any class and/or jspx file. Once you manually recompile the class you see the changes on your app. The only limitation on debug mode, is that you have to restart your app when adding new bindings to your page.

By: Jean-Philippe Melanson Mon, 29 Jun 2009 02:13:34 +0000 This is a great feature when you have a huge app that take ages to redeploy!

Moreover, a colleague of mine found out you aren’t required to configure anything in 11g, you just have to “make” (Ctrl-Shft-9) the class again and sometimes it works (e.g. changing code inside a function), sometime it won’t (e.g. renaming a function).