viernes, 7 de diciembre de 2018

BEA-000386 - Server subsystem failed. Reason: A MultiException has 20 exceptions

Al tratar de iniciar Weblogic 12c, se puede presentar el siguiente error y éste no inicia:

<Nov 25, 2018 12:01:56,844 PM MST> <Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: A MultiException has 20 exceptions.  They are:
1. java.lang.NullPointerException
2. java.lang.IllegalStateException: Unable to perform operation: post construct on weblogic.store.admin.DefaultStoreService
3. java.lang.IllegalArgumentException: While attempting to resolve the dependencies of weblogic.transaction.internal.TransactionService errors were found
4. java.lang.IllegalStateException: Unable to perform operation: resolve on weblogic.transaction.internal.TransactionService
5. java.lang.IllegalArgumentException: While attempting to resolve the dependencies of weblogic.jdbc.common.internal.JDBCService errors were found
6. java.lang.IllegalStateException: Unable to perform operation: resolve on weblogic.jdbc.common.internal.JDBCService
7. java.lang.IllegalArgumentException: While attempting to resolve the dependencies of weblogic.management.PartitionRuntimeStateManager errors were found
8. java.lang.IllegalStateException: Unable to perform operation: resolve on weblogic.management.PartitionRuntimeStateManager
9. java.lang.IllegalArgumentException: While attempting to resolve the dependencies of weblogic.management.partition.admin.DomainLevelResourceGroupStateHelperImpl errors were found
10. java.lang.IllegalStateException: Unable to perform operation: resolve on weblogic.management.partition.admin.DomainLevelResourceGroupStateHelperImpl
11. java.lang.IllegalArgumentException: While attempting to resolve the dependencies of weblogic.management.PartitionRuntimeStateManager errors were found
12. java.lang.IllegalStateException: Unable to perform operation: resolve on weblogic.management.PartitionRuntimeStateManager
13. java.lang.IllegalArgumentException: While attempting to resolve the dependencies of weblogic.management.partition.admin.PartitionResourceGroupStateHelperImpl errors were found
14. java.lang.IllegalStateException: Unable to perform operation: resolve on weblogic.management.partition.admin.PartitionResourceGroupStateHelperImpl
15. java.lang.IllegalArgumentException: While attempting to resolve the dependencies of weblogic.management.deploy.internal.ConfiguredDeployments errors were found
16. java.lang.IllegalStateException: Unable to perform operation: resolve on weblogic.management.deploy.internal.ConfiguredDeployments
17. java.lang.IllegalArgumentException: While attempting to resolve the dependencies of weblogic.management.deploy.internal.DeploymentShutdownService errors were found
18. java.lang.IllegalStateException: Unable to perform operation: resolve on weblogic.management.deploy.internal.DeploymentShutdownService
19. java.lang.IllegalArgumentException: While attempting to resolve the dependencies of weblogic.application.services.ApplicationShutdownService errors were found
20. java.lang.IllegalStateException: Unable to perform operation: resolve on weblogic.application.services.ApplicationShutdownService


A MultiException has 20 exceptions.  They are:
1. java.lang.NullPointerException
2. java.lang.IllegalStateException: Unable to perform operation: post construct on weblogic.store.admin.DefaultStoreService
3. java.lang.IllegalArgumentException: While attempting to resolve the dependencies of weblogic.transaction.internal.TransactionService errors were found
4. java.lang.IllegalStateException: Unable to perform operation: resolve on weblogic.transaction.internal.TransactionService
5. java.lang.IllegalArgumentException: While attempting to resolve the dependencies of weblogic.jdbc.common.internal.JDBCService errors were found
6. java.lang.IllegalStateException: Unable to perform operation: resolve on weblogic.jdbc.common.internal.JDBCService
7. java.lang.IllegalArgumentException: While attempting to resolve the dependencies of weblogic.management.PartitionRuntimeStateManager errors were found
8. java.lang.IllegalStateException: Unable to perform operation: resolve on weblogic.management.PartitionRuntimeStateManager
9. java.lang.IllegalArgumentException: While attempting to resolve the dependencies of weblogic.management.partition.admin.DomainLevelResourceGroupStateHelperImpl errors were found
10. java.lang.IllegalStateException: Unable to perform operation: resolve on weblogic.management.partition.admin.DomainLevelResourceGroupStateHelperImpl
11. java.lang.IllegalArgumentException: While attempting to resolve the dependencies of weblogic.management.PartitionRuntimeStateManager errors were found
12. java.lang.IllegalStateException: Unable to perform operation: resolve on weblogic.management.PartitionRuntimeStateManager
13. java.lang.IllegalArgumentException: While attempting to resolve the dependencies of weblogic.management.partition.admin.PartitionResourceGroupStateHelperImpl errors were found
14. java.lang.IllegalStateException: Unable to perform operation: resolve on weblogic.management.partition.admin.PartitionResourceGroupStateHelperImpl
15. java.lang.IllegalArgumentException: While attempting to resolve the dependencies of weblogic.management.deploy.internal.ConfiguredDeployments errors were found
16. java.lang.IllegalStateException: Unable to perform operation: resolve on weblogic.management.deploy.internal.ConfiguredDeployments
17. java.lang.IllegalArgumentException: While attempting to resolve the dependencies of weblogic.management.deploy.internal.DeploymentShutdownService errors were found
18. java.lang.IllegalStateException: Unable to perform operation: resolve on weblogic.management.deploy.internal.DeploymentShutdownService
19. java.lang.IllegalArgumentException: While attempting to resolve the dependencies of weblogic.application.services.ApplicationShutdownService errors were found
20. java.lang.IllegalStateException: Unable to perform operation: resolve on weblogic.application.services.ApplicationShutdownService


        at org.jvnet.hk2.internal.Collector.throwIfErrors(Collector.java:89)
        at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:250)
        at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:358)
        at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:487)
        at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:305)
        Truncated. see log file for complete stacktrace
Caused By: java.lang.NullPointerException
        at weblogic.store.internal.PersistentStoreImpl.isDefaultStoreOfOtherServer(PersistentStoreImpl.java:322)
        at weblogic.store.internal.PersistentStoreImpl.isSpecialStore(PersistentStoreImpl.java:366)
        at weblogic.store.internal.PersistentStoreImpl.setFatalException(PersistentStoreImpl.java:303)
        at weblogic.store.internal.PersistentStoreImpl.open(PersistentStoreImpl.java:551)
        at weblogic.store.admin.AdminHandler.activate(AdminHandler.java:157)
        Truncated. see log file for complete stacktrace
>
<Nov 25, 2018 12:01:56,862 PM MST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED.>
<Nov 25, 2018 12:01:56,862 PM MST> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down.>
<Nov 25, 2018 12:01:56,865 PM MST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN.>
Stopping Derby server...
Derby server stopped.


Esto sucede cuando al parecer la tienda por defecto (default store) está corrupta.

Para su solución podemos realizar los siguientes pasos:

1. Movernos al directorio: $DOMAIN/servers/SERVERNAME/data/store/default
2. Sacar un backup del archivo: _WLS_SERVERNAME000000.DAT
3. Eliminar el archivo _WLS_SERVERNAME000000.DAT
4. Reiniciar Weblogic

Con esto se creará un nuevo archivo y el Weblogic subirá sin problemas.

1 comentario: