X

Proactive insights, news and tips from Oracle WebLogic Server Support. Learn Oracle from Oracle.

WebLogic Server JTA in a Kubernetes Environment

This blog post describes WebLogic Server global transactions running in a Kubernetes environment.  First, we’ll review how the WebLogic Server Transaction Manager (TM) processes distributed transactions.  Then, we’ll walk through an example transactional application that is deployed to WebLogic Server domains running in a Kubernetes cluster with the WebLogic Kubernetes Operator.    WebLogic Server Transaction Manager Introduction The WebLogic Server Transaction Manager (TM) is...

Thursday, June 28, 2018 | Technical | Read More

Announcing WebLogic Server Certification on Oracle Cloud Infrastructure Container Engine for Kubernetes

On May 7th we announced the General Availability (GA) version of the WebLogic Server Kubernetes Operator, including certification of WebLogic Server and Operator configurations running on the Oracle Cloud Infrastructure (OCI).   In this initial announcement, WebLogic Server and Operator OCI certification was provided on Kubernetes clusters created on OCI using the Terraform Kubernetes Installer.    For more details on this announcement, please refer to the announcement blog An...

Thursday, May 31, 2018 | Announcement | Read More

How to run WebLogic clusters on the Oracle Cloud Infrastructure Container Engine for Kubernetes

There are various options for setting up a Kubernetes environment in order to run WebLogic clusters. Oracle supports customers who want to run WebLogic clusters in production or development mode and on Kubernetes clusters on-premises or in the cloud. In this blog, we describe the steps to run a WebLogic cluster using the Oracle Cloud Infrastructure (OCI) Container Engine for Kubernetes. The Kubernetes managed service is fully integrated with the underlying Oracle Cloud...

Thursday, May 31, 2018 | The WebLogic Server | Read More

Announcing General Availability version of the WebLogic Server Kubernetes Operator

We are very pleased to announce the release of our General Availability (GA) version of the WebLogic Server Kubernetes Operator.  The Operator, first released in February as a Technology Preview version, simplifies the creation and management of WebLogic Server 12.2.1.3 domains on Kubernetes.  The GA operator supports additional WebLogic features, and is certified and supported for use in development and production.  Certification includes support for the Operator and...

Monday, May 7, 2018 | Announcement | Read More

WebLogic Dynamic Clusters on Kubernetes

Overview A WebLogic Server cluster consists of multiple Managed Server instances running simultaneously and working together to provide increased scalability and reliability.  WebLogic Server supports two types of clustering configurations, configured and dynamic clustering.  Configured clusters are created by manually configuring each individual Managed Server instance.  In dynamic clusters, the Managed Server configurations are generated from a single, shared template.  ...

Monday, May 7, 2018 | Technical | Read More

Using Prometheus to Automatically Scale WebLogic Clusters on Kubernetes

Elasticity (scaling up or scaling down) of a WebLogic Server cluster provides the benefits of being able to manage resources based on demand and enhances the reliability of customer applications while managing resource costs. There are different ways to trigger the automatic scaling of WebLogic Server clusters in a Kubernetes environment. The architecture of the WebLogic Server Elasticity component as well as a detailed explanation of how to scale up a WebLogic cluster using...

Friday, April 13, 2018 | Read More

Ensuring high level of performance with WebLogic JDBC

Written by Joseph Weinstein.   In this post, you will find some common best practices aimed at ensuring high levels of performance with WebLogic JDBC.   Use WebLogic DataSources for connection pooling of JDBC connections Making a real DBMS connection is expensive and slow, so you should use our datasources to retain and re-use connections. The ideal mode for using pooled connections is to use them as quickly and briefly as possible, getting them just when needed, and closing them...

Monday, February 26, 2018 | Add category | Read More

Processing the Oracle WebLogic Server Kubernetes Operator Logs using Elastic Stack

  Oracle has been working with the WebLogic community to find ways to make it as easy as possible for organizations using WebLogic Server to run important workloads and to move those workloads into the cloud. One aspect of that effort is the delivery of the Oracle WebLogic Server Kubernetes Operator. In this article we will demonstrate a key feature that assists with the management of WebLogic domains in a Kubernetes environment: the ability to publish and analyze logs from...

Wednesday, February 21, 2018 | Read More

Announcing the New WebLogic Server Kubernetes Operator

We are pleased to announce the release and open sourcing of the Technology Preview version of the Oracle WebLogic Server Kubernetes Operator! We are releasing this Operator to GitHub for creating and managing a WebLogic Server 12.2.1.3 domain on Kubernetes. We are also publishing a blog that describes in detail how to run the Operator, how to stand up one or more WebLogic domains in Kubernetes, how to scale up or down  a WebLogic cluster manually or automatically using the...

Tuesday, February 6, 2018 | Announcement | Read More

T3 RMI Communication for WebLogic Server Running on Kubernetes

Overview Oracle WebLogic Server supports Java EE and includes several vendor-specific enhancements. It has two RMI implementations and, beyond the standard Java EE-based IIOP RMI, WebLogic Server has a proprietary RMI protocol called T3. This blog describes the configuration aspects of generic RMI that also apply to T3, and also some T3-specific aspects for running WebLogic RMI on Kubernetes. Background T3 RMI is a proprietary WebLogic Server high performance RMI protocol and is...

Thursday, February 1, 2018 | Read More

WebLogic Server Certification on Kubernetes

We are pleased to announce the certification of Oracle WebLogic Server on Kubernetes! As part of this certification, we are releasing a sample on GitHub to create an Oracle WebLogic Server 12.2.1.3 domain image running on Kubernetes. We are also publishing a series of blogs that describe in detail the WebLogic Server configuration and feature support as well as best practices.  A video of a WebLogic Server domain running in Kubernetes can be seen at WebLogic Server...

Tuesday, January 16, 2018 | Messaging | Read More

Run Standalone WebLogic JMS Clients on Kubernetes

Overview JMS applications are applications that use JMS services to send and receive messages. There are two main types of WebLogic JMS applications: server-side JMS applications and standalone JMS clients. Server-side applications are applications that are running on WebLogic servers or clusters and they are usually Java EE applications like MDBs, servlets and so on. Standalone JMS clients can be applications running on a foreign EE server, desktop applications, or...

Thursday, December 21, 2017 | Read More

Patching WebLogic Server in a Kubernetes Environment

