Menu

Error in loading the page

vinoth
2004-12-10
2013-06-03
  • vinoth

    vinoth - 2004-12-10

    Hi,

    I'm getting the following error when I try to open my application in the browser.

    "JDBC-Troubles:  was not able to create connection from id= .....  "

    But this doesnt happen consistently. Some times  the page gets loaded properly and some times I get this error.

    What may be the reason for this?

    Thanx in Advance.
    regards,
    vinoth.

     
    • Henner Kollmann

      Henner Kollmann - 2004-12-10

      Do you use different connections in your config file? Wich database do you use?
      Could you reproduce with bookstore example?

      Henner

       
    • vinoth

      vinoth - 2004-12-11

      I use SinglePerThreadConnectionProvider and oracle database.

      I use the same code given in the document for SinglePerThreadConnectionProvider connection pooling mechanism.

      conClass is jdbc oracle driver.

      I'm confused, why is that error coming randomly.

      SOMETIMES, when I refresh the page after I get this error, the page gets loaded properly.

      reg,
      vinoth.

       
      • Henner Kollmann

        Henner Kollmann - 2004-12-11

        I use the same configuration and do not have any problems....
        No idea what happens.
        Could you try to debug where the error happens?
        What's with the stack trace?
        Could you try the SingleConnectionProvider?

        Henner

         
    • vinoth

      vinoth - 2004-12-14

      I intially used SingleConnectionProvider. But as I have many tables in my screen, the performance was low. Therefore I changed for connection pooling mechanism.

      I also had same "JDBC-Troubles" problem with SingleConnectionProvider also.

      This may be network problem. I will let you know once i found the reason.

       
      • Henner Kollmann

        Henner Kollmann - 2004-12-16

        For performence use SinglePerThreadConnectionProvider.
        Seems that you have a network problem...

        Henner

         

Log in to post a comment.

MongoDB Logo MongoDB