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  

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 […]

Enabling the weblogic server to Backup/Archive the configurations(config directory) through WLST script

By enabling the backup/archiving, the administration Server can automatically backups the domain configuration (the entire domain-name/config directory) during the server boot to DOMAIN_HOME\config-original.jar and config-booted.jar. Also multiple versions of the domain config will be archived by the Administration Server, each time the domain configuration is modified into the DOMAIN_CONFIG\configArchive folder.The configuration archives can be used […]

Enabling/Disabling the Debug flags through WLST script – Weblogic

he Debugging flags will help us to enable/disable the debugging for different modules in weblogic. This can done in different ways.

JVM start arguments: Add the flags with -D to the server start up script -DDebugEjbCaching=true

Through Admin Console: Environment–>Servers–><<Server>>–>Debug Select the required flags and click on Enable/Disable.

 

 

WLST Script: EnableORDisableDFlags.py adminURL=’t3://localhost:8000′ […]

Invocation of https/SSL service is not working from OSB

We were trying to install the wildcard certificate to enable the communication from OSB to end system, but the following exception was displayed in the log file and also the communication to the end system is failing even though the certificate installation was successful;

<Jan 23, 2015 10:45:05 PM PST> <Notice> <Security> <localhost> <AdminServer> <[ACTIVE] […]