weblogic12c - 启动 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
解决方案
它无法创建 JVM,这是因为您将 jvm 变量的旧语法与新版本的 jdk 一起使用。只需相应地更改它们。对于考虑到日志目录已经存在的 gc 日志,“*”正在创建问题,不确定您为什么要使用它。您可以改用日期格式来创建新的日志文件。gcinfo_managedserver_ date +%F_%H-%M-%S
-.log
推荐阅读
- android-studio - 我想在 Spinner 的 Fragment 中添加 Itemclicklister
- bash - 用字符串替换在bash中声明一个变量名(不是值)
- c# - 在库 Graph API 中搜索文件
- java - 单击时如何将数字增加1
- python-3.x - 计算子树 - 优化
- django - 如何在 django 中保存自定义 ModelForm 字段
- python - 如何进行“X 轴”或更多可视化?
- javascript - react中如何用钩子替换基于类的组件
- python - 错误:点:无法打开 ast.dot:没有这样的文件或目录 ...同时使用 python 使用 graphviz 创建 pdf 文件
- reactjs - 如何在饼图中添加工具提示?