Comments on: Fast Swap in WebLogic 10.3 (and JDeveloper 11g) – redeploy after compile in running application http://technology.amis.nl/2009/06/26/fast-swap-in-weblogic-103-and-jdeveloper-11g-redeploy-after-compile-in-running-application/ Friends of Oracle and Java Mon, 24 Nov 2014 11:49:17 +0000 hourly 1 http://wordpress.org/?v=4.0.1 By: Asmit http://technology.amis.nl/2009/06/26/fast-swap-in-weblogic-103-and-jdeveloper-11g-redeploy-after-compile-in-running-application/#comment-5801 Fri, 03 Jun 2011 17:00:37 +0000 http://technology.amis.nl/blog/?p=5665#comment-5801 Can someone please tel me if fastswap feature is possible on WLS in production mode?

]]>
By: lwpro2 http://technology.amis.nl/2009/06/26/fast-swap-in-weblogic-103-and-jdeveloper-11g-redeploy-after-compile-in-running-application/#comment-5800 Thu, 09 Dec 2010 07:33:30 +0000 http://technology.amis.nl/blog/?p=5665#comment-5800 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 http://technology.amis.nl/2009/06/26/fast-swap-in-weblogic-103-and-jdeveloper-11g-redeploy-after-compile-in-running-application/#comment-5799 Wed, 20 Jan 2010 09:48:31 +0000 http://technology.amis.nl/blog/?p=5665#comment-5799 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 http://technology.amis.nl/2009/06/26/fast-swap-in-weblogic-103-and-jdeveloper-11g-redeploy-after-compile-in-running-application/#comment-5798 Thu, 02 Jul 2009 20:58:09 +0000 http://technology.amis.nl/blog/?p=5665#comment-5798 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(WebAppModule.java:1620)
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:336)
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)
Truncated. see log file for complete stacktrace
java.io.IOException: well-known file is not secure
at sun.tools.attach.MacosxVirtualMachine.checkPermissions(Native Method)
at sun.tools.attach.MacosxVirtualMachine.(MacosxVirtualMachine.java:93)
at sun.tools.attach.MacosxAttachProvider.attachVirtualMachine(MacosxAttachProvider.java:47)
at com.sun.tools.attach.VirtualMachine.attach(VirtualMachine.java:237)
at com.bea.wls.redef.AttachUtils.findVirtualMachine(AttachUtils.java:125)
Truncated. see log file for complete stacktrace
>

]]>
By: George Maggessy http://technology.amis.nl/2009/06/26/fast-swap-in-weblogic-103-and-jdeveloper-11g-redeploy-after-compile-in-running-application/#comment-5797 Mon, 29 Jun 2009 16:45:34 +0000 http://technology.amis.nl/blog/?p=5665#comment-5797 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 http://technology.amis.nl/2009/06/26/fast-swap-in-weblogic-103-and-jdeveloper-11g-redeploy-after-compile-in-running-application/#comment-5796 Mon, 29 Jun 2009 02:13:34 +0000 http://technology.amis.nl/blog/?p=5665#comment-5796 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).

]]>