• 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
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

JDBC CONNECTIVITY POOLS

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i need to write a java code to monitor the JDBC connectivity pools. which all parameters do i have to monitor under this and which are the apis that i need to use. how do i start with this. also the output of this has to written onto a flat file. please help
 
author & internet detective
Posts: 41967
911
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Notnarayanshankar,
Is there any reason you don't want to use a profiler to do this for you?
 
notnarayanshankar venkatraman
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, i cant use a profiler for this as i have another software (nagios) which will read the flat file and display its outputs..! How do i go bout it..! Are there any api which i can use to monitor the Jdbc pools, if so, which are they..!
 
notnarayanshankar venkatraman
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi..! Im not very well versed with a profiler, could you please tell me how it works. I need to write the data onto a flat file for an other monitoring software to read them and process the outputs on its gui. Which api do i use for profiling.
 
Jeanne Boyarsky
author & internet detective
Posts: 41967
911
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by notnarayanshankar venkatraman:
Which api do i use for profiling.


That depends. Do you have an application server or a standalone application?
 
notnarayanshankar venkatraman
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
yes, i am tryin to use a standalone server..! Its like this, i want to monitor jdbc connection metrics using the web tool nagios, nagios has a set of programs which read the flat files. So, that way. Which api s do i use
 
Jeanne Boyarsky
author & internet detective
Posts: 41967
911
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don't know what a "standalone server" is. An application server is a tool like Tomcat/JBoss/etc. A standalone application is launched through the "java" command.
 
notnarayanshankar venkatraman
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
my mistake i am using tomcat for this application.... please help..
 
Jeanne Boyarsky
author & internet detective
Posts: 41967
911
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Then you do have a server. Tomcat supports JMX which provide hooks for monitoring. Take a look at this article for details.
 
notnarayanshankar venkatraman
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, im havin a small problem with my files..! Iv created certain jar files which have to be put in the plugin folder of nagios. There jar files are not getting executed. And the error im getting is unable to load main class manifest. I tried addin mvf for the creation of these jar files, and the error i get after that is some io.exception..! Please help..!
 
Jeanne Boyarsky
author & internet detective
Posts: 41967
911
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please post new questions in a new thread. The post above this doesn't sound like it is about JDBC.
 
Seriously Rick? Seriously? You might as well just read this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic