martes, 28 de octubre de 2014

SOA Suite 12c Quick Start's JDeveloper (12.1.3) not showing SOA options

Since 12c, you can no longer install SOA Suite extensions to a vanilla JDeveloper. The JDeveloper with SOA Suite 12c support is installed as part of the SOA Suite Quick Start installation for developers (fmw_12.1.3.0.0_soaqs_Disk1_1of1.zip).

After install it, I ran JDeveloper (C:\oracle\Middleware\SOASuite12c_1\jdeveloper\jdeveloper.exe in my case) but I couldn't find options to create SOA applications (New ApplicationApplications didn't show "SOA Application", "Service Bus Application", etc.).

The cause of this problem is that I once had other (non-SOA Suite 12c) JDeveloper installation and by default, both use the same user dir. This is documented in the official documentation (2 Installing Oracle SOA Suite Quick Start for Developers, 2.4.1 Setting the JDEV_USER_DIR Variable) which I see I didn't read quite carefully.

In order to run SOA's JDeveloper correctly, you may want to create a .cmd (or .sh) file that sets the JDEV_USER_DIR variable to a unique location before running JDeveloper, for example:

set JDEV_USER_DIR=D:\etc\jdeveloper_soa_12c
c:\oracle\Middleware\SOASuite12c_1\jdeveloper\jdeveloper.exe

Now you can see the SOA options in JDeveloper.



P.S.: once, I ran JDeveloper again without setting the variable and got an error that said something like "some extensions cannot be found" offering to "Disable and continue" or Exit. This is one of the unpredictable errors that may happen if you don't use an exclusive user dir (I forgot to take an screenshoot and it hasn't happen to me again).


No hay comentarios: