jdbc mysql datasource connection error while working with struts

后端 未结 2 1776
半阙折子戏
半阙折子戏 2021-01-17 05:34

from the Glassfish server log am getting an error below

WARNING: RAR8054: Exception while creating an unpooled [test] connection for pool [ hrms/connectionPo

相关标签:
2条回答
  • 2021-01-17 05:56

    Check that the jar containing the jdbc driver is library folder of your server

    0 讨论(0)
  • 2021-01-17 06:16

    Is the MySQL daemon up and running? Can you connect to the server using the command line client? If not, start the server and re-run your application again.

    I would advise you to separate your database code from user interface stuff. You'll regret combining the two the way you have someday.

    0 讨论(0)
提交回复
热议问题