起步软件技术论坛
搜索
 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 8216|回复: 11

[结贴] 通过“启动X5运行平台.bat”启动后,很快就会报错,项目...

[复制链接]

66

主题

230

帖子

414

积分

中级会员

Rank: 3Rank: 3

积分
414
QQ
发表于 2014-8-18 16:09:53 | 显示全部楼层 |阅读模式
版本: 小版本号:
数据库: 服务器操作系统: 应用服务器:
客户端操作系统: 浏览器:
通过“启动X5运行平台.bat”启动后,很快就会报错,报错后项目不能访问。但是启动开发工具后,在开发工具中启动tomcat,项目可以正常访问,没有问题。之前通过“启动X5运行平台.bat”可以正常启动,今天完全不知道怎么回事。请问这应该怎么办?有人遇到过吗?


QQ截图20140818152812.png

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
35938
发表于 2014-8-18 16:34:00 | 显示全部楼层
把tomcat的缓存清了再重启看看
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



如按照该方法解决,请及时跟帖,便于版主结贴
回复 支持 反对

使用道具 举报

66

主题

230

帖子

414

积分

中级会员

Rank: 3Rank: 3

积分
414
QQ
 楼主| 发表于 2014-8-18 17:43:39 | 显示全部楼层
jishuang 发表于 2014-8-18 16:34
把tomcat的缓存清了再重启看看

清了,没用啊。而且双击bat启动的时候可能出现“终止批处理操作吗(Y/N)”。 输入Y或者N回车,命令行会直接退出
回复 支持 反对

使用道具 举报

45

主题

4492

帖子

3960

积分

论坛元老

Rank: 8Rank: 8

积分
3960
QQ
发表于 2014-8-18 20:24:49 | 显示全部楼层
qlong8807 发表于 2014-8-18 17:43
清了,没用啊。而且双击bat启动的时候可能出现“终止批处理操作吗(Y/N)”。 输入Y或者N回车,命令行会直 ...

1、把 X5.2.7\apache-tomcat\work 目录下的文件删除
2、你直接运行 X5.2.7\apache-tomcat\bin\startup.bat 试试
向前进,向前进,我们……
回复 支持 反对

使用道具 举报

66

主题

230

帖子

414

积分

中级会员

Rank: 3Rank: 3

积分
414
QQ
 楼主| 发表于 2014-8-19 08:45:42 | 显示全部楼层
fpj 发表于 2014-8-18 20:24
1、把 X5.2.7\apache-tomcat\work 目录下的文件删除
2、你直接运行 X5.2.7\apache-tomcat\bin\startup.ba ...

没用,还是会出现严重:The web application....

请问你们知道这个是错误可能是什么导致的吗?我电脑也重启了,没一点用啊。
回复 支持 反对

使用道具 举报

310

主题

4938

帖子

4767

积分

论坛元老

Rank: 8Rank: 8

积分
4767
QQ
发表于 2014-8-19 08:56:22 | 显示全部楼层
qlong8807 发表于 2014-8-19 08:45
没用,还是会出现严重:The web application....

请问你们知道这个是错误可能是什么导致的吗?我电脑也 ...


你说很快就会报错,那应该能正常启动,是你操作了什么才导致服务崩溃!

你把tomcat的日志发上来看看?
QQ:179785966
回复 支持 反对

使用道具 举报

66

主题

230

帖子

414

积分

中级会员

Rank: 3Rank: 3

积分
414
QQ
 楼主| 发表于 2014-8-19 09:33:11 | 显示全部楼层
yinlun 发表于 2014-8-19 08:56
你说很快就会报错,那应该能正常启动,是你操作了什么才导致服务崩溃!

你把tomcat的日志发上来看看? ...

没用操作,有时候启动后几秒钟就出错,有时候几分钟就出错。下面就是刚才启动的日志

