please help in monitoring a weblogic application
We(in my company) have downloaded weblogic and configured a small application that uses JSPS and SERVLETS. Made an .ear file and deployed it. It is running OK.
BUT ...now my responsibility is to monitor this application. I wanted to to see ONLY ONE thing done :
1) If the application goes down OR it hangs then I should get a message on my Pager.
we are using WLS 6.1 + SP2
could anybody please help.
Thanks.
[450 byte] By [
Sangitava] at [2007-9-28 2:26:31]

>
> 1) If the application goes down OR it hangs then I
> should get a message on my Pager.
>
> we are using WLS 6.1 + SP2
>
And do you know how to send a page using the command line? If not then you need to figure that out first.
You then need a seperate application, that does not run in weblogic, which makes a simple request to weblogic. Presumably you are using a database so for a complete flow through it should write a record, read it and then delete it. That all goes through a servlet and then to a EJB.
If the app fails at this then it sends a page. If you have the time and want to get fancy you should also have it write a log every time it does the query (so you can verify it was working.) And it could also send email to someone on failure.
The app needs to come up every time the server starts up. It will need a delay on start up so it doesn't start paging you before weblogic has a chance to get up.
If you are using clustered servers and you want to monitor each then it gets more complicated.
Thanks for your advise. In our company we are using Mainframe in our apps and the backend is totally dependant on Mainframes.
I was looking as something which can atleast tell me that an "image" is there on the browser which could atleast tell me something about the availibility of our app....you know what iam saying ?
I mean somthing which can tell us that the app is there on the browser.
if you do have any script or code and if you can share it ...would be helpful for us.
thanks in advance.
You can do a web page request in java. Just search for forums for topics concerning creating a web browser in java.
If you just want to see if the image is present then you just parse the html. There is a swing class which does that. If you want to look at info in the image that is going to be more difficult.
your suggestions are welcomed and i would focus on implementing them. i was also guessing of doing this kinna monitoring by writing some PERL script and running them say after 10 mintues. do you have any ideas about these scripts. our machines are running on NT + WLS 6.1 + SP2
Although your suggestions were of great help to me.
Thanks,
> your suggestions are welcomed and i would focus on
> implementing them. i was also guessing of doing this
> kinna monitoring by writing some PERL script and
> running them say after 10 mintues. do you have any
> ideas about these scripts. our machines are running on
> NT + WLS 6.1 + SP2
>
Same difference. You would be writing a web browser and then checking the image. There are examples of doing this with perl as well (although not on this site.)