首页 > 解决方案 > 启动 Weblogic Managed Server 时出错

问题描述

owertier.ServiceDisabled=true  weblogic.Server
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=1024m; support was removed in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=512m; support was removed in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=1024m; support was removed in 8.0
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Invalid file name for use with -Xloggc: Filename can only contain the characters [A-Z][a-z][0-9]-_.%[p|t] but it has been /var/SP/apps/weblogic12c/osbseldomain/log/gcinfo_managedserver_*.log
Note %p or %t can only be used once
<Sep 9, 2018 11:49:49 AM GST> <INFO> <NodeManager> <The server 'ManagedServer_1' with process id 10159 is no longer alive; waiting for the process to die.>
<Sep 9, 2018 11:49:49 AM GST> <FINEST> <NodeManager> <Process died.>
<Sep 9, 2018 11:49:49 AM GST> <INFO> <NodeManager> <Server failed during startup and will be retried>
<Sep 9, 2018 11:49:49 AM GST> <FINEST> <NodeManager> <get latest startup configuration before deciding/trying to restart the server>
<Sep 9, 2018 11:49:49 AM GST> <INFO> <NodeManager> <Server failed but will not be restarted because the maximum number of restart attempts has been exceeded>
<Sep 9, 2018 11:49:49 AM GST> <FINEST> <NodeManager> <runMonitor returned, setting finished=true and notifying waiters>
:1

标签: weblogic12crhel6

解决方案


它无法创建 JVM,这是因为您将 jvm 变量的旧语法与新版本的 jdk 一起使用。只需相应地更改它们。对于考虑到日志目录已经存在的 gc 日志,“*”正在创建问题,不确定您为什么要使用它。您可以改用日期格式来创建新的日志文件。gcinfo_managedserver_ date +%F_%H-%M-%S-.log


推荐阅读