Weblogic没有出现在Dockder容器中

时间:2018-06-21 04:41:37

标签: docker weblogic weblogic12c

Weblogic没有启动。它给出以下堆栈跟踪。有谁能帮助解决这个问题?

<Jun 20, 2018 1:04:27,029 PM UTC> <Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: A MultiException has 4 exceptions.  They are:
1. java.lang.ExceptionInInitializerError
2. java.lang.IllegalStateException: Unable to perform operation: post construct on weblogic.rjvm.RJVMService
3. java.lang.IllegalArgumentException: While attempting to resolve the dependencies of weblogic.protocol.ProtocolRegistrationService errors were found
4. java.lang.IllegalStateException: Unable to perform operation: resolve on weblogic.protocol.ProtocolRegistrationService
A MultiException has 4 exceptions.  They are:
1. java.lang.ExceptionInInitializerError
2. java.lang.IllegalStateException: Unable to perform operation: post construct on weblogic.rjvm.RJVMService
3. java.lang.IllegalArgumentException: While attempting to resolve the dependencies of weblogic.protocol.ProtocolRegistrationService errors were found
4. java.lang.IllegalStateException: Unable to perform operation: resolve on weblogic.protocol.ProtocolRegistrationService
    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.ExceptionInInitializerError
    at weblogic.utils.net.AddressUtils.getIPForLocalHost(AddressUtils.java:163)
    at weblogic.rjvm.JVMID.setLocalID(JVMID.java:278)
    at weblogic.rjvm.RJVMService.setJVMID(RJVMService.java:72)
    at weblogic.rjvm.RJVMService.start(RJVMService.java:54)
    at weblogic.server.AbstractServerService.postConstruct(AbstractServerService.java:76)
    Truncated. see log file for complete stacktrace
Caused By: java.lang.NullPointerException
    at weblogic.utils.net.AddressUtils$AddressMaker.getAllAddresses(AddressUtils.java:62)
    at weblogic.utils.net.AddressUtils$AddressMaker.<clinit>(AddressUtils.java:45)
    at weblogic.utils.net.AddressUtils.getIPForLocalHost(AddressUtils.java:163)
    at weblogic.rjvm.JVMID.setLocalID(JVMID.java:278)
    at weblogic.rjvm.RJVMService.setJVMID(RJVMService.java:72)
    Truncated. see log file for complete stacktrace
>

WebLogic Server遇到严重故障 原因:违反断言


停止Derby服务器... Derby服务器已停止。

1 个答案:

答案 0 :(得分:0)

实际上docker容器内部存在接口解析问题,这是导致问题的原因

请确保以下几点要解决: 1)Cat / etc / hosts应该具有对应于localhost的条目 2)docker0接口应处于启动状态