2014-8-19 8:42:17 org.apache.catalina.core.AprLifecycleListener init
信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\X5.2.5-x32-small\jdk\bin;.;C:\Windows\system32;C:\Windows;..\..\jdk\bin;D:\Java\jdk1.5.0.14\bin;D:\Java\jdk1.5.0.14\jre\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\;C:\Windows\System32\WindowsPowerShell\v1.0\
2014-8-19 8:42:17 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on http-8180
2014-8-19 8:42:17 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 524 ms
2014-8-19 8:42:17 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2014-8-19 8:42:17 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.29
2014-8-19 8:42:28 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor host-manager.xml
2014-8-19 8:42:28 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor manager.xml
2014-8-19 8:42:28 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory docs
2014-8-19 8:42:28 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory examples
2014-8-19 8:42:28 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory ROOT
2014-8-19 8:42:28 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-8180
2014-8-19 8:42:28 org.apache.jk.common.ChannelSocket init
信息: JK: ajp13 listening on /0.0.0.0:8109
2014-8-19 8:42:28 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=0/22  config=null
2014-8-19 8:42:28 org.apache.catalina.startup.Catalina start
信息: Server startup in 10648 ms
2014-8-19 8:42:41 org.apache.coyote.http11.Http11Protocol pause
信息: Pausing Coyote HTTP/1.1 on http-8180
2014-8-19 8:42:42 org.apache.catalina.core.StandardService stop
信息: Stopping service Catalina
2014-8-19 8:42:43 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
严重: The web application [/BusinessServer] created a ThreadLocal with key of type [null] (value [com.justep.system.data.Transaction$1@34d75f]) and a value of type [java.lang.Integer] (value [0]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
2014-8-19 8:42:43 org.apache.coyote.http11.Http11Protocol destroy
信息: Stopping Coyote HTTP/1.1 on http-8180
回复 支持 反对

使用道具 举报

66

主题

230

帖子

414

积分

中级会员

Rank: 3Rank: 3

积分
414
QQ
 楼主| 发表于 2014-8-19 09:35:45 | 显示全部楼层
下面是昨天的报错信息:


2014-8-18 18:00:03 org.apache.catalina.core.AprLifecycleListener init
信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\X5.2.5-x32-small\jdk\bin;.;C:\Windows\system32;C:\Windows;..\..\jdk\bin;D:\Java\jdk1.5.0.14\bin;D:\Java\jdk1.5.0.14\jre\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\;C:\Windows\System32\WindowsPowerShell\v1.0\
2014-8-18 18:00:03 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on http-8180
2014-8-18 18:00:03 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 767 ms
2014-8-18 18:00:03 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2014-8-18 18:00:03 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.29
2014-8-18 18:00:14 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor host-manager.xml
2014-8-18 18:00:14 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor manager.xml
2014-8-18 18:00:14 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory docs
2014-8-18 18:00:15 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory examples
2014-8-18 18:00:15 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory ROOT
2014-8-18 18:00:15 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-8180
2014-8-18 18:00:15 org.apache.jk.common.ChannelSocket init
信息: JK: ajp13 listening on /0.0.0.0:8109
2014-8-18 18:00:15 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=0/27  config=null
2014-8-18 18:00:15 org.apache.catalina.startup.Catalina start
信息: Server startup in 11759 ms
2014-8-18 18:05:15 org.apache.coyote.http11.Http11Protocol pause
信息: Pausing Coyote HTTP/1.1 on http-8180
2014-8-18 18:05:16 org.apache.catalina.core.StandardService stop
信息: Stopping service Catalina
2014-8-18 18:05:18 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
严重: The web application [/BusinessServer] created a ThreadLocal with key of type [null] (value [com.justep.system.data.Transaction$1@107a32]) and a value of type [java.lang.Integer] (value [0]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
2014-8-18 18:05:18 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
严重: The web application [/BusinessServer] created a ThreadLocal with key of type [null] (value [com.justep.system.data.Transaction$1@107a32]) and a value of type [java.lang.Integer] (value [0]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
2014-8-18 18:05:18 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
严重: The web application [/BusinessServer] created a ThreadLocal with key of type [null] (value [com.justep.system.data.Transaction$1@107a32]) and a value of type [java.lang.Integer] (value [0]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
2014-8-18 18:05:18 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
严重: The web application [/BusinessServer] created a ThreadLocal with key of type [null] (value [com.justep.system.data.Transaction$1@107a32]) and a value of type [java.lang.Integer] (value [0]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
2014-8-18 18:05:18 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
严重: The web application [/BusinessServer] created a ThreadLocal with key of type [null] (value [com.justep.system.data.Transaction$1@107a32]) and a value of type [java.lang.Integer] (value [0]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
2014-8-18 18:05:18 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
严重: The web application [/BusinessServer] created a ThreadLocal with key of type [null] (value [com.justep.system.data.Transaction$1@107a32]) and a value of type [java.lang.Integer] (value [0]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
2014-8-18 18:05:18 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
严重: The web application [/BusinessServer] created a ThreadLocal with key of type [null] (value [com.justep.system.data.Transaction$1@107a32]) and a value of type [java.lang.Integer] (value [0]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
2014-8-18 18:05:18 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
严重: The web application [/BusinessServer] created a ThreadLocal with key of type [null] (value [com.justep.system.data.Transaction$1@107a32]) and a value of type [java.lang.Integer] (value [0]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
2014-8-18 18:05:18 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
严重: The web application [/BusinessServer] created a ThreadLocal with key of type [null] (value [com.justep.system.data.Transaction$1@107a32]) and a value of type [java.lang.Integer] (value [0]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
2014-8-18 18:05:18 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
严重: The web application [/BusinessServer] created a ThreadLocal with key of type [null] (value [com.justep.system.data.Transaction$1@107a32]) and a value of type [java.lang.Integer] (value [0]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
2014-8-18 18:05:18 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
严重: The web application [/BusinessServer] created a ThreadLocal with key of type [null] (value [com.justep.system.data.Transaction$1@107a32]) and a value of type [java.lang.Integer] (value [0]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
2014-8-18 18:05:18 org.apache.coyote.http11.Http11Protocol destroy
信息: Stopping Coyote HTTP/1.1 on http-8180
回复 支持 反对

使用道具 举报

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
35938
发表于 2014-8-19 11:37:11 | 显示全部楼层
把apache-tomcat\bin\catalina.bat中
set JAVA_OPTS=-Xms256m -Xmx1024m -XXermSize=128M的配置调大点看看看

确认内存是否够用
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



如按照该方法解决,请及时跟帖,便于版主结贴
回复 支持 反对

使用道具 举报

66

主题

230

帖子

414

积分

中级会员

Rank: 3Rank: 3

积分
414
QQ
 楼主| 发表于 2014-8-19 13:53:11 | 显示全部楼层
jishuang 发表于 2014-8-19 11:37
把apache-tomcat\bin\catalina.bat中
set JAVA_OPTS=-Xms256m -Xmx1024m -XXermSize=128M的配置调大点看 ...

够用啊,在开发工具中启动都是没有问题的。前阵子通过开发工具启动和直接启动服务都是可以的,但是现在直接启动服务就报那个错误了。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|X3技术论坛|Justep Inc.    

GMT+8, 2024-5-12 08:29 , Processed in 0.078449 second(s), 28 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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