Placing Server Start Parameters And Java Options For Optimum Weblogic Server Performance.

Java  option or server startup parameter can be use to collect statics, streamline and fine tune Weblogic application server performance issue. Here is the scenario: By default in Weblogic all services get initiated on server start that causes delay in JVM startup time.  Let’s suppose in your current environment you do not need EJB’s,

Continue reading »

SETTING UP NETWORK CHANNEL WEBLOGIC 12C

Setting Up Network channels Network channel is a Weblogic resource that can be configure to separate and load balance network traffic for critical applications to achieve faster performance. Incase of heavy traffic on application servers, one can configure network  channels to separate internal server communication from client user communication. Brief on my

Continue reading »

AUTO RESTARTING MANAGE SERVER IN FAILED STATE USING WEBLOGIC NODEMANAGER CRASH RECOVERY FEATURE IN WEBLOGIC 12C

The nodemanager crash recovery feature enable auto restart of manage server incase of JVM failure. The Only Requirement To Use This Feature: Nodemanager should be configure to start  manage server. won’t work This feature will not work if out of box manage server start script  “startManagedWebLogic.sh”  is being use to start manage server

Continue reading »

UPGRADING WEBLOGIC FROM 12.1.2.0 TO 12.2.1 IN DISTRIBUTED SETUP(WEBLOGIC 12c)

THIS IS THE LOOK OF MY CURRENT ENVIRONMENT BEFORE THE UPGRADE. ANOTHER LOOK OF MY ENVIRONMENT BEFORE UPGRADE. Admin server and server1 is running on host01 server2 is running on host02 Both servers are member of cluster1 Nodemanager is configure for both machines to start/stop manage servers LET’S START THE

Continue reading »

How to view active database connections in Tomcat

Configure remote JMX Connectivity for Tomcat by adding these JAVA OPTIONS -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=9999 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false 2.  Start jmxconsole and connect to the remote tomcat process. 3. Go to MBeans -> Datasource -> Application Name -> Your Datasource -> numActive

Continue reading »

Cannot create PoolableConnectionFactory (IO Error: Connection reset)

Issue while connecting to Database from JAVA program. Cannot create PoolableConnectionFactory (IO Error: Connection reset) This is sometimes an intermittent issue but it can be easily reproduced by reducing the randomness on the Server watch -n 1 cat /proc/sys/kernel/random/entropy_avail cat /dev/random > random_bits.bin Once the issue is consistently reproduced, we

Continue reading »

Security Vulnerability in your WebApplication (CVE 2017-9805)

Researchers have identified a major security flaw (CVE 2017-9805) in the Apache framework (Apache Struts REST Plugin) which could allow the hackers to inject malicious code to either steal critical customer data or cause service disruption of any server running an application built using the Struts framework and using the popular

Continue reading »

Eliminating Security Vulnerabilities at PORT 22

Issue : There are findings related to security at PORT 22 after Vulnerability Assessment and Penetration Testing (VAPT). The below are the vulnerabilities : 1. SSH Weak Algorithms Supported. 2. SSH Server CBC Mode Ciphers Enabled. 3. SSH Weak MAC Algorithms Enabled. 4. SSH Server CBC Mode Ciphers Enabled. Solution

Continue reading »

Configuring Strong Ciphers on Linux OS

Security Vulnerabilities at IP Environment Description: OS – Oracle V 6.6              Weblogic Version – 12.2.1.0 Application Server IP : 192.168.0.132        Port : 8001 Soon after Nessus scan security vulnerabilities are detected as below for the above mentioned IP and port. 1.

Continue reading »

Issue while creating datasource on Weblogic Server

In Weblogic Sometimes when you try add datasource to cluster group it fails with following error, which might be due to process limit on database side. WLS Console Error ============== Caused by: java.lang.Throwable: Substituted for the exception oracle.net.ns.NetException which lacks a String contructor, original message – Got minus one from

Continue reading »