Friday, June 04, 2010

Modifying database.properties for WebLogic Portal

When using the Oracle Database for the storage of WebLogic Portal settings you need to modify the database.properties and run the create_db.sh script.

In the database.properties the example uses the Pointbase, so the values in the Oacle section are filled with placeholders.

When replacing the jdbc string be carefull not to remove all @ signs.

The original value is:

oracle.url=jdbc:oracle:thin:@@DB_HOST@:@DB_PORT@:@DB_NAME@

The fisrt @ after the 'thin:@' needs to remain there.

Otherwise you will get a sql exception when you run the create_db.sh script.

No comments: