Connecting camunda with postgresql

hi ,
i am new to Camunda platform. i already created java class which is connected with postgresql database… I want to compare those values with camunda process variables.when i start the process on camunda task list it doesn’t accept the postgresql driver … correct me if i am wrong …thanks in advance.

Hi,

Could you please give us more details:

  • Camunda version
  • Postgresql version
  • Driver version
  • Complete stack trace of the exception
  • If it is possible to share your code with us.
  1. i am using Camunda 7.10.0

  2. Postgresql version -postgresql-10.6-1-linux-x64

  3. JDBC driver version - postgresql-42.2.5

    12:46:25,426 INFO [org.jboss.resteasy.resteasy_jaxrs.i18n] (default task-3) RESTEASY002205: Adding provider class org.camunda.bpm.engine.rest.exception.ExceptionHandler from Application class org.camunda.bpm.admin.impl.web.AdminApplication
    12:47:46,429 ERROR [stderr] (default task-1) java.lang.ClassNotFoundException: postgresql from [Module “deployment.TaskLogin.war” from Service Module Loader]
    12:47:46,430 ERROR [stderr] (default task-1) at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:255)
    12:47:46,430 ERROR [stderr] (default task-1) at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:410)
    12:47:46,430 ERROR [stderr] (default task-1) at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
    12:47:46,430 ERROR [stderr] (default task-1) at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:116)
    12:47:46,430 ERROR [stderr] (default task-1) at java.lang.Class.forName0(Native Method)
    12:47:46,430 ERROR [stderr] (default task-1) at java.lang.Class.forName(Class.java:264)
    12:47:46,431 ERROR [stderr] (default task-1) at org.login.demo.TaskLogin.LoginDelegateClass.execute(LoginDelegateClass.java:19)
    12:47:46,431 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.bpmn.delegate.JavaDelegateInvocation.invoke(JavaDelegateInvocation.java:36)
    12:47:46,431 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.delegate.DelegateInvocation.proceed(DelegateInvocation.java:54)
    12:47:46,431 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocationInContext(DefaultDelegateInterceptor.java:87)
    12:47:46,431 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocation(DefaultDelegateInterceptor.java:59)
    12:47:46,431 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.bpmn.behavior.ServiceTaskJavaDelegateActivityBehavior.execute(ServiceTaskJavaDelegateActivityBehavior.java:52)
    12:47:46,432 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.bpmn.behavior.ServiceTaskJavaDelegateActivityBehavior.performExecution(ServiceTaskJavaDelegateActivityBehavior.java:41)
    12:47:46,432 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.bpmn.behavior.TaskActivityBehavior.execute(TaskActivityBehavior.java:65)
    12:47:46,432 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.bpmn.behavior.ClassDelegateActivityBehavior$1.call(ClassDelegateActivityBehavior.java:65)
    12:47:46,432 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.bpmn.behavior.ClassDelegateActivityBehavior$1.call(ClassDelegateActivityBehavior.java:62)
    12:47:46,433 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior.executeWithErrorPropagation(AbstractBpmnActivityBehavior.java:108)
    12:47:46,433 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.bpmn.behavior.ClassDelegateActivityBehavior.execute(ClassDelegateActivityBehavior.java:62)
    12:47:46,433 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationActivityExecute$2.callback(PvmAtomicOperationActivityExecute.java:57)
    12:47:46,433 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationActivityExecute$2.callback(PvmAtomicOperationActivityExecute.java:46)
    12:47:46,433 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.pvm.runtime.PvmExecutionImpl.continueIfExecutionDoesNotAffectNextOperation(PvmExecutionImpl.java:1985)
    12:47:46,434 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationActivityExecute.execute(PvmAtomicOperationActivityExecute.java:38)
    12:47:46,434 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationActivityExecute.execute(PvmAtomicOperationActivityExecute.java:27)
    12:47:46,434 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.interceptor.AtomicOperationInvocation.execute(AtomicOperationInvocation.java:92)
    12:47:46,434 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.invokeNext(CommandInvocationContext.java:124)
    12:47:46,435 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performNext(CommandInvocationContext.java:104)
    12:47:46,435 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performOperation(CommandInvocationContext.java:79)
    12:47:46,435 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:638)
    12:47:46,435 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:612)
    12:47:46,436 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.pvm.runtime.PvmExecutionImpl$6.callback(PvmExecutionImpl.java:1924)
    12:47:46,436 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.pvm.runtime.PvmExecutionImpl$6.callback(PvmExecutionImpl.java:1921)
    12:47:46,436 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.pvm.runtime.PvmExecutionImpl.continueExecutionIfNotCanceled(PvmExecutionImpl.java:1991)
    12:47:46,436 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.pvm.runtime.PvmExecutionImpl.dispatchDelayedEventsAndPerformOperation(PvmExecutionImpl.java:1940)
    12:47:46,436 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.pvm.runtime.PvmExecutionImpl.dispatchDelayedEventsAndPerformOperation(PvmExecutionImpl.java:1921)
    12:47:46,437 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationTransitionNotifyListenerStart.eventNotificationsCompleted(PvmAtomicOperationTransitionNotifyListenerStart.java:57)
    12:47:46,437 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationTransitionNotifyListenerStart.eventNotificationsCompleted(PvmAtomicOperationTransitionNotifyListenerStart.java:27)
    12:47:46,437 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.core.operation.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:65)
    12:47:46,437 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.interceptor.AtomicOperationInvocation.execute(AtomicOperationInvocation.java:92)
    12:47:46,437 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.invokeNext(CommandInvocationContext.java:124)
    12:47:46,438 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performNext(CommandInvocationContext.java:104)
    12:47:46,438 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performOperation(CommandInvocationContext.java:79)
    12:47:46,438 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performOperation(CommandInvocationContext.java:69)
    12:47:46,438 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:647)
    12:47:46,438 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:622)
    12:47:46,439 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.core.operation.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:58)
    12:47:46,439 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.interceptor.AtomicOperationInvocation.execute(AtomicOperationInvocation.java:92)
    12:47:46,439 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.invokeNext(CommandInvocationContext.java:124)
    12:47:46,439 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performNext(CommandInvocationContext.java:104)
    12:47:46,439 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performOperation(CommandInvocationContext.java:79)
    12:47:46,440 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performOperation(CommandInvocationContext.java:69)
    12:47:46,440 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:647)
    12:47:46,440 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:622)
    12:47:46,440 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.core.operation.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:58)
    12:47:46,441 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.interceptor.AtomicOperationInvocation.execute(AtomicOperationInvocation.java:92)
    12:47:46,441 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.invokeNext(CommandInvocationContext.java:124)
    12:47:46,441 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performNext(CommandInvocationContext.java:104)
    12:47:46,441 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performOperation(CommandInvocationContext.java:79)
    12:47:46,442 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performOperation(CommandInvocationContext.java:69)
    12:47:46,442 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:647)
    12:47:46,442 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:622)
    12:47:46,442 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.core.operation.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:58)
    12:47:46,442 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.interceptor.AtomicOperationInvocation.execute(AtomicOperationInvocation.java:92)
    12:47:46,443 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.invokeNext(CommandInvocationContext.java:124)
    12:47:46,443 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performNext(CommandInvocationContext.java:104)
    12:47:46,443 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext$1.call(CommandInvocationContext.java:95)
    12:47:46,443 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext$1.call(CommandInvocationContext.java:93)
    12:47:46,444 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.context.ProcessApplicationClassloaderInterceptor.call(ProcessApplicationClassloaderInterceptor.java:44)
    12:47:46,444 ERROR [stderr] (default task-1) at org.camunda.bpm.application.AbstractProcessApplication.execute(AbstractProcessApplication.java:114)
    12:47:46,444 ERROR [stderr] (default task-1) at org.camunda.bpm.application.AbstractProcessApplication.execute(AbstractProcessApplication.java:125)
    12:47:46,444 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.context.Context.executeWithinProcessApplication(Context.java:192)
    12:47:46,444 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performNext(CommandInvocationContext.java:93)
    12:47:46,445 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performOperation(CommandInvocationContext.java:79)
    12:47:46,445 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:638)
    12:47:46,445 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:612)
    12:47:46,445 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationTransitionCreateScope.scopeCreated(PvmAtomicOperationTransitionCreateScope.java:34)
    12:47:46,446 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationCreateScope.execute(PvmAtomicOperationCreateScope.java:50)
    12:47:46,446 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationCreateScope.execute(PvmAtomicOperationCreateScope.java:24)
    12:47:46,446 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.interceptor.AtomicOperationInvocation.execute(AtomicOperationInvocation.java:92)
    12:47:46,446 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.invokeNext(CommandInvocationContext.java:124)
    12:47:46,446 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performNext(CommandInvocationContext.java:111)
    12:47:46,447 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext$1.call(CommandInvocationContext.java:95)
    12:47:46,447 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext$1.call(CommandInvocationContext.java:93)
    12:47:46,447 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.context.ProcessApplicationClassloaderInterceptor.call(ProcessApplicationClassloaderInterceptor.java:44)
    12:47:46,447 ERROR [stderr] (default task-1) at org.camunda.bpm.application.AbstractProcessApplication.execute(AbstractProcessApplication.java:114)
    12:47:46,447 ERROR [stderr] (default task-1) at org.camunda.bpm.application.AbstractProcessApplication.execute(AbstractProcessApplication.java:125)
    12:47:46,448 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.context.Context.executeWithinProcessApplication(Context.java:192)
    12:47:46,448 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performNext(CommandInvocationContext.java:93)
    12:47:46,448 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performOperation(CommandInvocationContext.java:79)
    12:47:46,448 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:638)
    12:47:46,448 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.startWithFormProperties(ExecutionEntity.java:497)
    12:47:46,449 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.cmd.SubmitStartFormCmd.execute(SubmitStartFormCmd.java:81)
    12:47:46,449 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.cmd.SubmitStartFormCmd.execute(SubmitStartFormCmd.java:39)
    12:47:46,449 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:24)
    12:47:46,449 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:104)
    12:47:46,450 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.interceptor.JtaTransactionInterceptor.execute(JtaTransactionInterceptor.java:58)
    12:47:46,450 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.interceptor.ProcessApplicationContextInterceptor.execute(ProcessApplicationContextInterceptor.java:66)
    12:47:46,450 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:30)
    12:47:46,450 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.impl.FormServiceImpl.submitStartForm(FormServiceImpl.java:76)
    12:47:46,451 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.rest.sub.repository.impl.ProcessDefinitionResourceImpl.submitForm(ProcessDefinitionResourceImpl.java:184)
    12:47:46,451 ERROR [stderr] (default task-1) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    12:47:46,451 ERROR [stderr] (default task-1) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    12:47:46,451 ERROR [stderr] (default task-1) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    12:47:46,451 ERROR [stderr] (default task-1) at java.lang.reflect.Method.invoke(Method.java:498)
    12:47:46,452 ERROR [stderr] (default task-1) at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:140)
    12:47:46,452 ERROR [stderr] (default task-1) at org.jboss.resteasy.core.ResourceMethodInvoker.internalInvokeOnTarget(ResourceMethodInvoker.java:509)
    12:47:46,452 ERROR [stderr] (default task-1) at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTargetAfterFilter(ResourceMethodInvoker.java:399)
    12:47:46,452 ERROR [stderr] (default task-1) at org.jboss.resteasy.core.ResourceMethodInvoker.lambda$invokeOnTarget$0(ResourceMethodInvoker.java:363)
    12:47:46,452 ERROR [stderr] (default task-1) at org.jboss.resteasy.core.interception.PreMatchContainerRequestContext.filter(PreMatchContainerRequestContext.java:358)
    12:47:46,453 ERROR [stderr] (default task-1) at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:365)
    12:47:46,453 ERROR [stderr] (default task-1) at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:337)
    12:47:46,453 ERROR [stderr] (default task-1) at org.jboss.resteasy.core.ResourceLocatorInvoker.invokeOnTargetObject(ResourceLocatorInvoker.java:137)
    12:47:46,453 ERROR [stderr] (default task-1) at org.jboss.resteasy.core.ResourceLocatorInvoker.invoke(ResourceLocatorInvoker.java:106)
    12:47:46,454 ERROR [stderr] (default task-1) at org.jboss.resteasy.core.ResourceLocatorInvoker.invokeOnTargetObject(ResourceLocatorInvoker.java:132)
    12:47:46,454 ERROR [stderr] (default task-1) at org.jboss.resteasy.core.ResourceLocatorInvoker.invoke(ResourceLocatorInvoker.java:100)
    12:47:46,454 ERROR [stderr] (default task-1) at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:443)
    12:47:46,454 ERROR [stderr] (default task-1) at org.jboss.resteasy.core.SynchronousDispatcher.lambda$invoke$4(SynchronousDispatcher.java:233)
    12:47:46,454 ERROR [stderr] (default task-1) at org.jboss.resteasy.core.SynchronousDispatcher.lambda$preprocess$0(SynchronousDispatcher.java:139)
    12:47:46,455 ERROR [stderr] (default task-1) at org.jboss.resteasy.core.interception.PreMatchContainerRequestContext.filter(PreMatchContainerRequestContext.java:358)
    12:47:46,455 ERROR [stderr] (default task-1) at org.jboss.resteasy.core.SynchronousDispatcher.preprocess(SynchronousDispatcher.java:142)
    12:47:46,455 ERROR [stderr] (default task-1) at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:219)
    12:47:46,455 ERROR [stderr] (default task-1) at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:227)
    12:47:46,455 ERROR [stderr] (default task-1) at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:56)
    12:47:46,456 ERROR [stderr] (default task-1) at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:51)
    12:47:46,456 ERROR [stderr] (default task-1) at javax.servlet.http.HttpServlet.service(HttpServlet.java:791)
    12:47:46,456 ERROR [stderr] (default task-1) at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
    12:47:46,456 ERROR [stderr] (default task-1) at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
    12:47:46,456 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.rest.filter.CacheControlFilter.doFilter(CacheControlFilter.java:41)
    12:47:46,457 ERROR [stderr] (default task-1) at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
    12:47:46,457 ERROR [stderr] (default task-1) at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
    12:47:46,457 ERROR [stderr] (default task-1) at org.camunda.bpm.engine.rest.filter.EmptyBodyFilter.doFilter(EmptyBodyFilter.java:95)
    12:47:46,457 ERROR [stderr] (default task-1) at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
    12:47:46,457 ERROR [stderr] (default task-1) at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
    12:47:46,458 ERROR [stderr] (default task-1) at org.camunda.bpm.webapp.impl.security.filter.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:162)
    12:47:46,458 ERROR [stderr] (default task-1) at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
    12:47:46,458 ERROR [stderr] (default task-1) at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
    12:47:46,458 ERROR [stderr] (default task-1) at org.camunda.bpm.webapp.impl.security.filter.SecurityFilter.doFilterSecure(SecurityFilter.java:67)
    12:47:46,458 ERROR [stderr] (default task-1) at org.camunda.bpm.webapp.impl.security.filter.SecurityFilter.doFilter(SecurityFilter.java:51)
    12:47:46,458 ERROR [stderr] (default task-1) at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
    12:47:46,458 ERROR [stderr] (default task-1) at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
    12:47:46,459 ERROR [stderr] (default task-1) at org.camunda.bpm.webapp.impl.security.auth.AuthenticationFilter$1.execute(AuthenticationFilter.java:58)
    12:47:46,459 ERROR [stderr] (default task-1) at org.camunda.bpm.webapp.impl.security.auth.AuthenticationFilter$1.execute(AuthenticationFilter.java:56)
    12:47:46,459 ERROR [stderr] (default task-1) at org.camunda.bpm.webapp.impl.security.SecurityActions.runWithAuthentications(SecurityActions.java:40)
    12:47:46,459 ERROR [stderr] (default task-1) at org.camunda.bpm.webapp.impl.security.auth.AuthenticationFilter.doFilter(AuthenticationFilter.java:56)
    12:47:46,459 ERROR [stderr] (default task-1) at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
    12:47:46,459 ERROR [stderr] (default task-1) at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
    12:47:46,459 ERROR [stderr] (default task-1) at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
    12:47:46,459 ERROR [stderr] (default task-1) at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
    12:47:46,459 ERROR [stderr] (default task-1) at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
    12:47:46,460 ERROR [stderr] (default task-1) at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
    12:47:46,460 ERROR [stderr] (default task-1) at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
    12:47:46,460 ERROR [stderr] (default task-1) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
    12:47:46,460 ERROR [stderr] (default task-1) at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:132)
    12:47:46,460 ERROR [stderr] (default task-1) at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
    12:47:46,460 ERROR [stderr] (default task-1) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
    12:47:46,460 ERROR [stderr] (default task-1) at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
    12:47:46,460 ERROR [stderr] (default task-1) at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
    12:47:46,460 ERROR [stderr] (default task-1) at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
    12:47:46,461 ERROR [stderr] (default task-1) at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
    12:47:46,461 ERROR [stderr] (default task-1) at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)
    12:47:46,461 ERROR [stderr] (default task-1) at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
    12:47:46,461 ERROR [stderr] (default task-1) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
    12:47:46,461 ERROR [stderr] (default task-1) at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
    12:47:46,461 ERROR [stderr] (default task-1) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
    12:47:46,461 ERROR [stderr] (default task-1) at org.wildfly.extension.undertow.deployment.GlobalRequestControllerHandler.handleRequest(GlobalRequestControllerHandler.java:68)
    12:47:46,461 ERROR [stderr] (default task-1) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
    12:47:46,461 ERROR [stderr] (default task-1) at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292)
    12:47:46,461 ERROR [stderr] (default task-1) at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81)
    12:47:46,462 ERROR [stderr] (default task-1) at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138)
    12:47:46,462 ERROR [stderr] (default task-1) at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)
    12:47:46,462 ERROR [stderr] (default task-1) at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
    12:47:46,462 ERROR [stderr] (default task-1) at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
    12:47:46,462 ERROR [stderr] (default task-1) at org.wildfly.extension.undertow.security.SecurityContextThreadSetupAction.lambda$create$0(SecurityContextThreadSetupAction.java:105)
    12:47:46,462 ERROR [stderr] (default task-1) at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1502)
    12:47:46,463 ERROR [stderr] (default task-1) at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1502)
    12:47:46,463 ERROR [stderr] (default task-1) at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1502)
    12:47:46,463 ERROR [stderr] (default task-1) at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1502)
    12:47:46,463 ERROR [stderr] (default task-1) at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272)
    12:47:46,463 ERROR [stderr] (default task-1) at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81)
    12:47:46,463 ERROR [stderr] (default task-1) at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:104)
    12:47:46,464 ERROR [stderr] (default task-1) at io.undertow.server.Connectors.executeRootHandler(Connectors.java:360)
    12:47:46,464 ERROR [stderr] (default task-1) at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:830)
    12:47:46,464 ERROR [stderr] (default task-1) at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
    12:47:46,464 ERROR [stderr] (default task-1) at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1985)
    12:47:46,464 ERROR [stderr] (default task-1) at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487)
    12:47:46,464 ERROR [stderr] (default task-1) at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1378)
    12:47:46,464 ERROR [stderr] (default task-1) at java.lang.Thread.run(Thread.java:748)
    12:47:46,465 INFO [stdout] (default task-1) java.sql.SQLException: No suitable driver found for jdbc:postgresql://localhost:5000/Camunda
    12:47:46,468 ERROR [org.camunda.bpm.engine.context] (default task-1) ENGINE-16006 BPMN Stack Trace:
    _ ExclusiveGateway_1kouef8 (activity-leave, ProcessInstance[80eb75b7-0e5e-11e9-93c1-e82a44d20265], pa=TaskLogin)_
    _ ExclusiveGateway_1kouef8_
    _ ^_
    _ |_
    _ ServiceTask_1hufug4, name=login_
    _ ^_
    _ |_
    _ StartEvent_1sfnngd_

Thanks a lot.

You need to add the postgresql driver jar to your application. If you use maven:

<dependency>
    <groupId>org.postgresql</groupId>
    <artifactId>postgresql</artifactId>
    <version>42.2.5</version>
</dependency>

Also make sure your Java version matches, apparently they have different drivers depending on the Java version: Maven Central Repository Search

If you do not use maven, how did you add the driver jar as dependency?

thank you for your help.the problem is i didn’t provide postgresql dependency in maven pom.xml file … once again thanks for your help …it means a lot.