Friday Feb 28, 2014

WebLogic troubleshooting: Diagnostic watch causing stuck threads by Tony van Esch

In one of our SOA/BPM environments, the stability of the WebLogic server running the SOA and BPM Suite was not as it should be. There were problems deploying ear files and accessing the BPM workspace etcetera. Enterprise Manager Fusion Middleware control homepage would show that everything is running fine. But accessing the soainfra pages would fail.

failed_to_get

In the AdminServer logs the following relevant entries were found. Apparently the AdminServer fails at communicating with the soa_server1 managed server. 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

Wednesday Feb 26, 2014

Automatic Scaling an Application using WebLogic by René van Wijk

Say we want to add (or start) managed server instances when running an application, for example, when the number of open sessions reach a certain value. For this value we have calculated that the memory consumption is beyond a level, such that the garbage collection is affected. By adding (or starting) a new server we balance the load (the number of sessions with its corresponding memory consumption) across multiple servers. By using the WebLogic Diagnostic Framework, we can collect the metrics we need and create a watch for that metric with a corresponding notification. By using this notification we can then further create the logic needed in order to add (or start) a managed server. For example, by using the notification service that come with the WebLogic Diagnostic Framework we can send a JMS message or a JMX notification. In this post we are going to use the JMS approach. Environment The WebLogic environment consists of a cluster, spanning two machines, and consisting of four managed servers. This can be easily set-up by using the scripts presented in the post Automate WebLogic 12.1.2 Deployment. The diagnostic module is configured as follows - See more at: 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

Technorati Tags:

Monday Feb 24, 2014

WebLogic Hackathon: Automated Provisioning using Puppet by Ronald van Luttikhuizen

This presentation accompanies a hands-on-lab session in which Puppet will be used to automatically provision Oracle WebLogic Server. Puppet is a tool to automate configuration management.

Together with Chef it's one of the more popular configuration management tools at the moment. Puppet allows you to describe the desired (to-be) state of your servers by declaring resources. These declarations can describe user accounts, security settings, packages, directories, files, executable statements, services, and so on.

Manifests are the files in which resource declarations are listed. Puppet periodically applies manifests by translating manifests into specific commands (catalogs) and executes those on the managed servers. Puppet is capable of inspecting the machines so it only applies those changes that are necessary. If a machine is already in the desired state Puppet will apply no changes.

Read also the post: Hands-on-lab material available for WebLogic provisioning using Puppet !!

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

Thursday Feb 20, 2014

Automatic Scaling an Application using WebLogic by René van Wijk

Say we want to add (or start) managed server instances when running an application, for example, when the number of open sessions reach a certain value. For this value we have calculated that the memory consumption is beyond a level, such that the garbage collection is affected. By adding (or starting) a new server we balance the load (the number of sessions with its corresponding memory consumption) across multiple servers. By using the WebLogic Diagnostic Framework, we can collect the metrics we need and create a watch for that metric with a corresponding notification. By using this notification we can then further create the logic needed in order to add (or start) a managed server. For example, by using the notification service that come with the WebLogic Diagnostic Framework we can send a JMS message or a JMX notification. In this post we are going to use the JMS approach. Environment The WebLogic environment consists of a cluster, spanning two machines, and consisting of four managed servers. This can be easily set-up by using the scripts presented in the post Automate WebLogic 12.1.2 Deployment. The diagnostic module is configured as follows - See more at: 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

Tuesday Feb 18, 2014

WebLogic Hackathon: Automated Provisioning using Puppet by Ronald van Luttikhuizen

This presentation accompanies a hands-on-lab session in which Puppet will be used to automatically provision Oracle WebLogic Server. Puppet is a tool to automate configuration management.

Together with Chef it's one of the more popular configuration management tools at the moment. Puppet allows you to describe the desired (to-be) state of your servers by declaring resources. These declarations can describe user accounts, security settings, packages, directories, files, executable statements, services, and so on.

Manifests are the files in which resource declarations are listed. Puppet periodically applies manifests by translating manifests into specific commands (catalogs) and executes those on the managed servers. Puppet is capable of inspecting the machines so it only applies those changes that are necessary. If a machine is already in the desired state Puppet will apply no changes.

Read also the post: Hands-on-lab material available for WebLogic provisioning using Puppet !!

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

Monday Feb 03, 2014

Automate WebLogic Installation and Configuration by René van Wijk

In this post, we will show how to create automation scripts in order to set-up middleware environments.

Preparation

As an example, we will use the Oracle Service Bus. In the example, we will use the following software

