Oracle Weblogc config.sh

The config.sh script from Oracle weblogic to create a domain is not compatibel with a Java version > 1.6.0_27 if you like to use X-window. Also the config_builder.sh to create domains is incompatibel with the newest (current date 10-11-2011) Java version jdk1.7.0_01.

To fix this, you have to replace the JAVA_HOME var in following Weblogic files (if you installed with jdk1.7.0_01) with your oldie jdk :

  1. commEnv.sh in WL_HOME/common/bin
  2. .product.properties in WL_HOME

To make sure before you start the config tools do this:


export JAVA_HOME=/<path>/<your new jdk>
export PATH=$JAVA_HOME/bin:$PATH
[thomas@oel5505 bin]$ java -version
java version "1.6.0_21"
Java(TM) SE Runtime Environment (build 1.6.0_21-b51)
Java HotSpot(TM) Server VM (build 17.0-b17, mixed mode)
[thomas@oel5505 bin]$ ./config.sh

Advertisements
Leave a comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s

%d bloggers like this: