Friday Sep 25, 2015

How to retrieve the current stack information from a WebLogic server continuously? By WLSDM


· Question:
User Mick O'Donnell posted this question 30776122 on stackoverflow portal, which is about getting stack dump or thread dump from WebLogic server.

Thanks to Brett Walker that he addressed WLSDM. Absolutely, he redirected to the right place.

Now, we're going to explain how it's easy to do this by using WLSDM which is aimed to monitor WebLogic domains naturally :)

Normally, it's easy to do by shell and WLST scripting; but getting thread dump continuously can be challenge and risky. It can create an overhead on your WebLogic domain.

Let's say you're familiar with WLSDM. It's really easy to install WLSDM and use it. If you're not introduced with WLSDM for WebLogic just follow this blog post on WLSDM community portal. WLSDM Intorduction

Step-1: Go to "Configuration / System" Page and focus on "system.metric" tab. There are two important properties on WLSDM configuartion/system page. Metric harvest frequency and number of alarm count till alarm situation is valid. Screenshot is below and values are default.

The harvest frequency and number of alarm count can be changed. For the continues thread dump, just set it more than 1. Let's set the value to 10. Which means 10 alarms would be generated if the situation is still valid.

Step-2: Go to "System / Metrics" page. For instance, find ActiveExecuteThread MBean record, then click on "Edit" button. There is Actions button for each servers on WebLogic domain (Screenshot Number-1). Click on actions button and select "Thread Dump" action (Screenshot Number-2) and save. Check below screenshot: Read the complete article here.

WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Forum Wiki

Wednesday Sep 23, 2015

Overview of WebLogic 12c RESTful Management Services By Maarten Smeets

clip_image002Inspired by a presentation given by Shukie Ganguly on the free Oracle Virtual Technology Summit in July (see here); “New APIs and Tools for Application Development in WebLogic 12c”, I decided to take a look at an interesting new feature in WebLogic Server 12c: the RESTful Management Services. You can see here how to enable them. In this post I will provide an overview of my short study on the topic.

RESTful management services consist of two sets of resources. tenant-monitoring resources and ‘wls’ resources. The first is more flexible in response format (JSON, XML, HTML) and more suitable for monitoring. With the latter you can for example update datasource properties and create entire servers. It however only supports JSON as return format. The ‘wls’ resources also provide links so you can automagically traverse the resource tree which is very useful. I’ve provided a Python script to do just that at the end of this post.


In the past I have already created all kinds of tools to do remote monitoring of WebLogic Server 11g. See for example for some code to monitor datasources and for the state of the SOA Infrastructure; and also for BPEL:

With the 12c RESTful Management Services this becomes a lot easier and does not require any custom code, which is of course a major improvement!

It is possible to let the RESTful Management Services return HTML, JSON or XML by using the Accept HTTP header (application/json or application/xml. HTML is the default). See here.

What can you monitor?

Available resources under http(s)://host:port/management/tenant-monitoring are (WLS 12.1.1):

  • servers
  • clusters
  • applications
  • datasources

You can also go to the level of an individual resource like for example datasources/datasourcename.

SOA Suite

The tenant-monitoring resources of the RESTful Management Services are not specific for SOA Suite. They do not allow you to obtain much information about the inner workings of applications like the SOA infrastructure application or the BPEL process manager. Thus my SOA infrastructure monitoring tool and BPEL process state monitoring tool could still be useful. You can potentially replace this functionality however with for example Jolokia. See below.

Monitoring a lot of resources

Because the Management Services allow monitoring of many resources, they would be ideal to use in a monitoring tool like Nagios. Mark Otting beat me to this however Read the complete article here.

WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Forum Wiki

Thursday Sep 26, 2013

Session Management using WebLogic12 by René van Wijk

In this post we take a look at WebLogic session management. We will take a look at Coherence*Web, and see how things have simplified in WebLogic 12.1.2 when compared to WebLogic 12.1.1. We use the Java 7 Flight Recorder to analyze some WebLogic diagnostics. To persist sessions we have the following options.

  • In-memory replication – node that Web applications which have persistent store type set to replicated or replicated_if_clustered will have to be targeted to the cluster or all the nodes of that cluster. If it is targeted to only some nodes in the cluster, the Web application will not be deployed. In-memory replication requires that Web applications be deployed homogeneously on all the nodes in a cluster.
  • JDBC-based persistence – WebLogic maintains the HTTP session state using file-based or JDBC-based persistence. Coherence*Web – a remark from the documentation: “
  • Coherence*Web is not a replacement for WebLogic Server’s in-memory HTTP state replication services. However, you should consider using Coherence*Web when an application has large HTTP session state objects, when running into memory constraints due to storing HTTP session object data, or if you want to reuse an existing Coherence cluster.” To configure a persitent type set the persistent Read the full article here.

WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Mix Forum Wiki

Monday Aug 05, 2013

Federal Agency for Information and Telecommunications Improves Performance and Availability of Critical Applications, Automates Upgrades and Patches

Oracle Customer: Bundesamt für Informatik und Telekommunikation BIT
Location:  Bern, Switzerland
Industry: Public Sector
Employees:  1,100
Annual Revenue:  $100 to $500 Million
Federal Agency for Information and Telecommunications, known as Bundesamt für Informatik und Telekommunikation (BIT), provides IT and telecommunications services to the Swiss federal administration. BIT seeks to streamline internal business processes, manage IT solution implementation, and offer support to ensure that government IT resources are used securely, cost-effectively, and efficiently. The organization provides services in four, strategic IT areas—consulting, solutions, infrastructure, and education—and it focuses on aligning its services to government needs as they evolve. BIT implements e-government and online applications, builds administrative computer centers to manage data scanning, office automation, e-mail, and printing, and it delivers IT training and seminars to ensure technology is used properly by government employees.

As the IT service provider for the Swiss states, BIT must operate efficiently and guarantee a low total cost of ownership (TCO) for its systems and IT infrastructure, as it receives tax payer funds. In addition, it must ensure high availability of all systems because it maintains many business-critical applications for the government and its citizens.

To address these challenges, BIT selected Oracle WebLogic Server Standard Edition and implemented an automated operating concept to deploy patches, upgrades, and new software versions, thereby reducing TCO for its infrastructure. Oracle WebLogic Server’s standards-based architecture enabled Oracle partner rudolph ag to efficiently develop the new tool for automating patches and upgrades.


  • Guarantee lean processes and a low IT TCO to optimize use of tax payer funds, while ensuring high performing, stable, and highly available IT systems for the Swiss government and its citizens
  • Manage hundreds of Java-based applications necessary for federal administration - such as applications that coordinate Swiss Customs or the Swiss population census - on approximately 1,200 public servers efficiently and inexpensively
  • Reduce the cost of Oracle WebLogic Server version upgrades and accelerate the process
  • Automate required administrative tasks in a complex application environment, which includes seven versions of Oracle WebLogic servers
  • Guarantee high availability and performance, as well as timely updates for business-critical applications - such as the electronic declaration system for Swiss Customs - which have to be available 24/7 for thousands of users
  • Minimize the time required for manual security updates to hundreds of servers, including large-scale, quarterly updates to Oracle WebLogic Server, which runs on hundreds of host servers

Solutions Oracle Product and Services

  • Oracle WebLogic Server, Standard Edition
  • Met Swiss government requirements for high performance and high availability of its business-critical applications with Oracle WebLogic Server
  • Achieved very low TCO through automated implementations and upgrades
  • Reduced the time required to deploy 150 applications across several hundred servers, from multiple days per server to 30 minutes per server, with the help of the new automated operating concept and tool developed by Oracle partner rudolph ag
  • Improved IT team productivity, enabling the seven staff members managing the systems, platforms, and applications running on Oracle WebLogic Server to spend time focusing on other priorities, such as special applications for Swiss federal agencies
  • Ensured, by dispersing customs’ applications across 35 servers, that all customs declarations for national and foreign transportation vehicles can be handled quickly at any given time to avoid unnecessary border delays
  • Upgraded the Swiss customs’ electronic declarations system to Oracle WebLogic Server using the new operating concept in record time, reducing the effort per server from three to five days down to less than 30 minutes
  • Reduced costs through significant time savings as a result of the accelerated implementation process for Oracle WebLogic Server
  • Decreased annual administrative effort for approximately 100 servers from 2,400 hours to 50 hours

Why Oracle BIT selected Oracle WebLogic Server for its reliability and broad functionality?

In addition, Oracle provides long-term continuity and professional support during the implementation process and beyond. Business-critical processes and sophisticated applications require modern, comprehensive IT solutions. Oracle WebLogic Server met the requirements perfectly, in terms of stability, availability, and performance.

Oracle Partner rudolph ag
Oracle partner rudolph ag applied its comprehensive knowledge and years of experience with Oracle WebLogic Server to BIT’s project. It planned, implemented, tested, and documented the new IT infrastructure concept at BIT. The project went live in June 2011. Since then, rudolph ag has provided 24 installation packages for various Oracle WebLogic Server versions and applied required patches Oracle partner rudolph ag provided BIT with extensive knowledge during its Oracle WebLogic Sever deployment, and delivered excellent service to the organization. Additionally, rudolph ag supports and understands the business interests and needs of BIT, ensuring that projects run as efficiently as possible.

Time to submit Your WebLogic and ADF reference request today.

For regular information become a member in the WebLogic Partner Community please visit: ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Mix Forum Wiki


« June 2016