论坛首页 Java企业应用论坛

tomcat下部署的oa应用,运行一段时间不能登录

浏览 2469 次
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
作者 正文
   发表时间:2017-01-12   最后修改:2017-01-12
部署的一个OA应用系统,windows安装版本tomcat7,JDK1.6

运行一段时间1-2个月,登录就会出现漫长的等待,不能登录,而点击其他不需要登录可以看到的信息则可以显示。
基本是用户出现超过10秒的登录不成功,就会把ie(白版)关闭。我这边接到通知,马上也是试一下,发现登录出现白板,就会重启tomcat。

日志信息我看了,本人找不到解决办法。请大家帮忙看看,附如下:

1、catalina.2017-01-12.log
2017-1-12 9:38:05 org.apache.coyote.http11.AbstractHttp11Processor process
严重: Error processing request
java.lang.IllegalArgumentException: Control character in cookie value or attribute.
        at org.apache.tomcat.util.http.CookieSupport.isV0Separator(CookieSupport.java:153)
        at org.apache.tomcat.util.http.Cookies.processCookieHeader(Cookies.java:340)
        at org.apache.tomcat.util.http.Cookies.processCookies(Cookies.java:168)
        at org.apache.tomcat.util.http.Cookies.getCookieCount(Cookies.java:106)
        at org.apache.catalina.connector.CoyoteAdapter.parseSessionCookiesId(CoyoteAdapter.java:935)
        at org.apache.catalina.connector.CoyoteAdapter.postParseRequest(CoyoteAdapter.java:692)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:404)
        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1044)
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
        at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2441)
        at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2430)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
2017-1-12 14:21:19 org.apache.coyote.AbstractProtocol pause
信息: Pausing ProtocolHandler ["http-apr-80"]
2017-1-12 14:21:19 org.apache.coyote.AbstractProtocol pause
信息: Pausing ProtocolHandler ["ajp-apr-8009"]
2017-1-12 14:21:19 org.apache.catalina.core.StandardService stopInternal
信息: Stopping service Catalina

2、tlmstomcat7-stderr.2017-01-12.log
2017-01-12 14:25:19 Commons Daemon procrun stderr initialized
2017-1-12 14:25:21 org.apache.catalina.core.AprLifecycleListener init
信息: Loaded APR based Apache Tomcat Native library 1.1.29 using APR version 1.4.8.
2017-1-12 14:25:21 org.apache.catalina.core.AprLifecycleListener init
信息: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
2017-1-12 14:25:22 org.apache.catalina.core.AprLifecycleListener initializeSSL
信息: OpenSSL successfully initialized (OpenSSL 1.0.1e 11 Feb 2013)
2017-1-12 14:25:22 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["http-apr-80"]
2017-1-12 14:25:22 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["ajp-apr-8009"]
2017-1-12 14:25:22 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 1355 ms
2017-1-12 14:25:22 org.apache.catalina.core.StandardService startInternal
信息: Starting service Catalina
2017-1-12 14:25:22 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/7.0.50
2017-1-12 14:25:22 org.apache.catalina.startup.HostConfig deployWAR
信息: Deploying web application archive D:\application\tlms\TlmsTomcat7\webapps\tlms.war
2017-1-12 14:25:23 org.apache.catalina.loader.WebappClassLoader validateJarFile
信息: validateJarFile(D:\application\tlms\TlmsTomcat7\webapps\tlms\WEB-INF\lib\gwt-user.jar) - jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offending class: javax/servlet/Servlet.class
2017-1-12 14:25:38 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jstl/core_rt is already defined
2017-1-12 14:25:38 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jstl/core is already defined
2017-1-12 14:25:38 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jsp/jstl/core is already defined
2017-1-12 14:25:38 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jstl/fmt_rt is already defined
2017-1-12 14:25:38 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jstl/fmt is already defined
2017-1-12 14:25:38 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jsp/jstl/fmt is already defined
2017-1-12 14:25:38 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jsp/jstl/functions is already defined
2017-1-12 14:25:38 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://jakarta.apache.org/taglibs/standard/permittedTaglibs is already defined
2017-1-12 14:25:38 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://jakarta.apache.org/taglibs/standard/scriptfree is already defined
2017-1-12 14:25:38 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jstl/sql_rt is already defined
2017-1-12 14:25:38 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jstl/sql is already defined
2017-1-12 14:25:38 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jsp/jstl/sql is already defined
2017-1-12 14:25:38 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jstl/xml_rt is already defined
2017-1-12 14:25:38 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jstl/xml is already defined
2017-1-12 14:25:38 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jsp/jstl/xml is already defined
2017-1-12 14:25:38 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://www.opensymphony.com/oscache is already defined
2017-1-12 14:25:38 org.apache.tomcat.websocket.server.WsSci onStartup
信息: JSR 356 WebSocket (Java WebSocket 1.0) support is not available when running on Java 6. To suppress this message, run Tomcat on Java 7, remove the WebSocket JARs from $CATALINA_HOME/lib or add the WebSocketJARs to the tomcat.util.scan.DefaultJarScanner.jarsToSkip property in $CATALINA_BASE/conf/catalina.properties. Note that the deprecated Tomcat 7 WebSocket API will be available.
2017-1-12 14:25:47 net.sf.ehcache.CacheManager detectAndFixDiskStorePathConflict
警告: Creating a new instance of CacheManager using the diskStorePath "D:\application\tlms\TlmsTomcat7\temp" which is already used by an existing CacheManager.
The source of the configuration was InputStream java.io.BufferedInputStream@a40ff24.
The diskStore path for this CacheManager will be set to D:\application\tlms\TlmsTomcat7\temp\ehcache_auto_created_1484202347913.
To avoid this warning consider using the CacheManager factory methods to create a singleton CacheManager or specifying a separate ehcache configuration (ehcache.xml) for each CacheManager instance.
2017-1-12 14:25:53 com.sun.xml.ws.transport.http.servlet.WSServletContextListener contextInitialized
信息: WSSERVLET12: JAX-WS 上下文监听程序正在初始化
2017-1-12 14:25:53 com.sun.xml.ws.transport.http.servlet.WSServletDelegate <init>
信息: WSSERVLET14: JAX-WS servlet 正在初始化
2017-1-12 14:25:54 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:\application\tlms\TlmsTomcat7\webapps\docs
2017-1-12 14:25:54 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:\application\tlms\TlmsTomcat7\webapps\host-manager
2017-1-12 14:25:55 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:\application\tlms\TlmsTomcat7\webapps\manage
2017-1-12 14:25:55 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:\application\tlms\TlmsTomcat7\webapps\manager
2017-1-12 14:25:56 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:\application\tlms\TlmsTomcat7\webapps\ROOT
2017-1-12 14:25:56 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-apr-80"]
2017-1-12 14:25:56 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["ajp-apr-8009"]
2017-1-12 14:25:56 org.apache.catalina.startup.Catalina start
信息: Server startup in 33684 ms

