weblogic从应用服务器找不到主应用服务器

时间:2022-12-06 09:07:11

报错信息:

weblogic.cluster.replication.ApplicationUnavailableException: WebApp with contextPath:  not found in the secondary server

问题原因:没有配置域映射。

解决方案,配置域映射:

[weblogic@tmall-vehicle137][/tpdata/weblogic/user_projects/domains/tmallvehdomain/logs]$ less /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1       localhost.localdomain   localhost
::1             localhost6.localdomain6 localhost6
10.4.233.137    tmallvehicle.domain  tmall-vehicle137
10.4.233.138    tmallvehicle.domain  tmall-vehicle138