First, we have to decide how the directory structure will look, for example.

Installation

To silent install JRockit, we need the following XML file - See more 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

Monday Dec 30, 2013

Cloud Control: Automatic refresh of Weblogic domain members by Tony van Esch

enable_refresh_domain_jobIt’s a fact that Weblogic domains are dynamic in nature, especially when SOA components are involved. Out of the box Cloud Control does not update the target list of a Weblogic domain. Ofcourse you can manually trigger a refresh of the Weblogic domain, but it would be much better to automate this procedure.

Automation can be achieved by enabling the ‘refresh domain’ job per domain.

Go to a domain and under the ‘General’ tab, click on the ‘Weblogic Domain Refreshed’ date.

To check the refresh jobs in Cloud Control, go to Enterprise > job > Activity 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

Monday Nov 18, 2013

Setup a 12c Fusion Middleware Infrastructure by René van Wijk

In this post, we will show how to create automation scripts in order to set-up middleware environments.

Preparation
In the example, we will use the following software Oracle JDK Fusion Middleware Infrastructure (fmw_infra_121200.jar) which can be obtained from the Oracle Software Delivery Cloud.

Oracle HTTP Server (ohs_121200_linux64.bin) which can be obtained from the Oracle Software Delivery Cloud.

First, we have to decide which directory structure we are going to use. Below an example is given in which the binaries (that create the run-time) are separated from the configuration. - See more.

Installation To install a Fusion Middleware Infrastructure (that uses Oracle JDK as the Java Virtual Machine) we can use the following script - See more. 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

Monday Oct 28, 2013

Developing geometry-based Web Services for WebLogic | Part 1 by Ronald van Luttikhuizen

In a recent project we developed Web Services that expose geographical data in their operations. This blog explains the use case for the service, gives an overview of the software architecture, and briefly discusses GML as markup language for geographical data. Part 2 of this blog provides pointers on the implementation of the service while part 3 discusses the deployment on Oracle WebLogic Server.

Use Case

The "BAG" (Basisregistratie Adressen en Gebouwen) is a Dutch national database containing information on all addresses and buildings in the Netherlands, and is maintained by Dutch municipalities. For several object types the BAG also maintains the associated geographical location and shape; for example for premises and cities. 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

Thursday Sep 26, 2013

Session Management using WebLogic12 by René van Wijk

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

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

WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: 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 21, 2013

Fun with Enterprise Manager for WebLogic by René van Wijk

Oracle Enterprise Manager is Oracle’s integrated enterprise information technology management product line, which provides a complete, integrated, and business-driven enterprise cloud management solution. Oracle Enterprise Manager creates business value from IT by leveraging the built-in management capabilities of the Oracle stack for traditional and cloud environments, enabling customers to achieve unprecedented efficiency gains while dramatically increasing service levels. The key capabilities of Enterprise Manager include:

  • A complete cloud lifecycle management solution enabling you to quickly set up, manage, and support enterprise clouds and traditional Oracle IT environments from applications to disk.
  • Maximum return on IT management investment through the best solutions for intelligent management of the Oracle stack and engineered systems with real-time integration of Oracle’s knowledge base with each customer environment.
  • Best service levels for traditional and cloud applications through business-driven application management.

Tuning

After installing and configuring enterprise manager it might be beneficial to tune the environment. To tune the agent, navigate to the${AGENT_HOME}/agent_inst/sysman/config directory. Open the file emd.properties and edit the agentJavaDefines property, set the memory parameters for the Java Virtual Machine to, for example, Set extra tuning parameters for the Java Virtual Machine in the s_jvm_options.opt file, for example: 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

Wednesday Apr 24, 2013

WebLogic Logging Configuration by René van Wijk

In general, it is a good idea to use log rotation to prevent having to stop a WebLogic server to remove a large log file that is filling up the file system. It is also a good idea to create a separate partition such that the root file system does not fill up. A partition is a contiguous set of blocks on a drive that are treated as if they were independent disks. The default installation of today’s Enterprise Linux distributions uses flexible partitioning layouts by creating one or more logical volumes. Some of the partitions that we might want to consider separating out from root to provide more flexibility and better performance in the environment

  • /home – A file server environment would benefit from separating out /home to its own partition. This is the home directory for all users on the system, if there are no disk quotas implemented, so separating this directory should isolate a user’s runaway consumption of disk space.
  • /tmp – If we are running a high-performance computing environment, large amounts of temporary space are needed during compute time, then released upon completion.
  • /usr – This is where the kernel source tree and Linux documentation (as well as most executable binaries) are located. The /usr/local directory stores the executables that must be accessed by all users on the system and is a good location to store custom scripts developed for our environment. If it is separated to its own partition, then files will not have to be reinstalled during an upgrade or reinstall by simply choosing not to have the partition reformatted
  • /var – The /var partition is important in mail, Web, and print server environments because it contains the log files for these environments and the overall system log. Chronic messages can flood and fill this partition. If this occurs and the partition is not separate from the /, service interruptions are possible. Depending on the environment, further separation of this partition is possible by separating out /var/spool/mail for a mail server or /var/log for system logs.
  • /opt – The installation of some third-party software products, such as WebLogic Server, default to this partition. If not separate, the installation will continue under / and, if there is not enough space allocated, could fail.


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

