本帖最后由 wander 于 2016-7-21 18:45 编辑
catalina.out日志信息
- 16-Jul-2016 02:50:35.535 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory /usr/local/tomcat/webapps/obpm
- 16-Jul-2016 02:50:40.952 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars 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.
- 16-Jul-2016 02:50:42.388 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal One or more listeners failed to start. Full details will be found in the appropriate container log file
- 16-Jul-2016 02:50:42.564 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal Context [/obpm] startup failed due to previous errors
- 16-Jul-2016 02:50:42.614 WARNING [localhost-startStop-1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc The web application [obpm] registered the JDBC driver [org.logicalcobwebs.proxool.ProxoolDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
- 16-Jul-2016 02:50:42.614 WARNING [localhost-startStop-1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc The web application [obpm] 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.
- 16-Jul-2016 02:50:42.626 WARNING [localhost-startStop-1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [obpm] appears to have started a thread named [Thread-5] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
- java.lang.Thread.sleep(Native Method)
- org.logicalcobwebs.proxool.admin.StatsRoller$1.run(StatsRoller.java:95)
- 16-Jul-2016 02:50:42.628 WARNING [localhost-startStop-1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [obpm] appears to have started a thread named [Thread-6] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
- java.lang.Thread.sleep(Native Method)
- org.logicalcobwebs.proxool.admin.StatsRoller$1.run(StatsRoller.java:95)
- 16-Jul-2016 02:50:42.629 WARNING [localhost-startStop-1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [obpm] appears to have started a thread named [Thread-7] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
- java.lang.Thread.sleep(Native Method)
- org.logicalcobwebs.proxool.admin.StatsRoller$1.run(StatsRoller.java:95)
- 16-Jul-2016 02:50:42.630 WARNING [localhost-startStop-1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [obpm] appears to have started a thread named [HouseKeeper] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
- java.lang.Thread.sleep(Native Method)
- org.logicalcobwebs.proxool.HouseKeeperThread.run(HouseKeeperThread.java:46)
- 16-Jul-2016 02:50:42.630 WARNING [localhost-startStop-1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [obpm] appears to have started a thread named [MySQL Statement Cancellation Timer] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
- java.lang.Object.wait(Native Method)
- java.lang.Object.wait(Object.java:502)
- java.util.TimerThread.mainLoop(Timer.java:526)
- java.util.TimerThread.run(Timer.java:505)
- 16-Jul-2016 02:50:42.631 WARNING [localhost-startStop-1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [obpm] appears to have started a thread named [Prototyper] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
- java.lang.Object.wait(Native Method)
- java.lang.Object.wait(Object.java:502)
- org.logicalcobwebs.proxool.PrototyperThread.doWait(PrototyperThread.java:69)
- org.logicalcobwebs.proxool.PrototyperThread.run(PrototyperThread.java:58)
复制代码
localhost.log文件信息
- SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.listenerStart Exception sending context initialized event to listener instance of class cn.myapps.base.web.listener.StartupListener
- java.lang.IllegalAccessError
- at net.sf.cglib.core.ClassEmitter.setTarget(ClassEmitter.java:45)
- at net.sf.cglib.core.ClassEmitter.<init>(ClassEmitter.java:37)
- at net.sf.cglib.core.KeyFactory$Generator.generateClass(KeyFactory.java:165)
- at net.sf.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:25)
- at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:216)
- at net.sf.cglib.core.KeyFactory$Generator.create(KeyFactory.java:145)
- at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:117)
- at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:108)
- at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:104)
- at net.sf.cglib.proxy.Enhancer.<clinit>(Enhancer.java:69)
- at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.getProxyFactory(CGLIBLazyInitializer.java:107)
- at org.hibernate.proxy.pojo.cglib.CGLIBProxyFactory.postInstantiate(CGLIBProxyFactory.java:43)
- at org.hibernate.tuple.entity.PojoEntityTuplizer.buildProxyFactory(PojoEntityTuplizer.java:162)
- at org.hibernate.tuple.entity.AbstractEntityTuplizer.<init>(AbstractEntityTuplizer.java:135)
- at org.hibernate.tuple.entity.PojoEntityTuplizer.<init>(PojoEntityTuplizer.java:55)
- at org.hibernate.tuple.entity.EntityEntityModeToTuplizerMapping.<init>(EntityEntityModeToTuplizerMapping.java:56)
- at org.hibernate.tuple.entity.EntityMetamodel.<init>(EntityMetamodel.java:295)
- at org.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntityPersister.java:434)
- at org.hibernate.persister.entity.SingleTableEntityPersister.<init>(SingleTableEntityPersister.java:109)
- at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)
- at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:226)
- at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1294)
- at cn.myapps.base.dao.HibernateBaseDAO.getSessionFactory(HibernateBaseDAO.java:64)
- at cn.myapps.base.dao.HibernateBaseDAO.currentSession(HibernateBaseDAO.java:698)
- at cn.myapps.base.dao.HibernateBaseDAO.beginTransaction(HibernateBaseDAO.java:739)
- at cn.myapps.base.dao.PersistenceUtils.beginTransaction(PersistenceUtils.java:121)
- at cn.myapps.init.InitSystem.init(InitSystem.java:49)
- at cn.myapps.base.web.listener.StartupListener.contextInitialized(StartupListener.java:72)
- at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4732)
- at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5194)
- at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:152)
- at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:726)
- at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:702)
- at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
- at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1107)
- at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1841)
- at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
- at java.util.concurrent.FutureTask.run(FutureTask.java:266)
- at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
- at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
- at java.lang.Thread.run(Thread.java:745)
复制代码 |