weblogic部署报错汇总

weblogic部署报错汇总

Weblogic部署遇到的问题

1.部署完weblogic,进入weblogic控制台,后提示无资源可访问。

解决方法: 权限问题,检查weblogic应用的启动用户和所属用户是否一致。

2. 安装weblogic,创建域的时候特别慢,一直卡着等待或者启动weblogic的时候特别慢

解决方法:

修改Linux上Weblogic使用的jdk 文件

$JAVA_HOME/jre/lib/security/java.security

将securerandom.source=file:/dev/urandom 修改为securerandom.source=file:/dev/./urandom

3. 报错:对于服务器与计算机相关联的节点管理器无法访问。

所有所选服务器当前都处于与此操作不兼容的状态, 或未与运行的节点管理器关联, 或没有授权您执行请求的操作。

解决方法:

这种基本都是节点没启动。

思路检查端口、修改配置文件查看日志。

5556是节点的默认端口,查看这个端口是不是被开放,防火墙配置啥的,然后查看节点是否启动,可以通过ps看进程或者ss查看5556端口。

还有就是/usr/local/weblogic/oracle/user_projects/domains/base_domain/nodemanager

/nodemanager.properties文件

ListenPort=5556 侦听端口
SecureListener=false 安全监听,得配合ssl如果没有就检测不到
在这里插入图片描述

4. 节点管理器可访问,但是启动其他IP的节点服务器无法启动,可以启动本机的节点,

查看输出日志:

-Dweblogic.home=/usr/local/weblogic/oracle/wlserver/server *-Dweblogic.management.server=http://192.168.122.1:7001* -Dweblogic.ut

ils.cmm.lowertier.ServiceDisabled=true weblogic.Server

<2024-12-29 下午06时01分37秒 CST> <Disabling the CryptoJ JCE Provider self-integrity check for better startup performanc

e. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true.>

<2024-12-29 下午06时01分37秒 CST> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG128 to FIPS186

PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true.>

<2024-12-29 下午06时01分38秒 CST> <Starting WebLogic Server with Java HotSpot™ 64-Bit Server VM Version 24.80-b

11 from Oracle Corporation.>

<2024-12-29 下午06时01分39秒 CST> <Could not register with the Administration Server: java.rmi.RemoteException: [Deplo

yer:149147]Could not reach the Administration Server through any of its URLs: “http://192.168.122.1:7001”.>

<2024-12-29 下午06时01分39秒 CST> <Version: WebLogic Server 12.1.3.0.0 Wed May 21 18:53:34 PDT 2014 1604337 >

<2024-12-29 下午06时01分39秒 CST> <The server name 116-7011 specified with -Dweblogic.Name does not exist. The configu

ration includes the following servers {AdminServer}.>

<2024-12-29 下午06时01分39秒 CST> <Server failed. Reason:

There are 1 nested errors:

weblogic.management.ManagementException: [Management:141223]*The server name 116-7011 specified with -Dweblogic.Name does not exist. The configuration i*

ncludes the following servers {AdminServer}.

​ at weblogic.management.provider.internal.RuntimeAccessImpl.initialize(RuntimeAccessImpl.java:425)

​ at weblogic.management.provider.internal.RuntimeAccessService.start(RuntimeAccessService.java:70)

​ at weblogic.server.AbstractServerService.postConstruct(AbstractServerService.java:78)

​ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

​ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

​ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

​ at java.lang.reflect.Method.invoke(Method.java:606)

​ at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2488)

​ at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:98)

​ at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:87)

​ at

<2024-12-29 下午06时01分39秒 CST>

通过日志分析:报错是这个节点不存在,但是我们肯定是创建的,再有日志中发现,管理服务器IP并不是我们主服务器的IP,因此需要再配置文件修改IP

解决方法:

修改weblogic控制台那台服务器的/domain/config/config.xml

AdminServer

IP 7001

7002

在listen-address栏中写死控制IP。

5. 修改ts t3s拦截规则后weblogic无法启动

