• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Is there some help available with WebLogic

 
Ranch Hand
Posts: 224
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All

we are in the process of building a telecom application, which would be deployed on the weblogic server. We are in the process of building a health management module for the application. This module needs to detect faults in various other application modules and report them via alarms (to be sent over different medias like SMS, email, SNMP etc). Before we proceed on building this framework, we would like to understand the facilities offered by weblogic server in this regard. Some of the areas where we would like to hear from you are



Application Health


We would like to monitor the health of our application as running in weblogic server. We are interested in the following



1. The number of available or in-use instances of our EJBs.



2. Memory consumption



Ideally we would like to get this information periodically (time interval being configurable) through some kind of call back methods. We would like to set some limits on these parameters after which our application should be notified.





Database


We are currently planning to implement a periodic database activity to ensure the database is up and running. A better way could have been if the underlying platform detected database failure and informed the application through a call back method. Let me know if weblogic server provides support for this.



Can we get updates on the health of Database Connection Pool and/or Data Source being used by the application? We would like to gets updates about the connection pool size. In case some of the connections in the pool become un-usable then we would like to be notified (this was happening with the previous reported XA_ERR problem). We would like to know the number of times the application got stuck due to un-availability of a database connection in the underlying pool. This information would be useful for fine-tuning of the application.





Platform Availability


We would like to be notified if any of the following happens



1 JMS Server goes down or comes back up again



We need this alert, as we would like to disable the functions using JMS Bus upon detecting the bus failure. Currently we are planning to create a JMS connection and set an exception listener on it. If there�s a better way then do let me know.



1 Web Server goes down or comes back up again



2 Weblogic Server hosting the application goes down



3 The application becomes un-reachable (maybe because it got un-deployed or due to any other reason)



In all the above situations, we need to detect the event and raise an alert (SMS, email or any other medium).



Also, in case the server goes down is it possible to start off a new backup server remotely.




Raising Alerts


Now upon detecting a failure, we need to raise an alert. We would like to inform the administrator about the problem as soon as possible. For this purpose, we need to send the alert over a number of different mediums. The mediums that we have in mind currently are



1 SMS

2 Email

3 SNMP

4 Add to a database file

5 Log on to console



We intend to write our own code for sending these alerts. We don�t want to get into this unless the underlying server does not provide any ready-made api to do that. Kindly let us know if weblogic server offers some support for sending alerts over one or more medias mentioned above.





If you can also direct me to some useful links on the web that provide information relavent to above topics that would be great.





Thanks
 
Ranch Hand
Posts: 977
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

most of the informatio you need you can get using standard JMX programming. Weblogic also has some configurations you may do to restart managed servers when fatal problems occurs, take a look at the admin and cluster configuration options for fault tolerance. also about JMX programming you'll find information at:

http://e-docs.bea.com/wls/docs81/jmx/index.html

the officil WL8 docs site is also an excelent source of information:

http://e-docs.bea.com/wls/docs81/index.html

regards.
 
Mishra Anshu
Ranch Hand
Posts: 224
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for the reply !!!
I will explore MBeans now for this purpose.
By the way, I got an Apllication Manager from AdeventNet which suffices some of the purposes. This is the link --

http://manageengine.adventnet.com/products/applications_manager/help/index.html#managing_j2ee_servers/event_management/am_changing_threshold.html

If there is some good tutorial available on MBean aprt from the SUN, please provide a link..
Thanks
 
So it takes a day for light to pass through this glass? So this was yesterday's tiny ad?
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic