April 2015
M T W T F S S
 12345
6789101112
13141516171819
20212223242526
27282930  

Categories

April 2015
M T W T F S S
 12345
6789101112
13141516171819
20212223242526
27282930  

Weblogic Monitoring Dashboard to monitor the resources

Monitoring dashboard is the new feature of latest weblogic server to view diagnostic data without doing additional setup.

This is the extension of the WLDF framework. The Monitoring Dashboard provides views and tools for graphically presenting diagnostic data about servers and applications running on them. The underlying functionality for generating, retrieving, and persisting diagnostic data […]

Changing the weblogic server admin console timeouts.

The console application can be find at the below location $WEBLOGIC_HOME\server\lib\consoleapp

Change the directory location to $WEBLOGIC_HOME/server/lib/consoleapp/webapp/WEB-INF and open the weblogic.xml in a text editor.

Look for a session param tag with the name as “invalidation-interval-secs” and “timeout-secs”

Default Values

<session-descriptor> <timeout-secs>3600</timeout-secs> <invalidation-interval-secs>60</invalidation-interval-secs> <cookie-name>ADMINCONSOLESESSION</cookie-name> <cookie-max-age-secs>-1</cookie-max-age-secs> <url-rewriting-enabled>false</url-rewriting-enabled> </session-descriptor>

Change the value for “invalidation-interval-secs” and “timeout-secs” as […]

Weblogic Managed server status struck in STARTING

We faced the issue while starting the weblogic managed server the status of the server struck in STARTING.

W could not able to find a valid error messages in the log files

Managed Server Log File:

<30-Oct-2013 11:13:29 o’clock GMT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>

No logs are getting printed after […]

Wildcard SSL HostnameVerifier in Weblogic Server

Before WLS release 10.3.5, weblogic servers’s hostname verification code did not supports the wildcard certificate by default we have to create a custom hostname verification code to handle this scenario but from WLS release 10.3.5, weblogic servers hostname verification code by default supports the wildcard certificates.

Wildcard SSL Certificates work the same way as a […]

Updating the Graceful Shutdown parameters through WLST script.

The script will help us to update the Graceful Shutdown parameter for the servers in the weblogic domain.

UpdateGracefulShutdownParameters.py

def conn():

try: adminURL=’t3://’+domainProps.get(‘domain1.AdminIP’)+’:’+domainProps.get(‘domain1.AdminPort’) adminUserName=’weblogic’ adminPassword=domainProps.get(“domain1.AdminPasswd”) connect(adminUserName, adminPassword, adminURL) except ConnectionException,e: print ‘Unable to find admin server…’ exit()

def updateGraceFulShutdownTimings(): edit() startEdit() print print ‘##############’ print ‘# Update Graceful Shutdown to 300 Seconds and […]

Configuring the DefaultFileStore for TLOGS through WLST script

The below script will help us to set the shared location to the tlogs for the weblogic servers in a domain.

import sys

print “@@@ Starting the script …”

from java.util import * from javax.management import * from java.io import FileInputStream

print “@@@ Starting the script …” global props #The directory of the domain configuration […]

Different approaches for connecting Weblogic Server to RAC database

Oracle Real Application Clusters (RAC) is a software component you can add to a high-availability solution that enables users on multiple machines to access a single database with increased performance. RAC comprises two or more Oracle database instances running on two or more clustered machines and accessing a shared storage device via cluster technology.

[…]

A timeout occurred while interacting with sever. Limited information is available – Weblogic

We were getting the error “A timeout occurred while interacting with Server. Limited information is available” while accessing the Server Page from the admin console in clustered weblogic environment and the health of the server is shown as empty but the state is shown as running. Login to the admin console and accessing the Server […]

Setting the JDBC Connection timeout properties through WLST

There are different timeout properties in JDBC connection, this post explain the approach to set some of the important timeout properties through WLST script.

Inactive Connection Timeout: The number of inactive seconds on a reserved connection before WebLogic Server reclaims the connection and releases it back into the connection pool. You can use the Inactive […]

Setting the XA Transaction timeout values for a datasource through WLST script

This post explain the approach to set some of the important timeout properties for XA datasources through WLST script.

Set XA Transaction Timeout: Enables WebLogic Server to set a transaction branch timeout based on the value for XaTransactionTimeout.

When enabled, the WebLogic Server Transaction Manager calls XAResource.setTransactionTimeout() before calling XAResource.start, and passes either the XA […]