[原创]系统日志文件的分析_Tomcat, WebLogic及J2EE讨论区_Weblogic技术|Tuxedo技术|中间件技术|Oracle论坛|JAVA论坛|Linux/Unix技术|hadoop论坛_联动北方技术论坛  
网站首页 | 关于我们 | 服务中心 | 经验交流 | 公司荣誉 | 成功案例 | 合作伙伴 | 联系我们 |
联动北方-国内领先的云技术服务提供商
»  游客             当前位置:  论坛首页 »  自由讨论区 »  Tomcat, WebLogic及J2EE讨论区 »
总帖数
1
每页帖数
101/1页1
返回列表
0
发起投票  发起投票 发新帖子
查看: 9237 | 回复: 0   主题: [原创]系统日志文件的分析        下一篇 
geng.zhang
注册用户
等级:少校
经验:854
发帖:27
精华:0
注册:1970-1-1
状态:离线
发送短消息息给geng.zhang 加好友    发送短消息息给geng.zhang 发消息
发表于: IP:您无权察看 2014-11-21 14:59:36 | [全部帖] [楼主帖] 楼主

系统日志常见错误集合

1.数据源配置错误(数据库连接时异常):

<Error> <JDBC> <branch-a> <AdminServer> <Thread-28> <<anonymous>> <> <> <1281106873520> <BEA-001112> <Test "SELECT 1 FROM DUAL" set up for pool "BRANCH" failed with exception: "java.sql.SQLException: ORA-01089: immediate shutdown in progress - no operations are permitted
".>


2.JDBC配置错误:

<Warning> <JDBC> <branch-a> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1281106941673> <BEA-001129> <Received exception while creating connection for pool "BRANCH": Io exception: Got minus one from a read call>
####<Aug 6, 2010 11:02:21 PM CST> <Info> <JDBC> <branch-a> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1281106941673> <BEA-001156> <Stack trace associated with message 001129 follows:


3.应用程序没有正常发布:

<Error> <Deployer> <symbols-a> <AdminServer> <[STANDBY] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <weblogic> <> <> <1314381069343> <BEA-149250> <Unable to unprepare application 'symbols'.
weblogic.management.DeploymentException:
at weblogic.application.internal.flow.ApplicationRuntimeMBeanFlow.unprepare(ApplicationRuntimeMBeanFlow.java:64)
at weblogic.application.internal.BaseDeployment$1.previous(BaseDeployment.java:621)
at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:52)


4.连接关闭,可能是jdbc书写有误,或在配置数据源的时候出现失误:

<Error> <JDBC> <symbols-a> <AdminServer> <pool-1-thread-41> <<anonymous>> <> <> <1319635814883> <BEA-001112> <Test "SELECT 1 FROM DUAL" set up for pool "symbols" failed with exception: "java.sql.SQLException: Closed Connection".>


5.在应用程序中不允许访问一个用户访问两个实例:

<Error> <JMX> <symbols-a> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1314381038459> <BEA-149500> <An exception occurred while registering the MBean null.


6.IP错误或7104端口被占用:

<Error> <Server> <payment-a> <AdminServer> <DynamicListenThread[Default]> <<WLS Kernel>> <> <> <1313069987801> <BEA-002606> <Unable to create a server socket for listening on channel "Default". The address 192.168.0.96 might be incorrect or another process is using port 7104: java.net.BindException: Cannot assign requested address.>


7.网络连接断开或服务器关闭时出现的错误:

<Error> <JMSClientExceptions> <payment-a> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1319221721000> <BEA-055165> <The following exception has occurred:
weblogic.jms.common.LostServerException: [JMSClientExceptions:055169]Network connection to server was lost.


8.JDBC驱动与oracle版本不一致:

<Error> <JDBC> <cups-a> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1311786782043> <BEA-001112> <Test "SELECT 1 FROM DUAL" set up for pool "front" failed with exception: "java.sql.SQLException: No more data to read from socket".>


9.读取socket数据超时:

<Error> <HTTP> <channel-a> <AdminServer> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1315384416027> <BEA-101083> <Connection failure.
java.io.IOException: A complete message could not be read on socket: 'weblogic.servlet.internal.MuxableSocketHTTP@3dca643:Socket[addr=/10.120.1.145,port=4093,localport=7106] - idle timeout: '30000' ms, socket timeout: '5000' ms', in the configured timeout period of '60' secs


10.空的请求发生的错误:

<Error> <HTTP> <channel-a> <AdminServer> <ExecuteThread: '2' for queue: 'weblogic.socket.Muxer'> <<WLS Kernel>> <> <> <1305627583323> <BEA-101215> <Malformed Request "null". Request parsing failed, Code: -1>


11.DBC驱动问题:

<Error> <JDBC> <dx-a> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1281107175056> <BEA-001112> <Test "SELECT 1 FROM DUAL" set up for pool "front" failed with exception: "java.sql.SQLException: No more data to read from socket".>


12.程序发生内存溢出:

<Error> <Kernel> <esb-a> <AdminServer> <[STANDBY] ExecuteThread: '8' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1321689197477> <BEA-000802> <ExecuteRequest failed
java.lang.OutOfMemoryError: nativeGetNewTLA.


13.线程长时间执行一个程序,导致超过了weblogic中设置的线程最大等待时间:

<Error> <WebLogicServer> <report-a> <AdminServer> <[ACTIVE] ExecuteThread: '30' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1307694234720> <BEA-000337> <[STUCK] ExecuteThread: '56' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "718" seconds working on the request "Http Request: /ROOT/servlet/view/TP_REPORT/RPT_TP_DP_207.rpt", which is more than the configured time (StuckThreadMaxTime) of "600" seconds.


14.JDBC客户端没有按照正确的格式来写:

<Info> <JDBC> <channel-a> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1311786880339> <BEA-001156> <Stack trace associated with message 001129 follows:
java.sql.SQLException: Listener refused the connection with the following error:
ORA-12514, TNS:listener does not currently know of service requested in connect descriptor


15.程序中出错,找不到数据源:

####<Jul 15, 2011 5:34:59 PM CST> <Error> <HTTP> <fteller-a> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1310722499068> <BEA-101020> <[weblogic.servlet.internal.WebAppServletContext@61b0177 - appName: 'frontteller', name: 'frontteller', context-path: '/frontteller'] Servlet failed with Exception
com.dc.db.DBException:
ErrorCode:[database.]


16.在指定的地方找不到文件:

<Error> <HTTP> <fteller-a> <AdminServer> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1314607690809> <BEA-101214> <Included resource or file "/frontteller/app/teller/jsp/bond/BOND43.jsp" not found from requested resource "/frontteller/tran.xp".>


17.Broken pipe现象

ERROR [[ACTIVE] ExecuteThread: '25' for queue: 'weblogic.kernel.Default (self-tuning)'] com.teradata.jdbc.jdbc_4.TDSession@3e6452b8 Packet transmit Mon Nov 14 08:17:48 GMT+08:00 2011 socket local=0.0.0.0/0.0.0.0:53805 remote=nmbasscop3/10.220.8.13:1025 cid=2c72ce08 sess=6583134 java.net.SocketException: Broken pipe (errno:32)
18.SQL Exception:
ERROR [[ACTIVE] ExecuteThread: '20' for queue: 'weblogic.kernel.Default (self-tuning)'] - 020022-SQL Exception [Teradata Database] [TeraJDBC 13.00.00.03] [Error 3515] [SQLState 42S21] Duplication of column REQUEST_STATUS in a table, derived table, view, macro or trigger.
com.teradata.tap.system.query.QueryException: [Teradata Database] [TeraJDBC 13.00.00.03] [Error 3515] [SQLState 42S21] Duplication of column REQUEST_STATUS in a table, derived table, view, macro or trigger.


19.session中为序列化的对象:

<Error> <Cluster> <crmweb1> <bssframe_6_135_01> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1305583887572> <BEA-000126> <All session objects should be serializable to replicate. Check the objects in your session. Failed to replicate non-serializable object.>


20.集群中两个被管节点之间检查session

