Monday Jan 06, 2014

WebLogic 12.1.2 Installation in VirtualBox with 0 MHz by Frank Munz

bios settingThe Situation

I just looked at a problem at a customer site installing WebLogic 12.1.2 in a VirtualBox environment. WebLogic 12.1.2 uses - unlike all previous versions of WebLogic - the Oracle Unified Installer (OUI) which first of all seemed to be the problem.

The Problem
Here is what happened in detail:

  • The installation failed because the OUI installer is checking the prerequisites and reports all CPUs with 0 MHz. For sure, this is not good enough (even with all the clever energy saving techniques in modern CPUs)
  • The key question is whether OUI is buggy or the problem is somewhere else, e.g. in the OS or virtualization layer.

Solution
$ grep MHz /proc/cpuinfo

reports indeed 0 MHz for all CPUs. So the problem is not related to OUI but a VirtualBox issue. Still a weird problem. Why would CentOS be running with 0 MHz??

  • VirtualBox might report 0 MHz for your CPU in case you selected the wrong chipset for your machine (in our case the developer’s HP laptop). Note, this means that exactly the same VirtualBox image will run fine on different hardware!
    To fix it, stop the running guest and change the chipset setting in VirtualBox Manager from the default PIX3 to the non-default ICH9.


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

Wednesday Aug 28, 2013

A Twitter Bootstrap Based Self-Measuring Application To Quantify the Effect of Precompilation on WebLogic – Part I by Frank Munz

Sounds cool, doesn’t it? Yet a bit academic - I agree. So why this title? It is as precise as it gets. And it’s less 140 chars, so I can even tweet it. Yet no worries, I’ll enjoy dissecting the headline for. There are a number of important messages. To make it more readable I will split it into three parts.

  • So let’s get to the topic right away (which by the way is precompilation).
  • To prove it makes a real difference, I will show in part II how you can measure the effect of precompilation since quite often people fail to do so.
  • Later in the cool part, part III, we look at some exciting bells and whistles for web applications (Twitter Bootstrap framework).

Precompilation

Why would you precompile your application?
Precompilation isn’t really necessary to make an application work correctly. WebLogic will compile necessary artifacts when they are needed. For example a JSP page which is not precompiled will be compiled at the time it is accessed.

Deploying an application without precompilation forces you to use lame excuses such as “It’s a bit slow right now, because it is running for the first time after deployment“. I am sure you don’t want to be remembered for lame comments. Running your applications without precompilation costs you time. And time is expensive.

What is the difference between precompilation and compilation?
Well, every Java class has to be compiled before it is executed by the JVM. The .java file is converted into a .class file. Other stuff, such as a JSP page could be deployed as is. It will then be compiled by WebLogic. Read the full 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

Thursday Jun 20, 2013

Oracle Coherence with WebLogic 12c by Frank Munz

Already collecting material for the next edition of my book I had a closer look at Oracle Coherence which is part of the WebLogic Suite. I made a number of hands-on screencasts available, more blog postings with best practices will follow. Make sure to subscribe to WebLogic book YouTube channel: http://www.youtube.com/weblogicbook.

Basic Introduction:

Coherence is a coherent data grid that provides a number of different cache implementations, which are well described here. The following figure illustrates how data A. B, C is stored into different nodes with the same put(key, value) method.

coh_cache impl

Oracle Coherence Basics, Multicast Test and Firewall Issues Read the full 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

Thursday May 02, 2013

Detect Java Memory Leaks by Frank Munz


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

Tuesday Mar 19, 2013

Oracle WebLogic Server 12c – Distinctive Recipes book by Frank Munz

Content
This new book is an anthology of best practice in administrating WebLogic, large-scale deployments,  performance-tuning tools, the merged JVM, using JMX with your own applications, stuck threads, JDBC myths, effectively detecting memory leaks, Java EE examples (including deployments and NetBeans projects), Oracle Fusion Middleware (Service Bus, SOA Suite etc.) and WebLogic in the Cloud without the hype.

About WebLogic Distinctive Recipes
Imagine you need to know about a problem with your car’s engine. You could plow through the 1000-page manual. Or you could chat to the mechanic over a cup of coffee.
That’s WebLogic 12c Advanced Recipes. It’s WebLogic for software architects, administrators and developers. For people like you who know quite a bit about WebLogic, want to know more, but don’t want the typical ‘recipe book’ full of screenshots.

What you really want are the things you won’t find in the manual, like recommendations, discussions, best practices, deployable projects, webcast videos and directions on when to use a feature – and when not to. With all this and more, this book is the perfect complement to official courses and manuals.

In short, this gem of a book is almost as good as attending one of Frank’s renowned workshops.

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

Thursday Dec 27, 2012

Using Apache Derby Database with WebLogic (the express way) by Frank Munz

This is more a note to myself, because I keep forgetting the details and then I get angry about myself when I am in a hurry .

If you quickly require a database with WebLogic 12c (or some other version 10.3.3 or later, because since then WLS comes with Derby) and some content (e.g. to try some monitoring tool or a WLST script or something), do the following:clip_image002[1]

  • make sure you have the WebLogic samples and the sample DB installed.
  • create a new domain.
  • in the domain’s setDomainEnv.sh under DOMAIN_HOME/bin
  • change the DERBY_FLAG from false to true.
  • start the Admin server which will start the Derby database as well.
  • Create a data source using the following values:
    • DBName: medrec
    • Host: localhost
    • Port: 1527
    • Username: medrec
    • Password: medrec
  • Test the connection pool after creating it. It should work right away.
    Done! more details, recipes and discussions

clip_image002[3]

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.

BlogTwitterLinkedInMixForumWiki

Friday Nov 09, 2012

Java Management Extensions with Oracle WebLogic Server 12c–Webcast November 13th 2012

Date: Tuesday, November 13, 2012 Time: 10:00 AM PST
You’re responsible for evaluating technologies to monitor and configure Oracle WebLogic Server. This Webcast will help you get a complete picture of what Oracle WebLogic Server 12c with Java Management Extensions (JMX) can do for you.
Dr. Frank Munz will explain the development of JMX with Spring and compare it to Java EE. A new feature of Oracle WebLogic Server 12c, the RESTful Management API, will also be examined.
Learn how JMX in Oracle WebLogic Server 12c is:

  • Highly efficient. It uses WebLogic Scripting Tool (WLST) instead of a client JMX program written in Java, resulting in little overhead.
  • Effective. It bundles optimized tools such as WLST and WebLogic Diagnostic Framework to eliminate the requirement for Java programming on the client side.
  • Compliant. It is fully standard-compliant but also works with open source clients and frameworks.

Register for the Webcast today.

Speakers:

Dr. Frank Munz, Oracle Technologist of the Year
Dave Cabelus, Senior Principal Product Manager, Oracle

Logo
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.

BlogTwitterLinkedInMixForumWiki

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
5
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today