主题 : jeecms V8数据库迁移后无法访问
级别: 童生
UID: 138663
积分:19 加为好友
威望: 0 精华: 0
主题:1 回复:8
注册时间:2021-08-05
在线时长:0
1#   发表于:2021-08-05 15:16:03  IP:222.54.*.*
公司官网使用tomcat-7.0.63-jeecms+mysql-5.7.24
公司要去把应用和数据库迁移到linux系统上
前人没留下安装文档
查阅相关资料迁移了jdbc.properties对应的数据库
jdbc.url=jdbc:mysql://172.16.1.130:3306/dnfy?characterEncoding=UTF-8&useSSL=true
导出命令
mysqldump -u root-p dnfy.sql> d:\dnfy.sql
在新的linux中部署同版本数据库,做导入,编码2边都是utf-8
tomcat也做迁移到linux,连接原来windows数据库正常
连接linux数据库包以下错误,请问还有什么需要注意的?
信息: Starting Servlet Engine: Apache Tomcat/7.0.63
八月 05, 2021 2:46:44 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory E:\project\中铝\tomcat-7.0.63-jeecms\webapps\ROOT
八月 05, 2021 2:46:48 下午 org.apache.catalina.startup.TldConfig execute
信息: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
log4j:WARN No appenders could be found for logger (org.springframework.web.context.ContextLoader).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
八月 05, 2021 2:47:06 下午 org.apache.catalina.core.StandardContext startInternal
严重: One or more listeners failed to start. Full details will be found in the appropriate container log file
八月 05, 2021 2:47:06 下午 org.apache.catalina.core.StandardContext startInternal
严重: Context [] startup failed due to previous errors
八月 05, 2021 2:47:06 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
严重: The web application [] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
八月 05, 2021 2:47:06 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [] appears to have started a thread named [Timer-0] but has failed to stop it. This is very likely to create a memory leak.
八月 05, 2021 2:47:06 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [] appears to have started a thread named [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0] but has failed to stop it. This is very likely to create a memory leak.
八月 05, 2021 2:47:06 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [] appears to have started a thread named [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1] but has failed to stop it. This is very likely to create a memory leak.
八月 05, 2021 2:47:06 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [] appears to have started a thread named [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2] but has failed to stop it. This is very likely to create a memory leak.
八月 05, 2021 2:47:06 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [] appears to have started a thread named [Abandoned connection cleanup thread] but has failed to stop it. This is very likely to create a memory leak.
八月 05, 2021 2:47:06 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deployment of web application directory E:\project\中铝\tomcat-7.0.63-jeecms\webapps\ROOT has finished in 22,074 ms
八月 05, 2021 2:47:06 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-apr-80"]
八月 05, 2021 2:47:06 下午 org.apache.catalina.startup.Catalina start
信息: Server startup in 22115 ms
八月 05, 2021 2:47:09 下午 org.apache.catalina.loader.WebappClassLoader findResourceInternal
信息: Illegal access: this web application instance has been stopped already.  Could not load .  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
八月 05, 2021 2:47:14 下午 org.apache.catalina.loader.WebappClassLoader loadClass
信息: Illegal access: this web application instance has been stopped already.  Could not load com.mchange.v2.io.IndentedWriter.  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
java.lang.IllegalStateException
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1614)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1573)
        at com.mchange.v2.async.ThreadPoolAsynchronousRunner.getMultiLineStatusString(ThreadPoolAsynchronousRunner.java:281)
        at com.mchange.v2.async.ThreadPoolAsynchronousRunner.access$100(ThreadPoolAsynchronousRunner.java:36)
        at com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector.run(ThreadPoolAsynchronousRunner.java:616)
        at java.util.TimerThread.mainLoop(Timer.java:555)
        at java.util.TimerThread.run(Timer.java:505)

Exception in thread "Timer-0" java.lang.NoClassDefFoundError: com/mchange/v2/io/IndentedWriter
        at com.mchange.v2.async.ThreadPoolAsynchronousRunner.getMultiLineStatusString(ThreadPoolAsynchronousRunner.java:281)
        at com.mchange.v2.async.ThreadPoolAsynchronousRunner.access$100(ThreadPoolAsynchronousRunner.java:36)
        at com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector.run(ThreadPoolAsynchronousRunner.java:616)
        at java.util.TimerThread.mainLoop(Timer.java:555)
        at java.util.TimerThread.run(Timer.java:505)
