We are facing the issue while starting the admin server in our environemnt. Below is the error:
Current log file=/var/abc/widm/logs/AdminServer.log
Rotation dir=/var/abc/widm/logs
is opened. All server side log events will be written to this file.>
<Feb 24, 2022 11:13:11,030 AM CST> <Notice> <Security> <BEA-090171> <Loading the identity certificate and private key stored under the alias abc_weblogic_admin_console from the JKS keystore file /opt/security/FedEx_Weblogic_Admin_Console_InfosecCA.jks.>
<Feb 24, 2022 11:13:11,047 AM CST> <Notice> <Security> <BEA-090169> <Loading trusted certificates from the JKS keystore file /opt/security/cacerts.>
<Feb 24, 2022 11:13:11,392 AM CST> <Notice> <Security> <BEA-090946> <Security pre-initializing using security realm: myrealm>
<Feb 24, 2022 11:13:12,043 AM CST> <Notice> <Security> <BEA-090947> <Security post-initializing using security realm: myrealm>
<Feb 24, 2022 11:13:13,532 AM CST> <Notice> <Security> <BEA-090082> <Security initialized using administrative security realm: myrealm>
<Feb 24, 2022 11:13:13,568 AM CST> <Notice> <Security> <BEA-090083> <Storing boot identity in the file: /opt/abc/appsec/widm/widm.boot.identity.tmp.>
<Feb 24, 2022 11:13:13,730 AM CST> <Critical> <WebLogicServer> <BEA-000362> <Server failed. Reason:
There are 1 nested errors:
java.io.IOException: [Server:002664]Failed to start Admin Channel DefaultAdministration[admin].
at weblogic.server.channels.ServerSocketManager.createAndBindServerSockets(ServerSocketManager.java:132)
at weblogic.server.channels.ServerSocketManager.createAndBindAllServerSockets(ServerSocketManager.java:89)
at weblogic.server.channels.AdminPortService.createAndBindServerSockets(AdminPortService.java:108)
at weblogic.server.channels.EnableAdminListenersService.start(EnableAdminListenersService.java:60)
at weblogic.server.AbstractServerService.postConstruct(AbstractServerService.java:76)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.glassfish.hk2.utilities.reflection.ReflectionHelper.invoke(ReflectionHelper.java:1287)
at org.jvnet.hk2.internal.ClazzCreator.postConstructMe(ClazzCreator.java:333)
at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:375)
at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:487)
at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:305)
at org.glassfish.hk2.runlevel.RunLevelContext.findOrCreate(RunLevelContext.java:85)
at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2126)
at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:116)
at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:90)
at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.oneJob(CurrentTaskFuture.java:1237)
at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.run(CurrentTaskFuture.java:1168)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:681)
at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:352)
at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:337)
at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:57)
at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:655)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:420)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:360)
Caused by: java.net.BindException: Address already in use
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:438)
at sun.nio.ch.Net.bind(Net.java:430)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:225)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
at weblogic.socket.NIOSocketMuxer.newServerSocket(NIOSocketMuxer.java:536)
at weblogic.server.channels.ServerSocketWrapper.newServerSocket(ServerSocketWrapper.java:119)
at weblogic.server.channels.ServerSocketWrapper$1.run(ServerSocketWrapper.java:355)
at weblogic.server.channels.ServerSocketWrapper.createAndSetServerSocket(ServerSocketWrapper.java:367)
at weblogic.server.channels.ServerSocketWrapper.bind(ServerSocketWrapper.java:211)
at weblogic.server.channels.ServerSocketManager.createBindAndEnableServerSocket(ServerSocketManager.java:162)
at weblogic.server.channels.ServerSocketManager.createAndBindServerSockets(ServerSocketManager.java:126)
... 26 more
>
<Feb 24, 2022 11:13:13,743 AM CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED.>
<Feb 24, 2022 11:13:13,743 AM CST> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down.>
<Feb 24, 2022 11:13:13,750 AM CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN.>
The problem appears to be that a required port for starting WebLogic is already being used:
Caused by: java.net.BindException: Address already in use
Perhaps a previous server stop or start is holding that port.
Try clearing the port already in use by killing existing WebLogic processes, or by shutting shown and restarting the server at the operating system level.
If the issue continues contact your WebLogic Application Server support team, as the issue does not appear to be with Identity Manager: