![](/img/trans.png)
[英]How can my application access the keystore configured in Weblogic admin console?
[英]Weblogic can't access admin console
我刚刚在领域部分下添加了一个新的身份验证提供程序。 这个新的提供程序是一个自定义LDAP服务器,该服务器目前不在线,因此无法访问。 问题是,如果我尝试访问weblogic控制台,则会出现500个内部服务器错误。
页面中显示的消息:
Internal Server Error
The server encountered an unexpected condition which prevented it from fulfilling the request.
The best thing to do is start at the Home page or try the browser back button.
例外:
Root cause of ServletException.
java.net.UnknownHostException: authservice.dd.aa.int
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at org.company.authservice.util.httpclient.protocol.bouncycastle.StandardNamesTlsSocket.connect(StandardNamesTlsSocket.java:269)
at org.company.authservice.util.httpclient.protocol.Java5SSLSocketWrapper.connect(Java5SSLSocketWrapper.java:64)
Truncated. see log file for complete stacktrace
如何再次访问控制台?
在手动编辑config.xml
之前,请务必进行备份
您可以停止AdminServer
。 然后编辑config.xml
并删除添加的新authentication provider
的设置。
在xml中查找以下块:
<sec:authentication-provider xsi:type="wls:ldap-authenticatorType">
...
</sec:authentication-provider>
删除它并重新启动AdminServer
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.