One More Solution to “Integrated Weblogic domain was not built successfully” on Windows

If you search for this issue you will find all sorts of fixes that actually work. To summarize the two key ones:

  1. Exit JDeveloper, delete [JDEV_USER_HOME]\system11.1.1.9.40.66.73\DefaultDomain
  2. Make sure the path to [JDEV_USER_HOME] contains no spaces or dots

Another, newer “common” issue is solved by:

I’m running Windows 7, so the Jython fix was not for me, and the first two I have used successfully in the past, but they failed me today. Before giving up entirely and going to a pre-build VM fall-back position, I opened up [MIDDLEWARE_HOME]\Middleware11119\wlserver_10.3\common\bin\commEnv.cmd and found something funny (not “ha ha” funny but “&#%!@?!” funny). Instead of the JAVA_HOME path I provided during the JDeveloper Studio installation that is also reflected in the Help > About > Properties it has the path from System properties placed there by an Oracle 12c installation.

So I changed the JAVA_HOME in commEnv.cmd, deleted [JDEV_USER_HOME]\system11.1.1.9.40.66.73\DefaultDomain one more time and was off and running.

Facebooktwitterredditlinkedinmail
© Scott S. Nelson

Setting up an Eclipse Development Environment for WebCenter Sites

Most Java developers are familiar with Eclipse. While the Content Server Developer Tools (CSDT) does not work the same as other application-specific Eclipse plug-ins, it does provide the ability to perform custom development more easily with WebCenter Sites (a.k.a. Fatwire prior to the Oracle acquisition) than other options if you are comfortable in Eclipse.

Install the Jump Start Kit (JSK)

The first trick is finding the JSK. You must have an Oracle Support account to access it through normal channels. On the Oracle Support site, search for “webcenter sites JUMPSTARTKIT” in the Patch category.
Continue reading

Facebooktwitterredditlinkedinmail
© Scott S. Nelson

Linux, Firefox and WebCenter Sites, Oh No!

If you use WebCenter Sites on Linux with Firefox, you may have hit the nasty issue where the latest Firefox update disabled your tools. These are the steps I followed to get it working again:

  1. Locate your Mozilla installation plugins directory. In the example below, it is at /usr/lib64/mozilla/plugins
  2. Locate your Java home. In the example below it has been set as the system variable JAVA_HOME
  3. Go to the plugins directory and sudo as root
  4. Create a symlink to the Java plug in
  5. Important! Exit root before performing the next step or the plug-in will only be enabled for root.
  6. Run jcontrol and sites you need to run the plugin to the security exception list

Example commands:

[myusername@ol6vm]$ cd /usr/lib64/mozilla/plugins
[myusername@ol6vm plugins]$ sudo su
[sudo] password for myusername: 
[root@ol6vm plugins]# ln -fs $JAVA_HOME/jre/lib/amd64/libnpjp2.so libnpjp2.so
exit
[myusername@ol6vm plugins]$ $JAVA_HOME /jre/bin/jcontrol
Facebooktwitterredditlinkedinmail
© Scott S. Nelson

Creating the WebCenter Sites User Account on Oracle XE

The documentation uses OEM to do this, something that Oracle XE does not have. Has a non-DBA, I find installing Oracle EE tedious. Thanks to waslleysouza.com.br, I was able to find the right script to execute with XE. For the DB-disabled like myself, here are the full steps to do this on a Linux host:

  1. login to linux as a member of the dba group or sudo as same
  2. # echo $ORACLE_SID
  3. # echo $ORACLE_HOME

if either is blank:

# set ORACLE_SID=XE (or your service id)
# set ORACLE_HOME= (Eg: C:oraclexeapporacleproduct10.2.0server)
  1. #locate sqlplus
  2. run [RESULT FOUND PATH]sqlplus / as sysdba

i.e.,
# /u01/app/oracle/product/11.2.0/xe/bin/sqlplus / as sysdba

  1. execute the following (replace values inside [brackets]):
CREATE USER [csuser] IDENTIFIED BY [password] DEFAULT TABLESPACE users TEMPORARY TABLESPACE temp;
GRANT CREATE session, CREATE table, CREATE view TO [csuser];
GRANT UNLIMITED TABLESPACE TO [csuser]; 
COMMIT;
Facebooktwitterredditlinkedinmail
© Scott S. Nelson

Speeding Up JDeveloper 11gR1 on Windows

Here’s a tip sent to me by Songpol Siengvisuth:

By default JDeveloper was installed with Oracle Look and Feel and while it looks nice, a customized Look and Feel like that actually consumes more memory hence worse performance. We can switch to use a simpler Look and Feel like Windows Default by following these Steps:

  1. In JDeveloper, Go to Tools > Preferences
  2. Select “Environment” and Look for “Look and Feel” dropdown, you will find “Oracle” is selected
  3. Change to “Windows” and Click OK
  4. Restart JDeveloper to active the new Look and Feel
JDeveloper Prefrences
JDeveloper Prefrences

After the restart you will find JDeveloper look much plainer but the improved performance is noticeable.

Facebooktwitterredditlinkedinmail
© Scott S. Nelson