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

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了启动tomcat的一些info报错,目前还没有解决办法,先记录下来。相关的知识,希望对你有一定的参考价值。

1:环境信息

[[email protected] 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实例

[[email protected] 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报错,目前还没有解决办法,先记录下来。的主要内容,如果未能解决你的问题,请参考以下文章

Linux启动tomcat报错Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x00000007aaa80000

启动tomcat 超时问题

eclipse创建spring boot项目,tomcat启动成功,但http://localhost:8080无法访问报错404解决方案

linux下tomcat启动没有日志,没有进程,没有报错,没有监听端口

tomcat启动报错APR问题

tomcat 启动不报错,但是访问不到,是为啥