weblogic——Servlet failed with Exception

     最近在发布的项目发现:weblogic报Internal Server Error-500错误,看到出错信息为Servlet failed with Exception   java.lang.NullPointerException,毫无疑问,导致出现这种问题的原因在于NullPointerException(空指针异常),也就是说代码中出现了为空的对象,并不是weblogic部署出现的问题。

       接下来看看日志信息,涉及哪个Action的方法中出现了空指针,这需要你逐句去调试。找到空指针问题也就差不多解决了。

       PS:莫名出现java.net.SocketException: Write failed: Broken pipe也可能是上述原因造成的。当然真正的问题还得具体对待。

发布了31 篇原创文章 · 获赞 8 · 访问量 9万+
展开阅读全文

weblogic在配置数据源的时候报错了。

09-15

<2017-9-15 下午03时27分30秒 CST> <Error> <HTTP> <BEA-101019> <[ServletContext@12 504936[app:consoleapp module:console path:/console spec-version:2.5]] Servlet fa iled with IOException weblogic.utils.NestedRuntimeException: Cannot parse POST parameters of request: '/console/console.portal' at weblogic.servlet.internal.ServletRequestImpl$RequestParameters.mergeP ostParams(ServletRequestImpl.java:2197) at weblogic.servlet.internal.ServletRequestImpl$RequestParameters.parseQ ueryParams(ServletRequestImpl.java:2077) at weblogic.servlet.internal.ServletRequestImpl$RequestParameters.getQue ryParams(ServletRequestImpl.java:1971) at weblogic.servlet.internal.ServletRequestImpl$RequestParameters.getPar ameter(ServletRequestImpl.java:2048) at weblogic.servlet.internal.ServletRequestImpl$RequestParameters.access $800(ServletRequestImpl.java:1869) Truncated. see log file for complete stacktrace Caused By: java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at weblogic.servlet.internal.PostInputStream.read(PostInputStream.java:1 94) at weblogic.servlet.internal.ServletInputStreamImpl.read(ServletInputStr eamImpl.java:228) at weblogic.servlet.internal.ServletRequestImpl$RequestParameters.mergeP ostParams(ServletRequestImpl.java:2171) Truncated. see log file for complete stacktrace > 收起 oracle应该没问题 也安装在本地的 PLSQL可以连上的 问答

weblogic报错信息,网上也有这个问题,但是回答都太简单了,所以在这里重复提一次问,谢谢!

06-30

####<2017-6-28 下午04时20分41秒 CST> <Error> <HTTP> <vasweb2> <wlsproxy> <[ACTIVE] ExecuteThread: '25' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1498638041127> <BEA-101020> <[ServletContext@1741580238[app:wlsproxy module:wlsproxy path: spec-version:null]] Servlet failed with Exception java.lang.IllegalStateException: Response already committed at weblogic.servlet.internal.ServletResponseImpl.objectIfCommitted(ServletResponseImpl.java:1629) at weblogic.servlet.internal.ServletResponseImpl.sendError(ServletResponseImpl.java:637) at weblogic.servlet.proxy.HttpClusterServlet.service(HttpClusterServlet.java:409) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:184) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3732) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256) at weblogic.work.ExecuteThread.run(ExecuteThread.java:221) > weblogic集群代理报错,这几天经常出现,在网上搜了一下,很多情况,但是都没有回复,所以在重新发一次,请各位大神帮忙看看,这也看不到是哪个代码的问题,在说一下,应用是NC57. 问答

没有更多推荐了,返回首页

©️2019 CSDN 皮肤主题: 大白 设计师: CSDN官方博客

分享到微信朋友圈

×

扫一扫,手机浏览