在这里插入图片描述

报错日志如下:

  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.management.mbeanservers.runtime.internal.RuntimeServerS
    ervice errors were found
  8. java.lang.IllegalStateException: Unable to perform operation: resolve on weblogic.management.mbeanservers.runtime.internal.RuntimeServerService
  9. java.lang.IllegalArgumentException: While attempting to resolve the dependencies of weblogic.cacheprovider.CacheProviderServerService errors were fo
    und
  10. java.lang.IllegalStateException: Unable to perform operation: resolve on weblogic.cacheprovider.CacheProviderServerService

A MultiException has 10 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.management.mbeanservers.runtime.internal.RuntimeServerS
    ervice errors were found
  8. java.lang.IllegalStateException: Unable to perform operation: resolve on weblogic.management.mbeanservers.runtime.internal.RuntimeServerService
  9. java.lang.IllegalArgumentException: While attempting to resolve the dependencies of weblogic.cacheprovider.CacheProviderServerService errors were fo
    und
  10. java.lang.IllegalStateException: Unable to perform operation: resolve on weblogic.cacheprovider.CacheProviderServerService

at org.jvnet.hk2.internal.Collector.throwIfErrors(Collector.java:88)
at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:269)
at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:413)
at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:456)
at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:225)
Truncated. see log file for complete stacktrace
Caused By: weblogic.utils.NestedRuntimeException: [Security:090467]problem with connection filter
at weblogic.security.PreSecurityService.initializeConnectionFilter(PreSecurityService.java:236)
at weblogic.security.PreSecurityService.start(PreSecurityService.java:135)
at weblogic.server.AbstractServerService.postConstruct(AbstractServerService.java:78)
at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Truncated. see log file for complete stacktrace
Caused By: java.lang.ClassNotFoundException: nohup /usr/local/weblogic/oracle/user_projects/domains/base_domain/bin/startNodeManager.sh >/usr/local/web
logic/nodeOut.log 2>&1 &
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:195)
at weblogic.security.PreSecurityService.initializeConnectionFilter(PreSecurityService.java:231)
at weblogic.security.PreSecurityService.start(PreSecurityService.java:135)
at weblogic.server.AbstractServerService.postConstruct(AbstractServerService.java:78)
Truncated. see log file for complete stacktrace

日志解析:

weblogic.utils.NestedRuntimeException: [Security:090467]problem with connection filter

这个报错是连接器筛选器的报错可以记住这个报错代码090467,weblogic的页面端就是下面这个地方。

在这里插入图片描述

问题出在了weblogic拦截策略配置上面,即上图的配置页面,也可在config.xml找到

可以检查一下输入的是否有错 没加*号或者缺少也会报错

正确配置如图

在这里插入图片描述

A MultiException has 10 exceptions. They are: 这个就是说我配置了10个这种规则,不生效,但是我遇到的问题不是拦截规则设置错误

而是Caused By: java.lang.ClassNotFoundException: nohup /usr/local/weblogic/oracle/user_projects/domains/base_domain/bin/startNodeManager.sh >/usr/local/web
logic/nodeOut.log 2>&1 &,加载了一个这玩意的
类的时候没找到,但是这个是启动脚本的shell命令,和java类应该没关系,打开config.xml配置文件,文件在/domain/config/下,查看如下图

在这里插入图片描述

weblogic.security.filters.DefaultConnectionFilter,替换掉 nohup /usr/local/weblogic/oracle/user_projects/domains/base_domain/bin/startNodeManager.sh >/usr/local/web
logic/nodeOut.log 2>&1 &

重新启动不报错了

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.rhkb.cn/news/29202.html

如若内容造成侵权/违法违规/事实不符,请联系长河编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

如何在后端服务发布过程中使用蓝绿部署

一、概念 蓝绿部署(Blue-Green Deployment)是一种常用的零停机发布策略,旨在减少发布过程中的风险和系统停机时间。它通过在同一环境中并行维护两个相似的环境(蓝色环境和绿色环境)来实现无缝的应用发布。以下是蓝绿部署策略在后端服务发布中的应用流程以及一些注意事项。…

辛格迪客户案例 | 深圳善康医药科技GMP培训管理(TMS)项目

01 善康医药&#xff1a;创新药领域的探索者 深圳善康医药科技股份有限公司自2017年创立以来&#xff0c;便扎根于创新药研发领域&#xff0c;专注于成瘾治疗药物的研究、生产与销售。公司坐落于深圳&#xff0c;凭借自身独特的技术优势与研发实力&#xff0c;在行业内逐渐崭露…

ArcGIS Pro:轻松制作地震动画,洞察灾害动态

在当今的信息展示领域&#xff0c;动画因其直观、生动的特点&#xff0c;逐渐成为各类汇报、研究展示中的重要元素。 尤其是在地理信息领域&#xff0c;通过动画来展示动态的地理现象&#xff0c;能够让观众更清晰地理解数据背后所蕴含的信息。 地震作为一种突发性的自然灾害…

redis测评

一、身份鉴别 身份标识与鉴别 Redis默认无口令即可登录&#xff0c;需通过配置文件&#xff08;redis.conf&#xff09;设置requirepass参数启用密码认证。密码需满足复杂度要求&#xff08;如长度、字符组合&#xff09;&#xff0c;但Redis自身不支持复杂度策略&#xff0c;需…

单例模式的五种实现方式

1、饿汉式 ①实现&#xff1a;在类加载的时候就初始化实例 ②优点&#xff1a;线程安全 ③缺点&#xff1a;实例在类加载的时候创建&#xff0c;可能会浪费资源 //饿汉式 public class EagerSingleton{private EagerSingleton(){} //私有构造方法private static EagerSingle…

2025-03-04 学习记录--C/C++-C语言 判断是否是素数

合抱之木&#xff0c;生于毫末&#xff1b;九层之台&#xff0c;起于累土&#xff1b;千里之行&#xff0c;始于足下。&#x1f4aa;&#x1f3fb; C语言 判断是否是素数 一、代码 ⭐️ #include <stdio.h> #include <stdbool.h> // 使用 bool 类型// 判断是否是…

MR的环形缓冲区(底层)

MapReduce的大致流程&#xff1a; 1、HDFS读取数据&#xff1b; 2、按照规则进行分片&#xff0c;形成若干个spilt&#xff1b; 3、进行Map 4、打上分区标签&#xff08;patition&#xff09; 5、数据入环形缓冲区&#xff08;KVbuffer&#xff09; 6、原地排序&#xff…

LeetCode hot 100—二叉树的中序遍历

题目 给定一个二叉树的根节点 root &#xff0c;返回 它的 中序 遍历 。 示例 示例 1&#xff1a; 输入&#xff1a;root [1,null,2,3] 输出&#xff1a;[1,3,2]示例 2&#xff1a; 输入&#xff1a;root [] 输出&#xff1a;[]示例 3&#xff1a; 输入&#xff1a;root […

aws(学习笔记第三十一课) aws cdk深入学习(batch-arm64-instance-type)

aws(学习笔记第三十一课) aws cdk深入学习 学习内容&#xff1a; 深入练习aws cdk下部署batch-arm64-instance-type 1. 深入练习aws cdk下部署batch-arm64-instance-type 代码链接 代码链接 代码链接 -> batch-arm64-instance-type之前代码学习 之前学习代码链接 -> aw…

C语言基础之【指针】(下)

C语言基础之【指针】&#xff08;下&#xff09; 指针和字符串字符指针字符指针做函数参数const修饰的指针变量指针数组做为main函数的形参项目开发常用字符串应用模型while和do-while模型两头堵模型字符串反转模型 字符串处理函数strchr()strrchr()strstr()strtok()strcpy()st…

【够用就好006】如何从零开发游戏上架steam面向AI编程的godot独立游戏制作实录001流程