3、tlmstomcat7-stderr.2016-11-24.log
2017-1-12 9:29:36 org.apache.coyote.http11.AbstractHttp11Processor process
严重: Error processing request
java.lang.IllegalArgumentException: Control character in cookie value or attribute.
        at org.apache.tomcat.util.http.CookieSupport.isV0Separator(CookieSupport.java:153)
        at org.apache.tomcat.util.http.Cookies.processCookieHeader(Cookies.java:340)
        at org.apache.tomcat.util.http.Cookies.processCookies(Cookies.java:168)
        at org.apache.tomcat.util.http.Cookies.getCookieCount(Cookies.java:106)
        at org.apache.catalina.connector.CoyoteAdapter.parseSessionCookiesId(CoyoteAdapter.java:935)
        at org.apache.catalina.connector.CoyoteAdapter.postParseRequest(CoyoteAdapter.java:692)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:404)
        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1044)
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
        at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2441)
        at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2430)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
2017-1-12 9:30:38 org.apache.coyote.http11.AbstractHttp11Processor process
严重: Error processing request
java.lang.IllegalArgumentException: Control character in cookie value or attribute.
        at org.apache.tomcat.util.http.CookieSupport.isV0Separator(CookieSupport.java:153)
        at org.apache.tomcat.util.http.Cookies.processCookieHeader(Cookies.java:340)
        at org.apache.tomcat.util.http.Cookies.processCookies(Cookies.java:168)
        at org.apache.tomcat.util.http.Cookies.getCookieCount(Cookies.java:106)
        at org.apache.catalina.connector.CoyoteAdapter.parseSessionCookiesId(CoyoteAdapter.java:935)
        at org.apache.catalina.connector.CoyoteAdapter.postParseRequest(CoyoteAdapter.java:692)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:404)
        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1044)
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
        at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2441)
        at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2430)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
2017-1-12 9:38:05 org.apache.coyote.http11.AbstractHttp11Processor process
严重: Error processing request
java.lang.IllegalArgumentException: Control character in cookie value or attribute.
        at org.apache.tomcat.util.http.CookieSupport.isV0Separator(CookieSupport.java:153)
        at org.apache.tomcat.util.http.Cookies.processCookieHeader(Cookies.java:340)
        at org.apache.tomcat.util.http.Cookies.processCookies(Cookies.java:168)
        at org.apache.tomcat.util.http.Cookies.getCookieCount(Cookies.java:106)
        at org.apache.catalina.connector.CoyoteAdapter.parseSessionCookiesId(CoyoteAdapter.java:935)
        at org.apache.catalina.connector.CoyoteAdapter.postParseRequest(CoyoteAdapter.java:692)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:404)
        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1044)
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
        at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2441)
        at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2430)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
2017-1-12 14:21:19 org.apache.coyote.AbstractProtocol pause
信息: Pausing ProtocolHandler ["http-apr-80"]
2017-1-12 14:21:19 org.apache.coyote.AbstractProtocol pause
信息: Pausing ProtocolHandler ["ajp-apr-8009"]
2017-1-12 14:21:19 org.apache.catalina.core.StandardService stopInternal
信息: Stopping service Catalina

谢谢。
   发表时间:2017-01-18  
你在登陆时向cookie中存放中文了吧,是不是没转码,服务器无法获得cookie中的信息,从而报这个错呀
0 请登录后投票
论坛首页 Java企业应用版

跳转论坛:
Global site tag (gtag.js) - Google Analytics