找回密码
 注册成为天翎用户
查看: 2123|回复: 1

[已解决] tomcat成功启动,但obpm启动失败

[复制链接]
大麦 发表于 2016-7-16 02:53:07 | 显示全部楼层 |阅读模式
本帖最后由 wander 于 2016-7-21 18:45 编辑

catalina.out日志信息
  1. 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
  2. 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.
  3. 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
  4. 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
  5. 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.
  6. 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.
  7. 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:
  8. java.lang.Thread.sleep(Native Method)
  9. org.logicalcobwebs.proxool.admin.StatsRoller$1.run(StatsRoller.java:95)
  10. 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:
  11. java.lang.Thread.sleep(Native Method)
  12. org.logicalcobwebs.proxool.admin.StatsRoller$1.run(StatsRoller.java:95)
  13. 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:
  14. java.lang.Thread.sleep(Native Method)
  15. org.logicalcobwebs.proxool.admin.StatsRoller$1.run(StatsRoller.java:95)
  16. 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:
  17. java.lang.Thread.sleep(Native Method)
  18. org.logicalcobwebs.proxool.HouseKeeperThread.run(HouseKeeperThread.java:46)
  19. 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:
  20. java.lang.Object.wait(Native Method)
  21. java.lang.Object.wait(Object.java:502)
  22. java.util.TimerThread.mainLoop(Timer.java:526)
  23. java.util.TimerThread.run(Timer.java:505)
  24. 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:
  25. java.lang.Object.wait(Native Method)
  26. java.lang.Object.wait(Object.java:502)
  27. org.logicalcobwebs.proxool.PrototyperThread.doWait(PrototyperThread.java:69)
  28. org.logicalcobwebs.proxool.PrototyperThread.run(PrototyperThread.java:58)
复制代码




localhost.log文件信息
  1. 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
  2. java.lang.IllegalAccessError
  3.         at net.sf.cglib.core.ClassEmitter.setTarget(ClassEmitter.java:45)
  4.         at net.sf.cglib.core.ClassEmitter.<init>(ClassEmitter.java:37)
  5.         at net.sf.cglib.core.KeyFactory$Generator.generateClass(KeyFactory.java:165)
  6.         at net.sf.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:25)
  7.         at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:216)
  8.         at net.sf.cglib.core.KeyFactory$Generator.create(KeyFactory.java:145)
  9.         at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:117)
  10.         at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:108)
  11.         at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:104)
  12.         at net.sf.cglib.proxy.Enhancer.<clinit>(Enhancer.java:69)
  13.         at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.getProxyFactory(CGLIBLazyInitializer.java:107)
  14.         at org.hibernate.proxy.pojo.cglib.CGLIBProxyFactory.postInstantiate(CGLIBProxyFactory.java:43)
  15.         at org.hibernate.tuple.entity.PojoEntityTuplizer.buildProxyFactory(PojoEntityTuplizer.java:162)
  16.         at org.hibernate.tuple.entity.AbstractEntityTuplizer.<init>(AbstractEntityTuplizer.java:135)
  17.         at org.hibernate.tuple.entity.PojoEntityTuplizer.<init>(PojoEntityTuplizer.java:55)
  18.         at org.hibernate.tuple.entity.EntityEntityModeToTuplizerMapping.<init>(EntityEntityModeToTuplizerMapping.java:56)
  19.         at org.hibernate.tuple.entity.EntityMetamodel.<init>(EntityMetamodel.java:295)
  20.         at org.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntityPersister.java:434)
  21.         at org.hibernate.persister.entity.SingleTableEntityPersister.<init>(SingleTableEntityPersister.java:109)
  22.         at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)
  23.         at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:226)
  24.         at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1294)
  25.         at cn.myapps.base.dao.HibernateBaseDAO.getSessionFactory(HibernateBaseDAO.java:64)
  26.         at cn.myapps.base.dao.HibernateBaseDAO.currentSession(HibernateBaseDAO.java:698)
  27.         at cn.myapps.base.dao.HibernateBaseDAO.beginTransaction(HibernateBaseDAO.java:739)
  28.         at cn.myapps.base.dao.PersistenceUtils.beginTransaction(PersistenceUtils.java:121)
  29.         at cn.myapps.init.InitSystem.init(InitSystem.java:49)
  30.         at cn.myapps.base.web.listener.StartupListener.contextInitialized(StartupListener.java:72)
  31.         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4732)
  32.         at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5194)
  33.         at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:152)
  34.         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:726)
  35.         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:702)
  36.         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
  37.         at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1107)
  38.         at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1841)
  39.         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
  40.         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  41.         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
  42.         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
  43.         at java.lang.Thread.run(Thread.java:745)
复制代码
wander 发表于 2016-7-21 18:44:30 | 显示全部楼层
根据楼主 提供的日志,发现tomcat并没有成功启动,tomcat启动内部报错,下载7.0的tomcat,重新部署后可以正常运行。结帖。
回复

使用道具 举报

本版积分规则

手机版|天翎MyApps技术社区 ( 粤ICP备11093750号 )

GMT+8, 2026-8-14 01:20

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表