Posts

Showing posts from January, 2017

How To Improve WebLogic Server Start Up & Login Performance?

Image
==> You may be noticed that the WebLogic Server start up performance is considerably very poor due to linux server Entropy issue ==> There are so many situation like WebLogic Console hanging after entering credentials an clicking on Login button & Slow Server Start up etc. ==> Entropy is the measure of the random numbers available from /dev/urandom, and if you run out,you can’t make SSL connections. Step 1) Check the linux server Entropy using below command                         cat /proc/sys/kernel/random/entropy_avail              If the o/p is between 100 to 200 in that case problem exist              Example: Step 2) set the JAVA_OPTION " -Djava.security.egd=file:/dev/./urandom " in setDomainEnv.sh file Step 3) Restart the AdminServer  cd /oracle/Middleware/user_projects/domains/base_domain/bin ./stopWe...

SQLAuthenticator Provider Configuration Demo With Weblogic

Image
By default Users & Groups information's are managed using weblogic DefaultAuthenticator ie. Embedded LDAP. To manage application specific Users and Groups in efficient manner these information's will be stored in external LDAP like SQLAuthenticator, Active Directory, OID etc. Step 1) Create Data Source sqlds which will used for while configuring SQLAuthenticator Login to wls console ==> Click on Services ==> Click on Data Sources ==> Click on New ==>Click on Generic Data sources ==> Create  sqlds datasource Step 2) Create the following Tables "USERS", "GROUPS" and "GROUPMEMBERS" by running below sql queries CREATE TABLE USERS (     U_NAME VARCHAR(200) NOT NULL,     U_PASSWORD VARCHAR(50) NOT NULL,     U_DESCRIPTION VARCHAR(1000)); ALTER TABLE USERS    ADD CONSTRAINT PK_USERS    PRIMARY KEY (U_NAME);     CREATE TABLE GROUPS (     G_NAME VARCHA...

How To Troubleshoot JDBC Connectivity issue Between Weblogic and Database Using dbping Utility

Image
dbping is very useful utility for troubleshooting weblogic and database connectivity issue in comparison with telnet because telnet utility does not determines whether the database is up and running it only determines whether the listener is listening or not. Step 1) Login to the server in which weblogic domain is configured Step 2) Navigate to the $DOMAIN_HOME/bin directory cd /oracle/Middleware/user_projects/domains/base_domain/bin Step 3) Source the environment variable by using setDomainEnv.sh . ./setDomainEnv.sh Step 4) Run below command for checking database connectivity Syntax:  java utils.dbping DBMS [-d dynamicSections] user password DB Example:  java utils.dbping ORACLE_THIN dbtestuser welcomepasswd test1.abs.com:1521/xe For More Details Please Visit :  https://docs.oracle.com/cd/E13222_01/wls/docs81/admin_ref/utils11.html

How To Install Oracle XE Database 11g Release 2 on Cent OS Linux 7

Image
Step 1) Download the Oracle Database Express Edition 11g Release 2 http://www.oracle.com/technetwork/database/database-technologies/express-edition/downloads/index.html Step 2) Copy the file  oracle-xe-11.2.0-1.0.x86_64.rpm.zip to the remote machine using WinSCP Step 3) Unzip the file   oracle-xe-11.2.0-1.0.x86_64.rpm .zip   Step 4) Navigate to Disk1 directory Step 5) Execute below command with root user for installation      rpm -ivh oracle-xe-11.2.0-1.0.x86_64.rpm Step 6) Execute '/etc/init.d/oracle-xe configure' as the root user to configure the database Step 7) Login to oracle user and Export ORACLE_HOME & ORACLE_SID [oracle@test1 ~]$ cat /etc/oratab XE: /u01/app/oracle/product/11.2.0/xe :N [oracle@test1 ~]$ [oracle@test1 ~]$ ORACLE_HOME=/u01/app/oracle/product/11.2.0/xe [oracle@test1 ~]$ export ORACLE_HOME [oracle@test1 ~]$ export PATH=$ORACLE_HOME/bin:PATH [oracle@test1 ~]$ export ORACLE_SID=XE ...

JMS Example for Using WebLogic Queue

Image
Summary ======= Step 1) Start the AdminServer and NodeManager Step 2) Login to weblogic admin console and start the managed server JMSTestMS Step 3) Create persistence store Step 4) Create a JMS Server Step 5) Configuring JMS Module Step 6) Creating Connection Factory Step 7) Creating JMS Queue Step 8) Create java file  QueueSend.java Step 9) Create java file  QueueReceive.java Step 10) Compile both files  QueueSend.java  and  QueueReceive.java Step 11) Send messages using  QueueSend.java Step 12) Receive messages using  QueueReceive.java Step 1) Start the AdminServer and NodeManager using below commands cd /oracle/Middleware/user_projects/domains/prod_domain/bin nohup ./startWebLogic.sh & nohup ./startNodeManager.sh & Step 2) Login to weblogic admin console and start the managed server JMSTestMS Step 3) Create persistence store Click on Services ?Click on Persistent Stores ?Click on New ? Select “Crete File ...