The WebLogic Diagnostic Framework (WLDF) is an often overlooked feature of WebLogic which can be very powerful when configured properly. If it’s so great, then why aren’t more people using it?

I can’t give a firm answer to that, but I suspect that the answer is likely because WLDF is so large, so comprehensive, and so terrifying to the uninitiated! There are a lot of concepts to get your head round before you can make good use of it, such that people frequently don’t bother. After all, where do you start with something so big?
In this blog, I hope to remedy that feeling a little, by pointing out some of the low-hanging fruit so you can get to know enough of the basics that you’ll be able to make use of some of the features, while having enough of a knowledge of the framework to take things further yourself.

What can I get out of it?
WLDF, according to the documentation, lets you “create, collect, analyse, archive and access diagnostic data generated by a running server and the applications deployed within its containers.”

To get all that functionality into WebLogic, Oracle has implemented lots of different components as part of the WLDF service including:

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 Mix Forum Wiki

Adam Bien: What is the relation between C2B2 and GlassFish?
Steve Millidge: We’ve had a long history helping customers to use GlassFish in production environments. In fact my first ever conference speech in California was at Sun’s CommunityOne conference on Monitoring and Tuning GlassFish back in 2009, so we go back a long way. We were Sun partners back then, promoting GlassFish, and our now Oracle Gold Partners. We have a number of customers we support on GlassFish and we also run the London GlassFish User group. With the announcement from Oracle we are now gearing up our effort to build up the community of contributors on the core GlassFish source to ensure a good response when bugs and patches are needed.

AB: What is C2B2′s Commercial GlassFish support? What will a customer get for the money?
SM: We provide 24/7 operational support to customers deploying GlassFish in production.  Read the complete article here.

Expert GlassFish Support

  • Do you run mission critical Applications on GlassFish?
  • Do you wish there was somebody to turn to if you had GlassFish performance, GlassFish scalability or GlassFish availability problems?
  • Do you find it difficult to recruit GlassFish operations specialists with deep knowledge?

C2B2 provide expert GlassFish support services 24/7 to customers running mission critical GlassFish applications. Our GlassFish engineers provide 2nd and 3rd line expertise as backup to your GlassFish operations team. Our expert GlassFish consultants can login to your servers and assist with triage, remedial action and root cause analysis of GlassFish problems rapidly reducing diagnosis and fix times.

When combined with a support subscription from Oracle we can liaise with Oracle to isolate test cases and get a GlassFish patch if that is the root cause. We can also liaise with your GlassFish development teams to identify application problems and suggest application fixes to increase GlassFish availability, GlassFish scalability and GlassFish performance. Get more support details 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 Mix Forum Wiki

Every WebLogic Server installation comes with SSL support. But for some reason many installations get this interesting error message at startup:

Ignoring the trusted CA certificate “CN=Entrust Root Certification Authority – G2,OU=(c) 2009 Entrust, Inc. – for authorized use only,OU=See http://www.entrust.net/legal-terms,O=Entrust, Inc.,C=US”. The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.

This looks odd and many people ignore these error messages. However, if your strategy is to show real error messages only, you are quickly looking for a solution. The Internet is full of possible solutions. Some recommend to remove the certificates from the JDK trust store, some recommend to use a different trust store. But is this the best solution and what are the side effects?

Main Article

Our way to the solution starts by understanding the error message. Here it is again.

Ignoring the trusted CA certificate “CN=Entrust Root Certification Authority – G2,OU=(c) 2009 Entrust, Inc. – for authorized use only,OU=See http://www.entrust.net/legal-terms,O=Entrust, Inc.,C=US”. The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.

The first sentence is the result while the second sentence explains the reason. Looking at the reason, we quickly find the “certificate parsing exception“. But what does “PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11” tell us?

  • PKIX stands for the Public Key Infrastructure (X.509). X.509 is the standard used to export, exchange, and import SSL certificates.
  • OID stands for the Object Identifier. Object Identifiers are globally unique and organized in a hierarchy. This hierarchy is maintained by the standards bodies in every country. Every standards body is responsible for a specific branch and can define and assign entries into the hierarchy.

With this background information we can lookup the number 1.2.840.113549.1.1.11 in the OID Repository (see References for the link) and get this result “iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) pkcs-1(1) sha256WithRSAEncryption(11)“.

 

Combining the certificate information in the first sentence and the information from the OID lookup we have the following result:

The certificate from CN=Entrust Root Certification Authority – G2,OU=(c) 2009 Entrust, Inc. – for authorized use only,OU=See http://www.entrust.net/legal-terms,O=Entrust, Inc.,C=US uses SHA256WithRSAEncryption which is not supported by the JDK!

You will probably see more messages for similar or different encryption algorithms used in other certificates.

The Root Cause

These factors cause this (and similar) error messages:

  • By default the Java Cryptography Extension (JCE), that comes with the JDK, implements only limited strength jurisdication policy files.
  • The default trust store of the JDK that holds this and other certificates can be found in JAVA_HOME/jre/lib/security/cacerts.
  • WebLogic Server versions before 12c come with the Certicomm JSSE implementation. The Certicomm implementation will not be updated because the required JDK already comes with the standard SunJSSE implementation.

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 Mix Forum Wiki