<Error> <HTTP Session> <crmweb9> <statserv_148_1> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1303198498929> <BEA-100049> <Error looking up session with id:h4F0NslfXkr0LS3tHK9TTM1tNqGsBjXlsgxhKvljLkb2zMLM5pyR!1760935030!1875200835
weblogic.rmi.extensions.RequestTimeoutException: RJVM response from 'weblogic.rjvm.RJVMImpl@d5ae0e - id: '-7562229586491030236S:133.128.6.149:[19001,-1,-1,-1,-1,-1,-1]:BSSSTAT:statserv_149_1' connect time: 'Tue Apr 19 15:34:11 CST 2011'' for 'fetch(Lweblogic.cluster.replication.ROID;) 'timed out after: 30000ms.


21.GC时减少的内存不比较少

<Warning> <RMI> <crmweb9> <statserv_148_1> <[STANDBY] ExecuteThread: '21' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1303198594844> <BEA-080004> <An error wasthrownbyrmiserver: weblogic.cluster.replication.ReplicationManager.create(Lweblogic.rmi.spi.HostID;ILweblogic.cluster.replication.ROID;Lweblogic.cluster.replication.Replicatable;)
java.lang.OutOfMemoryError: GC overhead limit exceeded.
java.lang.OutOfMemoryError: GC overhead limit exceeded


22.更新节点的启动属性文件时出现的IO异常

<Error> <NodeManager> <crmweb9> <statserv_148_1> <weblogic.GCMonitor> <<WLS Kernel>> <> <> <1303198705160> <BEA-300051> <An I/O error occurred while updating the startup properties for "statserv_148_1". This probably occured because the node manager is unreachable. This could mean that the servers boot.properties or startup.properties file is out of date, and the next time node manager attempts to automatically restart the server on a failure, it will use out of date properties. To resolve this issue, either ensure the node manager is able to receive the updates and reset the properties or restart the server.
javax.net.ssl.SSLKeyException: [Security:090504]Certificate chain received from crmweb9 - 133.128.6.148 failed hostname verification check. Certificate contained localhost.localdomain but check expected crmweb9


23.字符串越界:

<Error> <HTTP> <NAS1> <onebossSrv> <ExecuteThread: '172' for queue: 'weblogic.kernel.Default'> <<WLS Kernel>> <> <BEA-101020> <[ServletContext(id=939944746,name=onebossApp,context-path=)] Servlet failed with Exception
java.lang.Throwable: String index out of range: 6


24.空指针异常:

<Error> <HTTP> <NAS1> <onebossSrv> <ExecuteThread: '153' for queue: 'weblogic.kernel.Default'> <<WLS Kernel>> <> <BEA-101020> <[ServletContext(id=939944746,name=onebossApp,context-path=)] Servlet failed with Exception
java.lang.NullPointerException


25.JSP编译异常:

<Error> <HTTP> <sxyy5> <sxserver2> <ExecuteThread: '274' for queue: 'weblogic.kernel.Default'> <<WLS Kernel>> <> <BEA-101017> <[ServletContext(id=16207127,name=DefaultWebApp,context-path=)] Root cause of ServletException.
weblogic.servlet.jsp.CompilationException: Compilation of /bossweb/domains/sxdomain/_jsp_compiled/jsp_servlet/_npage/_auditmanage/_s1649/__f1649_getmsg.java failed.
/bossweb/domains/sxdomain/_jsp_compiled/jsp_servlet/_npage/_auditmanage/_s1649/__f1649_getmsg.java:1153: ')' expected
for(int i=0;i<grpProd_oldSel.length;i++ //[ /npage/AuditManage/s1649/f1649_getmsg.jsp; Line: 161]
^
1 error


总结:这些错误都可以进行解决,需要在对应的位置找出错误并且改正,需要进行socket优化,需要重新设置session,需要设置配置信息,需要改正对应地方的代码等。




赞(0)    操作        顶端 
总帖数
1
每页帖数
101/1页1
返回列表
发新帖子
请输入验证码: 点击刷新验证码
您需要登录后才可以回帖 登录 | 注册
技术讨论