简体   繁体   English

Weblogic无法访问管理控制台

[英]Weblogic can't access admin console

I've just added a new Authentication Provider under the realm section. 我刚刚在领域部分下添加了一个新的身份验证提供程序。 This new provider is a custom LDAP server, which right now is not online, so it's not reachable. 这个新的提供程序是一个自定义LDAP服务器,该服务器目前不在线,因此无法访问。 The problem is that if I try to access the weblogic console it gives me a 500 internal server error. 问题是,如果我尝试访问weblogic控制台,则会出现500个内部服务器错误。

Message shown in the page: 页面中显示的消息:

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.

Exception: 例外:

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

How can I access again the console? 如何再次访问控制台?

Always make a backup before manually editing the config.xml 在手动编辑config.xml之前,请务必进行备份

You can stop the AdminServer . 您可以停止AdminServer Then edit the config.xml and remove the settings for the new authentication provider you added. 然后编辑config.xml并删除添加的新authentication provider的设置。

Look for the following block in the xml: 在xml中查找以下块:

<sec:authentication-provider xsi:type="wls:ldap-authenticatorType">
    ...
</sec:authentication-provider>

Remove this and restart the AdminServer . 删除它并重新启动AdminServer

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM