问题描述
不久前在一台win2003服务器上安装了IBMWebSphereApplicationServer-ND,6.0.0.1在上面部署了我们的应用程序,我的websphereND安装在一个局域网上,网段在192.168.1.*上了。有这样一个需求。在外网上有一些特定的用户需要访问我们的系统。所以我们加了一台防火墙。这个防火墙的功能是这样的:它能实现IP映射的功能。例如:IP192.168.1.100对应外网的10.31.10.100,也就是说外网通过10.31.10.100就能访问我们192.168.1.100的那台服务器,这个功能已经实现了。但是今天突然外网访问不了我们的系统,该页无法显示trace.log[09-3-69:18:49:016CST]0000028bWebContainerESRVE0232E:内部服务器错误。<br>异常消息:[java.lang.NullPointerExceptionatcom.ibm.ws.webcontainer.srt.SRTServletResponse.setDefaultResponseEncoding(SRTServletResponse.java(CompiledCode))atcom.ibm.ws.webcontainer.srt.SRTServletResponse.start(SRTServletResponse.java(InlinedCompiledCode))atcom.ibm.ws.webcontainer.srt.SRTConnectionContext.start(SRTConnectionContext.java(InlinedCompiledCode))atcom.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java(CompiledCode))atcom.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java(CompiledCode))atcom.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java(CompiledCode))atcom.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java(CompiledCode))atcom.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java(CompiledCode))atcom.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminaters(NewConnectionInitialReadCallback.java(CompiledCode))atcom.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java(CompiledCode))atcom.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java(CompiledCode))atcom.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java(CompiledCode))atcom.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java(CompiledCode))atcom.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java(CompiledCode))atcom.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(CompiledCode))]重启服务器后又能访问了,为什么呢?
解决方案
解决方案二:
去下载补丁安装上,然后再观察一下看看。