The new WebLogic 12.1.2 no longer creates registry.xml in the WebLogic home directory. This file had been created by WebLogic since at least version 8. Even WebLogic 12.1.1 created registry.xml.
To fix the WebLogic 12.1.2 and IDEA 11 incompatibility, I add the file registry.xml to the WebLogic home directory. (The WebLogic home directory is the one that contains the directory wlsserver)
The contents of registry.xml
<?xml version="1.0" encoding="UTF-8"?>
<bea-product-information>
<host home="/Users/juttayaya/javadev/weblogic/wls12120" name="${env.HOST}">
<product format="1.0" name="WebLogic Platform">
<release level="12.1"
ServicePackLevel="2" PatchLevel="0"
Status="installed" BeaProgramGroup="BEA WebLogic Platform 12.1"
StartMenu="" InstallTime="@INSTALL_TIME@"
InstallDir="/Users/juttayaya/javadev/weblogic/wls12120/wlserver"
JavaHome="/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home"
JavaVersion="1.7.0" JavaVendor="@JAVA_VENDOR@">
<component name="WebLogic Server" version="12.1.2.0">
<component name="Server"/>
</component>
</release>
</product>
<java-installation Name="jdk170_45" JavaHome="@SUN_JAVA_HOME@"
JavaVersion="1.7.0" JavaVendor="Sun">
<dependent-product Name="WebLogic Platform" Version="12.1.2.0"/>
</java-installation>
</host>
</bea-product-information>
Hey Jirawat,
ReplyDeleteThanks a lot. This works also for IntelliJ 13.1.3