2012-07-07 5 views
0

grails 액티비티 플러그인 Here을 찾은 후이 플러그인을 시작하려면 document을 찾았습니다.Grails 액티티 플러그인을 설치 한 후에 Grails 애플리케이션이 실행되지 않음

응용 프로그램을 실행에

내가 오류이 오류의 원인을

  | Running Grails application 
      Activiti Process Engine with 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 with name 'transactionMana 
      erPostProcessor': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tran 
      actionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.fac 
      ory.BeanCreationException: Error creating bean with name 'sessionFactory': Cannot resolve reference to bean 'hibernateProperties' while setting bean property 'hi 
      ernateProperties'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateProperties': Cannot resol 
      e reference to bean 'dialectDetector' while setting bean property 'properties' with key [hibernate.dialect]; nested exception is org.springframework.beans.factor 
      .BeanCreationException: Error creating bean with name 'dialectDetector': Invocation of init method failed; nested exception is org.springframework.jdbc.support.M 
      taDataAccessException: Error while extracting DatabaseMetaData; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionF 
      ctory (Connection is broken: "java.net.ConnectException: Connection refused: connect: localhost" [90067-164]) 
      Message: Error creating bean with name 'transactionManagerPostProcessor': Initialization of bean failed; nested exception is org.springframework.beans.factory.Be 
      nCreationException: Error creating bean with name 'transactionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFac 
      ory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Cannot resolve reference to be 
      n 'hibernateProperties' while setting bean property 'hibernateProperties'; nested exception is org.springframework.beans.factory.BeanCreationException: Error cre 
      ting bean with name 'hibernateProperties': Cannot resolve reference to bean 'dialectDetector' while setting bean property 'properties' with key [hibernate.dialec 
      ]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dialectDetector': Invocation of init method failed 
      nested exception is org.springframework.jdbc.support.MetaDataAccessException: Error while extracting DatabaseMetaData; nested exception is org.apache.commons.db 
      p.SQLNestedException: Cannot create PoolableConnectionFactory (Connection is 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 by BeanCreationException: Error creating bean with name 'transactionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean propert 
      'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Cannot resolve re 
      erence to bean 'hibernateProperties' while setting bean property 'hibernateProperties'; nested exception is org.springframework.beans.factory.BeanCreationExcepti 
      n: Error creating bean with name 'hibernateProperties': Cannot resolve reference to bean 'dialectDetector' while setting bean property 'properties' with key [hib 
      rnate.dialect]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dialectDetector': Invocation of init 
      ethod failed; nested exception is org.springframework.jdbc.support.MetaDataAccessException: Error while extracting DatabaseMetaData; nested exception is org.apac 
      e.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Connection is 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 by BeanCreationException: Error creating bean with name 'sessionFactory': Cannot resolve reference to bean 'hibernateProperties' while setting bean proper 
      y 'hibernateProperties'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateProperties': Cannot 
      resolve reference to bean 'dialectDetector' while setting bean property 'properties' with key [hibernate.dialect]; nested exception is org.springframework.beans. 
      actory.BeanCreationException: Error creating bean with name 'dialectDetector': Invocation of init method failed; nested exception is org.springframework.jdbc.sup 
      ort.MetaDataAccessException: Error while extracting DatabaseMetaData; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConne 
      tionFactory (Connection is 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 by BeanCreationException: Error creating bean with name 'hibernateProperties': Cannot resolve reference to bean 'dialectDetector' while setting bean prope 
      ty 'properties' with key [hibernate.dialect]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dialect 
      etector': Invocation of init method failed; nested exception is org.springframework.jdbc.support.MetaDataAccessException: Error while extracting DatabaseMetaData 
      nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Connection is 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 by BeanCreationException: Error creating bean with name 'dialectDetector': Invocation of init method failed; nested exception is org.springframework.jdbc. 
      upport.MetaDataAccessException: Error while extracting DatabaseMetaData; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableCo 
      nectionFactory (Connection is 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 by MetaDataAccessException: Error while extracting DatabaseMetaData; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create Poolabl 
      ConnectionFactory (Connection is 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 by SQLNestedException: Cannot create PoolableConnectionFactory (Connection is 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 by JdbcSQLException: Connection is broken: "java.net.ConnectException: Connection refused: connect: localhost" [90067-164] 
      ->> 329 | getJdbcSQLException in org.h2.message.DbException 
      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
      | 158 | get  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 by 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 

다음 무엇입니까 플러그인을 설치 한 후? 그것을 해결하는 방법?

답변

1

플러그인을 사용해 주셔서 감사합니다.

grails 앱을 실행하기 전에 H2 데이터베이스를 서버 모드로 시작해야합니다. 5.9 릴리스부터 플러그인은 메모리 내 H2 데이터베이스와 함께 실행됩니다.

더 빠른 응답을 얻으려면 다음 질문을 http://groups.google.com/group/grails-activiti-plugin에있는 플러그인의 토론 포럼에 게시하십시오.

안부, 스가 타 산시로 킨

Grails의 Activiti 플러그인 창조주

0

자바 -jar 당신 H2 데이터베이스 항아리, 당신은 당신의 Grails의-응용 프로그램을 실행하기 전에

관련 문제