简体   繁体   中英

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. The problem is that if I try to access the weblogic console it gives me a 500 internal server error.

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

You can stop the AdminServer . Then edit the config.xml and remove the settings for the new authentication provider you added.

Look for the following block in the xml:

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

Remove this and restart the AdminServer .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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