Posts Tagged ‘WebLogic Suite 12c’

image

You can use scripts to facilitate the management of WebLogic Server and reduce the manual tasks you have to do.
Examples of these scripts are scripts to automate start and stop of Admin and Managed Servers of WebLogic Server.

In this post I will provide the scripts I use and you can download them here: scripts.zip

These are the scripts that I use to start WebLogic Server in my Linux VM.
One of them is a Shell script to start Node Manager and AdminServer, and the other is a Python script to start SOA, OSB and BAM Managed Servers.

Shell script: Read the complete article here.

WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Forum Wiki

image
With WebLogic 12.2.x a complete new concept – called partition – was introduced into WebLogic in order to support multitenancy setups and concepts. This new technology can also serve as a solid foundation for cloud services and cloud hosting. A partition is – similar to a filesystem partition – meant to be a well-defined area of WebLogic, with some new and powerful features. Other than the standard J2EE bundling units like EAR, WAR or RAR archives, the partition goes beyond that and allows a bundling of applications (J2EE units) and required resources like JDBC, JMS and more into a single “WebLogic application” based on the partition technology. Partitions can also be exported, migrated and imported as a single unit.
Many real world use-cases can benefit significantly from the new multitenancy technology. This book explains the new WebLogic technologies in detail. In addition to the technology deep-dives, this book discusses many use-cases found daily in our industry and shows the potential benefit of multitenancy technologies for these scenarios.
Key Features:
* Overview and deep-dives into the new WebLogic technologies around multitenancy
* Many examples using WLST scripting in order to automate partition handling
* All scripts and programs can easily be adapted to the reader’s need
* Discussion of a number of real-world uses and how these could benefit from multitenancy
* Focus on architects, decision-makers, administrators and developers
Get the book here at Amazon. For additional WebLogic books please visit the wiki here.

WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Forum Wiki

image

The aim of this manual is to show how useful is the Java Virtual Machine Diagnostics to find the root cause of a thread deadlock in Java.

First of all, it is necessary to create a generator of deadlocks. In this case I’ve made a little web application whose goal is to generate thread deadlocks. The code of this application was downloaded from [1]. The program is very simple as you can see:

Dead lock generator called WebDeadLockV2.0

The thread deadlocks generators is deployed on a Weblogic server. In this case, I am using the Oracle Management Server (OMS) in order to save resources. However, it could be deployed in any other server under the supervision of Oracle Cloud Control.

After deploying the application I sent several requests using this URL:

https://testmachine.sysco.no:7301/WebDeadLockV2.0/deadlock

In order to get an overview of the locks you have to follow these steps:

1. On the left panel you have to select the Java Virtual Machine Pool related to OMS

2. As a result you will see the details about this pool on the right side. The quantity of locks is remarked in red. In this case we can 221 locks. In addition, this problem also is detected by the Admin Console

3. Read the complete article here.

WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Forum Wiki

image

REST clients fail after WebLogic upgrade from 12.1.2 to 12.1.3 or 12.2.1.

WebLogic 12.1.2 is shipped with Jersey 1.13 and my REST clients are working fine. However, after upgrading WebLogic, they fail as follows:

There is a bug reported for for version 1.18.1 – Bug in URL encoding in 1.18.1 but the problem is present in 1.18 as well.
As it appears, downgrading to version 1.17.1 fixes the problem and is done by following the documentation to change the Jersey version used: How to Update the Version of Jersey JAX-RS RI in an EAR File

Action plan outline:

1) Update weblogic-application.xml (or weblogic.xml depending structure)
2) Include jersey-bundle 1.17.1 in your application.
3) Redeploy

weblogic-application.xml Read the complete article here.

WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Forum Wiki

image

Some tips when debugging WLS cluster stability

In one environment we had problems with cluster stability – and there were unnecessary migrations of JMS Servers.

Here are some settings that gave more info in logs. Set the following for the JVM:

-Dweblogic.debug.DebugServerMigration=true -Dweblogic.debug.DebugSingletonServices=true

Change the below setting to DEBUG

Home >Summary of Servers >AdminServer >Logging >General >Advanced >Minimum severity to log:

enable below debugs from the weblogic admin console.

Debug >weblogic >core

cluster Collapse Node

DebugAsyncQueue

DebugCluster

DebugClusterAnnouncements

DebugClusterFragments

DebugClusterHeartbeats

DebugLeaderElection

DebugReplication

DebugReplicationDetails

Change the logging severity to Debug Read the complete article here.

WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Forum Wiki

image

Get the presentation here.

WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Forum Wiki

clip_image001

 

We are proud to announce the release of Oracle Fusion Middleware 12c (12.2.1.2.0). Media is available for download on the Oracle Technology Network (OTN), My Oracle Support (MOS) and the Oracle Software Delivery Cloud (OSDC). This includes the following products:

  • Oracle WebLogic Server 12c (12.2.1.2.0)
  • Oracle Coherence 12c (12.2.1.2.0)
  • Oracle TopLink 12c (12.2.1.2.0)
  • Oracle Fusion Middleware Infrastructure 12c (12.2.1.2.0)
  • Oracle HTTP Server 12c (12.2.1.2.0)
  • Oracle Traffic Director 12c (12.2.1.2.0)
  • Oracle Fusion Middleware WebLogic Server Plug-In 12c (12.2.1.2.0)
  • Oracle SOA Suite and Business Process Management 12c (12.2.1.2.0)
  • Oracle MapViewer 12c (12.2.1.2.0)
  • Oracle B2B and Healthcare 12c (12.2.1.2.0)
  • Oracle Service Bus 12c (12.2.1.2.0)
  • Oracle Stream Analytics 12c (12.2.1.2.0)
  • Oracle Managed File Transfer 12c (12.2.1.2.0)
  • Oracle Data Integrator 12c (12.2.1.2.0)
  • Oracle Enterprise Data Quality 12c (12.2.1.2.0)
  • Oracle Enterprise Pack for Eclipse 12c (12.2.1.2.0)
  • Oracle GoldenGate Studio 12c (12.2.1.2.0)
  • Oracle GoldenGate Monitor 12c (12.2.1.2.0)
  • Oracle GoldenGate Veridata 12c (12.2.1.2.0)
  • Oracle JDeveloper Studio 12c (12.2.1.2.0)
  • Oracle Forms and Reports 12c (12.2.1.2.0)
  • Oracle WebCenter Portal 12c (12.2.1.2.0)
  • Oracle WebCenter Content 12c (12.2.1.2.0)
  • Oracle WebCenter Sites 12c (12.2.1.2.0)
  • Oracle Business Intelligence 12c (12.2.1.2.0)

Here is the related information for these releases:

You can also visit the Oracle Fusion Middleware page on OTN to find more information about the products.

Partner Resources (community membership required):

WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Forum Wiki