Of course, one of the most important tasks in providing optimal performance and security of any software system is to make sure that the latest software updates are installed, tested, and rolled out promptly and efficiently with minimal disruption to system availability.  Oracle provides different types of patches for WebLogic Server, such as Patch Set Updates, Security Patch Updates, and One-Off patches.  The patches you install, and the way in which you install them,...

Monday, December 18, 2017 | Read More

Best Practices for Application Deployment on WebLogic Server Running on Kubernetes

Overview WebLogic Server and Kubernetes each provide a rich set of features to support application deployment. As part of the process of certifying WebLogic Server on Kubernetes, we have identified a set of best practices for deploying Java EE applications on WebLogic Server instances that run in Kubernetes and Docker environments. This blog describes those best practices. They include the general recommendations described in Deploying Applications to Oracle WebLogic Server,...

Tuesday, December 12, 2017 | Read More

WebLogic Server on Kubernetes Data Volume Usage

As part of certifying WebLogic Server on Kubernetes, we have identified best practices for sharing file data among WebLogic Server pods that are running in a Kubernetes environment. In this blog, I review the WebLogic Server services and files that are typically configured to leverage shared storage, and I provide full end-to-end samples, which you can download and run, that show mounting shared storage for a WebLogic domain that is orchestrated by Kubernetes. WebLogic Server...

Monday, December 11, 2017 | Read More

Exporting Metrics from WebLogic Server

As it runs, WebLogic Server generates a rich set of metrics and runtime state information. Several thousand individual metrics are available to capture performance data, such as invocation counts, session activity, work manager threads, and so forth. These metrics are very useful for tracking activity, diagnosing problems, and ensuring sufficient resources are available. Exposed through both JMX and web services, these metrics are supported by Oracle administration tools,...

Monday, December 4, 2017 | Read More

Announcing the New WebLogic Monitoring Exporter 

Very soon we will be announcing certification of WebLogic Server on Kubernetes.  To give our users the best possible experience when running WebLogic domains in Docker/Kubernetes environments, we have developed the WebLogic Monitoring Exporter.  This new tool exposes WebLogic Server metrics that can be read and collected by monitoring tools such as Prometheus, and displayed in Grafana. We are also making the WebLogic Monitoring Exporter tool available in open source here, whic...

Monday, December 4, 2017 | Announcement | Read More

Run a WebLogic JMS Sample on Kubernetes

Overview This blog is a step-by-step guide to configuring and running a sample WebLogic JMS application in a Kubernetes cluster. First we explain how to create a WebLogic domain that has an Administration Server, and a WebLogic cluster. Next we add WebLogic JMS resources and a data source, deploy an application, and finally run the application. This application is based on a sample application named 'Classic API - Using Distributed Destination' that is included in the...

Wednesday, November 29, 2017 | Read More

Using Prometheus and Grafana to Monitor WebLogic Server on Kubernetes

As part of certifying Weblogic Server on Kubernetes, the WebLogic team has created a sample that demonstrates orchestrating a WebLogic Server cluster in a Kubernetes environment. This sample includes the WebLogic Monitoring Exporter, which was implemented to scrape runtime metrics for specific WebLogic Server instances and feed them to the Prometheus and Grafana tools. The Weblogic Monitoring Exporter is a web application that you can deploy on a WebLogic Server instance that...

Wednesday, November 15, 2017 | Technical | Read More

How to... WebLogic Server on Kubernetes

The WebLogic Server team is working on certifying WebLogic domains being orchestrated in Kubernetes.  As part of this work we are releasing a series of blogs that answer questions our users might have, and describe best practices for running WebLogic Server on Kubernetes. These blogs cover topics such as security best practices, monitoring, logging, messaging, transactions, scaling clusters, externalizing state in volumes, patching, updating applications, and much more.  Our...

Tuesday, November 14, 2017 | Technical | Read More

Migrating from Multi Data Source to Active GridLink - Take 2

In the original blog article on this topic at this link, I proposed that you delete the multi data source (MDS) and create a replacement Active GridLink (AGL) data source.  In the real world, the multi data source is likely referenced by another objects like a JDBC store and deleting the MDS will create an invalid configuration.  Further, those objects using connections from the MDS will fail during and after this re-configuration.  That implies that for this type of...

Saturday, November 11, 2017 | The WebLogic Server | Read More

Docker Volumes in WebLogic

Background Information In the Docker world, containers are ephemeral; they can be destroyed and replaced. After a container is destroyed, it is gone and all the changes made to the container are gone. If you want to persist data which is independent of the container's lifecycle, you need to use volumes. Volumes are directories that exist outside of the container file system. Docker Data Volume Introduction This blog provides a generic introduction to Docker data volumes and...

Monday, October 30, 2017 | Read More

WebLogic Server in Eclipse IDE for Java EE Developers

This article describes how to integrate WebLogic Server in the latest supported version of Eclipse IDE for Java EE Developers. You need to start by getting all of the pieces - Java SE Development Kit, WebLogic Server, and Eclipse IDE. Go to http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.htmlto download Java SE Development kit (neither WLS nor Eclipse come with it).  Accept the license agreement, download the binary file, and install it on your...

Friday, October 27, 2017 | The WebLogic Server | Read More

Automatic Scaling of WebLogic Clusters on Kubernetes

Elasticity (scaling up or scaling down) of a WebLogic Server cluster provides increased reliability of customer applications as well as optimization of resource usage.  Elasticity was introduced in WebLogic Server 12.2.1 and was built on the concepts of the elastic services framework and dynamic clusters:     Elasticity in WebLogic Server is achieved by either:   ·      Manually adding or removing a running server instance in a dynamic WebLogic Server cluster using the WebLogic...

Thursday, October 26, 2017 | Technical | Read More

Let WebLogic work with Elastic Stack in Kubernetes

Over the past decade, there has been a big change in application development, distribution, and deployment. More and more popular tools have become available to meet the requirements. Some of the tools that you may want to use are provided in the Elastic Stack. In this article, we'll show you how to integrate them with WebLogic Server in Kubernetes. Note: You can find the code for this article at https://github.com/xiumliang/Weblogic-ELK. What Is the Elastic Stack? The Elastic...

Monday, October 16, 2017 | Read More

WebLogic on Kubernetes, Try It!

