Tuesday, June 15, 2010

Override Weblogic config.xml values with weblogic.Server JVM property

Oracle® Fusion Middleware Command Reference for Oracle WebLogic Server
11g Release 1 (10.3.1)
weblogic.Server Command-Line Reference

When you use a startup option to override a configuration value, the server instance uses this value for the duration of its life cycle


For to override listen address stored in config.xml add in start script

This startup option overrides any listen address value specified in the config.xml file. The override applies to the current server instantiation; it does not modify the value in the config.xml file. Use the Administration Console or WLST to modify the config.xml file.

Wednesday, June 9, 2010

Eclipse Weblogic OEPE split and exploded deployment

Oracle Enterprise Pack for Eclipse 11gR1 (

allows split and exploded deployment directory structure.

For existing projects use linked files to create projects deployable through OEPE.

Forum: Enterprise Pack for Eclipse


Thursday, June 3, 2010

Encrypt Weblogic boot.properties using weblogic.security.Encrypt

# directory must be created for managed servers because it does not exist yet
mkdir -p ${DOMAIN_HOME}/servers/${SERVER_NAME}/security

echo "username=${ADMIN_USER}\npassword=\c" > ${DOMAIN_HOME}/servers/${SERVER_NAME}/security/boot.properties

${JAVA_HOME=}/bin/java -Dweblogic.RootDirectory=${DOMAIN_HOME} weblogic.security.Encrypt ${ADMIN_PASSWORD} >> ${DOMAIN_HOME}/servers/${SERVER_NAME}/security/boot.properties

weblogic.security.Encrypt documentation