今天我们项目weblogic突然死掉了,各位帮忙诊断下!

各位大虾:
今天我们的项目weblogic突然死掉,这是一个地级市的协同办公项目,因为使用的用户较多,死掉之后用户无法及时使用,这给我们造成了很大的麻烦,甲方要求不得在出现第二次,项目组苦思冥想都不知道这是什么原因,各种搜索资源都已尝试,仍未找到缘由,特上来请教各位大侠
项目环境:
oracle 10g;
weblogic 10;
windows 2003(目前是试运行,后面可能会更换成 redhat or solaris);

然后在附上weblgoic的堆栈信息,如下:

[code="java"]

<[weblogic.servlet.
internal.WebAppServletContext@180b6f2 - appName: 'wzoa', name: 'wzoa', context-p
ath: '', spec-version: 'null'] Servlet failed with Exception
java.lang.NullPointerException
at com.gw.util.PageFilter.doFilter(PageFilter.java:24)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:42)
at com.gw.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingF
ilter.java:79)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:42)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
n.run(WebAppServletContext.java:3496)
Truncated. see log file for complete stacktrace

    at java.util.zip.Inflater.ensureOpen(Inflater.java:332)
    at java.util.zip.Inflater.inflateBytes(Inflater.java:346)
    at java.util.zip.Inflater.inflate(Inflater.java:216)
    at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:135)
    at java.io.FilterInputStream.read(FilterInputStream.java:116)
    at java.io.FilterInputStream.read(FilterInputStream.java:90)
    at java.util.Properties$LineReader.readLine(Properties.java:418)
    at java.util.Properties.load0(Properties.java:337)
    at java.util.Properties.load(Properties.java:325)
    at org.extremecomponents.table.core.TableProperties.init(TableProperties

.java:40)
at org.extremecomponents.table.limit.TableLimitFactory.(TableLimit
Factory.java:69)
at org.extremecomponents.table.limit.TableLimitFactory.(TableLimit
Factory.java:46)
at org.extremecomponents.table.limit.TableLimitFactory.(TableLimit
Factory.java:39)
at com.gw.util.PageLimit.(PageLimit.java:50)
at com.gw.util.PageLimit.(PageLimit.java:40)
at com.gw.util.PageFilter.setPageLimit(PageFilter.java:49)
at com.gw.util.PageFilter.doFilter(PageFilter.java:24)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:42)
at com.gw.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingF
ilter.java:79)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:42)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
n.run(WebAppServletContext.java:3496)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
dSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppS
ervletContext.java:2180)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletC
ontext.java:2086)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.j
ava:1406)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
java.lang.NullPointerException
at java.util.zip.Inflater.ensureOpen(Inflater.java:332)
at java.util.zip.Inflater.inflateBytes(Inflater.java:346)
at java.util.zip.Inflater.inflate(Inflater.java:216)
at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:135)
at java.io.FilterInputStream.read(FilterInputStream.java:116)
at java.io.FilterInputStream.read(FilterInputStream.java:90)
at java.util.Properties$LineReader.readLine(Properties.java:418)
at java.util.Properties.load0(Properties.java:337)
at java.util.Properties.load(Properties.java:325)
at org.extremecomponents.table.core.TableProperties.init(TableProperties
.java:40)
at org.extremecomponents.table.limit.TableLimitFactory.(TableLimit
Factory.java:69)
at org.extremecomponents.table.limit.TableLimitFactory.(TableLimit
Factory.java:46)
at org.extremecomponents.table.limit.TableLimitFactory.(TableLimit
Factory.java:39)
<[weblogic.servlet.internal.WebAppServletContext@180b6f2 - appName: 'wzoa', name: '
wzoa', context-path: '', spec-version: 'null'] Servlet failed with Exception
java.lang.NullPointerException
at com.gw.util.PageFilter.doFilter(PageFilter.java:24)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:42)
at com.gw.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingF
ilter.java:79)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:42)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
n.run(WebAppServletContext.java:3496)
Truncated. see log file for complete stacktrace

    at com.gw.util.PageLimit.<init>(PageLimit.java:50)
    at com.gw.util.PageLimit.<init>(PageLimit.java:40)
    at com.gw.util.PageFilter.setPageLimit(PageFilter.java:49)
    at com.gw.util.PageFilter.doFilter(PageFilter.java:24)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja

va:42)
at com.gw.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingF
ilter.java:79)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:42)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
n.run(WebAppServletContext.java:3496)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
dSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppS
ervletContext.java:2180)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletC
ontext.java:2086)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.j
ava:1406)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
java.lang.NullPointerException
at java.util.zip.Inflater.ensureOpen(Inflater.java:332) 时36分48秒 CST> <[weblogic.servlet.internal.WebAppSe
rvletContext@180b6f2 - appName: 'wzoa', name: 'wzoa', context-path: '', spec-ver
sion: 'null'] Servlet failed with Exception
java.lang.NullPointerException
at com.gw.util.PageFilter.doFilter(PageFilter.java:24)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:42)
at com.gw.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingF
ilter.java:79)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:42)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
n.run(WebAppServletContext.java:3496)
Truncated. see log file for complete stacktrace

    at java.util.zip.Inflater.inflateBytes(Inflater.java:346)
    at java.util.zip.Inflater.inflate(Inflater.java:216)
    at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:135)
    at java.io.FilterInputStream.read(FilterInputStream.java:116)
    at java.io.FilterInputStream.read(FilterInputStream.java:90)
    at java.util.Properties$LineReader.readLine(Properties.java:418)[JRockit

] ERROR: The JVM has crashed. Writing crash information to E:\bea\wlserver_10.3\
samples\domains\wl_server\jrockit.3684.dump.

===== BEGIN DUMP =============================================================
JRockit dump produced after 0 days, 12:47:25 on Tue Jun 14 08:37:19 2011

**********************************************************
*  If you see this dump, please go to                    *
*  http://edocs.bea.com/jrockit/go2troubleshooting.html  *
*  for troubleshooting information.                      *
**********************************************************

Additional information is available in:
E:\bea\wlserver_10.3\samples\domains\wl_server\jrockit.3684.dump
E:\bea\wlserver_10.3\samples\domains\wl_server\jrockit.3684.mdmp

Error Message: Unspecified error [52]
Exception Rec: EXCEPTION_ACCESS_VIOLATION (c0000005) at 0x0046A7B6 - memory at 0
x00000000 could not be written.
Minidump : Wrote mdmp. Size is 452MB
SafeDllMode : -1
Fatal Error : As of this writing noone should EVER use native stack unwind exce
pt myself.
Version : BEA JRockit(R) R27.6.0-50_o-100423-1.6.0_05-20080626-2105-windows
-ia32
GC Strategy : Mode: throughput. Currently using strategy: genparpar
GC Status : OC is not running. Last finished OC was OC#303.
: YC is not running. Last finished YC was YC#349.
OC History : Strategy genparpar was used for OC#272 to OC#278.
: Strategy singleparpar was used for OC#279.
: Strategy genparpar was used for OC#280 to OC#284.
: Strategy singleparpar was used for OC#285.
: Strategy genparpar was used for OC#286 to OC#303.
YC History : Ran 1 YCs before OC#299.
: Ran 1 YCs before OC#300.
: Ran 1 YCs before OC#301.
: Ran 1 YCs before OC#302.
: Ran 1 YCs before OC#303.
: Ran 2 YCs since last OC.
YC Promotion : Last YC successfully promoted all objects
Heap : 0x00C00000 - 0x60C00000 (Size: 1536 MB)
Compaction : 0x0CC00008 - 0x12C00000 (Current compaction type: internal)
Stopping PointBase server...
PointBase server stopped.
[/code]

2个回答

ERROR: The JVM has crashed. Writing crash information to E:\bea\wlserver_10.3\

samples\domains\wl_server\jrockit.3684.dump.

这里有dump
找个 工具 比如 jprofer 看看那些class在 weblogic 死前占用的 比较多的

把 string char 排除掉

[code="xml"]
at java.util.zip.Inflater.ensureOpen(Inflater.java:332)

at java.util.zip.Inflater.inflateBytes(Inflater.java:346)

at java.util.zip.Inflater.inflate(Inflater.java:216)

at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:135)

at java.io.FilterInputStream.read(FilterInputStream.java:116)

at java.io.FilterInputStream.read(FilterInputStream.java:90)

at java.util.Properties$LineReader.readLine(Properties.java:418)

at java.util.Properties.load0(Properties.java:337)

at java.util.Properties.load(Properties.java:325)

at org.extremecomponents.table.core.TableProperties.init(TableProperties

.java:40)
[/code]
貌似异常发生在压缩文件读取加载,请检查

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问
相关内容推荐