Caused by: java.lang.ClassNotFoundException: com.mchange.v2.io.IndentedWriter
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1722)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1573)
        ... 5 more
级别: 童生
UID: 138663
积分:19 加为好友
威望: 0 精华: 0
主题:1 回复:8
注册时间:2021-08-05
在线时长:0
2#   发表于:2021-08-05 15:17:24  IP:222.54.*.*
访问首页报404错误
级别: 总版主
UID: 10736
积分:149787 加为好友
威望: 212 精华: 42
主题:297 回复:127674
注册时间:2010-09-08
在线时长:90.1
3#   发表于:2021-08-05 15:23:36  IP:111.200.*.*
看提示好像是进程被占用了,可以重启下服务 把不需要启动的关闭,jeecmsv8官方不维护了建议升级到族系x版本
路漫漫其修远兮,吾将上下而求索!
级别: 童生
UID: 138663
积分:19 加为好友
威望: 0 精华: 0
主题:1 回复:8
注册时间:2021-08-05
在线时长:0
4#   发表于:2021-08-05 15:26:21  IP:222.54.*.*
服务都重启过了没用哦,连回原来数据库重启正常。
有没什么配置写在数据库中呀
新的数据库用数据库工具连接也是正常的。
级别: 童生
UID: 138663
积分:19 加为好友
威望: 0 精华: 0
主题:1 回复:8
注册时间:2021-08-05
在线时长:0
5#   发表于:2021-08-05 15:31:23  IP:222.54.*.*
回复第3楼
服务都重启过了没用哦,连回原来数据库重启正常。
有没什么配置写在数据库中呀
新的数据库用数据库工具连接也是正常的。
级别: 总版主
UID: 10736
积分:149787 加为好友
威望: 212 精华: 42
主题:297 回复:127674
注册时间:2010-09-08
在线时长:90.1
6#   发表于:2021-08-05 15:34:06  IP:111.200.*.*
服务都重启过了没用哦,连回原来数据库重启正常。
有没什么配置写在数据库中呀
新的数据库用数据库工具连接也是正常的。
这不清楚了,数据库连接应该是在你config配置文件夹下有一个数据库连接信息
路漫漫其修远兮,吾将上下而求索!
级别: 童生
UID: 138663
积分:19 加为好友
威望: 0 精华: 0
主题:1 回复:8
注册时间:2021-08-05
在线时长:0
7#   发表于:2021-08-05 15:41:47  IP:222.54.*.*
回复第6楼
这个是完整日志,能给些建议不?
级别: 总版主
UID: 10736
积分:149787 加为好友
威望: 212 精华: 42
主题:297 回复:127674
注册时间:2010-09-08
在线时长:90.1
8#   发表于:2021-08-05 15:43:06  IP:111.200.*.*
 Illegal access: this web application instance has been stopped already.  Could not load com.mchange.v2.io.IndentedWriter.  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
java.lang.IllegalStateException
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1614)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1573)
        at com.mchange.v2.async.ThreadPoolAsynchronousRunner.getMultiLineStatusString(ThreadPoolAsynchronousRunner.java:281)错误提示数据库有问题
路漫漫其修远兮,吾将上下而求索!
级别: 童生
UID: 138663
积分:19 加为好友
威望: 0 精华: 0
主题:1 回复:8
注册时间:2021-08-05
在线时长:0
9#   发表于:2021-08-05 15:43:21  IP:222.54.*.*
回复第7楼
基本已经定位是数据库问你,从目前看数据库端口也没问题,是不是还有什么特殊的东西。
级别: 总版主
UID: 10736
积分:149787 加为好友
威望: 212 精华: 42
主题:297 回复:127674
注册时间:2010-09-08
在线时长:90.1
10#   发表于:2021-08-05 15:44:16  IP:111.200.*.*
没有的,这块数据库连接你们运维去检查下
路漫漫其修远兮,吾将上下而求索!
1 2 > >| 共2页