0 Replies Latest reply on Oct 29, 2018 8:17 AM by Suganya Rajeswaran

    Could not connect Database: Connection string class not in class path

    Suganya Rajeswaran Newbie

      Hi,

       

      I am using mysql DB as backend. I have deployed a war file on wildfly 14.

       

      After deployment, it shows the following error,

       

      2018-10-29 16:40:55,455 INFO  [stdout] (DefaultQuartzScheduler_Worker-9) ConstantValues: Error while reading propertiesfile

       

       

      2018-10-29 16:40:55,456 INFO  [stdout] (DefaultQuartzScheduler_Worker-9) null

      2018-10-29 16:40:55,456 INFO  [stdout] (DefaultQuartzScheduler_Worker-9) null

      2018-10-29 16:40:55,458 INFO  [stdout] (DefaultQuartzScheduler_Worker-9) null

      2018-10-29 16:40:55,458 INFO  [stdout] (DefaultQuartzScheduler_Worker-9) null

       

       

      2018-10-29 16:40:55,459 INFO  [stdout] (DefaultQuartzScheduler_Worker-9) Could not connect Database: Connection string class not in class path

       

       

      2018-10-29 16:40:55,460 ERROR [stderr] (DefaultQuartzScheduler_Worker-9) java.lang.NullPointerException

       

       

      2018-10-29 16:40:55,461 ERROR [stderr] (DefaultQuartzScheduler_Worker-9) at java.lang.Class.forName0(Native Method)

       

       

      2018-10-29 16:40:55,463 ERROR [stderr] (DefaultQuartzScheduler_Worker-9) at java.lang.Class.forName(Class.java:264)

       

       

      2018-10-29 16:40:55,463 ERROR [stderr] (DefaultQuartzScheduler_Worker-9) at in.textech.library.DatabaseLibrary.createConnection(DatabaseLibrary.java:133)

       

       

      2018-10-29 16:40:55,464 ERROR [stderr] (DefaultQuartzScheduler_Worker-9) at in.textech.scheduling.MailScheduler.execute(MailScheduler.java:102)

       

       

      2018-10-29 16:40:55,466 ERROR [stderr] (DefaultQuartzScheduler_Worker-9) at org.quartz.core.JobRunShell.run(JobRunShell.java:203)

       

       

      2018-10-29 16:40:55,466 ERROR [stderr] (DefaultQuartzScheduler_Worker-9) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)

       

       

      2018-10-29 16:40:55,470 INFO  [stdout] (DefaultQuartzScheduler_Worker-9) Error at Mail Calling block in MailScheduler.javajava.lang.NullPointerException

       

      Please help me out for resolving this.

       

      Thanks in advance!