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.

Thursday, June 03, 2010

WebLogic silent install

It seems that I'm all into silent installs these days.
Trying to do a WebLogic installation in silent mode. Went to the documentation, as a few things have changed since the early BEA days.

So I found the sample file for the silent.xml .

Without big thinking I copied the sample like this:


<bea-installer>
<input-fields>
<data-value value="D:\Oracle\Middleware_Home" name="BEAHOME">
<data-value value="D:\Oracle\Middleware_Home\wlserver_10.3" name="WLS_INSTALL_DIR">
<data-value value="WebLogic Server/Core Application ServerWebLogic Server /Administration ConsoleWebLogic Server/Configuration Wizard and Upgrade FrameworkWebLogic Server/Web 2.0 HTTP Pub-Sub ServerWebLogic Server/WebLogic JDBC DriversWebLogic Server/Third Party JDBC DriversWebLogic Server /WebLogic Server ClientsWebLogic Server/WebLogic Web Server Plugins WebLogic Server/UDDI and Xquery SupportWebLogic Server/Server ExamplesOracle Coherence/Coherence Product Files" name="COMPONENT_PATHS">
<data-value value="yes" name="INSTALL_NODE_MANAGER_SERVICE">
<data-value value="5559" name="NODEMGR_PORT">
<data-value value="yes" name="INSTALL_SHORTCUT_IN_ALL_USERS_FOLDER">


</INPUT-FIELDS>
</BEA-INSTALLER>

only to find out that the installation terminated with the message:
The local BEA product registry is corrupted. Please select another Middleware Home or contact Oracle Support


As so often the solution was quite easy. The list of components ended up on different lines. This resulted in an incomplete description of components to install. So, just make sure that the list of components is on one line and the silent installation works like a charm.

Silent install is veeeeeery slow

Yesterday I did my first ever silent install. Nothing fancy yet. There are two possibilities:

a) Silent install is dead slow

or

b) There is something wrong with the machine or the storage

Bottom line is, it took me 1.5 hours to just install the database software.
I need to investigate this, as this is not what I had in mind.

Continuing now with the listener and the dbca in a silent manner.

Wednesday, June 02, 2010

Oracle software has become pretty big ...

... or Google Chrome has a problem with counting ;-)