Database Reference
In-Depth Information
Why this is so important is clear from the second table in this chapter, and we advise you
to familiarize yourself with Steven Haines' topic and Oracle DMS Servlet in particular.
We have more than 16,000 MBean attributes in WLS, and you have to pick the correct
ones from the beginning, understand their roles and relations, and monitor them diligently.
If for some reason you have no time for this, but the necessity of configuring Log Central-
ization/Aggregation by external tools is clear to you (see rule 9), then you can look at
open source tools such as Jolokia ( http://www.jolokia.org/ ). Jolakia is a JMX-HTTP con-
nector with many adapters to many servers, including WebLogic (9.2.3.0, 10.0.2.0, and
10.3.6.0 at the time of writing this topic). Technically, it will be the same servlet as men-
tioned earlier, and you should use it together with DMS for complete monitoring.
Continuing on with rule 5 (Log Centralization), we cannot avoid discussion, as old as the
hills, about the consolidation of security, operational, and business logs. Our advice from
Chapter 7 , Gotcha! Implementing Security Layers , was to deploy the Oracle API Gateway
for proper implementation of all eight SOA security patterns (for static service deploy-
ment and message in transit). Please see the following sample of Jython code for extract-
ing web service names from the gateway and displaying them on the Nagios dashboard.
You can extend it in parts by gathering more service attributes for completeness and better
visibility:
list the web services in a Gateway
from java.lang import Integer
from deploy import DeployAPI
from esapi import EntityStoreAPI
from vtrace import Tracer
import common
t = Tracer(Tracer.INFO) # Set trace to info level
dep = DeployAPI(common.gw_deployURL, common.defUserName,
common.defPassword)
es = dep.getStore('')
webServices = es.getAll('/[WebServiceRepository]name=Web
Service Repository/[WebServiceGroup]**/[WebService]')
i = 0
for webService in webServices:
name = webService.getStringValue('name')
//gather here all statuses for each web
service
....
Search WWH ::




Custom Search