Tuesday, November 20, 2012

Article to learn technologies fast

http://www.tutorialspoint.com/index.htm

Tuesday, November 13, 2012

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 is provided by the WebLogic Diagnostics Framework. The Monitoring Dashboard provides additional tools for presenting that data in charts and graphs.

The Monitoring dashboard can be launched from the home page of the Web logic administration console or pointing to the direct URL.




Direct URL to access the Monitoring Dashboard - http://:/console/dashboard



The different resources like JMS, JVM, JDBC and Thread Pools can be monitored here.


The diagnostic data can be captured for a particular resource in a particular time by using the start and stop functionality.




The user also can create the custom views; Custom views are available only to the user who created them. Custom views are automatically persisted for the user and are in effect only for that user account and only in the current domain.




Refer the below URL for more details about dashboard

Dynamically changing log level with Weblogic, log4j, JMX and WLST

http://176.34.122.30/blog/2010/04/22/dynamically-changing-log-level-with-weblogic-log4j-jmx-and-wlst/

Soa Suite 11g - Starting Managed Servers with Auto Login


Searching for some way to start Weblogic Managed Servers easier, without the need to inform username and password manually, I found an Oracle Install Configuration document that describes how to do that:
  • At <DOMAIN_HOME>/servers/<MANAGED_SERVER_NAME>/security (create this folder, if it not exists), create a file with the name “boot.properties”
  • Inside this file, create two properties:
    • username=<Weblogic Admin Username>
    • password=<Weblogic Admin Password>
After that, just start the managed server as usually, with startManagedWeblogic script. The script will identify the Boot Identity File and the server will be started without asking for username and password.

This is a good way to allow developers to start and stop the managed servers without let him the credentials. The first time the managed server starts, data inside the file will be replaced by encrypted information.

WLST to change the property of a BPEL process



connect('userid','pwd','t3://host:port')
domainRuntime()
//Get the composite object in a variable
MbeanObject = ObjectName('Mbean')
params = ['endpointURI','http://test:11001']  
sign = ['java.lang.String','java.lang.String']
mbs.invoke(MbeanObject , 'setStringProperty', params, sign)
mbs.invoke(MbeanObject , "save", None, None)
disconnect()
exit()