我正在尝试在 weblogic 11g 服务器中部署Web应用程序。当我部署此应用程序时,weblogic会抛出以下错误(堆栈跟踪在下面)。
点击此应用程序的URL后,必须创建SOAP消息并使用HTTPS协议命中云应用程序。我们之间有一个代理服务器。当我点击Web应用程序的URL时,它需要一些时间,浏览器响应空白页面(500)。我检查了weblogic服务器日志,发现了这个异常。此外,我还在创建用于访问云应用程序的URL时,为Web应用程序中的所需代理IP和端口设置了代理的系统属性。 我无法找到确切的问题。经过许多在线论坛和帖子并尝试了很多解决方案。无法找到确切的解决方案。我是weblogic服务器的新手。对此没什么了解。是否已准备好将Web应用程序部署到tomcat服务器中。在最后一刻,客户端提出了webloigc服务器和中间的代理服务器。任何建议和意见将受到高度赞赏。
提前致谢
java.net.ProtocolException: Proxy or Server Authentication Required
at weblogic.socket.utils.ProxyUtils.getAuthInfo(ProxyUtils.java:279)
at weblogic.socket.utils.ProxyUtils.getProxySocket(ProxyUtils.java:199)
at weblogic.socket.utils.ProxyUtils.getSSLClientProxy(ProxyUtils.java:239)
at weblogic.socket.SocketMuxer.newSSLClientSocket(SocketMuxer.java:397)
at weblogic.socket.JSSESocketFactory.getConnectedSocket(JSSESocketFactory.java:92)
at weblogic.socket.JSSESocketFactory.createSocket(JSSESocketFactory.java:65)
at weblogic.security.SSL.SSLSocketFactory.createSocket(SSLSocketFactory.java:140)
at weblogic.net.http.HttpsClient.openServer(HttpsClient.java:289)
at weblogic.net.http.HttpsClient.openServer(HttpsClient.java:363)
at weblogic.net.http.HttpsClient.New(HttpsClient.java:518)
at weblogic.net.http.HttpsURLConnection.getHttpClient(HttpsURLConnection.java:330)
at weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:450)
<our custom methods are here to create SOAP XML to hit a cloud application>
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
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)
答案 0 :(得分:1)
Oracle文档中解释了所有内容: https://docs.oracle.com/cd/E53672_01/doc.111191/e53673/GUID-36A18CFA-55F1-4D19-B371-A6D15EBF2E24.htm
当您使用SSL / TLS时,您应该使用https.proxyHost和https.proxyPort而不是http.proxyHost和http.proxyPort