SRVE0255E:未定义处理/ibm/console/的WebGroup/Virtual Host



我已经在RedHat OpenShift上部署了WebSphere Traditional,但我无法获得管理控制台。我可以看到服务器在pod里面运行。附加我使用的yaml文件和生成的pod日志。请帮助。谢谢!

Pod和Service的YAML文件-

apiVersion: v1
kind: Pod
metadata:
name: was-traditional
labels:
app: websphere
spec:
containers:
- name: was-container
image: ibmcom/websphere-traditional:8.5.5.17
------------------------------------
apiVersion : v1
kind : Service
metadata :
name : was-service
spec :
selector :
app : websphere
type : NodePort
ports :
- protocol : TCP
port : 9043
targetPort : 9043
nodePort : 31085

WAS Pod日志-

{"type":"was_message","host":"was-traditional","ibm_cellName":"DefaultCell01","ibm_nodeName":"DefaultNode01","ibm_serverName":"server1","ibm_sequence":"1611228360189_0000000000113","message":"SRVE0255E: A WebGroup/Virtual Host to handle /ibm/console/ has not been defined.","ibm_datetime":"2021-01-21T11:26:00.189+0000","ibm_messageId":"SRVE0255E","ibm_methodName":"handleRequest","ibm_className":"com.ibm.ws.webcontainer.internal.WebContainer","ibm_threadId":"0000006c","module":"com.ibm.ws.webcontainer.internal.WebContainer","loglevel":"SEVERE"}

您可以在需要查看管理控制台的工作站上oc port-forward <pod> 9043:9043,然后通过localhost:9043访问它。由于虚拟主机在传统websphere中的工作方式,它将无法与备用端口一起工作。

最新更新