Monday Apr 22, 2013

A small and clean WebLogic cold backup by Laurens van der Starre

In one of my projects, we have to be able to set up a (cold) backup Oracle Service Bus domain in a different data center from a domain backup. One of the requirements was that this data center is(for security reasons) completely independent from the “main” data center. In this particular case, just syncing the middleware home and domain directories was not an option.

Fair enough, and not that difficult at all. Setting up this cold backup domain is just using the pack & unpack tools from WebLogic, and “cloning” your domain. Keeping you cold backup domain up to date can be done by just syncing the configuration backups the “main” domain can automatically create for you:

<YOUR DOMAIN> -> Configuration -> General -> Advanced.

Config Archive in WebLogic Read the full article here.

Config Archive in WebLogic

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 Mar 06, 2013

Coherence and WebLogic by René van Wijk

In this post, we configure WebLogic and an in-memory data grid, such as Coherence and present scripts to start and stop the environment. We start with creating a Coherence Server (which will be our storage enabled node in the cluster). You can find the steps required to create a Coherence Server here.René van Wijk

When the server is created, click on the created server and subsequently on the server start, configuration tab, in order to set the class path and some JVM parameters.

Enter the following properties:

  • Java Home: Specify the location of the JDK installation directory such that /bin/java exists, in our example we will use /home/weblogic/jrockit-jdk1.6.0_29-R28.2.2-4.1.0
  • Java Vendor: Oracle
  • Class Path: /home/weblogic/weblogic12.1.1/installation/coherence_3.7/lib/coherence.jar:
    /home/weblogic/weblogic12.1.1/installation/modules/features/weblogic.server
    .modules.coherence.server_12.1.1.0.jar:
    /home/weblogic/weblogic12.1.1/configuration/applications/base_domain/security/test.jar
  • Arguments: -jrockit -Xms256m -Xmx256m -XXkeepAreaRatio:25 -Xgc:pausetime -XpauseTarget:200m
    -XX:+UseCallProfiling -XX:+UseLargePagesForHeap -Dtangosol.coherence.mode=prod
    -Dtangosol.coherence.cacheconfig=security-cache-config.xml -Dtangosol.coherence.management=all
    -Dtangosol.coherence.management.remote=true

Above, we have specified the class path to included coherence.jar and \weblogic.server.modules.coherence.server_12.1.1.0.jar, which are needed to make Coherence available. The test.jar contains our Coherence configuration and serializable classes. These are presented in the post. JBoss RichFaces, Facelets and Coherence on WebLogic.
Note: The JVM parameters also included Coherence system settings, such as, -Dtangosol.coherence.mode=prod and -Dtangosol.coherence.cacheconfig=security-cache-config.xml. With the first one, we tell Coherence to run with production settings. The second one defines the cache configuration file to use. Unfortunately, the configuration provided in a Coherence override is not picked up. Read the full article here.

WebLogic 12c technical information: Java Message Service & Java Extensions & best practice upgrade

  • 3 Things You May Not Know about Java Message Service on Oracle WebLogic Server - Watch the replay now.
  • Java Management Extensions with Oracle WebLogic Server 12c - Watch Now
    Benefits, Strategies, and Best Practices for upgrading to Oracle WebLogic Server - Watch Now

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

Monday Aug 06, 2012

WebLogic & Glassfish training by Axis in Utrecht, Netherlands

AXIS and Oracle partner in the Netherlands offers WebLogic 12c trainings. René van Wijk an WebLogic guru will run this training:

Schedule:

  • 13-15September 2012
  • 30 October – 1 November 2012
  • 19-21 November 2012

For registration and details please visit the AXIS page.

image

WebLogic Partner Community

Let us know if we can promote your local training! 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

Search

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