apache - Grails application is not running after installing Grails activiti plugin -
i have found grails activity plugin here , following document getting started plugin .
on running application after installing plugin getting following error
| running grails application activiti process engine spring security initialization ... activiti process engine initialization... configuring spring security core ... ... finished configuring spring security core | error 2012-07-07 14:02:45,500 [pool-7-thread-1] error context.grailscontextloader - error executing bootstraps: error creating bean name 'transactionmana erpostprocessor': initialization of bean failed; nested exception org.springframework.beans.factory.beancreationexception: error creating bean name 'tran actionmanager': cannot resolve reference bean 'sessionfactory' while setting bean property 'sessionfactory'; nested exception org.springframework.beans.fac ory.beancreationexception: error creating bean name 'sessionfactory': cannot resolve reference bean 'hibernateproperties' while setting bean property 'hi ernateproperties'; nested exception org.springframework.beans.factory.beancreationexception: error creating bean name 'hibernateproperties': cannot resol e reference bean 'dialectdetector' while setting bean property 'properties' key [hibernate.dialect]; nested exception org.springframework.beans.factor .beancreationexception: error creating bean name 'dialectdetector': invocation of init method failed; nested exception org.springframework.jdbc.support.m tadataaccessexception: error while extracting databasemetadata; nested exception org.apache.commons.dbcp.sqlnestedexception: cannot create poolableconnectionf ctory (connection broken: "java.net.connectexception: connection refused: connect: localhost" [90067-164]) message: error creating bean name 'transactionmanagerpostprocessor': initialization of bean failed; nested exception org.springframework.beans.factory.be ncreationexception: error creating bean name 'transactionmanager': cannot resolve reference bean 'sessionfactory' while setting bean property 'sessionfac ory'; nested exception org.springframework.beans.factory.beancreationexception: error creating bean name 'sessionfactory': cannot resolve reference n 'hibernateproperties' while setting bean property 'hibernateproperties'; nested exception org.springframework.beans.factory.beancreationexception: error cre ting bean name 'hibernateproperties': cannot resolve reference bean 'dialectdetector' while setting bean property 'properties' key [hibernate.dialec ]; nested exception org.springframework.beans.factory.beancreationexception: error creating bean name 'dialectdetector': invocation of init method failed nested exception org.springframework.jdbc.support.metadataaccessexception: error while extracting databasemetadata; nested exception org.apache.commons.db p.sqlnestedexception: cannot create poolableconnectionfactory (connection broken: "java.net.connectexception: connection refused: connect: localhost" [90067-1 4]) line | method ->> 303 | innerrun in java.util.concurrent.futuretask$sync - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | 138 | run in java.util.concurrent.futuretask | 886 | runtask in java.util.concurrent.threadpoolexecutor$worker | 908 | run in '' ^ 662 | run . . in java.lang.thread caused beancreationexception: error creating bean name 'transactionmanager': cannot resolve reference bean 'sessionfactory' while setting bean propert 'sessionfactory'; nested exception org.springframework.beans.factory.beancreationexception: error creating bean name 'sessionfactory': cannot resolve re erence bean 'hibernateproperties' while setting bean property 'hibernateproperties'; nested exception org.springframework.beans.factory.beancreationexcepti n: error creating bean name 'hibernateproperties': cannot resolve reference bean 'dialectdetector' while setting bean property 'properties' key [hib rnate.dialect]; nested exception org.springframework.beans.factory.beancreationexception: error creating bean name 'dialectdetector': invocation of init ethod failed; nested exception org.springframework.jdbc.support.metadataaccessexception: error while extracting databasemetadata; nested exception org.apac e.commons.dbcp.sqlnestedexception: cannot create poolableconnectionfactory (connection broken: "java.net.connectexception: connection refused: connect: localh st" [90067-164]) ->> 303 | innerrun in java.util.concurrent.futuretask$sync - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | 138 | run in java.util.concurrent.futuretask | 886 | runtask in java.util.concurrent.threadpoolexecutor$worker | 908 | run in '' ^ 662 | run . . in java.lang.thread caused beancreationexception: error creating bean name 'sessionfactory': cannot resolve reference bean 'hibernateproperties' while setting bean proper y 'hibernateproperties'; nested exception org.springframework.beans.factory.beancreationexception: error creating bean name 'hibernateproperties': cannot resolve reference bean 'dialectdetector' while setting bean property 'properties' key [hibernate.dialect]; nested exception org.springframework.beans. actory.beancreationexception: error creating bean name 'dialectdetector': invocation of init method failed; nested exception org.springframework.jdbc.sup ort.metadataaccessexception: error while extracting databasemetadata; nested exception org.apache.commons.dbcp.sqlnestedexception: cannot create poolableconne tionfactory (connection broken: "java.net.connectexception: connection refused: connect: localhost" [90067-164]) ->> 303 | innerrun in java.util.concurrent.futuretask$sync - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | 138 | run in java.util.concurrent.futuretask | 886 | runtask in java.util.concurrent.threadpoolexecutor$worker | 908 | run in '' ^ 662 | run . . in java.lang.thread caused beancreationexception: error creating bean name 'hibernateproperties': cannot resolve reference bean 'dialectdetector' while setting bean prope ty 'properties' key [hibernate.dialect]; nested exception org.springframework.beans.factory.beancreationexception: error creating bean name 'dialect etector': invocation of init method failed; nested exception org.springframework.jdbc.support.metadataaccessexception: error while extracting databasemetadata nested exception org.apache.commons.dbcp.sqlnestedexception: cannot create poolableconnectionfactory (connection broken: "java.net.connectexception: conne tion refused: connect: localhost" [90067-164]) ->> 303 | innerrun in java.util.concurrent.futuretask$sync - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | 138 | run in java.util.concurrent.futuretask | 886 | runtask in java.util.concurrent.threadpoolexecutor$worker | 908 | run in '' ^ 662 | run . . in java.lang.thread caused beancreationexception: error creating bean name 'dialectdetector': invocation of init method failed; nested exception org.springframework.jdbc. upport.metadataaccessexception: error while extracting databasemetadata; nested exception org.apache.commons.dbcp.sqlnestedexception: cannot create poolableco nectionfactory (connection broken: "java.net.connectexception: connection refused: connect: localhost" [90067-164]) ->> 303 | innerrun in java.util.concurrent.futuretask$sync - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | 138 | run in java.util.concurrent.futuretask | 886 | runtask in java.util.concurrent.threadpoolexecutor$worker | 908 | run in '' ^ 662 | run . . in java.lang.thread caused metadataaccessexception: error while extracting databasemetadata; nested exception org.apache.commons.dbcp.sqlnestedexception: cannot create poolabl connectionfactory (connection broken: "java.net.connectexception: connection refused: connect: localhost" [90067-164]) ->> 303 | innerrun in java.util.concurrent.futuretask$sync - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | 138 | run in java.util.concurrent.futuretask | 886 | runtask in java.util.concurrent.threadpoolexecutor$worker | 908 | run in '' ^ 662 | run . . in java.lang.thread caused sqlnestedexception: cannot create poolableconnectionfactory (connection broken: "java.net.connectexception: connection refused: connect: localhost" 90067-164]) ->> 1549 | createpoolableconnectionfactory in org.apache.commons.dbcp.basicdatasource - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | 1388 | createdatasource in '' | 1044 | getconnection in '' | 303 | innerrun in java.util.concurrent.futuretask$sync | 138 | run . . in java.util.concurrent.futuretask | 886 | runtask in java.util.concurrent.threadpoolexecutor$worker | 908 | run . . in '' ^ 662 | run in java.lang.thread caused jdbcsqlexception: connection broken: "java.net.connectexception: connection refused: connect: localhost" [90067-164] ->> 329 | getjdbcsqlexception in org.h2.message.dbexception - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | 158 | in '' | 397 | connectserver in org.h2.engine.sessionremote | 287 | connectembeddedorserver in '' | 110 | <init> . in org.h2.jdbc.jdbcconnection | 94 | <init> in '' | 72 | connect in org.h2.driver | 38 | createconnection in org.apache.commons.dbcp.driverconnectionfactory | 582 | makeobject in org.apache.commons.dbcp.poolableconnectionfactory | 1556 | validateconnectionfactory in org.apache.commons.dbcp.basicdatasource | 1545 | createpoolableconnectionfactory in '' | 1388 | createdatasource in '' | 1044 | getconnection in '' | 303 | innerrun in java.util.concurrent.futuretask$sync | 138 | run . . in java.util.concurrent.futuretask | 886 | runtask in java.util.concurrent.threadpoolexecutor$worker | 908 | run . . in '' ^ 662 | run in java.lang.thread caused connectexception: connection refused: connect ->> 351 | doconnect in java.net.plainsocketimpl - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | 213 | connecttoaddress in '' | 200 | connect in '' | 366 | connect in java.net.sockssocketimpl | 529 | connect in java.net.socket | 119 | createsocket in org.h2.util.netutils | 100 | createsocket in '' | 93 | inittransfer in org.h2.engine.sessionremote | 393 | connectserver in '' | 287 | connectembeddedorserver in '' | 110 | <init> . in org.h2.jdbc.jdbcconnection | 94 | <init> in '' | 72 | connect in org.h2.driver | 38 | createconnection in org.apache.commons.dbcp.driverconnectionfactory | 582 | makeobject in org.apache.commons.dbcp.poolableconnectionfactory | 1556 | validateconnectionfactory in org.apache.commons.dbcp.basicdatasource | 1545 | createpoolableconnectionfactory in '' | 1388 | createdatasource in '' | 1044 | getconnection in '' | 303 | innerrun in java.util.concurrent.futuretask$sync | 138 | run . . in java.util.concurrent.futuretask | 886 | runtask in java.util.concurrent.threadpoolexecutor$worker | 908 | run . . in '' ^ 662 | run in java.lang.thread
what causes error? how solve it?
thanks trying out plugin.
you need start h2 database server mode prior running grails app. start 5.9 release, plugin run in-memory h2 database.
please post future question discussion forum of plugin @ http://groups.google.com/group/grails-activiti-plugin faster response.
best regards, chee kin
grails activiti plugin creator
Comments
Post a Comment