WebLogic is Oracle’s strategic application server for the Java EE Platform. Since Oracle decided to focus on it for commercial support, and decided to leave GlassFish free of any ties with commercial decisions, I decided to bring this type of content to help GlassFish customers as well users to experiment, try, and evaluate Oracle WebLogic 12c (Java EE 6 certified). But before getting down to the migration part, first thing you should learn is How to Install WebLogic 12c. For this migration tutorial in a developer environment, we will be using the Developer installation, but for production environments, we recommend the Full installation.

Full Installation
For full installation that can be used either in a production environment or in a developer environment, download the WebLogic Generic Installer and follow the steps descriped in the documentation for 12.1.2 on how to install WebLogic.

The difference between full and dev, is that full is targeted for any environment, and dev is well, for developers only. Oracle always recommend the full installation, but usually and specially for Java EE applications in a dev environment, the Development installation is enough. The good thing about it is the download size: less than 200Mb, and still you also get Oracle Coherence to play with. By the way, there is no licensing requirements for development purposes (either full or dev install), because WebLogic (and other Oracle products) are free for developers.

Required software

For this series of Migrating from GlassFish to WebLogic, I will be using NetBeans 8.0, GlassFish 3.1.2.2, Oracle JDK 7, Oracle MySQL Community 5.6, and WebLogic 12.1.2. So make sure you have that software (except WLS for now) installed and configured in your system. 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 Mix Forum Wiki

The WebLogic Server 12c has very nice support for Maven now. The doc for this is kinda hidden though, so here is a direct link here.
To summarize the doc, Oracle did not provide a public Maven repository manager hosting for their server artifacts. However they do now provide a tool for you to create and populate your own. You can setup either your local repository (if you are working mostly on your own in a single computer), or you may deploy them into your own internal Maven repository manager such as Archiva or Nexus.
Here I would show how the local repository is done. First step is use a maven plugin provided by WLS to populate the repository. I am using a MacOSX for this demo and my WLS is installed in $HOME/apps/wls12120. If you are on Windows, you may install it under C:/apps/wls12120. 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 Mix Forum Wiki

Oracle Academy is pleased to be supporting the Internet of Things (IoT) Developer Challenge! This is not open to Oracle employees or their immediate families, but other readers may be interested in participating for the chance to win a pass to JavaOne 2014 plus flights and accommodation.  For further details please read the official rules.

Welcome to the Internet of Things (IoT) Developer Challenge!

Show the world what you can do with Java + IoT for a chance to win a trip to JavaOne for you and two team members.

How to Win

  • Create a well-implemented, innovative and useful application using Java Embedded with devices, boards or other IoT technologies.
  • Make a video presenting your project.
  • Fill out the Submission Form with links to your video and code.

Prizes!

Four teams will win a trip to JavaOne. Three members of the winning teams will receive a JavaOne 2014 pass plus flight and hotel (for up to $2,000). Members of two student teams will receive a laptop and a certification voucher.

Key Dates:

  • Submissions begin March 3rd, 2014
  • Submission deadline is May 30th, 2014
  • Winners announced June 30th, 2014
  • JavaOne 2014 from Sept. 28 to Oct. 2, 2014

How to Get Started? Free Training!

The Oracle Technology Network will provide eight free training sessions in March and April, and they are open to anyone. Registered attendees get a chance to win a Raspberry Pi Starter Bundle. Register now.

  • Introduction Webinar, March 17th, 2014
  • Gemalto Concept Board Introduction, March 24, 2014
  • Using I2C Component with Raspberry Pi, March 31, 2014

Internet of Things (IoT) Projects Developers, hobbists, and top experts are sharing their IoT ideas, code and projects with the entire developer community. Check it out!

IoT Developer Challenge

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 Mix Forum Wiki

It works with Puppet 2.7 or higher. Should work for RedHat, CentOS, Ubuntu, Debian, Suse SLES or OracleLinux.

Version updates

    • 0.3.9 JDK8 support and option to change the default java homes folder ( default = /usr/java )
    • 0.3.8 rsakeySizeFix parameter set true for weblogic 12.1.1 and jdk 1.7 >= version 40
    • 0.3.6 performance fix
    • 0.3.5 ruby escaped char warnings resolved
    • 0.3.4 bugfix on install folder, conflicts with others modules
    • 0.3.3 updated license to Apache 2.0
    • 0.3.2 sourceParam, alternativesPriority in install7 plus formatting
    • 0.3.1 Entropy fix for low on entropy, you can configure the rngd or rng-tools service or add it to java.security
    • 0.2.1 added SLES as O.S. plus SED and alternatives fixes

 

  • 0.2 puppet 3.0 compatible, creates download folder

installs only the java tar.gz files

This is because rpm post install fails with some pack error installs jdk on linux based systems with x64 or 32 bits.

Add the jdk-7u25-linux-x64.tar.gz (downloaded from Oracle website) to the files folder of this jdk7 module.

  • download the tar.gz to the download folder of the puppet agent server
  • unpack the java tar.gz
  • set the java links in /usr/java ( latest and default )
  • set this java as default
  • optional updates urandom device for weblogic performance in java.security

Urandomfix class for lack of entropy this rngd or or rng-tools service add extra random number.

 

 

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 Mix Forum Wiki