主题 : jeecms导入 问题
级别: 解元
UID: 113006
积分:313 加为好友
威望: 1 精华: 0
主题:19 回复:130
注册时间:2017-05-04
在线时长:0
1#   发表于:2017-11-28 13:28:03  IP:120.22.*.*
jeecms8.1导入eclipse的时候,按照步骤到第四步的时候,
“在数据库中导入db文件夹下的数据库”  这个DB文件是导入到mysql里面吗,为什么我用navicat for mysql “运行sql文件”不行
级别: 版主
UID: 117477
积分:5145 加为好友
威望: 0 精华: 0
主题:0 回复:4823
注册时间:2017-10-25
在线时长:0
2#   发表于:2017-11-28 13:29:27  IP:115.78.*.*
回复第1楼
是导入mysql
级别: 解元
UID: 113006
积分:313 加为好友
威望: 1 精华: 0
主题:19 回复:130
注册时间:2017-05-04
在线时长:0
3#   发表于:2017-11-28 13:45:12  IP:120.22.*.*
用命令可以了 谢谢
级别: 版主
UID: 117477
积分:5145 加为好友
威望: 0 精华: 0
主题:0 回复:4823
注册时间:2017-10-25
在线时长:0
4#   发表于:2017-11-28 13:46:05  IP:115.78.*.*
回复第3楼
级别: 解元
UID: 113006
积分:313 加为好友
威望: 1 精华: 0
主题:19 回复:130
注册时间:2017-05-04
在线时长:0
5#   发表于:2017-11-28 14:35:52  IP:120.22.*.*

报错啦  console显示如下

14:34:25,253 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "jeecms.war")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.undertow.deployment.default-server.default-host./jeecms" => "java.lang.RuntimeException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'loadTask' defined in ServletContext resource [/WEB-INF/config/quartz-task.xml]: Invocation of init method failed; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Could not open connection
    Caused by: java.lang.RuntimeException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'loadTask' defined in ServletContext resource [/WEB-INF/config/quartz-task.xml]: Invocation of init method failed; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Could not open connection
    Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'loadTask' defined in ServletContext resource [/WEB-INF/config/quartz-task.xml]: Invocation of init method failed; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Could not open connection
    Caused by: org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Could not open connection
    Caused by: org.hibernate.exception.GenericJDBCException: Could not open connection
    Caused by: java.sql.SQLException: An attempt by a client to checkout a Connection has timed out.
    Caused by: com.mchange.v2.resourcepool.TimeoutException: A client timed out while waiting to acquire a resource from com.mchange.v2.resourcepool.BasicResourcePool@6b719ecc -- timeout at awaitAvailable()"}}
14:34:25,318 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 37) WFLYSRV0010: Deployed "webchat.war" (runtime-name : "webchat.war")
14:34:25,318 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 37) WFLYSRV0010: Deployed "jeecms.war" (runtime-name : "jeecms.war")
14:34:25,348 INFO  [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service status report
WFLYCTL0186:   Services which failed to start:      service jboss.undertow.deployment.default-server.default-host./jeecms: java.lang.RuntimeException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'loadTask' defined in ServletContext resource [/WEB-INF/config/quartz-task.xml]: Invocation of init method failed; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Could not open connection

14:34:25,488 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0212: Resuming server
14:34:25,491 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:9990/management
14:34:25,491 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:9990
14:34:25,491 ERROR [org.jboss.as] (Controller Boot Thread) WFLYSRV0026: WildFly Full 11.0.0.Final (WildFly Core 3.0.8.Final) started (with errors) in 36787ms - Started 666 of 898 services (2 services failed or missing dependencies, 359 services are lazy, passive or on-demand)
14:34:34,933 WARN  [com.mchange.v2.async.ThreadPoolAsynchronousRunner] (Timer-3) com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@63293668 -- APPARENT DEADLOCK!!! Creating emergency threads for unassigned pending tasks!
14:34:34,956 WARN  [com.mchange.v2.async.ThreadPoolAsynchronousRunner] (Timer-3) com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@63293668 -- APPARENT DEADLOCK!!! Complete Status: 
Managed Threads: 3
Active Threads: 3
Active Tasks: 
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@2cd3de46 (com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2)
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@6e337c2 (com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0)
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@1db5565f (com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1)
Pending Tasks: 
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@7e6fe16c
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@4cfc2109
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@533e4273
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@640ee1e5
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@656b0889
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@48b29944
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@693e67fb
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@7a2cb2f0
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@473ec27c
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@1b9a1b66
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@181a651
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@1ea52fa3
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@2fb93329
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@64334c93
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@688cdd6a
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@5fe33fef
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@39a57f41
Pool thread stack traces:
Thread[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2,5,ServerService ThreadGroup]
java.lang.Thread.sleep(Native Method)
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1805)
com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)
Thread[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0,5,ServerService ThreadGroup]
java.lang.Thread.sleep(Native Method)
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1805)
com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)
Thread[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1,5,ServerService ThreadGroup]
java.lang.Thread.sleep(Native Method)
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1805)
com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)
级别: 版主
UID: 117477
积分:5145 加为好友
威望: 0 精华: 0
主题:0 回复:4823
注册时间:2017-10-25
在线时长:0
6#   发表于:2017-11-28 14:36:38  IP:115.78.*.*
回复第5楼
操作了什么报的错?
级别: 解元
UID: 113006
积分:313 加为好友
威望: 1 精华: 0
主题:19 回复:130
注册时间:2017-05-04
在线时长:0
7#   发表于:2017-11-28 14:39:07  IP:120.22.*.*
导入eclipse发布报错 还没开始安装
级别: 版主
UID: 117477
积分:5145 加为好友
威望: 0 精华: 0
主题:0 回复:4823
注册时间:2017-10-25
在线时长:0
8#   发表于:2017-11-28 14:40:46  IP:115.78.*.*
回复第7楼
安装是不需要导入eclipse的
级别: 解元
UID: 113006
积分:313 加为好友
威望: 1 精华: 0
主题:19 回复:130
注册时间:2017-05-04
在线时长:0
9#   发表于:2017-11-28 14:43:43  IP:120.22.*.*
回复第8楼
我用的是 celipse导入jeecmsv8.1-src源码,然后run的时候报错如上
级别: 版主
UID: 117477
积分:5145 加为好友
威望: 0 精华: 0
主题:0 回复:4823
注册时间:2017-10-25
在线时长:0
10#   发表于:2017-11-28 14:49:29  IP:115.78.*.*
回复第9楼
你是怎么部署源码的  有按照说明?
1 2 > >| 共2页