The WebLogic team is certifying WebLogic domains being orchestrated in Kubernetes.  As part of this work, we have created a sample which deploys a WebLogic domain/cluster in a Kubernetes environment and scales/shrinks the cluster through both Kubernetes and WebLogic. WebLogic Server offers a rich feature set to monitor and diagnose servers, applications and resources.  In this sample, we expose those metrics through Prometheus and display them in Grafana.  We have written a...

Friday, October 13, 2017 | Technical | Read More

WebLogic Server and Java SE 9

The latest WebLogic Server release 12.2.1.3.0 is now available as of August 30, 2017 and you can download it at http://www.oracle.com/technetwork/middleware/fusion-middleware/downloads/index.html .  See https://blogs.oracle.com/weblogicserver/weblogic-server-12213-is-available for more information on the new release.  Java SE 9 became available on September 21, 2017 and it’s available at www.oracle.com/javadownload.  Details about the features included in this release can...

Tuesday, October 10, 2017 | Technical | Read More

Customize your ZDT Patching Workflows Using “Hooks”

In the 12.2.1.3.0 release of WebLogic Server, ZDT Patching offers a cool new feature that allows you to extend the logic of your existing patching workflows by adding user-defined scripts that can be “hooked” at predefined locations (known as extension points). These user-defined scripts, known as extensions, are executed in conjunction with the workflow. With the custom hooks feature, you can have your workflow perform any additional task that is specific to a business need...

Tuesday, October 3, 2017 | Support | Read More

Security Best Practices for WebLogic Server Running in Docker and Kubernetes

Overview The WebLogic Server (WLS) team is investing in new integration capabilities for running WLS in Kubernetes and Docker cloud environments. As part of this effort, we have identified best practices for securing Docker and Kubernetes environments when running WebLogic Server. These best practices are in addition to the general WebLogic Server recommendations found in the Oracle® Fusion Middleware Securing a Production Environment for Oracle WebLogic Server 12c documentation...

Thursday, September 28, 2017 | The WebLogic Server | Read More

How to Use Java EL to Write WLDF Policy Expressions

WLDF provides specialized functions, called Smart Rules that encapsulate complex logic for looking at metric trends in servers and clusters over a recent time interval. If these prove insufficient, you have the option to write policy expressions directly using the beans and functions provided by WLDF and Java Expression Language (Java EL). Java EL is the recommended language for creating policy expressions in Oracle WebLogic Server 12c. Java EL has many powerful capabilities...

Tuesday, September 19, 2017 | The WebLogic Server | Read More

WebLogic Server 12.2.1.3 is Available

We are pleased to announce that Oracle WebLogic Server 12.2.1.3.0 is now available for download on the Oracle Technology Network (OTN), and will be available on Oracle Software Delivery Cloud (OSDC) soon.  WebLogic Server 12.2.1.3.0 is also referred as Patch Set 3 (PS3) for WebLogic Server 12.2.1.0.0, originally released in October 2015, and is being delivered as part of the overall Oracle Fusion Middleware 12.2.1.3.0 release.   WebLogic Server 12.2.1 Patch Sets include...

Wednesday, August 30, 2017 | Read More

WebLogic Server and Opening Up Java EE

Oracle has just announced that it is exploring moving Java Enterprise Edition (Java EE) technologies to an open source foundation, following the delivery of Java EE 8.  The intention is to adopt more agile processes, implement more flexible licensing, and change the governance process to better respond to changing industry and technology demands.   We will keep you updated on developments in this area.  WebLogic Server users may be wondering what this announcement may mean for...

Thursday, August 17, 2017 | The WebLogic Server | Read More

Using REST to Create an AGL Data Source

A recent question was raised by a customer on how to create an Active GridLink (AGL) data source using the RESTFUL API's in WebLogic Server (WLS).  First, you can't do it with the API's provided in WLS release 12.1.3.  New API's were provided starting in WLS 12.2.1 that provide much more complete functionality.  These API's  mirror the MBeans and are more like using WLST. The following shell script creates an Active GridLink data source using minimal parameters.  You can add...

Tuesday, July 18, 2017 | The WebLogic Server | Read More

Oracle Database 12.2 Feature Support with WebLogic Server

It's finally available - you can download the Oracle 12.2 database!  Integration of WebLogic Server (WLS) with Oracle 12.2 has been in progress for two years. This article provides information on how Oracle 12.2 database features are supported in WebLogic Server releases. Using Older Drivers with the 12.2 Database Server The simplest integration of WebLogic Server with a 12.2 database is to use the Oracle driver jar files included in your WebLogic Server installation. There are...

Friday, March 24, 2017 | The WebLogic Server | Read More

The Oracle Container Registry has gone live!

We are pleased to announce that the Oracle Container Registry is now available. The Container Registry is designed to provide simple access to Oracle products for use in Docker containers.                                          The Oracle WebLogic Server 12.2.1.1 and 12.2.1.2 images are now available on the Oracle Container Registry. Currently, access to the Oracle Container Registry is limited to customers in the United States, United Kingdom and Australia. How do I login...

Tuesday, January 31, 2017 | Add category | Read More

Configuring Datasource Fatal Error Codes

There are well known error codes on JDBC operations that can always be interpreted as the database shutting down, already down, or a configuration problem.  In this case, we don’t want to keep the connection around because we know that subsequent operations will fail and they might hang or take a long time to complete. These error codes can be configured in the datasource configuration using the "fatal-error-codes"value on the Connection Pool Parameters. The value is a...

Monday, December 12, 2016 | Add category | Read More

AGL Datasource Support for URL with @alias or @LDAP

The Oracle driver has the ability to have an @alias string in the connection string URL so that the information like the host, port, and service name can be in an external tnsnames.ora file that is shared across many datasources. My perception is that this has grown in popularity in recent years to make management of the connection information easier (one place per computer).  In an effort to centralize the information further, it's possible to use an @LDAP format in the URL...

Tuesday, November 8, 2016 | Add category | Read More

WebLogic Server 12.2.1.2 Datasource Gradual Draining

In October 2014, we delivered Oracle WebLogic Server 12.2.1 as part of the overall Oracle Fusion Middleware 12.2.1 Release and October 2015 we delivered the first patch set release 12.2.1.1. This week, the second patch set 12.2.1.2 is available.   New WebLogic Server 12.2.1.2 installers are now posted on the Oracle Technology Network and Oracle Software Delivery Cloud, and new documentation has been made available. There are a couple of newdatasource features hidden there....

