Reputation: 778
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?
Upvotes: 0
Views: 6046
Reputation: 3215
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
.
Upvotes: 1