How to resolve Security Violation (Code 403) issues in Joget Setup?

Confluence User - 17 Jan, 2018

I am receiving the following error while setting up

Security Violation (Code 403)



Sorry, access is forbidden for security reasons.

Please refresh the previous form before submitting it.

 

 

 

I am setting Joget in azure environment. Under the webapps path, I have kept the jar. I configured the wflow path to be in D://home//wflow . I created two files in wflow path : app_dataosource.properties and app_datasource-jwdb.properties profile. The content of the file app_datasource-jwdb.properties is 

 

#
#Wed Dec 06 01:05:50 IST 2017
workflowDriver=com.mysql.jdbc.Driver
workflowUrl=jdbc\:mysql\://IPADD\:3306/jwdb?characterEncoding\=UTF-8
workflowUser=root
profileName=jwdb
workflowPassword=abcdefghik

and the content of the app_dataosource.properties is 

#
#Mon May 25 15:33:51 SGT 2009
currentProfile=jwdb

Could you please correct if the above config is right or wrong.

and the log from Azure App service editor is 

INFO 16 Jan 2018 20:54:40 org.joget.commons.util.DynamicDataSource - datasourceName=workflow, url=jdbc:mysql://IP:3306/jwdb?characterEncoding=UTF-8, user=root
ERROR 16 Jan 2018 20:55:01 org.joget.commons.spring.web.CustomContextLoaderListener - ===== Error initializing WebApplicationContext =====

My DB is up and running and I have tested the DB by logging in seperately.

What could be the issue? Any suggestions/ideas will be appreciated

 

 

joget;setup;azure;mysql

2


17 Jan, 2018
confluenceUser
confluenceUser

Hi, from the looks of it there is some kind of problem connecting to the database. Can you confirm that the db host, user and password are correct and that it has permission to be accessed from the joget server itself? What version of joget are you running?

23 May, 2018
confluenceUser
confluenceUser

Figure 1: Datasource Profile Configurations
workflowUser=postgres
workflowPassword=quartex
workflowDriver=org.postgresql.Driver
workflowUrl=jdbc:postgresql://localhost:5432/jwdb

Figure 2: datasource.properties

currentProfile=postgresql

Am running the current v6.0.7. Please help with the error

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print