Thursday, February 6, 2014

Configure Boot Identity / boot.properties file for Weblogic Managed Server Start

On Fresh installation of Weblogic,While starting the managed Servers for the first time it will ask for the username / password.  To avoid entering username and password on every restart of WebLogic Managed Server, store the boot identity in boot.properties file. After storing username and password to this file, it will automatically pick the details from this file and start the managed server without prompting for username/password.

Below are steps to be completed to configure username/password in boot.properties file.

1.  Brows to Middleware/user_projects/domains/soa_domain/servers/soa_server1/security

2. edit boot.properties file

 Unix : vi boot.properties

3. Add following entries into boot.properties file & save the file.

username:weblogic
password:password1

4. Now Start the Managed Server using below command & it will not prompt for username/password.

./startManagedWebLogic.sh soa_server1 http://127.0.0.1:7001

5. Again browse to boot.properties file at
Middleware/user_projects/domains/soa_domain/servers/soa_server1/security. Now while looking at the content of boot.properites file you will find the username and password is automatically encrypted for security.

Note : if you do not find security folder to place this file. Just create the folder and paste the boot.properties file there.

 

Friday, November 29, 2013

Using / Running / Setting JDeveloper 11.1.1.6 to use 64 bit and 32 bit JVM / JDK

Tired of memory issues while working with JDeveloper because you are running on 32 bit JVM. Switch you JDeveloper to point to 64 bit JVM.This will allow you to use multi Gig memory usage while working with JDeveloper IDE.

Prerequisites: 64 bit Machine, 64 bit OS and 64 bit Jdk Installation. JAVA_HOME should be set to appropriate 64 bit jdk installation directory for example 

JAVA_HOME = C:\Program Files\Java\jdk1.6.0_23
So your JAVA_HOME=C:\Program Files\Java\jdk1.6.0_23

JDeveloper's Settings:

  1.  C:\Oracle\Middleware\jdeveloper\ide\bin\ide.conf
    • AddVMOption  -Xmx4192M
    • AddVMOption  -Xms512M 
Above setting will allows to user 4 GB of RAM.
 
 2. C:\Oracle\Middleware\jdeveloper\jdev\bin\jdev.conf
  • Point JDeveloper to use 64 bit Java Version
    •  SetJavaHome C:\Program Files\Java\jdk1.6.0_23
    • AddVMOption  -XX:MaxPermSize=1024M