Here is your problem with your URL
service.setTicketDAO(new TicketDAO("mysql.jdbc://localhost/ticketdb1","root",""))
try this jdbc:mysql://localhost/dbname
instead of jdbc.mysql://localhost/dbname
Edit :1
Try putting the driver jar
in the server lib folder. ($CATALINA_HOME/lib)
I believe that the connection pool needs to be set up even before the application is instantiated.