others linux服务器运维 django3 监控 k8s golang 数据库 大数据 前端 devops 理论基础 java oracle 运维日志

weblogic 故障一例

访问量:1602 创建时间:2023-04-12

由于修复漏洞,导致重启无法启动。

INFO: OPSS Java Policy Provider is set as the system-wide Policy object.
Apr 12, 2023 7:50:02 AM oracle.security.jps.JpsStartup startWithRetry
INFO: Jps started.
<Apr 12, 2023 7:50:02,378 AM CST> <Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: A MultiException has 8 exceptions.  They are:
1. weblogic.utils.NestedRuntimeException: [Security:090467]problem with connection filter
2. java.lang.IllegalStateException: Unable to perform operation: post construct on weblogic.security.PreSecurityService
3. java.lang.IllegalArgumentException: While attempting to resolve the dependencies of weblogic.security.SecurityService errors were found
4. java.lang.IllegalStateException: Unable to perform operation: resolve on weblogic.security.SecurityService
5. java.lang.IllegalArgumentException: While attempting to resolve the dependencies of weblogic.jndi.internal.RemoteNamingService errors were found
6. java.lang.IllegalStateException: Unable to perform operation: resolve on weblogic.jndi.internal.RemoteNamingService
7. java.lang.IllegalArgumentException: While attempting to resolve the dependencies of weblogic.connector.common.ConnectorServiceActivator errors were found
8. java.lang.IllegalStateException: Unable to perform operation: resolve on weblogic.connector.common.ConnectorServiceActivator

A MultiException has 8 exceptions.  They are:
1. weblogic.utils.NestedRuntimeException: [Security:090467]problem with connection filter
2. java.lang.IllegalStateException: Unable to perform operation: post construct on weblogic.security.PreSecurityService
3. java.lang.IllegalArgumentException: While attempting to resolve the dependencies of weblogic.security.SecurityService errors were found
4. java.lang.IllegalStateException: Unable to perform operation: resolve on weblogic.security.SecurityService
5. java.lang.IllegalArgumentException: While attempting to resolve the dependencies of weblogic.jndi.internal.RemoteNamingService errors were found
6. java.lang.IllegalStateException: Unable to perform operation: resolve on weblogic.jndi.internal.RemoteNamingService
7. java.lang.IllegalArgumentException: While attempting to resolve the dependencies of weblogic.connector.common.ConnectorServiceActivator errors were found
8. java.lang.IllegalStateException: Unable to perform operation: resolve on weblogic.connector.common.ConnectorServiceActivator

        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: weblogic.utils.NestedRuntimeException: [Security:090467]problem with connection filter
        at weblogic.security.PreSecurityService.setConnectionFilter(PreSecurityService.java:245)
        at weblogic.security.PreSecurityService.initializeConnectionFilter(PreSecurityService.java:229)
        at weblogic.security.PreSecurityService.start(PreSecurityService.java:128)
        at weblogic.server.AbstractServerService.postConstruct(AbstractServerService.java:76)
        at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
        Truncated. see log file for complete stacktrace
Caused By: java.lang.ClassNotFoundException: WebLogic.security.net.ConnectionFilterImpl
        at com.oracle.classloader.PolicyClassLoader.findClass(PolicyClassLoader.java:398)
        at com.oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:371)
        at com.oracle.classloader.weblogic.LaunchClassLoader.loadClass(LaunchClassLoader.java:55)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        at java.lang.Class.forName0(Native Method)
        Truncated. see log file for complete stacktrace
> 
<Apr 12, 2023 7:50:02,390 AM CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED.> 
<Apr 12, 2023 7:50:02,390 AM CST> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down.> 
<Apr 12, 2023 7:50:02,392 AM CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN.> 
Stopping Derby server...
Derby server stopped.

删除配置文件WebLogic.security.net.ConnectionFilterImpl相关的内容,然后启动

[oracle@esbprdosb1 config]$ pwd
/home/oracle/fmwhome/Middleware/Oracle_Home/user_projects/domains/osb_domain/config
[oracle@esbprdosb1 config]$ vim config.xml 
登陆评论: 使用GITHUB登陆