Friday, October 21, 2016 | Add category | Read More

Uploading AppToCloud Export Files to Oracle Storage Cloud Service

Before you can provision a new JCS instance using AppToCloud, the files that are generated from the on-premise healtcheck and export operations need to be uploaded to a container on the Oracle Storage Cloud.  There are several options available to perform this task.   Using a2c-export options Probably the simplest option is to perform the upload task as part of the operation of the a2c-export utility.   The a2c-export utility provides a mechanism to automatically upload the...

Wednesday, September 7, 2016 | Technical | Read More

Using AppToCloud to Migrate an On-Premise Domain to the Oracle Cloud

Part One - On-Premise Migration   Moving your WebLogic Server domains to the Oracle Cloud just got a whole shebang easier (#!)   With the introduction of the AppToCloud Tooling in Oracle Java Cloud Service 16.3.5 you can now simply and easily migrate a configured on-premise domain to  an equivalent Java Cloud Service instance in the Oracle Cloud, complete with the same set of configured settings, resources and deployed applications.   A key component of the AppToCloud...

Thursday, September 1, 2016 | Technical | Read More

Introducing AppToCloud

> Typical Workflow for Migrating Applications to Oracle Java Cloud Service   Oracle’s AppToCloud infrastructure enables you to quickly migrate existing Java applications and their supporting Oracle WebLogic Server resources to Oracle Java Cloud Service. The process consists of several tasks that fall into two main categories, On-Premises and Cloud:   On-Premises   The on-premises tasks involve generating an archive of your existing Oracle WebLogic Server environment and...

Wednesday, August 31, 2016 | Technical | Read More

WebLogic Server 12.2.1.1.0 - Domain to Partition Conversion Tool (DPCT) Updates

WebLogic Server 12.2.1.1.0 - Domain to Partition Conversion Tool (DPCT) Updates The Domain to Partition Conversion Tool (DPCT) provides assistance with the process of migrating an existing domain from WebLogic Server releases 10.3.6, 12.1.2, 12.1.3 or 12.2.1 domain to a partition in a WebLogic Server 12.2.1 domain. The DPCT process consists of two independent but related operations: The first operation involves inspecting an existing domain and exporting into an archive that...

Friday, July 15, 2016 | Add category | Read More

Connection Initialization Callback on WLS Datasource

WebLogic Server 12.2.1.1 is now available. You can see the blog article announcing it at Oracle WebLogic Server 12.2.1.1 is Now Available. One of the WLS datasource features that appeared quite a while ago but not mentioned much is the ability to define a callback that is called during connection initialization.  The original intent of this callback was to provide a mechanism that is used with the Application Continuity (AC) feature.  It allows for the application to ensure...

Wednesday, June 29, 2016 | Add category | Read More

WebLogic Server Continuous Availability in 12.2.1.1

We have made enhancements to the Continuous Availability Offering in WebLogic 12.2.1.1 in the areas of Zero Downtime Patching, Cross Site Transaction Recovery, Coherence Federated Caching and Coherence Persistence. We have also enhanced the documentation to provide design considerations for the multi-data center Maximum Availability Architectures (MAA) that are supported for WebLogic Server Continuous Availability. Zero Downtime Patching Enhancements Enhancements in Zero...

Tuesday, June 28, 2016 | Add category | Read More

Oracle WebLogic Server 12.2.1.1 is Now Available

Last October, we delivered Oracle WebLogic Server 12.2.1 as part of the overall Oracle Fusion Middleware 12.2.1 Release.   As noted previously on this blog, WebLogic Server 12.2.1 delivers compelling new feature capabilities in the areas of Multitenancy, Continuous Availability, and Developer Productivity and Portability to Cloud.   Today, we are releasing WebLogic Server 12.2.1.1, which is the first patch set release for WebLogic Server and Fusion Middleware 12.2.1.   New...

Tuesday, June 21, 2016 | Add category | Read More

Using SQLXML Data Type with Application Continuity

When I first wrote an article about changing Oracle concrete classes to interfaces to work with Application Continuity (AC) (https://blogs.oracle.com/WebLogicServer/entry/using_oracle_jdbc_type_interfaces), I left out one type. oracle.sql.OPAQUE is replaced with oracle.jdbc.OracleOpaque. There isn’t a lot that you can do with this opaque type. While the original class had a lot ofconversion methods, the new Oracle type interfaces have only methods that are considered...

Sunday, May 1, 2016 | Add category | Read More

Testing WLS and ONS Configuration

Introduction Oracle Notification Service (ONS) is installed and configured as part of the Oracle Clusterware installation. All nodes participating in the cluster are automatically registered with the ONS during Oracle Clusterware installation. The configuration file is located on each node in $ORACLE_HOME/opmn/conf/ons.config. See the Oracle documentation for further information. This article focuses on the client side. Oracle RAC Fast Application Notification (FAN) events...

Friday, April 29, 2016 | Add category | Read More

Migrating from Generic Data Source to Active GridLink

Earlier, I wrote an article about how to migrate from a Multi Data source (MDS) for RAC connectivity to Active GridLink (AGL). This is needed to move from the older datasource technology to the newer technology, both supporting Oracle RAC. The information is now in the public documentation set at http://docs.oracle.com/middleware/1221/wls/JDBCA/gridlink_datasources.htm#JDBCA690. There are also many customers thatare growing up from a standalone database to an Oracle RAC...

Thursday, April 28, 2016 | Add category | Read More

New WebLogic Server Running on Docker in Multi-Host Environments

Oracle WebLogic Server 12.2.1 is now certified to run on Docker 1.9 containers. As part of this certification, you can create Oracle WebLogic Server 12.2.1 clusters which can span multiple physical hosts. Containers running on multi-host are built as an extension of existing Oracle WebLogic 12.2.1 Install images built with Dockerfiles , Domain images built with Dockerfiles, and existing Oracle Linux images Oracle Linux Images. To help you with this, we have posted scripts on G...

Sunday, April 10, 2016 | Announcement | Read More

WebLogic Server Multi-tenancy and Partition Isolation

One advantage of using the multi-tenancy features in WebLogic Server is that you can get higher density. If you target multiple partitions to the same WLS cluster, then those partitions share the hardware and software stack, from the iron up through the Java virtual machine and the WLS infrastructure itself. This is great for efficient use of resources, but what about isolating those partitions from each other? We've published a short article about the tension between density...

Wednesday, March 9, 2016 | Technical | Read More

The next VTS round is fast approaching!

Virtual Technology Summit is a set of free online events covering a wide variety of technical topics (Java, Middleware, Database, IoT, etc.). And there is something for everyone (see full agenda). In the upcoming edition, the following sessions should be particularly interesting for WebLogic users: Developing Java EE 7 Applications with WebLogic Server 12.2.1 Multi-Tenancy Fundamental Introduction to WebLogic Server Zero Down-time Patching There are 3 VTS events to suit your...

Friday, February 26, 2016 | Announcement | Read More

WebLogic Server 12.2.1: Elastic Cluster Scaling

WebLogic Server 12.2.1 added support for the elastic scaling of dynamic clusters: http://docs.oracle.com/middleware/1221/wls/ELAST/overview.htm#ELAST529 Elasticity allows you to configure elastic scaling for a dynamic cluster based on either of the following: Manually adding or removing a running dynamic server instance from an active dynamic cluster. This is called on-demand scaling. You can perform on-demand scaling using the Fusion Middleware component ofEnterprise Manager,...

Wednesday, February 17, 2016 | Add category | Read More

WebLogic on Docker Containers Series, Part 3: Creating a Domain Image

You already know how to quickly get started with WebLogic on Docker. You also learned with more details how to build an installation Docker image of WebLogic and Oracle JDK. This time, you will learn how to create a WebLogic Domain Image for Docker Containers. We are pushing some interesting samples of Docker images on GitHub so this way WebLogic customers and users can have a good idea of what is possible (although not everything in there may be officially supported as...

Monday, February 15, 2016 | Read More

Now Available: Domain to Partition Conversion Tool (DPCT)

We are pleased to announce that a new utility has just been published to help with the process of converting existing WebLogic Server domains into WebLogic Server 12.2.1 partitions.  The Domain to Partition Conversion Tool (DPCT) provides a utility that inspects a specified source domain and produces an archive containing the resources, deployed applications and other settings.  This can then be used with the importPartition operation provided in WebLogic Server 12.2.1 to...

Monday, February 15, 2016 | Add category | Read More

Cargo Tracker Java EE 7 Blue Prints Now Running on WebLogic 12.2.1

The Cargo Tracker project exists to serve as a blue print for developing well designed Java EE 7 applications, principally utilizing the well known Domain-Driven Design (DDD) architectural paradigm. The project provides a first hand look at how a realistic Java EE 7 application might look like. The project was started some time ago and runs on GlassFish 4 and Java SE 7 by default. The project has now been enhanced to run the same code base on WebLogic 12.2.1 with Java SE 8....

Tuesday, February 9, 2016 | Announcement | Read More

ZDT Technical Topic: How are Those Sessions Kept Alive Anyway?

By now you have probably read documentation or previous blog posts about how Zero Downtime Patching provides a convenient automated method of updating a WebLogic Domain in a rolling fashion.  By automating the process, Zero Downtime Patching greatly saves time and eliminates the potential human errors from the repetitive course of procedure. In addition to that there is also some special features around replicated HTTP sessions that make sure end users do not lose their...

Tuesday, January 12, 2016 | Technical | Read More

ZDT Rollouts and Singletons

WebLogic Server offers messaging, transaction and other system services to facilitate building enterprise grade applications. Typically, services can be either clustered or singleton. Clustered services are deployed identically to each server in a cluster to provide increased scalability and reliability. The session state of one clustered server is replicated on another server in the cluster. In contrast, singleton services run on only one server in a cluster at any givenpoint...

Friday, January 8, 2016 | Technical | Read More

WebLogic on Docker Containers Series, Part 2

On my previous post, the first part of this series, I've shown to you how to quickly get started with WebLogic on Docker. You've learned how to create a base Docker image with WebLogic and Oracle JDK installed, and then how to create a second image that contains a configured WebLogic domain. Today's post will break down and explain what happens behind the scenes of that process Note: for the sake of history and keep this blog post useful in the future, I will refer to the...

Wednesday, January 6, 2016 | Read More

WebLogic on Docker Containers Series, Part 1

WebLogic 12.2.1 is certified to run Java EE 7 applications, supports Java SE 8 (since 12.1.3), and can be deployed on top of Docker containers. It also supports Multitenancy through the use of Partitions in the domain, enabling you to add another level of density to your environment. Undeniably, WebLogic is so much of a great option for Java EE based deployments that both developers and operations will benefit from. Even Adam Bien, Java EE Rockstar, has agreed with that. B...

Tuesday, January 5, 2016 | Read More

Java Rock Star Adam Bien Impressed by WebLogic 12.2.1

It is not an exaggeration to say Adam Bien is pretty close to a "household name" in the Java world. Adam is a long time Java enthusiast, author of quite a few popular books, Java Community Process (JCP) expert, Oracle ACE Director, official Oracle Java Champion and JavaOne conference Rock Star award winner. Adam most recently won the JCP member of the year award. His blog is amongst the most popular for Java developers.  Adam recently took WebLogic 12.2.1 for a spin and was...

Monday, January 4, 2016 | Read More

Even Applications can be Updated with ZDT Patching

Zero Downtime Patching enables a convenient method of updating production applications on WebLogic Server without incurring any application downtime or loss of session data for your end-users.  This new feature may be especially useful for users who want to update multiple applications at the same time, or for those who cannot take advantage of the Production Redeployment feature due to various limitations or restrictions. Now there is a convenient alternative to complex...

Wednesday, December 16, 2015 | Technical | Read More

WLS 12.2.1 launch - Servlet 3.1 new features

Introduction WLS 12.2.1 release support new features of Servlet 3.1 specification. The Servlet 3.1 specification is a major version of Servlet specification. This version of specification mainly introduced Non-blocking IO and Http Protocal upgrade features into ServletContainer for adopting in modern web application development.Non-blocking IO helps improve the ever increasing demand for improved Web Container scalability, increase the number of connectionsthat can...

Tuesday, December 15, 2015 | Technical | Read More

Introducing WLS JMS Multi-tenancy

Introduction Multi-tenancy (MT) is the main theme of the WebLogic Server 12.2.1 release. It enhances the Oracle Platform for Software-as-a-Service (SaaS) and Platform-as-a-Service (PaaS) use cases. The main benefits of WebLogic multi-tenancy are increased density, tenant isolation, and simplified cloud configuration and management. This article introduces multi-tenancy support for WebLogic JMS, the messaging component in WebLogic Server.    Key MT Concepts Some of you may have...

Saturday, December 12, 2015 | Messaging | Read More

New EJB 3.2 feature - Modernized JCA-based Message-Driven Bean

WebLogic Server 12.2.1 is a fully compatible implementation of Java EE 7 specification. One of the big improvements in EJB container in this release of WebLogic Server is that, a message-driven bean is able to implement a listener interface with no methods. When such a no-methods listener interface is used, all non-static public methods of the bean class (and of the bean class's super classes except java.lang.Object) are exposed as message listener methods. Let'sdevelop a...

Thursday, December 10, 2015 | Technical | Read More

WLS JNDI Multitenancy

  The most important feature introduced in WebLogic Server 12.2.1 is multi-tenancy. As we know, before WLS 12.2.1, one WLS domain is used by one tenant. Since WLS 12.2.1, WLS domain can be divided into multiple partitions so that tenants can use different partitions of on WLS domain. Then Multiple tenants can share one WLS domain without influence each other. So isolation of resources between partitions is key. Since JNDI is acommon way to access to these resources, the main...

Wednesday, December 9, 2015 | Add category | Read More

Monitoring FAN Events

fanWatcher is a sample program to print the Oracle Notification Service (ONS) Fast Application Notification (FAN) event information. These events provide information regarding load balancing, and service and instance up and down events. This information is automatically processed by WebLogic Server Active GridLink and UCP on the mid-tier. For more information about FAN events, see this link.  The program described here is an enhancement of the earlier program described in...

Wednesday, December 9, 2015 | Add category | Read More

Multi-Tenancy Samples

In order to make it easier to understand all aspects of Multi-tenancy in WebLogic Server 12.2.1.*, MedRec can support running in a Multi-tenancy environment to be used as a demonstration vehicle. What’s MedRec Avitek Medical Records (or MedRec) is a WebLogic Server sample application suite that demonstrates all aspects of the Java Platform, Enterprise Edition (Java EE). MedRec is designed as an educational tool for alllevels of Java EE developers. It showcases the use of each...

Tuesday, December 8, 2015 | Technical | Read More

Three Easy Steps to a Patched Domain Using ZDT Patching and OPatchAuto

Now that you’ve seen how easy it is to Update WebLogic by rolling out a new patched OracleHome to your managed servers, let’s go one step further and see how we can automate the preparation and distribution parts of that operation as well. ZDT Patching has integrated with a great new tool in 12.2.1 called OPatchAuto. OPatchAuto is a single interface that allows you to apply patches to an OracleHome, distribute thepatched OracleHome to all the nodes you want to update, and...

Monday, December 7, 2015 | Add category | Read More

Multi-Tenancy EJB

Multi-Tenancy EJB Benefit from the Multi-Tenancy support of WLS 12.2.1, EJB container gains a lot of enhancements. Application and resource "multiplication" allows for EJB container to provide MT features while remaining largely partition unaware. Separate application copies also brings more isolation, such as distinct Remote objects, beans pools, caches, module class loader instances etc. Below names a few of the new features you can leverage for EJB applications. 1. JNDI Server...

Thursday, November 26, 2015 | Technical | Read More

Concurrency Utilities support in WebLogic Server 12.2.1, Part Five: Multi-tenancy Support

Overview One of the key features in WLS 12.2.1 is the multi-tenancy support where a single Weblogic Server domain can contain multiple partitions. Please read Part One ~ Part Four prior to this article. Applications deployed to partitions can use the 4 types of concurrent managed objects in the same way as described in Part One ~ Part Four. Applications deployed to partitions can also use global pre-defined concurrent managed object templates, whichmeans when an application...

Wednesday, November 25, 2015 | Technical | Read More

Concurrency Utilities support in WebLogic Server 12.2.1, Part Four: ContextService

Overview ContextService is for creating contextual proxy objects. It provides method createContextualProxy to create a proxy object, then proxy object methods will run within the captured context at a later time.  Weblogic Server provides a preconfigured, default ContextService for each application, and applications can easily use it in web or EJB components without any configuration. Let's begin with a simple example that uses default ContextService. Example-1: Execute a task...

Wednesday, November 25, 2015 | Technical | Read More

Concurrency Utilities support in WebLogic Server 12.2.1, Part Three: ManagedThreadFactory

Overview ManagedThreadFactory is for creating threads managed by WebLogic Server. It extends from java.util.concurrent.ThreadFactory without new methods, and provides the method newThread from ThreadFactory. It can be used with Java SE concurrency utilities APIs where ThreadFactory is needed. e.g. in java.util.concurrent.Executors. Weblogic Server provides a preconfigured, default ManagedThreadFactory for eachapplication, and applications can easily use it in web or...

Wednesday, November 25, 2015 | Technical | Read More

Concurrency Utilities support in WebLogic Server 12.2.1, Part Two: ManagedScheduledExecutorService

Overview ManagedScheduledExecutorService extends from ManagedExecutorService, all the methods from ManagedExecutorService are supported in ManagedScheduledExecutorService, so prior to this article please read Part One: ManagedExecutorService. ManagedScheduledExecutorService extends from java.util.concurrent.ScheduledExecutorService, so it also provides methods(schedule, scheduleAtFixedRate, scheduleAtFixedDelay)from ScheduledExecutorService for scheduling tasks to run after...

Wednesday, November 25, 2015 | Technical | Read More

Concurrency Utilities support in WebLogic Server 12.2.1, Part One: ManagedExecutorService

Overview ManagedExecutorService is for running tasks asynchronously on threads provided by WebLogic Server. It extends from java.util.concurrent.ExecutorService without new methods, it provides methods(execute, submit, invokeAll, invokeAny) from ExecutorService, and its lifecycle methods(awaitTermination, isTerminated, isShutdown, shutdown, shutdownNow) are disabled with IllegalStateException. Weblogic Server provides a preconfigured, default ManagedExecutorService for each...

Wednesday, November 25, 2015 | Technical | Read More

Concurrency Utilities support in WebLogic Server 12.2.1

As part of its support for Java EE 7, WebLogic Server 12.2.1 supports the Java EE Concurrency Utilities(JSR236) specification. This specification provides a simple, standardized API(4 types of managed objects) for using concurrency from Java EE application components(such as servlets and EJBs). The 4 types of concurrent managed objects implement these interfaces in javax.enterprise.concurrent package: ManagedExecutorService, ManagedScheduledExecutorService,ManagedThreadFactory,...

Wednesday, November 25, 2015 | Technical | Read More

WLS Replay Statistics

Starting in the 12.1.0.2 Oracle thin driver, the replay driver has statistics related to replay. This is useful to understand how many connections are being replayed. It should be completely transparent to the application so you won’t know if connection replays are occurring unless you check. The statistics are available on a per connection basis or on a datasource basis. However, connections on a WLS datasource don’t share a driver-level datasource object so the latter isn’tus...

Friday, November 20, 2015 | Add category | Read More

Patching Oracle Home Across your Domain with ZDT Patching

Now it’s time for the really good stuff!  In this post, you will see how Zero Downtime (ZDT) Patching can be used to rollout a patched WebLogic OracleHome directory to all your managed servers (and optionally to your AdminServer) without incurring any downtime or loss of session data for your end-users. This rollout, like the others, is based on the controlled rolling shutdown of nodes, and using Oracle Traffic Director (OTD) load balancer to route userrequests around the...

Wednesday, November 18, 2015 | Technical | Read More

Weblogic 12.2.1 Multitenancy Support for Resource Adapter

One of the key features in WLS 12.2.1 is the multi-tenancy support, you can learn more about its concept in Tim Quinn's blog:Domain Partitions for Multi-tenancy in WebLogic Server. For resource adapter, besides deploying it to domain partition, you can also deploy a resource adapter to partition's resource group or resource group template. This can be done by selecting resource group scope or resource group template scope while deploying resource adapter in console. Following...

Tuesday, November 17, 2015 | Technical | Read More

12.2.1 WebLogic JMS: Dynamic Scalability and High Availability Made Simple

Introduction WebLogic’s 12.2.1 release features a greatly simplified, easy to use JMS configuration and administration model. This simplified model works seamlessly in both Cluster and Multi-Tenant/Cloud environments, making JMS configuration a breeze and portable. It essentially lifts all major limitations for the initial version of the JMS ‘cluster targeting’ feature that was added in 12.1.2 plus adds enhancements that aren’t available in the old administration model. Now, all t...

Monday, November 16, 2015 | Messaging | Read More

Deploying Java EE 7 Applications to Partitions from Eclipse

The new WebLogic Server 12.2.1 Multi-tenant feature enables partitions to be created in a domain that are isolated from one another and able to be managed independently of one another. From a development perspective, this isolation opens up some interesting opportunities - for instance it enables the use of a single domain to be shared by multiple developers, working on the same application, without them needing to worry about collisions of URLs or cross accessing of...

Sunday, November 15, 2015 | Add category | Read More

Oracle WebLogic Server 12.2.1 Running on Docker Containers

UPDATE April 2016 - We now officially certify and support WebLogic 12.1.3 and WebLogic 12.2.1 Clusters in multi-hostenvironments! For more information see this blog post. The Docker configuration files are also now maintained on the official Oracle GitHub Docker repository.  Links in the Docker section of this article have also been updated to reflect the latest updates and changes. For more up to date information on Docker scripts and support, check the OracleGitHub project...

Friday, November 13, 2015 | Announcement | Read More

WLS UCP Datasource

WebLogic Server (WLS) 12.2.1 introduces a new datasource type that uses the Oracle Universal Connection Pool (UCP) as an alternative connection pool.  The UCP datasource allows for configuration, deployment, and monitoring of the UCP connection pool as part of the WLS domain.  It is certified with the Oracle Thin driver (simple, XA, and replay drivers).  The product documentation is at http://docs.oracle.com/middleware/1221/wls/JDBCA/ucp_datasources.htm#JDBCA746.  The goal of...

Friday, November 13, 2015 | Add category | Read More

JMX Authorization policies

With the introduction of the Partition conception in 12.2.1 Weblogic, there is an impact on how an MBean is authorized to a Weblogic user. This is due to the fact that an MBean can now be scoped to either 1) Domain or 2) Partition. A Partition is a slice of a Weblogic Domain which can have its own set of users defined. The users from one Partition are separate from the users from another Partition and also from the users from the Domain. Historically, when there was no...

Thursday, November 12, 2015 | Read More

ONS Configuration in WLS

Fast Application Notification (FAN) is used to provide notification events about services and nodes as they are added and removed from Oracle Real Application Clusters (RAC) and Oracle Data Guard environments. The Oracle Notification System is used as the transport for FAN. You can find all of the details in the following link. http://www.oracle.com/technetwork/database/options/clustering/overview/fastapplicationnotification12c-2538999.pdf Configuring ONS has been availablefor...

Wednesday, November 11, 2015 | Add category | Read More

Update your Java Version Easily with ZDT Patching

 Another great feature of ZDT Patching is that it provides a simple way to update the Java version used to run WebLogic.  Keeping up-to-date with Java security patches is an ongoing task of critical importance. Prior to ZDT Patching, there was no easy way to migrate all of your managed servers to a new Java version, but ZDT Patching makes this a simple two step procedure. The first step is to install the updated Java version to all of the nodesthat you will be updating. This...

Monday, November 9, 2015 | Technical | Read More

Application MBeans Visibility in Oracle WebLogic Server 12.2.1

Oracle WebLogic Server (WLS) version 12.2.1 supports a feature called Multi-Tenancy (WLS MT). WLS MT introduces the partition, partition administrator, and partition resource concepts.  Partition isolation is enforced when accessing resources (e.g., MBeans) in a domain. WLS administrators can see MBeans in the domain and the partitions. But a partition administrator as well as other partition roles are only allowed to see the MBeans in their partition, not in other...

Thursday, November 5, 2015 | Technical | Read More

Create WebLogic Server Domain with Partitions using WLST in 12.2.1

Oracle WebLogic Server 12.2.1 added support for multitenancy (WLS MT). In WLS MT, WLS can be configured with a domain, as well as one or more partitions. A partition contains new elements introduced in WLS MT, like resource groups, resource group templates, virtual targets, etc. Setting up a domain with partitions requires additional steps compared to a traditional WLS domain. For more detailed information about these new WLS MT related concepts, please see Oracle Docs listed...

Thursday, November 5, 2015 | Technical | Read More

Local Transaction Leak Profiling for WLS 12.2.1 Datasource

This is the third of this series on profiling enhancements in WLS 12.2.1 (but maybe not the least since this appears to happen quite often).  This is a common application error that is difficult to diagnose when an application leaves a local transaction open on a connection and it is returned to the connection pool. This error can manifest as XAException/XAER_PROTO errors, or asunintentional local transaction commits or rollbacks of database updates. Current workarounds to...

Wednesday, November 4, 2015 | Add category | Read More

Closed JDBC Object Profiling for WLS 12.2.1 Datasource

Accessing a closed JDBC object is a common application error that can be difficult to debug. To help diagnose such conditions there is a new profiling option to generate a diagnostic log message when a JDBC object (Connection, Statement or ResultSet) is accessed after the close() method has been invoked. The log message will include the stack trace of the thread that invoked the close() method. To enable closed JDBC object profiling, the datasourceProfileType attribute bitmask...

Wednesday, November 4, 2015 | Add category | Read More

Register for Oracle WebLogic Multitenant Webcast

On November 18, 2015 at 10 AM Pacific Time, Oracle will deliver a webcast on Oracle WebLogic Multitenant: The World’s First Cloud-Native, Enterprise Java Platform.   Although the title focuses on multitenancy, we will cover additional new capabilities in Oracle WebLogic Server and Oracle Coherence 12.2.1.   The webcast will include live chat, demos, and commentary from customers and partners on their planned deployments and benefits, along with product expert deep dives.     Ple...

Wednesday, November 4, 2015 | Add category | Read More

Connection Leak Profiling for WLS 12.2.1 Datasource

This is the first of a series of three articles that describes enhancements to datasource profiling in WLS 12.2.1. These enhancements were requested by customers and Oracle support. I think they will be very useful in tracking down problems in the application. The pre-12.2.1 connection leak diagnostic profiling option requires that the connection pool “Inactive Connection Timeout Seconds” attribute be set to a positive value in order to determine how long before anidle...

Wednesday, November 4, 2015 | Add category | Read More

Using Eclipse with WebLogic Server 12.2.1

With the installation of WebLogic Server 12.2.1 now including the Eclipse Network Installer, which enables developers to  download and install Eclipse including the specific features of interest, getting up and running with Eclipse and WebLogic Server has never been easier. The Eclipse Network Installer presents developers with a guided interface to enable the custom installation of an Eclipse environment through the selection of an Eclipse version to be installed and which of...

Wednesday, November 4, 2015 | Add category | Read More

Getting Started with the WebLogic Server 12.2.1 Developer Distribution

The new WebLogic Server 12.2.1 release continues down the the path of providing an installation that is smaller to download and able to be installed with a single operation, providing a quicker approach for developers to get started with the product. New with the WebLogic Server 12.2.1 release is the use of the quick installer technology which packages the product into an executable jar file, which will silently install the product into a target directory.  Through the use of...

Tuesday, November 3, 2015 | Add category | Read More

JMS 2.0 support in WebLogic Server 12.2.1

As part of its support for Java EE 7, WebLogic Server 12.2.1 supports version 2.0 of the JMS (Java Message Service) specification.JMS 2.0 is the first update to the JMS specification since version 1.1 was released in 2002. One might think that an API that has remained unchanged for so long has grown moribund and unused. However, if you judge the success of an API standard by the number of different implementations, JMS is one of the most successful APIs around. In JMS 2.0, the...

Monday, November 2, 2015 | Messaging | Read More

WebLogic Scripting Tool (WLST) updates in 12.2.1

A number of updates have been implemented in Oracle WebLogic Server and Oracle Fusion Middleware 12.2.1 to simplify the usage of the WebLogic Scripting Tool (WLST), especially when multiple Oracle Fusion Middleware products are being used.    In his blog, Robert Patrick describes what we have done to unify the usage of WLST across the Oracle Fusion Middleware 12.2.1 product line.    This information will be very helpful to WLST users who want to better understand what was...

Monday, November 2, 2015 | Add category | Read More

ZDT Patching; A Simple Case – Rolling Restart

To get started understanding ZDT Patching, let’s take a look at it in its simplest form, the rolling restart.  In many ways, this simple use case is the foundation for all of the other types of rollouts – Java Version, Oracle Patches, and Application Updates. Executing the rolling restart requires the coordinated and controlled shutdown of all of the managed servers in a domain or cluster while ensuring that service to the end-user is not interrupted, andnone of their session...

Monday, November 2, 2015 | Technical | Read More

Elasticity for Dynamic Clusters

Introducing Elasticity for Dynamic Clusters WebLogic Server 12.1.2 introduced the concept of dynamic clusters, which are clusters where the Managed Server configurations are based off of a single, shared template.  It greatly simplified the configuration of clustered Managed Servers, and allows for dynamically assigning servers to machine resources and greater utilization of resources with minimal configuration. In WebLogic Server 12.2.1, we build on the dynamic clusters...

Friday, October 30, 2015 | Announcement | Read More

Oracle WebLogic Server 12.2.1 Continuous Availability

New in Oracle WebLogic Server 12.2.1, Continuous Availability! Continuous Availability is an end to end solution for building Multi Data Center architectures. With Continuous Availability, applications running in multi data center environments can run in Active-Active environments continuously. When one site fails the other site will recover work for the failed site. During upgrades,applications can still run continuously with zero down time. What ties it all together is...

Thursday, October 29, 2015 | Announcement | Read More

Dynamic Debug Patches in WebLogic Server 12.2.1

Introduction Whether we like it not, we know that no software is perfect. Bugs happen, in spite of the best efforts by the developers. Worse, in many circumstances, they show up in unexpected ways. They can also be intermittent and hard to reproduce in some cases. In such cases, there is often not enough information even to understand the nature of the problem if the product is not sufficiently instrumented to reveal theunderlying causes. Direct access to a customer's...

Thursday, October 29, 2015 | Technical | Read More

Using Diagnostic Context for Correlation

The WebLogic Diagnostics Framework (WLDF) and Fusion Middleware Diagnostics Monitoring System (DMS) provide correlation information in diagnostic artifacts such as logs and Java Flight Recorder (JFR). The correlation information flows along with a Request across threads within and between WebLogic server processes, and can also flow across process boundaries to/from other Oracle products (such as from OTD or tothe Database). This correlation information is exposed in the...

Thursday, October 29, 2015 | Technical | Read More