jdbc mysql datasource connection error while working with struts

后端 未结 2 1812
半阙折子戏
半阙折子戏 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 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.

提交回复
热议问题