技术开发 频道

YL电厂WAS系统错误诊断日志分析

    【IT168 技术文章】

    WAS系统垮了,客户疯了,又有事情做了!!!

    分析了日志文件

    Native_stderr.log

    Native_stdiut.log

    Server1.pid

    Startserver.log

    Stopserver.log

    Systemerr.log

    Systemout.log

    PS: 由于对log文件的收集没有加 -trace参数,所以得到的信息比较有限,希望以后兄弟们能够提交日志文件的时候能够记得加这个参数。

    虽然比较有限,但是还是可以看到一些端倪:

    通过分析SystemOut.log日志文件,可以得出以下信息:

    ************ Start Display Current Environment ************

    WebSphere Platform 5.0 [BASE 5.0.1 ptf1M0313.03] running with process name oasvr\oasvr\server1 and process id 4460

    Host Operating System is Windows 2000, version 5.0

    Java version = J2RE 1.3.1 IBM Windows 32 build cn131-20030329 (JIT enabled: jitc), Java Compiler = jitc, Java VM name = Classic VM

    was.install.root = d:\ibm\WebSphere\AppServer

    user.install.root = d:\ibm\WebSphere\AppServer

    Java Home = d:\ibm\WebSphere\AppServer\java\jre

    ws.ext.dirs = d:\ibm\WebSphere\AppServer\java/lib;d:\ibm\WebSphere\AppServer/classes;d:\ibm\WebSphere\AppServer/classes;d:\ibm\WebSphere\AppServer/lib;d:\ibm\WebSphere\AppServer/lib/ext;d:\ibm\WebSphere\AppServer/web/help;d:\ibm\WebSphere\AppServer/deploytool/itp/plugins/com.ibm.etools.ejbdeploy/runtime

    Classpath = d:\ibm\WebSphere\AppServer/properties;d:\ibm\WebSphere\AppServer/properties;d:\ibm\WebSphere\AppServer/lib/bootstrap.jar;d:\ibm\WebSphere\AppServer/lib/j2ee.jar;d:\ibm\WebSphere\AppServer/lib/lmproxy.jar

    Java Library path = d:\ibm\WebSphere\AppServer\java\bin;.;C:\WINNT\system32;C:\WINNT;d:\ibm\WebSphere\AppServer\bin;d:\ibm\WebSphere\AppServer\java\bin;d:\ibm\WebSphere\AppServer\java\jre\bin;D:\ibm\WebSphere MQ\Java\lib;d:\oracle\ora92\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;D:\j2sdk1.4.2_09\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;D:\ibm\WebSphere MQ\bin;D:\ibm\WebSphere MQ\WEMPS\bin;C:\Program Files\IDM Computer Solutions\UltraEdit-32;D:\ibm\WebSphere MQ\bin;D:\ibm\WebSphere MQ\java\bin;D:/ibm/WebSphere MQ/WEMPS\bin

    WebSphere Application Server Base Version 5.0.1,平台版本0313.03,

    该版本对应JDK:1.3.1.07(SR4)

    OASVR可以推测其运行环境是一个J2EE的OA平台,just in time 已经打开

    系统环境变量中使用了WebSphere MQ,根据路径可以判断不是WAS自带message,因此对应MQ版本应该为CSD07,从路径中可以看到使用了2个Oracle9iR2实例,一个对应的JRE:1.1.8;一个对应的JRE:1.3.1.应用部署是在jdk1.4.2.09。

    另外报错误:

    [07-4-19 9:56:33:328 CST]

    6130d48d SessionFactor W net.sf.hibernate.impl.SessionFactoryObjectFactory Could not bind factory to JNDI

    [07-4-19 9:56:33:344 CST]

    6130d48d SessionFactor W net.sf.hibernate.impl.SessionFactoryObjectFactory TRAS0014I: 下列异常已记录 javax.naming.OperationNotSupportedException: The operation on the context "java:env" cannot be completed. All contexts under java:comp/env are environment contexts and are read-only.

    [07-4-19 9:56:34:422 CST]

    6130d48d SharedPool    I J2CA0086W: 在本地事务包含边界中使用的资源 jdbc/ylrun 的可分享连接

    [07-4-19 9:56:34:906 CST]

    6130d48d WSRdbDataSour u Database version is Oracle9i Enterprise Edition Release 9.2.0.7.0 - 64bit Production

    With the Partitioning, OLAP and Oracle Data Mining options

    JServer Release 9.2.0.7.0 - Production

    [07-4-19 9:56:34:906 CST] 6130d48d

    WSRdbDataSour u JDBC Driver version is 9.2.0.1.0

    信息:WAS数据源版本:Oracle 9.2.0.7.0 64bit

    采用了数据挖掘组件,其中Jserver版本9.2.0.7.0

    JDBC驱动9.2.0.1.0(目前看不到是type2还是type4驱动)

   

0
相关文章