记录工作实践 这是全新的系列&#xff0c;一直有个游戏制作梦 感谢AI时代&#xff0c;让这一切变得可行 长欢迎共同见证&#xff0c;期更新&#xff0c;欢迎保持关注&#xff0c;待到游戏上架那一天&#xff0c;一起玩 面向AI编程的godot独立游戏制作流程实录001 本期是第…

java 重点知识 — JVM存储模块与类加载器

1 jvm主要模块 方法区 存储了由类加载器从.class文件中解析的类的元数据&#xff08;类型信息、域信息、方法信息&#xff09;及运行时常量池&#xff08;引用符号及字面量&#xff09;。 所有线程共享&#xff1b;内存不要求连续&#xff0c;可扩展&#xff0c;可能发生垃圾回…

Docker基础篇——什么是Docker与Docker的仓库、镜像、容器三大概念

大家好我是木木&#xff0c;在当今快速发展的云计算与云原生时代&#xff0c;容器化技术蓬勃兴起&#xff0c;Docker 作为实现容器化的主流工具之一&#xff0c;为开发者和运维人员带来了极大的便捷 。下面我们一起了解下什么是Docker与与Docker的仓库、镜像、容器三大概念。 …

网页制作11-html,css,javascript初认识のCCS样式列表(下)

六、外边距,内边距,边框属性 盒子模型: 1、外边距:margin img{ margin:40px 30px 10px 20px; }/*外边距复合属性:上右下左*/ 2、内边距 body{ padding:10px 20px 40px 30px; }/*内边距复合属性:上右下左*/ 3、边框 1)边框样式 取…

爬虫Incapsula reese84加密案例:Etihad航空

声明: 该文章为学习使用,严禁用于商业用途和非法用途,违者后果自负,由此产生的一切后果均与作者无关 一、找出需要加密的参数 1.js运行 atob(‘aHR0cHM6Ly93d3cuZXRpaGFkLmNvbS96aC1jbi8=’) 拿到网址,F12打开调试工具,随便搜索航班,切换到network搜索一个时间点可以找…

Unity 适用Canvas 为任一渲染模式的UI 拖拽

RectTransformUtility-ScreenPointToWorldPointInRectangle - Unity 脚本 API 将一个屏幕空间点转换为世界空间中位于给定RectTransform 平面上的一个位置。 实现 获取平面位置。 parentRT transform.parent as RectTransform; 继承IPointerDownHandler 和IDragHandler …

【HDLbits--FSM续(二)】

HDLbits--FSM-2 本篇文章接续介绍Verilog中FSM典型案例&#xff1b; 题目&#xff1a;Lemmings3 module top_module(input clk,input areset, // Freshly brainwashed Lemmings walk left.input bump_left,input bump_right,input ground,input dig,output walk_left,outpu…

安装与配置 STK-MATLAB 接口

STK版本为11.6 Matlab版本为R2018a STK 提供 Connect 和 Object Model (COM) 两种接口与 MATLAB 交互&#xff0c;推荐使用 COM接口进行二次开发。 确保安装了 STK&#xff0c;并且 MATLAB 可以访问 STK Object Model。 在 MATLAB 中运行&#xff1a; % 添加 STK COM 库&#…

docker-compose Install reranker(fastgpt支持) GPU模式

前言BGE-重新排名器 与 embedding 模型不同&#xff0c;reranker 或 cross-encoder 使用 question 和 document 作为输入&#xff0c;直接输出相似性而不是 embedding。 为了平衡准确性和时间成本&#xff0c;cross-encoder 被广泛用于对其他简单模型检索到的前 k 个文档进行重…

计算机网络(1) 网络通信基础,协议介绍,通信框架

网络结构模式 C/S-----客户端和服务器 B/S -----浏览器服务器 MAC地址 每一个网卡都拥有独一无二的48位串行号&#xff0c;也即MAC地址&#xff0c;也叫做物理地址、硬件地址或者是局域网地址 MAC地址表示为12个16进制数 如00-16-EA-AE-3C-40 &#xff08;每一个数可以用四个…