Archive

Archive for the ‘weblogic’ Category

-Xrs parameter in JAVA_OPTIONS in Solaris

June 28, 2011 Leave a comment

On one of my web servers I use the “-Xrs” parameter in the JAVA_OPTIONS on a Solaris server.  This tells the JVM to ignore any system shutdown requests.  This prevents the JVM from shutting down in the event there is a system panic which may not otherwise cause a system crash.   See the JVM parameters page for Solaris for more details.

Advertisements
Categories: solaris 10, weblogic

Starting WebLogic managed server from command line

October 14, 2010 Leave a comment

This is any easy one, but I always forget the syntax and have to look in one of my scripts…

To start a WebLogic managed server from the command line, in the domain bin directory – on the physical server where the managed server resides – do:

nohup ./startManagedWebLogic.sh <managed_server_name> t3://<admin_server>:<admin_port> &

 

Categories: how do I?, solaris 10, weblogic

Default WebLogic KeyStore Password/PassPhrase

May 20, 2010 Leave a comment

WebLogic comes with default keystores for client and server security enabled.  However, I have found it problematic to find and remember the passwords/passphrases for the default keystores.

Property

Value

Trust store location

%ORACLE_HOME%/weblogic/wlserver_10.3/ server/lib/DemoTrust.jks

Trust store password

DemoTrustKeyStorePassPhrase

Key store location

%ORACLE_HOME%/weblogic/wlserver_10.3/ server/lib/DemoIdentity.jks

Key store password

DemoIdentityKeyStorePassPhrase

Private key password

DemoIdentityPassPhrase

Property

Value

Trust store location

%ORACLE_HOME%/weblogic/wlserver_10.3/ server/lib/DemoTrust.jks

Trust store password

DemoTrustKeyStorePassPhrase

Key store location

%ORACLE_HOME%/weblogic/wlserver_10.3/ server/lib/DemoIdentity.jks

Key store password

DemoIdentityKeyStorePassPhrase

Private key password

DemoIdentityPassPhrase

Reset the WebLogic admin password

February 25, 2009 Leave a comment

I have been configuring WebLogic domains (version 9.2) and came across the situation where I had made a mistake in entering the initial weblogic user password.  This was preventing me from starting up my weblogic instance, as I couldn’t get the password right.  To reset the password, do the following (courtesy of JavaRanch):

Change directory into your domain directory.

Create a new boot.properties file with the contents:

username=weblogic

password=weblogic

Run the reset command for the admin account (the period at the end is required… you may have to include the full path to the jvm and to to the weblogic.jar):

java -cp weblogic.jar weblogic.security.utils.AdminAccount weblogic weblogic .

Move the ldap directory to ldap.old (this directory is at <domain>/data/ldap)

Categories: how do I?, weblogic Tags: