Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

I already followed the instructions of this page http://dev.joget.org/community/display/KBv4/Building+from+SourceImage Removed

And I'm already in the Build Project Section.

...

But I still get the error:

SUREFIRE FILES:

org.joget.directory.model.service.TestDirectoryManager.txt

SUREFIRE FILES:TEST-org.joget.directory.model.service.TestDirectoryManager.xml

unmigrated-wiki-markup\------------------------------------------------------\-  T E S T S \
 T E S T S
------------------------------------------------------\-
Running org.joget.directory.model.service.TestDirectoryManager INFO  05 Mar 2015
INFO  05 Mar 2015 16:47:45 org.joget.commons.util.SetupManager  SetupManager  - Using base directory: C:\Users\SVEN\wflow\
No org.slf4j.impl.StaticLoggerBinder found in ClassPath, trying with log4j... INFO  05 Mar 2015
INFO  05 Mar 2015 16:47:45 com.atomikos.logging.LoggerFactory  LoggerFactory  - Using Log4j for logging. WARN  05 Mar 2015
WARN  05 Mar 2015 16:47:45 com.atomikos.icatch.config.UserTransactionServiceImp  - No properties path set - looking for UserTransactionServiceImp  - No properties path set - looking for transactions.properties in classpath... WARN  05 Mar 2015
WARN  05 Mar 2015 16:47:45 com.atomikos.icatch.config.UserTransactionServiceImp  UserTransactionServiceImp  - transactions.properties not found - looking for jta.properties in classpath... WARN  05 Mar 2015
WARN  05 Mar 2015 16:47:45 com.atomikos.icatch.config.UserTransactionServiceImp  UserTransactionServiceImp  - Failed to open transactions properties file - using default values INFO  05 Mar 2015 values
INFO  05 Mar 2015 16:47:45 com.atomikos.persistence.imp.FileLogStream  FileLogStream  - Starting read of logfile D:\SVEN\joget\wflow-directory\.\tmlog8.log INFO  05 Mar 2015
INFO  05 Mar 2015 16:47:45 com.atomikos.persistence.imp.FileLogStream  FileLogStream  - Done read of logfile INFO  05 Mar 2015 logfile
INFO  05 Mar 2015 16:47:45 com.atomikos.persistence.imp.FileLogStream  FileLogStream  - Logfile closed: D:\SVEN\joget\wflow-directory\.\tmlog8.log INFO  05 Mar 2015
INFO  05 Mar 2015 16:47:45 com.atomikos.icatch.config.imp.AbstractUserTransactionService  AbstractUserTransactionService  - USING core version: 3.8.0 INFO  05 Mar 2015
INFO  05 Mar 2015 16:47:45 com.atomikos.icatch.config.imp.AbstractUserTransactionService  AbstractUserTransactionService  - USING com.atomikos.icatch.console_file_name = tm.out INFO  05 Mar 2015
INFO  05 Mar 2015 16:47:45 com.atomikos.icatch.config.imp.AbstractUserTransactionService  AbstractUserTransactionService  - USING com.atomikos.icatch.console_file_count = 1 INFO  05 Mar 2015 1
INFO  05 Mar 2015 16:47:45 com.atomikos.icatch.config.imp.AbstractUserTransactionService  AbstractUserTransactionService  - USING com.atomikos.icatch.automatic_resource_registration = true INFO  05 Mar 2015 true
INFO  05 Mar 2015 16:47:45 com.atomikos.icatch.config.imp.AbstractUserTransactionService  AbstractUserTransactionService  - USING com.atomikos.icatch.client_demarcation = false INFO  05 Mar 2015 false
INFO  05 Mar 2015 16:47:45 com.atomikos.icatch.config.imp.AbstractUserTransactionService  AbstractUserTransactionService  - USING com.atomikos.icatch.threaded_2pc = false INFO  05 Mar 2015 false
INFO  05 Mar 2015 16:47:45 com.atomikos.icatch.config.imp.AbstractUserTransactionService  AbstractUserTransactionService  - USING com.atomikos.icatch.serial_jta_transactions = true INFO  05 Mar 2015 true
INFO  05 Mar 2015 16:47:45 com.atomikos.icatch.config.imp.AbstractUserTransactionService  AbstractUserTransactionService  - USING com.atomikos.icatch.log_base_dir = .\ INFO  05 Mar 2015
INFO  05 Mar 2015 16:47:45 com.atomikos.icatch.config.imp.AbstractUserTransactionService  AbstractUserTransactionService  - USING com.atomikos.icatch.console_log_level = WARN INFO  05 Mar 2015 WARN
INFO  05 Mar 2015 16:47:45 com.atomikos.icatch.config.imp.AbstractUserTransactionService  AbstractUserTransactionService  - USING com.atomikos.icatch.max_actives = 50 INFO  05 Mar 2015 50
INFO  05 Mar 2015 16:47:45 com.atomikos.icatch.config.imp.AbstractUserTransactionService  AbstractUserTransactionService  - USING com.atomikos.icatch.checkpoint_interval = 500 INFO  05 Mar 2015 500
INFO  05 Mar 2015 16:47:45 com.atomikos.icatch.config.imp.AbstractUserTransactionService  AbstractUserTransactionService  - USING com.atomikos.icatch.enable_logging = true INFO  05 Mar 2015 true
INFO  05 Mar 2015 16:47:45 com.atomikos.icatch.config.imp.AbstractUserTransactionService  AbstractUserTransactionService  - USING com.atomikos.icatch.output_dir = .\ INFO  05 Mar 2015
INFO  05 Mar 2015 16:47:45 com.atomikos.icatch.config.imp.AbstractUserTransactionService  AbstractUserTransactionService  - USING com.atomikos.icatch.log_base_name = tmlog INFO  05 Mar 2015 tmlog
INFO  05 Mar 2015 16:47:45 com.atomikos.icatch.config.imp.AbstractUserTransactionService  AbstractUserTransactionService  - USING com.atomikos.icatch.console_file_limit = \ -1 INFO  05 Mar 2015
INFO  05 Mar 2015 16:47:45 com.atomikos.icatch.config.imp.AbstractUserTransactionService  AbstractUserTransactionService  - USING com.atomikos.icatch.max_timeout = 300000 INFO  05 Mar 2015 300000
INFO  05 Mar 2015 16:47:45 com.atomikos.icatch.config.imp.AbstractUserTransactionService  AbstractUserTransactionService  - USING com.atomikos.icatch.tm_unique_name = 192.168.56.1.tm INFO  05 Mar 2015
INFO  05 Mar 2015 16:47:45 com.atomikos.icatch.config.imp.AbstractUserTransactionService  AbstractUserTransactionService  - USING java.naming.factory.initial = com.sun.jndi.rmi.registry.RegistryContextFactory INFO  05 Mar 2015
INFO  05 Mar 2015 16:47:45 com.atomikos.icatch.config.imp.AbstractUserTransactionService  AbstractUserTransactionService  - USING java.naming.provider.url = rmi://localhost:1099 INFO  05 Mar 2015
INFO  05 Mar 2015 16:47:45 com.atomikos.icatch.config.imp.AbstractUserTransactionService  AbstractUserTransactionService  - USING com.atomikos.icatch.service = com.atomikos.icatch.standalone.UserTransactionServiceFactory INFO  05 Mar 2015
INFO  05 Mar 2015 16:47:45 com.atomikos.icatch.config.imp.AbstractUserTransactionService  AbstractUserTransactionService  - USING com.atomikos.icatch.force_shutdown_on_vm_exit = false INFO  05 Mar 2015 false
INFO  05 Mar 2015 16:47:45 com.atomikos.icatch.config.imp.AbstractUserTransactionService  AbstractUserTransactionService  - USING com.atomikos.icatch.default_jta_timeout = 10000 INFO  05 Mar 2015 10000
INFO  05 Mar 2015 16:47:51 org.joget.commons.util.DynamicDataSource  DynamicDataSource  - datasourceName=workflow, url=jdbc:mysql://localhost:3307/jwdb?characterEncoding=UTF-8, user=root
ERROR 05 Mar 2015 16:47:52 org.hibernate.util.JDBCExceptionReporter  JDBCExceptionReporter  - Cannot create PoolableConnectionFactory (Access denied for user 'root'@'localhost' (using password: YES)) INFO  05 Mar 2015
INFO  05 Mar 2015 16:47:52 com.atomikos.persistence.imp.FileLogStream  FileLogStream  - Logfile closed: D:\SVEN\joget\wflow-directory\.\tmlog9.log INFO  05 Mar 2015
INFO  05 Mar 2015 16:47:52 com.atomikos.icatch.imp.thread.TaskManager  TaskManager  - THREADS: using JDK thread pooling...
ERROR 05 Mar 2015 16:47:52 org.springframework.test.context.TestContextManager  - Caught exception while allowing TestExecutionListener \TestContextManager  - Caught exception while allowing TestExecutionListener [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@5505ae1a\] to prepare test instance \ [org.joget.directory.model.service.TestDirectoryManager@73cd37c0\]
java.lang.IllegalStateException: Failed to load ApplicationContext     at ApplicationContext
    at org.springframework.test.context.TestContext.getApplicationContext(TestContext.java:201)     at
    at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:109)     at
    at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:75)     at
    at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:255)     at org.springframework.
    at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:111)     at
    at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.invokeTestMethod(SpringJUnit4ClassRunner.java:148)     at
    at org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:51)     at
    at org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:44)     at
    at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27)     at
    at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37)     at org.junit.
    at org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:42)     at
    at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:97)     at
    at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)     at
    at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)     at
    at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)     at
    at org.apache.maven.surefire.Surefire.run(Surefire.java:177)     at sun.reflect
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)     at
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)     at
    at java.lang.reflect.Method.invoke(Method.java:483)     at
    at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)     at
    at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'setupSessionFactory' defined in class path resource \ [commonsApplicationContext.xml\]: Invocation of init method failed; nested exception is org.hibernate.HibernateException: Hibernate Dialect must be explicitly set     at set
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338)     at
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)     at
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)     at
    at java.security.AccessController.doPrivileged(Native Method)     at
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)     at
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)     at
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)     at
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)     at
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)     at
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)     at
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:423)     at org
    at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)     at
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)     at
    at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:84)     at
    at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:42)     at
    at org.springframework.test.context.TestContext.loadApplicationContext(TestContext.java:173)     at
    at org.springframework.test.context.TestContext.getApplicationContext(TestContext.java:197)     ... 21 more Caused by:
    ... 21 more
Caused by: org.hibernate.HibernateException: Hibernate Dialect must be explicitly set     at set
    at org.hibernate.dialect.DialectFactory.determineDialect(DialectFactory.java:57)     at
    at org.hibernate.dialect.DialectFactory.buildDialect(DialectFactory.java:39)     at
    at org.hibernate.cfg.SettingsFactory.determineDialect(SettingsFactory.java:426)     at
    at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:128)     at
    at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2090)     at
    at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2086)     at
    at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1311)     at
    at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:814)     at
    at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:732)     at
    at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:211)     at
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1369)     at org.
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)     
    ... 37 more WARN  05 Mar 2015 more
WARN  05 Mar 2015 16:47:52 com.atomikos.icatch.config.UserTransactionServiceImp  UserTransactionServiceImp  - No properties path set - looking for transactions.properties in classpath... WARN  05 Mar 2015
WARN  05 Mar 2015 16:47:52 com.atomikos.icatch.config.UserTransactionServiceImp  UserTransactionServiceImp  - transactions.properties not found - looking for jta.properties in classpath... WARN  05 Mar 2015
WARN  05 Mar 2015 16:47:52 com.atomikos.icatch.config.UserTransactionServiceImp  UserTransactionServiceImp  - Failed to open transactions properties file - using default values INFO  05 Mar 2015 values
INFO  05 Mar 2015 16:47:52 com.atomikos.persistence.imp.FileLogStream  FileLogStream  - Starting read of logfile D:\SVEN\joget\wflow-directory\.\tmlog9.log INFO  05 Mar 2015
INFO  05 Mar 2015 16:47:52 com.atomikos.persistence.imp.FileLogStream  FileLogStream  - Done read of logfile INFO  05 Mar 2015 logfile
INFO  05 Mar 2015 16:47:52 com.atomikos.persistence.imp.FileLogStream  FileLogStream  - Logfile closed: D:\SVEN\joget\wflow-directory\.\tmlog9.log INFO  05 Mar 2015
INFO  05 Mar 2015 16:47:52 com.atomikos.icatch.config.imp.AbstractUserTransactionService  AbstractUserTransactionService  - USING core version: 3.8.0 INFO  05 Mar 2015
INFO  05 Mar 2015 16:47:52 com.atomikos.icatch.config.imp.AbstractUserTransactionService  AbstractUserTransactionService  - USING com.atomikos.icatch.console_file_name = tm.out INFO  05 Mar 2015
INFO  05 Mar 2015 16:47:52 com.atomikos.icatch.config.imp.AbstractUserTransactionService  AbstractUserTransactionService  - USING com.atomikos.icatch.console_file_count = 1 INFO  05 Mar 2015 1
INFO  05 Mar 2015 16:47:52 com.atomikos.icatch.config.imp.AbstractUserTransactionService  AbstractUserTransactionService  - USING com.atomikos.icatch.automatic_resource_registration = true INFO  05 Mar 2015 true
INFO  05 Mar 2015 16:47:52 com.atomikos.icatch.config.imp.AbstractUserTransactionService  AbstractUserTransactionService  - USING com.atomikos.icatch.client_demarcation = false INFO  05 Mar 2015 false
INFO  05 Mar 2015 16:47:52 com.atomikos.icatch.config.imp.AbstractUserTransactionService  AbstractUserTransactionService  - USING com.atomikos.icatch.threaded_2pc = false INFO  05 Mar 2015 false
INFO  05 Mar 2015 16:47:52 com.atomikos.icatch.config.imp.AbstractUserTransactionService  AbstractUserTransactionService  - USING com.atomikos.icatch.serial_jta_transactions = true INFO  05 Mar 2015 true
INFO  05 Mar 2015 16:47:52 com.atomikos.icatch.config.imp.AbstractUserTransactionService  AbstractUserTransactionService  - USING com.atomikos.icatch.log_base_dir = .\ INFO  05 Mar 2015
INFO  05 Mar 2015 16:47:52 com.atomikos.icatch.config.imp.AbstractUserTransactionService  AbstractUserTransactionService  - USING com.atomikos.icatch.console_log_level = WARN INFO  05 Mar 2015 WARN
INFO  05 Mar 2015 16:47:52 com.atomikos.icatch.config.imp.AbstractUserTransactionService  AbstractUserTransactionService  - USING com.atomikos.icatch.max_actives = 50 INFO  05 Mar 2015 50
INFO  05 Mar 2015 16:47:52 com.atomikos.icatch.config.imp.AbstractUserTransactionService  - USING AbstractUserTransactionService  - USING com.atomikos.icatch.checkpoint_interval = 500 INFO  05 Mar 2015 500
INFO  05 Mar 2015 16:47:52 com.atomikos.icatch.config.imp.AbstractUserTransactionService  AbstractUserTransactionService  - USING com.atomikos.icatch.enable_logging = true INFO  05 Mar 2015 true
INFO  05 Mar 2015 16:47:52 com.atomikos.icatch.config.imp.AbstractUserTransactionService  AbstractUserTransactionService  - USING com.atomikos.icatch.output_dir = .\ INFO  05 Mar 2015
INFO  05 Mar 2015 16:47:52 com.atomikos.icatch.config.imp.AbstractUserTransactionService  AbstractUserTransactionService  - USING com.atomikos.icatch.log_base_name = tmlog INFO  05 Mar 2015 tmlog
INFO  05 Mar 2015 16:47:52 com.atomikos.icatch.config.imp.AbstractUserTransactionService  AbstractUserTransactionService  - USING com.atomikos.icatch.console_file_limit = \ -1 INFO  05 Mar 2015
INFO  05 Mar 2015 16:47:52 com.atomikos.icatch.config.imp.AbstractUserTransactionService  AbstractUserTransactionService  - USING com.atomikos.icatch.max_timeout = 300000 INFO  05 Mar 2015 300000
INFO  05 Mar 2015 16:47:52 com.atomikos.icatch.config.imp.AbstractUserTransactionService  AbstractUserTransactionService  - USING com.atomikos.icatch.tm_unique_name = 192.168.56.1.tm INFO  05 Mar 2015
INFO  05 Mar 2015 16:47:52 com.atomikos.icatch.config.imp.AbstractUserTransactionService  AbstractUserTransactionService  - USING java.naming.factory.initial = com.sun.jndi.rmi.registry.RegistryContextFactory INFO  05 Mar 2015
INFO  05 Mar 2015 16:47:52 com.atomikos.icatch.config.imp.AbstractUserTransactionService  AbstractUserTransactionService  - USING java.naming.provider.url = rmi://localhost:1099 INFO  05 Mar 2015
INFO  05 Mar 2015 16:47:52 com.atomikos.icatch.config.imp.AbstractUserTransactionService  AbstractUserTransactionService  - USING com.atomikos.icatch.service = com.atomikos.icatch.standalone.UserTransactionServiceFactory INFO  05 Mar 2015
INFO  05 Mar 2015 16:47:52 com.atomikos.icatch.config.imp.AbstractUserTransactionService  AbstractUserTransactionService  - USING com.atomikos.icatch.force_shutdown_on_vm_exit = false INFO  05 Mar 2015 false
INFO  05 Mar 2015 16:47:52 com.atomikos.icatch.config.imp.AbstractUserTransactionService  AbstractUserTransactionService  - USING com.atomikos.icatch.default_jta_timeout = 10000 INFO  05 Mar 2015 10000
INFO  05 Mar 2015 16:47:53 org.joget.commons.util.DynamicDataSource  DynamicDataSource  - datasourceName=workflow, url=jdbc:mysql://localhost:3307/jwdb?characterEncoding=UTF-8, user=root
ERROR 05 Mar 2015 16:47:53 org.hibernate.util.JDBCExceptionReporter  JDBCExceptionReporter  - Cannot create PoolableConnectionFactory (Access denied for user 'root'@'localhost' (using password: YES)) INFO  05 Mar 2015
INFO  05 Mar 2015 16:47:53 com.atomikos.persistence.imp.FileLogStream  FileLogStream  - Logfile closed: D:\SVEN\joget\wflow-directory\.\tmlog10.log
ERROR 05 Mar 2015 16:47:53 org.springframework.test.context.TestContextManager  TestContextManager  - Caught exception while allowing TestExecutionListener \ [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@5505ae1a\] to prepare test instance \ [org.joget.directory.model.service.TestDirectoryManager@4331d187\]
java.lang.IllegalStateException: Failed to load ApplicationContext     at ApplicationContext
    at org.springframework.test.context.TestContext.getApplicationContext(TestContext.java:201)     at
    at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:109)     at
    at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:75)     at org.springframework
    at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:255)     at
    at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:111)     at
    at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.invokeTestMethod(SpringJUnit4ClassRunner.java:148)     at
    at org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:51)     at
    at org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:44)     at
    at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27)     at org.junit
    at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37)     at
    at org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:42)     at
    at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:97)     at
    at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)     at
    at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)     at
    at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)     at org.apache.
    at org.apache.maven.surefire.Surefire.run(Surefire.java:177)     at
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)     at
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)     at
    at java.lang.reflect.Method.invoke(Method.java:483)     at
    at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)     at
    at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'setupSessionFactory' defined in class path resource \ [commonsApplicationContext.xml\]: Invocation of init method failed; nested exception is org.hibernate.HibernateException: Hibernate Dialect must be explicitly set     at set
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338)     at
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)     at
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)     at
    at java.security.AccessController.doPrivileged(Native Method)     at
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)     at :380)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)     at
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)     at
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)     at
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)     at
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)     at
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:423)     at 423)
    at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)     at
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)     at
    at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:84)     at
    at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:42)     at
    at org.springframework.test.context.TestContext.loadApplicationContext(TestContext.java:173)     at
    at org.springframework.test.context.TestContext.getApplicationContext(TestContext.java:197)     
    ... 21 more
Caused by: org.hibernate.HibernateException: Hibernate Dialect must be explicitly set     at set
    at org.hibernate.dialect.DialectFactory.determineDialect(DialectFactory.java:57)     at
    at org.hibernate.dialect.DialectFactory.buildDialect(DialectFactory.java:39)     at
    at org.hibernate.cfg.SettingsFactory.determineDialect(SettingsFactory.java:426)     at
    at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:128)     at
    at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2090)     at java:2090)
    at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2086)     at
    at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1311)     at
    at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:814)     at
    at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:732)     at
    at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:211)     at
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1369)     at java:1369)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)     
    ... 37 more WARN  05 Mar 2015 more
WARN  05 Mar 2015 16:47:53 com.atomikos.icatch.config.UserTransactionServiceImp  UserTransactionServiceImp  - No properties path set - looking for transactions.properties in classpath... WARN  05 Mar 2015
WARN  05 Mar 2015 16:47:53 com.atomikos.icatch.config.UserTransactionServiceImp  UserTransactionServiceImp  - transactions.properties not found - looking for jta.properties in classpath... WARN  05 Mar 2015
WARN  05 Mar 2015 16:47:53 com.atomikos.icatch.config.UserTransactionServiceImp  UserTransactionServiceImp  - Failed to open transactions properties file - using default values INFO  05 Mar 2015 values
INFO  05 Mar 2015 16:47:53 com.atomikos.persistence.imp.FileLogStream  FileLogStream  - Starting read of logfile D:\SVEN\joget\wflow-directory\.\tmlog10.log INFO  05 Mar 2015
INFO  05 Mar 2015 16:47:53 com.atomikos.persistence.imp.FileLogStream  FileLogStream  - Done read of logfile INFO  05 Mar 2015 logfile
INFO  05 Mar 2015 16:47:53 com.atomikos.persistence.imp.FileLogStream  FileLogStream  - Logfile closed: D:\SVEN\joget\wflow-directory\.\tmlog10.log INFO  05 Mar 2015
INFO  05 Mar 2015 16:47:53 com.atomikos.icatch.config.imp.AbstractUserTransactionService  AbstractUserTransactionService  - USING core version: 3.8.0 INFO  05 Mar 2015
INFO  05 Mar 2015 16:47:53 com.atomikos.icatch.config.imp.AbstractUserTransactionService  AbstractUserTransactionService  - USING com.atomikos.icatch.console_file_name = tm.out INFO  05 Mar 2015
INFO  05 Mar 2015 16:47:53 com.atomikos.icatch.config.imp.AbstractUserTransactionService  AbstractUserTransactionService  - USING com.atomikos.icatch.console_file_count = 1 INFO  05 Mar 2015 1
INFO  05 Mar 2015 16:47:53 com.atomikos.icatch.config.imp.AbstractUserTransactionService  AbstractUserTransactionService  - USING com.atomikos.icatch.automatic_resource_registration = true INFO  05 Mar 2015 true
INFO  05 Mar 2015 16:47:53 com.atomikos.icatch.config.imp.AbstractUserTransactionService  AbstractUserTransactionService  - USING com.atomikos.icatch.client_demarcation = false INFO  05 Mar 2015 false
INFO  05 Mar 2015 16:47:53 com.atomikos.icatch.config.imp.AbstractUserTransactionService  AbstractUserTransactionService  - USING com.atomikos.icatch.threaded_2pc = false INFO  05 Mar 2015 false
INFO  05 Mar 2015 16:47:53 com.atomikos.icatch.config.imp.AbstractUserTransactionService  AbstractUserTransactionService  - USING com.atomikos.icatch.serial_jta_transactions = true INFO  05 Mar 2015 true
INFO  05 Mar 2015 16:47:53 com.atomikos.icatch.config.imp.AbstractUserTransactionService  AbstractUserTransactionService  - USING com.atomikos.icatch.log_base_dir = .\ INFO  05 Mar 2015
INFO  05 Mar 2015 16:47:53 com.atomikos.icatch.config.imp.AbstractUserTransactionService  AbstractUserTransactionService  - USING com.atomikos.icatch.console_log_level = WARN INFO  05 Mar 2015 WARN
INFO  05 Mar 2015 16:47:53 com.atomikos.icatch.config.imp.AbstractUserTransactionService  AbstractUserTransactionService  - USING com.atomikos.icatch.max_actives = 50 INFO  05 Mar 2015 50
INFO  05 Mar 2015 16:47:53 com.atomikos.icatch.config.imp.AbstractUserTransactionService  AbstractUserTransactionService  - USING com.atomikos.icatch.checkpoint_interval = 500 INFO  05 Mar 2015 500
INFO  05 Mar 2015 16:47:53 com.atomikos.icatch.config.imp.AbstractUserTransactionService  AbstractUserTransactionService  - USING com.atomikos.icatch.enable_logging = true INFO  05 Mar 2015 true
INFO  05 Mar 2015 16:47:53 com.atomikos.icatch.config.imp.AbstractUserTransactionService  AbstractUserTransactionService  - USING com.atomikos.icatch.output_dir = .\ INFO  05 Mar 2015
INFO  05 Mar 2015 16:47:53 com.atomikos.icatch.config.imp.AbstractUserTransactionService  AbstractUserTransactionService  - USING com.atomikos.icatch.log_base_name = tmlog INFO  05 Mar 2015 tmlog
INFO  05 Mar 2015 16:47:53 com.atomikos.icatch.config.imp.AbstractUserTransactionService  AbstractUserTransactionService  - USING com.atomikos.icatch.console_file_limit = \-1 INFO  05 Mar 2015 -1
INFO  05 Mar 2015 16:47:53 com.atomikos.icatch.config.imp.AbstractUserTransactionService  AbstractUserTransactionService  - USING com.atomikos.icatch.max_timeout = 300000 INFO  05 Mar 2015 300000
INFO  05 Mar 2015 16:47:53 com.atomikos.icatch.config.imp.AbstractUserTransactionService  AbstractUserTransactionService  - USING com.atomikos.icatch.tm_unique_name = 192.168.56.1.tm INFO  05 Mar 2015
INFO  05 Mar 2015 16:47:53 com.atomikos.icatch.config.imp.AbstractUserTransactionService  AbstractUserTransactionService  - USING java.naming.factory.initial = com.sun.jndi.rmi.registry.RegistryContextFactory INFO  05 Mar 2015
INFO  05 Mar 2015 16:47:53 com.atomikos.icatch.config.imp.AbstractUserTransactionService  AbstractUserTransactionService  - USING java.naming.provider.url = rmi://localhost:1099 INFO  05 Mar 2015
INFO  05 Mar 2015 16:47:53 com.atomikos.icatch.config.imp.AbstractUserTransactionService  AbstractUserTransactionService  - USING com.atomikos.icatch.service = com.atomikos.icatch.standalone.UserTransactionServiceFactory INFO  05 Mar 2015
INFO  05 Mar 2015 16:47:53 com.atomikos.icatch.config.imp.AbstractUserTransactionService  AbstractUserTransactionService  - USING com.atomikos.icatch.force_shutdown_on_vm_exit = false INFO  05 Mar 2015 false
INFO  05 Mar 2015 16:47:53 com.atomikos.icatch.config.imp.AbstractUserTransactionService  AbstractUserTransactionService  - USING com.atomikos.icatch.default_jta_timeout = 10000 INFO  05 Mar 2015 10000
INFO  05 Mar 2015 16:47:53 org.joget.commons.util.DynamicDataSource  DynamicDataSource  - datasourceName=workflow, url=jdbc:mysql://localhost:3307/jwdb?characterEncoding=UTF-8, user=root
ERROR 05 Mar 2015 16:47:53 org.hibernate.util.JDBCExceptionReporter  JDBCExceptionReporter  - Cannot create PoolableConnectionFactory (Access denied for user 'root'@'localhost' (using password: YES)) INFO  05 Mar 2015
INFO  05 Mar 2015 16:47:53 com.atomikos.persistence.imp.FileLogStream  FileLogStream  - Logfile closed: D:\SVEN\joget\wflow-directory\.\tmlog11.log
ERROR 05 Mar 2015 16:47:53 org.springframework.test.context.TestContextManager  TestContextManager  - Caught exception while allowing TestExecutionListener \ [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@5505ae1a\] to prepare test instance \ [org.joget.directory.model.service.TestDirectoryManager@2ea6e30c\]
java.lang.IllegalStateException: Failed to load ApplicationContext     at ApplicationContext
    at org.springframework.test.context.TestContext.getApplicationContext(TestContext.java:201)     at
    at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:109)     at
    at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:75)     at :75)
    at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:255)     at
    at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:111)     at
    at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.invokeTestMethod(SpringJUnit4ClassRunner.java:148)     at
    at org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:51)     at
    at org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:44)     at
    at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27)     at )
    at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37)     at
    at org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:42)     at
    at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:97)     at
    at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)     at
    at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)     at
    at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)     at
    at org.apache.maven.surefire.Surefire.run(Surefire.java:177)     at
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)     at
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)     at
    at java.lang.reflect.Method.invoke(Method.java:483)     at
    at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)     at
    at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'setupSessionFactory' defined in class path resource \ [commonsApplicationContext.xml\]: Invocation of init method failed; nested exception is org.hibernate.HibernateException: Hibernate Dialect must be explicitly set     at set
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338)     at
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)     at
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)     at
    at java.security.AccessController.doPrivileged(Native Method)     at (Native Method)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)     at
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)     at
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)     at
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)     at
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)     at
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)     at 164)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:423)     at
    at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)     at
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)     at
    at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:84)     at
    at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:42)     at
    at org.springframework.test.context.TestContext.loadApplicationContext(TestContext.java:173)     at
    at org.springframework.test.context.TestContext.getApplicationContext(TestContext.java:197)     
    ... 21 more
Caused by: org.hibernate.HibernateException: Hibernate Dialect must be explicitly set     at set
    at org.hibernate.dialect.DialectFactory.determineDialect(DialectFactory.java:57)     at
    at org.hibernate.dialect.DialectFactory.buildDialect(DialectFactory.java:39)     at
    at org.hibernate.cfg.SettingsFactory.determineDialect(SettingsFactory.java:426)     at
    at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:128)     at
    at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2090)     at
    at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2086)     at
    at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1311)     at
    at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:814)     at
    at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:732)     at
    at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:211)     at
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1369)     at
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)     
    ... 37 more
Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 10.858 sec <<< FAILURE\!

Results :

Tests in error:
  testDeletion(org.joget.directory.model.service.TestDirectoryManager)
  testUsersAndGroups(org.joget.directory.model.service.TestDirectoryManager)
  testOrganizationChart(org.joget.directory.model.service.TestDirectoryManager)

...

------------------------------------------------------------------------
Reactor Summary:

Wiki Markupwflow-jdbc ........................................ SUCCESS \ [32.198s\]
wflow-commons ..................................... SUCCESS \ [6.361s\]
wflow-plugin-base ................................. SUCCESS \ [6.900s\]
wflow-plugin-archetype ............................ SUCCESS \ [11.209s\] *
wflow-directory ................................... FAILURE \ [17.363s\]*
wflow-wfengine .................................... SKIPPED
wflow-core ........................................ SKIPPED
wflow-consoleweb .................................. SKIPPED
wflow-designer .................................... SKIPPED
wflow-designerweb ................................. SKIPPED
wflow-app ......................................... SKIPPED \
-----------------------------------------------------------------------\-
BUILD FAILURE \
-----------------------------------------------------------------------\-
Total time: 1:14.531s
Finished at: Thu Mar 05 16:47:53 ULAT 2015
Final Memory: 29M/115M \
-----------------------------------------------------------------------\-
Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.4.3:test (default-test) on project wflow-directory: There are test failures.

Wiki MarkupPlease refer to D:\SVEN\joget\wflow-directory\target\surefire-reports for the individual test results. \
-> \ [Help 1\]

To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.

Wiki MarkupFor more information about the errors and possible solutions, please read the following articles: \
[Help 1\] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

After correcting the problems, you can resume the build with the command
  mvn <goals> -rf :wflow-directory