Help please: What gets pinged - Connection Pool

I have a connection pool set up and can "ping" it, but I cannot seem to use it in my application.
What exactly gets "pinged" (what address)?
For example, my setup looks like this:
Data Source Class Name - net.sourceforge.jtds.jdbcx.JtdsDataSource
Resource Type - javax.sql.XADataSource
serverName - localhost
port - 1433
datasourceName - jdbc/testSqlServerDatasource
databaseName - testdatabase
Under the connection pools in the Application Server Admin Console, I can "ping" this connection.
When I go out to a DOS prompt and try to ping, I cannot. What I tried was:
ping localhost:1433/jdbc/testSqlServerDatasource
ping localhost:1433/testSqlServerDatasource
ping localhost/testSqlServerDatasource
What exactly should I be able to "ping"?
Note too that I have a JDBC Resource set up (also using the Admin Console) with a JNDI Name of testSqlServerDatasource.
Thanks.

The Ping in connection pool actualy tries to establish the connection with the database for which the configuration is provided in the Connection Pool page. The ping on DOS command is not same with what you actualy do in Connection Pool page. The DOS ping "helps in determining TCP/IP Networks IP address as well as determine issues with the network and assists in resolving them".

Similar Messages

  • Suddenly my imessage and facetime stop working both for iphone4 and ipad, i tried possible online solutions but it didn't work. Message such as "could not connect, check your network connection" etc... Help please am getting frustrated here....

    Suddenly my imessage and facetime stop working both for iphone4 and ipad, i tried possible online solutions but it didn't work. Message such as "could not connect, check your network connection" etc... Help please am getting frustrated here....

    Have you tried re-booting your WiFi router ?  It may seem OK on your PC, but a re-boot may help.

  • Cannot get a connection, pool error Timeout waiting for idle object

    my connection pool setting is
      maxActive="3" minIdle="2"                maxWait="10000"              removeAbandoed="true" logAbandoned="true"         removeAbandonedTimeout="30"         autoreconnection="true" 
    we have 7 people hitting the group of search functions ,
    about 3 minutes I get
    I got error like
    org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot get a connection, pool error Timeout waiting for idle object         at org.apache.tomcat.dbcp.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:104)         at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSource.java:880)         at Deferment.showResult.checStudent(showResult.java:135)         at Deferment.showResult.doPost(showResult.java:99)         at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)         at org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java:402)         at org.apache.catalina.servlets.InvokerServlet.doPost(InvokerServlet.java:170)         at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    I just wonder
    1) Cannot get a connection, pool error Timeout waiting for idle object-> cause by connection pool leaking or other problem.
    2) Setting the maxactive to -1 ( suggestion from Google) , if I set my connection to ulimit , waht should I put on minIdle="2"
    3) How can I test my connection pool have problem or not ? is
    SHOW PROCESSLIST; tolding me someinformation? I use Mysql
    Thank you!

    I try something like ps2 = conn.prepareStatement(target);
                ps2.setString(1, UNumber); // set input parameter
                rs = ps2.executeQuery();
                sendMail = 0;//how many rows we can find.
                while (rs.next()) {
                    sendMail++;
                ps2.close();
                rs.close();
                conn.close();
      if ((count1 == 0) || (count2 == 0)) {
                    conn.rollback();
                } else {
                    conn.commit();
                    conn.setAutoCommit(true);
                ps.close();
                calstat2.close();
                conn.close();
    calstat = (CallableStatement) conn.prepareCall("{call findStudent}");
                calstat.executeQuery();
                calstat.close();
                conn.close();is that enought? what else I should do to make sure I did close all the connection, after I use it ?
    thank you

  • Hi i want to upgrade my iMac from Snow Leopard 10.6.8 to OS X Mavericks or OS X Yosemite. My software update menu dosnn´t find any updates available. Help please, what can i do to upgrade to OS X Mavericks or newer version?

    Hi i want to upgrade my iMac from Snow Leopard 10.6.8 to OS X Mavericks or OS X Yosemite. My software update menu dosnn´t find any updates available. Help please, what can i do to upgrade to OS X Mavericks or newer version?

    Open the Mac App Store and try downloading Yosemite. If you get told it's incompatible, the computer's also incompatible with Mountain Lion and Mavericks; if desired, choose About this Mac from the Apple menu, check if the computer has at least a Xeon or Core 2 Duo(not Core Duo) CPU and 2GB of RAM, and if it does, click here and order a download code for Lion 10.7.
    Back up your data and check your applications for compatibility before upgrading. In particular, Mac OS X 10.7 and newer don't support PowerPC programs such as versions of Microsoft Office prior to 2008.
    (123636)

  • Help please what can i do i have a apple id that i have had scince i was in year 6 i have recently been unable to buy music or apps unless they are free because it asks for these security questions that i have no idea what the awnser is

    help please what can i do i have a apple id that i have had scince i was in year 6 i have recently been unable to buy music or apps unless they are free because it asks for these security questions that i have no idea what the awnser is help me please

    If you have a rescue email address (which is not the same thing as an alternate email address) set up on your account then the steps half-way down this page should let you reset them : http://support.apple.com/kb/HT5312
    If you don't have a rescue email address (you won't be able to add one until you can answer 2 of your questions) then you will need to contact iTunes Support / Apple to get the questions reset.
    Contacting Apple about account security : http://support.apple.com/kb/HT5699
    When they've been reset (and if you don't already have a rescue email address) you can then use the steps half-way down the HT5312 link above to add a rescue email address for potential future use

  • Living in Dubai where many apps are blocked. How can I get around ? Tried to create a new Id but my billing address in Dubai will not match the criteria for an account in the US. Help please to get around the censorship...thnaks

    Living in Dubai where many apps are blocked. How can I get around ? Tried to create a new Id but my billing address in Dubai will not match the criteria for an account in the US. Help please to get around the censorship...thanks

    The censorship in regards to certain apps not being available in your country is by your country, not by Apple.
    Due to various laws and licensing in each country, in order to have an iTunes store account in a particular country you must have a credit card with a billing address in that country. If this were up to Apple, there would be no such requirement and there would be only one iTunes store for the entire world, but various laws, regulations, and licensing issues in each country, this is required by Apple.

  • Sybase jconnect and tomcat 5. Getting error:Cannot get a connection, pool

    Hi,
    I am not sure why i am getting this error.
    All the drivers are in the write location. Tomcat does find and load the driver correctly.
    But... when i try to connect, i get this error.
    org.apache.commons.dbcp.SQLNestedException: Cannot get a connection, pool exhausted, cause:
    java.util.NoSuchElementException: Could not create a validated object
    at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:851)
    at org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:140)
    at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:518)
    at com.aoltw.ic.ars.data.DAO.connect(DAO.java:233)
    at com.aoltw.ic.ars.data.authenticateDAO.getGroups(authenticateDAO.java:114)
    at com.aoltw.ic.ars.data.authenticateDAO.getUserInfo(authenticateDAO.java:97)
    at com.aoltw.ic.ars.helpcentral.presentation.action.loginAction.authenticate(loginAction.java:35)
    at com.aoltw.ic.ars.helpcentral.presentation.action.loginAction.execute(loginAction.java:86)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:446)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:266)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1292)
    Thanks
    --Arun

    What is the "right" location? I'll assume you mean your app's WEB-INF/lib.
    Sounds like your Java code isn't closing statements and/or connections properly, or perhaps you need to increase the number of connections in the pool. I'm guessing it's the former.
    MOD

  • The left side of my home button is screen is kinda feel like hollow when I tap it and it makes a sound too. It is bulge,a little. I thought every ipad is hard to touch but why mine is not? Help please,what should I do?

    The left side of my home button is screen is kinda feel like hollow when I tap it and it makes a sound too. It is bulge,a little. I thought every ipad is hard to touch but why mine is not? Help please,what should I do? Please I need your help.

    The damage has been done then
    Take it to Apple and pay for a replacement
    Here in the States a replacement cost $229
    Allan

  • HELP - DB2 v9 & App Server PE 9.0 - PING Connection Pool Failure - HELP

    I've been playing around with Studio Creator and DB2 v9 without any issues.
    So I figured I would installed App Server PE 9 and use this as my production server that I would deploy to from studio creator.
    However, in my efforts to set up db2/v9 I have been trying to ping a connection pool without any luck. I get the following message:
    Operation 'pingConnectionPool' failed in 'resources' Config Mbean. Target exception message: Connection could not be allocated because: [sunm][DB2 JDBC Driver]Resource Limits Reached( ALLOCATE MEMORY FOR NEW SQLSTT FAILED ). Diagnostic Info: FUNCTION ID = 0049 , PROBE POINT = 0400 , TRACE POINT = 0030 , SUBCODE1 = 8B0F0000, SUBCODE2 = 78A68A98, SUBCODE3 = 00000000, ERROR MSG = Parser: Memory allocation error.
    My datasource class name is com.sun.sql.jdbcx.db2.DB2DataSource.
    And my resource type is javax.sql.datasource
    I have copied smbase.jar, smdb2.jar and smutil.jar into c:\sun\appserver\lib
    and I have all of the properties (serverName, portNumber, databaseName, user, password) created and set accordingly.
    Any help would be greatly appreciated.

    Here is how I got the DB2 Express-C and Sun PE 9.0 to work. ( at least base connectivity wise )
    1. ) You have to have at least the DB2 Client installed on the system that will be communicating to the DB2 instance.
    2.) The following jars will be needed ( depending on the driver type used) . db2java.zip, db2jcc.jar, and db2jcc_license_cu.jar and use them in the App Server ->JVM settings -> Path Settings -> Classpath Suffix
    3.) The next setup is dependent on the Type driver you use
    I used the Type 4 and this is the resource setup I used.
    Connection Pool:
    Name: DB2TestPool
    Datasource Classname: com.ibm.db2.jcc.DB2SimpleDataSource
    Resource Type: javax.sql.ConnectionPoolDataSource
    Properties:
    user: xxxxxx
    password: xxxxxx
    databaseName: TEST
    serverName: <hostname of machine>
    portnumber: 50000
    driverType: 4
    URL: jdbc:db2://<hostname>:<port>/<database>
    JDBC Resource:
    JNDI Name: jdbc/TEST
    Pool Name: DB2TestPool
    With this configuration I was able to ping the database as well as connect to create an entity bean from a table. This should give you a starting point.
    I have yet to deploy my application, but should be doing that sometime today to verify that a connection can be made and used from within the application.

  • I have a powerbook G-4 15 inch, It wont boot up and the display only works on the first try. it gets to the apple screen and freezes, when i try to restart theres no display. Help please, whats the issue here?

    I left it running over night, it was running perfectly, in the morning the screen was black. i tried to restart it and got no display but i can hear the machine running. so i put away for several months, plug it in, charge the battery, it boots, i have a display, it loads the desktop and freezes. when i try to restart it theres no display. the last time i tried, i started it, i got to the apple screen and nothing. whats the issue here? please help.

    Will it boot OK in Safe Mode? See What is Safe Boot, Safe Mode? (Mac OS X)
    http://docs.info.apple.com/article.html?artnum=107392 Takes a while to run, but it usually "fixes" problems.
    Safe Boot takes longer than normal startup
    http://support.apple.com/kb/TS1884?viewlocale=en_US
    Resolve startup issues and perform disk maintenance with Disk Utility and fsck
    http://docs.info.apple.com/article.html?artnum=106214
     Cheers, Tom

  • Help please!! Untrusted connection no issuer chain provided...

    firefox untrusted connection no issuer chain was provided...
    I cannot browse almost any website without receiving this error. I've tried the adjusting the date/clock and I've deleting the cert8. data in the profile for firefox. Nothing is working.
    Also, when I view certificates, it says that it won't be enabled until 7/21/2014?? What's up with that?
    Can anyone please help me...?

    You can retrieve the certificate and check details like who issued certificates and expiration dates of certificates.
    *Click the link at the bottom of the error page: "I Understand the Risks"
    Let Firefox retrieve the certificate: "Add Exception" -> "Get Certificate".
    *Click the "View..." button and inspect the certificate and check who is the issuer of the certificate.
    You can see more Details like intermediate certificates that are used in the Details pane.
    If "I Understand the Risks" is missing then this page may be opened in an (i)frame and in that case try the right-click context menu and use "This Frame: Open Frame in New Tab".
    *Note that some firewalls monitor (secure) connections and that programs like Sendori or FiddlerRoot can intercept connections and send their own certificate instead of the website's certificate.
    *Note that it is not recommended to add a permanent exception in cases like this, so only use it to inspect the certificate.

  • Need help badly- Keep getting error: connection refused.

    I'm developing an online multiplayer game, and everytime I try to use the multiplayer capabilities I get this kind of error. I have created a mini-connection class just to test if my program is working right, and apparently not. I have not included disconnection object in the following classes, since they are unneccessary since I cannot connect in the first place. First I ran my Servertest.class, which runs up to "Waiting for Connection", then waits, then I ran my ClientTest.class, which always gives me the error at teh bottom of the page.
    Please tell me what is wrong with the following-
    import javax.swing.*;
    import java.awt.*;
    import java.util.*;
    import javax.swing.event.*;
    import java.awt.*;
    import java.awt.geom.*;
    import java.awt.event.*;
    import java.net.URL;
    import java.io.*;
    import java.net.*;
    public class Servertest {
    private ObjectInputStream input;
    private ObjectOutputStream output;
    private ServerSocket server;
    private Socket connection;
    public void Servertest() {
    public void runServer() {
    try {
    server = new ServerSocket( 12347, 100 );
    System.out.print( "Waiting for connection\n" );
    connection = server.accept();
    System.out.print( "Connected to: " + connection.getInetAddress().getHostName() );
    output = new ObjectOutputStream( connection.getOutputStream() );
    output.flush();
    input = new ObjectInputStream( connection.getInputStream() );
    System.out.print( "\nGot I/O Streams\n" );
    catch ( IOException ioException ) {
    ioException.printStackTrace();
    public static void main( String args[] ) {
    Servertest application = new Servertest();
    application.runServer();
    import javax.swing.*;
    import java.awt.*;
    import java.util.*;
    import javax.swing.event.*;
    import java.awt.*;
    import java.awt.geom.*;
    import java.awt.event.*;
    import java.net.URL;
    import java.io.*;
    import java.net.*;
    public class ClientTest {
    private ObjectInputStream input;
    private ObjectOutputStream output;
    private Socket client;
    public void ClientTest() {
    public void runClient() {
    System.out.println( "Attempting Connection" );
    try {
    client = new Socket( InetAddress.getLocalHost(), 12348 );
    System.out.println( "Connected to: " + client.getInetAddress().getHostName() );
    output = new ObjectOutputStream( client.getOutputStream() );
    output.flush();
    catch (EOFException eofException) {
    System.err.print( "Client Terminated Connection!" );
    catch (IOException ioException) {
    ioException.printStackTrace();
    public static void main( String args[] ) {
    ClientTest application = new ClientTest();
    application.runClient();
    When I run Server Test it shows: Waiting for Connection.
    When I run Client Test is show the following:-
    Attempting Connection
    java.net.ConnectException: Connection refused: connect
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
    at java.net.Socket.connect(Socket.java:452)
    at java.net.Socket.connect(Socket.java:402)
    at java.net.Socket.<init>(Socket.java:309)
    at java.net.Socket.<init>(Socket.java:153)
    at ClientTest.runClient(ClientTest.java:26)
    at ClientTest.main(ClientTest.java:41)
    Any help would be greatly appreciated!

    Your server listens on port 12347. Your client tries to connect to a different port. No server is listening on the other port, so the connection is refused. Solution: make client connect to port 12347.

  • Help please, system crash when connecting new iPod

    I just got a new iPod Classic 160 GB. I connected it to my computer by the USB, and it said I needed the newest version of iTunes. I downloaded from iTunes the lastest 7.4.3.1 today. I first installed it and tried to use it without success. I then uninstalled all iPod and iTunes programs, updated and ran Spybot, and updated and ran Virusscan. My computer is now totally clean. I then re-installed iTunes, but I am having the same problem. When I plug my iPod into the computer, the screen goes temporarily black, and then I get a blue screen error code Stop: 0x0000007E (0xC0000005, 0xF787D9B6, 0xF30BC6CC, 0xF30BC3C8).
    Please help...Thanks!

    Well, I forgot to de-authorize my machine when I was upgrading to Vista, and remembered only after I was done.
    Now I have two computers authorized under my account (although they are the same machine).
    Speaking of which, any idea how I ought to de-authorize the non-existant computer?
    edit: the parent's not trying to reinstall windows, d'oh! but my question still stands.
    Message was edited by: alamandrax2

  • Help please - cannot get IP address

    Hi everyone, I have a WRT54GS router with WEP encryption. I have 2 laptops, both with XP. I cannot get one of the laptops to get an IP connection. It connects to the router, but when I run ipconfig, I get the following error message Windows IP Configuration An internal error occured. A device attached to the system is not functioning. Please contact Microsoft product support services for further help. I have many years of IT experience, and I've also had my network admin brother help me, but we can't figure it out. I have entered the WEP address correctly and have unchecked the box "Key is provided for me automatically". The key index is the same on both PC's. We have released the IPconfig. The PC that can't connect has been recently acquired and has never successfully got an IP connection on this wireless LAN. Any suggestions greatly appreciated. Thanks so much, Lynne

    Sounds like an issue on the computer itself not the network. You might need to uninstall reinstall your wireless card.

  • HELP PLEASE! DSL isnt connecting..lights are flashing

    Hi, I am hoping someone can help. My DSL was turned on the first of Feb and I just got a computer today and tried to setup my connection. I installed everything and plugged everything in and it isnt connecting.
    I called verizon and they said it isnt on their end.... its something maybe with my phone line they are sending a technician monday. I hate to be mean but they didnt quiet sound all that sure LOL... anyways the lights on my modem are flashing... the data light and the DSL light.. the internet light isnt on at all... I have a westell 6100G I am connected directly into it.. no router. Also i am showing that I am connected at the bottom right of my screen with the 2 computers flashing says im connected at 100mbps....dont know if that means anything but i thought i would add it.
    Is there any settings I can change? i went into the web address for the modem and it is set to PPPoE. I usually have cable internet so I dont know all that about the PPPoE...
    If anyone could give me any ideas if there is anything I can change or whatever to possibly avoid a tech and get it working on my own.... I am currently running a dial up connection to troubleshoot my problem so if my dial up will hinder any changes please let me know.... thanks

    dragonchick wrote:
    The internet light doesnt come on at all.... it does when i turn the modem off and then back on it comes on for a second and then goes off and then the DSL and data lights start flashing but never stay on completely.. im not even sure if they are supposed to lol... anyway, any help is appreciated
    it sounds like the modem is not plugged into the phone line.
    all of the lights are going to initally be on for a split second ( to let u know that the LEDS work )
    if the internet light is not on, its not recieving an internet signal ( just like on your cabel modem )
    the modem and computer are talking to each other ( data light flashing a lil bit ) and then they dont have anything to say to each other ( data light stopped flashing )
    i know its probably plugged into the phone line at the wall, but double check the connection, the cable and all that stuff, the problem probably lies somewhere around there.
    especially if verizon said its not on there end
    ... and by the way, i like turtles

Maybe you are looking for

  • NAC SSO in Windows 7 not Working

    Hello, I'm having problems with SSO process on workstations with Windows 7 and I need help to solve it. ENVIRONMENT: Clean Access Manager: 4.9.0 Clean Access Server: 4.9.0 Clean Access Agent: 4.9.0.33 Compliance Module: 3.4.27.1 Windows Domain : Wind

  • Mac OS X - Flash Player crashes in all browsers for site (bug?)

    Hello, I just received a complaint by one of my clients that customers were no longer able to visit his site (using a Mac), as the flash player was crashing everytime the site was loaded, no matter what browser was used. I started investigating this

  • How can I download books in Spanish?

    Want some books in Spanish too.

  • Maximum support entries in the directory

    1.Can you specify the directory service providers for weblogic and maximum supported entries in proposed directory. 2. How is directory context managed?

  • Pro*C with Visual C++ - leaks memory with EXEC SQL CONTEXT FREE

    Hello, I am making an aplication with threads, using Visual C++ with Pro*C... and I have a problem when the aplication execute EXEC SQL CONTEXT FREE the memory reserved is not free. this is my code: #include <sqlca.h> EXEC SQL BEGIN DECLARE SECTION;