码迷,mamicode.com
首页 > 其他好文 > 详细

启动tomcat的一些info报错,目前还没有解决办法,先记录下来。

时间:2016-10-09 20:54:58      阅读:359      评论:0      收藏:0      [点我收藏+]

标签:tomcat linux

1:环境信息

[root@abc apache-tomcat-cloud-copy]# ./bin/version.sh 

Using CATALINA_BASE:   /usr/local/apache-tomcat-cloud-copy

Using CATALINA_HOME:   /usr/local/apache-tomcat-cloud-copy

Using CATALINA_TMPDIR: /usr/local/apache-tomcat-cloud-copy/temp

Using JRE_HOME:        /usr/local/java

Using CLASSPATH:       /usr/local/apache-tomcat-cloud-copy/bin/bootstrap.jar:/usr/local/apache-tomcat-cloud-copy/bin/tomcat-juli.jar

Server version: Apache Tomcat/7.0.62

Server built:   May 7 2015 17:14:55 UTC

Server number:  7.0.62.0

OS Name:        Linux

OS Version:     2.6.32-431.23.3.el6.x86_64

Architecture:   amd64

JVM Version:    1.7.0_79-b15

JVM Vendor:     Oracle Corporation

2:说明

这个tomcat实例是copy的apache-tomcat-cloud的所以名称为apache-tomcat-cloud-copy

copy完了之后,删除了webapps下面的所有内容除了ROOT,并且修改了server.xml的三个端口,及

./webapps/cloud/WEB-INF/classes/config/config.properties配置文件里的数据库信息(cloud目录由启动tomcat,自动解压cloud.war得到)

3:错误信息

./bin/startup.sh --->启动tomcat实例

[root@abc apache-tomcat-cloud-copy]# tail -200 logs/catalina.out --->查看日志得到如下信息成功之后就来了个info还有跟着的一堆at。。

INFO: Server startup in 32885 ms

Oct 09, 2016 11:53:51 AM org.apache.catalina.loader.WebappClassLoader loadClass

INFO: Illegal access: this web application instance has been stopped already.  Could not load org.apache.ibatis.reflection.ExceptionUtil.  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:1612)

at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571)

at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:65)

at com.sun.proxy.$Proxy96.query(Unknown Source)

at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:120)

at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:113)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:606)

at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:386)

at com.sun.proxy.$Proxy18.selectList(Unknown Source)

at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:205)

at org.apache.ibatis.binding.MapperMethod.executeForMany(MapperMethod.java:122)

at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:64)

at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)

at com.sun.proxy.$Proxy26.queryPbCode(Unknown Source)

at com.abc.niubi.cloud.core.server.hospital.register.service.impl.PbInfoServiceImpl.queryPbCode(PbInfoServiceImpl.java:160)

at com.abc.niubi.cloud.core.job.register.PbinfoDetailSyncJob.execute(PbinfoDetailSyncJob.java:59)

at org.quartz.core.JobRunShell.run(JobRunShell.java:202)

at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)


Oct 09, 2016 11:53:51 AM org.apache.catalina.loader.WebappClassLoader loadClass

INFO: Illegal access: this web application instance has been stopped already.  Could not load org.apache.ibatis.reflection.ExceptionUtil.  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:1612)

at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571)

at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:394)

at com.sun.proxy.$Proxy18.selectList(Unknown Source)

at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:205)

at org.apache.ibatis.binding.MapperMethod.executeForMany(MapperMethod.java:122)

at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:64)

at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)

at com.sun.proxy.$Proxy26.queryPbCode(Unknown Source)

at com.abc.niubi.cloud.core.server.hospital.register.service.impl.PbInfoServiceImpl.queryPbCode(PbInfoServiceImpl.java:160)

at com.abc.niubi.cloud.core.job.register.PbinfoDetailSyncJob.execute(PbinfoDetailSyncJob.java:59)

at org.quartz.core.JobRunShell.run(JobRunShell.java:202)

at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)


Oct 09, 2016 11:53:51 AM org.apache.catalina.loader.WebappClassLoader loadClass

INFO: Illegal access: this web application instance has been stopped already.  Could not load org.quartz.impl.jdbcjobstore.JobStoreSupport$45.  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:1612)

at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571)

at org.quartz.impl.jdbcjobstore.JobStoreSupport.triggeredJobComplete(JobStoreSupport.java:3051)

at org.quartz.core.QuartzScheduler.notifyJobStoreJobComplete(QuartzScheduler.java:1804)

at org.quartz.core.JobRunShell.run(JobRunShell.java:269)

at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)


有大神能帮我解决吗___谢谢!







本文出自 “随风” 博客,请务必保留此出处http://358778493.blog.51cto.com/11386071/1859823

启动tomcat的一些info报错,目前还没有解决办法,先记录下来。

标签:tomcat linux

原文地址:http://358778493.blog.51cto.com/11386071/1859823

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!