1
0
-1

I recently changed my working machine. on that i have installed the Joget V6 and connected it to the local mysql server. MySQL version is 8.0.11. For V6 the db name is jwdb_v6. this part is working fine. I have to install V5 also. this version is pointing to the same mysql server but to different database i.e. jwdb_v5. but the problem is that some how joget is not able to connect to the server. On the setup screen this is the error:

i tried to put the the db connection string manually as well.

Connection String
workflowDriver=com.mysql.jdbc.Driver
workflowUrl=jdbc\:mysql\://localhost\:3306/jwdb_v5?characterEncoding\=UTF-8

the above mentioned connection string works for V6 (jwdb_v6) but for somehow not working for V5.

And the logs only say this:

ERROR
ERROR 21 Jul 2018 02:20:35 org.joget.commons.spring.web.CustomContextLoaderListener  - ===== Error initializing WebApplicationContext =====

I event tried different sub versions of V5. but the problem is same. so i suspect that it can be because of mysql server. but i am not sure. So Please Help.

 

Thanks

    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      Hi Syed,

      I assume that you local machine situation should be like this.

      • First install, Joget V6 connect with MySQL 8.0.11 shcema : JWDB_V6
      • Second install Joget V5 connect with MySQL 8.0.11 shcema : JWDB_V5
      • When you start one joget version, you already stop joget another version. 

      Can you check command of "joget-stop.bat" in each joget folder? Is it including database shutdown command which make DB server stop then joget could not start properly because DB server is no available.

      1. Syed Abdullah

        Hi Auttakorn, i am working on MAC. Every time i try to start V5, i first stop V6. but stopping V6 does not cause database shutdown.

      CommentAdd your comment...