Wednesday, September 7, 2011

JDeveloper 11.1.2/WLS 10.3.5 hot deployment issue [solved]

Status: Solved

Applies to: JDeveloper 11.1.2 / WLS 10.3.5, Windows XP

Problem Description

Having activated the WebLogic Fast Swap Option


a strange Exception comes up in the Log-Window for the integrated WebLogic Server output. Illegal character in opaque part at index 16: zip:C:/Dokumente und Einstellungen/ak/Anwendungsdaten/JDeveloper/system11.!/oracle/adfinternal/view/faces/renderkit/rich/PageTemplateRenderer.class
at com.bea.wls.redef.RedefiningClassLoader.findClass(
at java.lang.ClassLoader.loadClass(
at java.lang.ClassLoader.loadClass(

Issue Analysis

It turns out that the Exception occures because the (by default) created WebLogic domain is located at a directory which contains spaces, e.g. C:/Dokumente und Einstellungen/<user>/Anwendungsdaten/JDeveloper/system11.


Move your JDev User Dir to a location without space in directory names! This can be done as follows

1. systemwide (for all your JDev installations)


2. or finegrained (for specific JDev installation)

$MW_HOME\jdeveloper\jdeveloper.exe -J-Dide.user.dir=c:\ak\JDeveloper

(this will not effect other jdeveloper installations on your machine.)

If you now start Jdeveloper a new jdev user dir will be created.


Note: If you want to keep your prefs, etc. copy the system11. from old location to the new one and delete the wls default domain

system11.\DefaultDomain directory. (This is needed, because many scripts in DefaultDomain are generated at time of domain creation and so may contain absolute paths! So in order not to get stuck with those issues just delete the DefaultDomain directory. it will be created next time you start wls from jdeveloper)


After moving the jdev user dir you will see in the wls log window

[05:26:06 PM] Updated /C:/ak/JDeveloper/system11.<app>/<app>WebApp.war/WEB-INF/classes

(after Rebuild of your ViewController project).

Happy fast swapping! It is a real timesaver now!

Further reading

Section 36.4, "Reloading Oracle ADF Metadata in Integrated WebLogic Server." of fusion developmen guide