Configuration: WLDF Mail Notification for Runtime Mbean

Weblogic Diagnostics Framework can be used to analyze, collect, archive and access diagnostic data generated by a running server and the applications deployed within its containers. Here I have provided configuration for sending mail notification on the harversted data for the runtime Mbean which you want to monitor. 1. From

Continue reading »

Steps to use userconfig file and userkey file

Steps to use userconfig file and userkey file First create the user config file and the key file with the following method (Alternatively Weblogic Admin utility can be used to create the user config files). storeUserConfig(‘C:/bea922/user_projects/domains/config-file’,’C:/bea922/user_projects/domains/keyfile’) You can connect to the nodemanger using the userKeyFile and userConfigFile : nmConnect(userConfigFile=’C:/bea922/user_projects/domains/config-file’,userKeyFile=’C:/bea922/user_projects/domains/keyfile’, host=’10.10.71.79′,

Continue reading »

Registering Custom MBeans with Weblogic Server

Registering Custom Mbeans with Weblogic Server. Example.java package jmxMbeans; public class Example implements ExampleMBean { public void sayHello(String str) { System.out.println(“Hello ” + str + “‘!”); } } ExampleMbean.java package jmxMbeans; public interface ExampleMBean { void sayHello(String name); } Index.jsp <%@ page import=”javax.management.MBeanServer”%> <%@ page import=”javax.management.ObjectName”%> <%@ page import=”javax.naming.Context”%> <%@

Continue reading »

Plan.xml usage for Message Driven Bean

This post is an illustration of usage of plan.xml for overriding features of Message Driven Bean application dynamically. Administrators use deployment plans to easily change an application’s WebLogic Server configuration for a specific environment without modifying existing Java EE or WebLogic-specific deployment descriptors. Multiple deployment plans can be used to

Continue reading »

Configuring SQUID

Last night I had to replicate an issue which involved configuring SQUID on a Windows environment. I had to look for the installer, and then check out the configuration steps. I needed a very basic setup, just to proxy the Client requests to the Server. I found few very useful

Continue reading »

Configuring Kerberos with Weblogic Server

Details Domain Name: BEATEST.COMDomain Controller Name: BEAAD (This machine runs Active Directory)WL Server Machine Name: beaiis (This machine runs Weblogic server). For BEAAD:- Username : beauserPassword : For beaiis :- Username : beaiisPassword : Secure04 Steps on Domain Controller (BEAAD) 1) Create a User beawin in Active Directory. Go to

Continue reading »

Configuring Dynamic LDAP Groups with IPlanetAuthenticator on Weblogic Server

IPlanet LDAP Server implements dynamic ldap groups by having schema as objectclass = groupOfURLs. A groupOfURLS class can have multiple memberURL attributes, each one consisting of an LDAP URL that enumerates a set of objects in the directory. The members of the group would be the union of these sets.

Continue reading »

Configuring SAML 1.0 in a Clustered Weblogic Server

In this document, we will discuss the configurations required on the Weblogic Server 10.3 source site and destination site for SAML 1.0. Architecture On a single machine we have Apache Web server, IIS Web server and 2 Weblogic Server Domains. We have two servers on one domain hosting the source

Continue reading »

Configuring two way SSL between Client and Weblogic server with Apache proxying the request.

Configure Apache for SSL Create the certificates using openssl (present in apache_home\bin) using the below steps: openssl genrsa -des3 -out server.key 1024 openssl req -config ..\conf\openssl.cnf -new -key server.key -out localhost openssl x509 -req -days 730 -in localhost -signkey server.key -out server.crt Add the following in the httpd.conf file <IfModule

Continue reading »

Creating Users in Weblogic Server Embedded LDAP Programatically.

I have received many requests from Clients for code snippet to create users programmatically.Below is a sample code by which we can create users in the Embedded LDAP of Weblogic Server.Put simple, this program creates an MBean Server connection, traverses to the relevant Mbean and invokes the right method to

Continue reading »