*
The moose likes BEA/Weblogic and the fly likes Is there some help available with WebLogic Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Is there some help available with WebLogic" Watch "Is there some help available with WebLogic" New topic
Author

Is there some help available with WebLogic

Mishra Anshu
Ranch Hand

Joined: Sep 16, 2003
Posts: 224
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


"Ignorance is bliss"
Marcos Maia
Ranch Hand

Joined: Jan 06, 2001
Posts: 977
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

Joined: Sep 16, 2003
Posts: 224
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Is there some help available with WebLogic
 
Similar Threads
Failed to create Connection Pool
DB Connection Pool refresh
Can JMS Topic still Publish/Subscribe Messages if WebLogic Server is down and restart
Is MultiPool concept in weblogic6.1 is complete new or was there in previous versions
JMS Connection Pool