须天逸 2023-03-03 09:51 采纳率: 0%
浏览 14

weblogic排错

问题遇到的现象和发生背景

启动weblogic的WLST时报错

操作环境、软件版本等信息

centos8.1 安装weblogic14.1 ,JDK19

尝试过的解决方法

查了一下说是JAVA初始化错误,但是都没有解决方法

我想要达到的结果

成功启动WLST,并且可以使用
报错内容如下:
[weblogic@node1 bin]$ /u02/weblogic/Oracle/Middleware/wlserver/common/bin/wlst.sh
WARNING: This is a deprecated script. Please invoke the wlst.sh script under oracle_common/common/bin.

Initializing WebLogic Scripting Tool (WLST) ...

main:20: RuntimeWarning: PyTableCode.call caught a Throwable that is not an Exception:
java.lang.ExceptionInInitializerError
Jython internals might be in a bad state now that can cause deadlocks later on.
See http://bugs.jython.org/issue2536 for details.
Traceback (most recent call last):
File "", line 20, in
java.lang.ExceptionInInitializerError
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:495)
at java.base/java.lang.Class.forName(Class.java:474)
at org.python.core.Py.loadAndInitClass(Py.java:1107)
at org.python.core.Py.findClassInternal(Py.java:1020)
at org.python.core.Py.findClass(Py.java:1067)
at org.python.core.packagecache.PackageManager.basicDoDir(PackageManager.java:113)
at org.python.core.packagecache.SysPackageManager.doDir(SysPackageManager.java:154)
at org.python.core.PyJavaPackage.fillDir(PyJavaPackage.java:120)
at org.python.core.imp.importAll(imp.java:1192)
at org.python.core.imp.importAll(imp.java:1180)
at org.python.pycode._pyx3.f$0(:349)
at org.python.pycode._pyx3.call_function()
at org.python.core.PyTableCode.call(PyTableCode.java:171)
at org.python.core.PyCode.call(PyCode.java:18)
at org.python.core.Py.runCode(Py.java:1614)
at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:296)
at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:291)
at weblogic.management.scripting.utils.WLSTInterpreter.execfile(WLSTInterpreter.java:1128)
at weblogic.management.scripting.utils.WLSTUtil.execWLSTScript(WLSTUtil.java:285)
at weblogic.management.scripting.utils.WLSTUtil.setupOfflineInternal(WLSTUtil.java:468)
at weblogic.management.scripting.utils.WLSTUtil.setupOffline(WLSTUtil.java:372)
at weblogic.management.scripting.utils.WLSTUtilWrapper.setupOffline(WLSTUtilWrapper.java:29)
at weblogic.management.scripting.utils.WLSTInterpreter.(WLSTInterpreter.java:270)
at weblogic.management.scripting.WLST.main(WLST.java:140)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at weblogic.WLST.main(WLST.java:47)
Caused by: java.lang.UnsupportedOperationException: Preview Features not enabled, need to run with --enable-preview
at java.base/jdk.internal.misc.PreviewFeatures.ensureEnabled(PreviewFeatures.java:49)
at java.base/jdk.internal.vm.Continuation.(Continuation.java:53)
... 28 more
java.lang.ExceptionInInitializerError: java.lang.ExceptionInInitializerError
Problem invoking WLST - Traceback (most recent call last):
File "", line 20, in
java.lang.ExceptionInInitializerError
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:495)
at java.base/java.lang.Class.forName(Class.java:474)
at org.python.core.Py.loadAndInitClass(Py.java:1107)
at org.python.core.Py.findClassInternal(Py.java:1020)
at org.python.core.Py.findClass(Py.java:1067)
at org.python.core.packagecache.PackageManager.basicDoDir(PackageManager.java:113)
at org.python.core.packagecache.SysPackageManager.doDir(SysPackageManager.java:154)
at org.python.core.PyJavaPackage.fillDir(PyJavaPackage.java:120)
at org.python.core.imp.importAll(imp.java:1192)
at org.python.core.imp.importAll(imp.java:1180)
at org.python.pycode._pyx3.f$0(:349)
at org.python.pycode._pyx3.call_function()
at org.python.core.PyTableCode.call(PyTableCode.java:171)
at org.python.core.PyCode.call(PyCode.java:18)
at org.python.core.Py.runCode(Py.java:1614)
at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:296)
at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:291)
at weblogic.management.scripting.utils.WLSTInterpreter.execfile(WLSTInterpreter.java:1128)
at weblogic.management.scripting.utils.WLSTUtil.execWLSTScript(WLSTUtil.java:285)
at weblogic.management.scripting.utils.WLSTUtil.setupOfflineInternal(WLSTUtil.java:468)
at weblogic.management.scripting.utils.WLSTUtil.setupOffline(WLSTUtil.java:372)
at weblogic.management.scripting.utils.WLSTUtilWrapper.setupOffline(WLSTUtilWrapper.java:29)
at weblogic.management.scripting.utils.WLSTInterpreter.(WLSTInterpreter.java:270)
at weblogic.management.scripting.WLST.main(WLST.java:140)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at weblogic.WLST.main(WLST.java:47)
Caused by: java.lang.UnsupportedOperationException: Preview Features not enabled, need to run with --enable-preview
at java.base/jdk.internal.misc.PreviewFeatures.ensureEnabled(PreviewFeatures.java:49)
at java.base/jdk.internal.vm.Continuation.(Continuation.java:53)
... 28 more
java.lang.ExceptionInInitializerError: java.lang.ExceptionInInitializerError



  • 写回答

1条回答 默认 最新

  • CSDN-Ada助手 CSDN-AI 官方账号 2023-03-03 14:43
    关注
    • 这篇博客也许可以解决你的问题👉 :weblogic
    评论

报告相同问题?

问题事件

  • 创建了问题 3月3日

悬赏问题

  • ¥30 关于#r语言#的问题:如何对R语言中mfgarch包中构建的garch-midas模型进行样本内长期波动率预测和样本外长期波动率预测
  • ¥15 ETLCloud 处理json多层级问题
  • ¥15 matlab中使用gurobi时报错
  • ¥15 这个主板怎么能扩出一两个sata口
  • ¥15 不是,这到底错哪儿了😭
  • ¥15 2020长安杯与连接网探
  • ¥15 关于#matlab#的问题:在模糊控制器中选出线路信息,在simulink中根据线路信息生成速度时间目标曲线(初速度为20m/s,15秒后减为0的速度时间图像)我想问线路信息是什么
  • ¥15 banner广告展示设置多少时间不怎么会消耗用户价值
  • ¥15 可见光定位matlab仿真
  • ¥15 arduino 四自由度机械臂