上线报错,凌晨1点到7点,还未解决,求高人指点,在线等!!!

达不溜H 发布于 2014/12/11 07:56
阅读 6K+
收藏 0

【Gopher China万字分享】华为云的Go语言云原生实战经验!>>>

奶奶的,测试环境都运行正常,都是linux系统,部署到生产直接报下面做,百度了下有类似错,但只是类似和我一样错的一晚上都没找到,试了半天还是不行,请高人指点!!!

架构:spring+hibernate+springmvc+ehcache+mysql


INFO: Illegal access: this web application instance has been stopped already.  Could not load org/terracotta/bigmemory/version.properties.  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.

INFO: Illegal access: this web application instance has been stopped already.  Could not load com.mchange.v2.resourcepool.BasicResourcePool$1DestroyResourceTask.  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




以下是问题补充:

@达不溜H:用的容器是Tomcat7 (2014/12/11 17:23)
加载中
1
梅开源
梅开源
看下文件的所有者和权限
SsZyz
SsZyz
linux下这个才是最先看的
0
去开原
去开原
数据库连不上吧
达不溜H
达不溜H
ke yi lian shang .
0
康州牧码人
康州牧码人

不能加载load org/terracotta/bigmemory下面的propperties,是不是换了一个环境,代码里面获取这个文件时候的代码有问题?

达不溜H
达不溜H
没有手动处理过这个文件,感觉这是jar包里的类自己处理的
0
车开源
车开源

我有个排错的习惯:

1、找出异常的class

2、找到方法

3、找到行

虽然时间成本比较高,但是非常有效,最终的结果可能会让你跌眼镜。

0
p2ng
p2ng

那里要加载这个version.properties文件了,applicationContext.xml还是web.xml了...

0
lxbzmy
lxbzmy
匿名类加载不上,我估计 有类的版本冲突, java.lang.IllegalStateException通常是一个class 被多次打包,然后版本还不一致时会出现。
0
ddatsh
ddatsh

That was a classloaders problem of course. We had another instance of ehcache-core library in domain/lib folder.

会不会这样呢

达不溜H
达不溜H
这是啥啊?
0
GITTODO
GITTODO
你确定把C3P0弄进去了?
达不溜H
达不溜H
连接池就是c3p0
0
whaon
whaon
包冲突?
0
leo108
leo108

Vagrant 的重要性

返回顶部
顶部