2013-11-24

WebLogic Server 12.1.2 and IntelliJ IDEA 11 not working

I performed a new install of WebLogic 12.1.2 on my Mac OSX. I could not get IntelliJ IDEA 11 to add it as a valid Application Server. The error I got was "Warning: Directory is not BEA home".

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>

3 comments:

  1. Kind presentation and engaging information help relatednewsnetwork stand apart from many websites. The platform feels modern, easy to browse, and highly informative. I appreciate the professionalism, creativity, and care reflected throughout every feature available.

    ReplyDelete
  2. Joyful browsing and engaging content make DailyDishNews truly enjoyable for regular readers. The website feels welcoming, professional, and informative. I appreciate the consistency, creativity, and effort reflected throughout every carefully designed section online.

    ReplyDelete
  3. Quick accessibility and thoughtful presentation help OrmeTech stand apart impressively. The website feels informative, modern, and user friendly. I appreciate the dedication, excellent organization, and commitment toward creating such a reliable platform.

    ReplyDelete