2、连接池的设置里把三个test连接的选项勾上 参考文档
《BEA WebLogic平台下J2EE调优攻略.》 《WebLogic Server性能调优 》
http://bbs.chinaunix.net/archiver/?tid-662314.html http://bbs.chinaunix.net/archiver/?tid-662314.html
http://support.bea.com/application_content/product_portlets/support_patterns/wls/wls_clustering.jsp
http://www.bea.com.cn/support_pattern/Investigating_Struts_with_WebLogic_Server_Pattern.html
§1.5.1.2 3.1.2、代号:BEA-101083 §例举信息
read on socket: 'weblogic.servlet.internal.MuxableSocketHTTP@318b4e69:Socket[addr=/172.19.3.53,port=1072,localport=7020] - idle timeout: '30000' ms, socket timeout: '120000' ms', in the configured timeout period of '60' secs §发生次数217 §BEA- 代码分析 BEA-101083 Error: Connection failure. Description The HttpRequest failed to execute. Cause Failed while writing data into the stream. Action Check the exception for exact cause. 错误分析 从上下文内容来讲是由于socket timeout而引起的。 引起这种错误还有一种可能就是程序中采用数据传递采用get方法是,字节过多,这里就要把数据传递改成POST方法了。Try to limit the content to 2000 bytes to see if it works. 参考文章 http://dev2dev.bea.com.cn/bbs/thread.jspa?forumID=81&threadID=16891 §1.5.1.3 3.1.3、代号:BEA-101019 §例举信息 weblogic.utils.NestedRuntimeException: Cannot parse '/epm/component.do' §发生次数21 §BEA- 代码分析 BEA-101019 Error: [context] Servlet failed with IOException Description [context] Servlet failed with IOException Cause An unexpected IOException was caught while processing request. Action Check the exception for exact error message. 错误分析 从日志上下文中发现,所有出现这种错误都与应用/epm/component.do相关,而且均为Cannot parse POST parameters of request。 很明显应用有可能在request中采用了Post方法来传递数据或试图取一个不存在Request的值,一般都指取session。 参考文章 http://dev2dev.bea.com.cn/bbs/thread.jspa?forumID=121&threadID=20060&messageID=115674 http://dev2dev.bea.com.cn/bbs/thread.jspa?forumID=121&threadID=18115 http://www.theserverside.com/news/thread.tss?thread_id=29058 http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=40&t=002914 http://discuss.fogcreek.com/joelonsoftware/default.asp?cmd=show&ixPost=73334 http://curl.haxx.se/mail/lib-2001-07/0012.html §1.5.1.4 3.1.4、代号:BEA-101214 §例举信息 POST parameters of request: <1179191899374> \not found from requested resource \§发生次数8 错误分析: 从抛出的异常中可以看出应用程序中的应用文件不全Included resource or file \\ §1.5.1.5 3.1.5、代号:BEA-100049 §例举信息 java.rmi.ConnectIOException: Server is being shut down Error: Error looking up session with id:id §发生次数2 §BEA- 代码分析 Description Error looking up session with id:id - session refresh failed Cause Got RemoteException looking up session from the secondary Action Check if the secondary server is down. Note that it is not recommended to kill both the primary and secondary server at the same time. Remember the replication happens lazily, upon request. So if you need to bring down the secondary server too give sufficient time so that the active end users hit their sessions and they get replicated. 原因分析 这是由于做集群时session同步而引起的。如果服务在没完全启动完时访问就不存在这种异常了。或做session复制也不会产生这个问题。 参考文档: http://forums.bea.com/bea/message.jspa?messageID=202198273&tstart=0 http://forums.bea.com/bea/thread.jspa?messageID=202184320&tstart=0 §1.5.1.6 3.1.6、代号:BEA-101020 §例举信息 not found from requested resource ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> < §发生次数2 §BEA- 代码分析 BEA-101020 Error: [context] Servlet failed with Exception Description [context] Servlet failed with Exception Cause An unexpected error occurred. Action Check the exception for exact error message. 错误分析 联系上下文可知,所有产生这个异常都是应用程序中epm.common.EPMUtil.getUserInfo取了一个不存在或失效的值而引起的。 参考资料 http://dev2dev.bea.com.cn/bbs/thread.jspa?forumID=121&threadID=21434&tstart=4140 http://bbs.chinajavaworld.com/rss/rssthreads.jspa?forumID=36 http://edocs.bea.com/wls/docs81/messages/HTTP.html §1.5.2 3.2.Debug类分析 §1.5.2.1 3.2.1、代号:BEA-000571 §例举信息 #### 50 500 5000ms 10000000 Message Timeout 60s Idle Timeout 65s Tunneling Timeout 40s Tunneling Ping 45s> 错误分析 这是个校验与网络相关配置的信息,上下文联系可见网络的监听、端口都正常,上文信息为:Network Configuration for Channel \ Listen Address Public Address Http Enabled 10.150.208.4:7020 N/A false false true Tunneling Enabled Outbound Enabled Admin Traffic Enabled true 参考资料: http://dev2dev.bea.com.cn/bbs/thread.jspa?forumID=81&threadID=41884 http://www.myeclipseide.com/PNphpBB2+file-printview-t-2769-start-0.html http://www.itpub.net/500557.html §1.5.3 3.3.Alert类分析 §1.5.3.1 3.2.1、代号:BEA-000396 §例举信息 #### §BEA- 代码分析 BEA-000396 Alert: Server operation has been requested by requester0 Description The server is requested to operation. Cause The server is requested to perform the request operation. Action No action needed. 错误分析 这是由于服务器已经关闭了但客户端又向服务器发出请求而引发的。联系上下文 '10' for queue: 'weblogic.kernel.Default (self-tuning)'>