首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >SRVE0255E:尚未定义要处理/ibm/SRVE0255E/的WebGroup/虚拟主机

SRVE0255E:尚未定义要处理/ibm/SRVE0255E/的WebGroup/虚拟主机
EN

Stack Overflow用户
提问于 2021-01-21 21:06:31
回答 1查看 400关注 0票数 0

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

Pod和Service的YAML文件-

代码语言:javascript
复制
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

是Pod日志-

代码语言:javascript
复制
{"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"}
EN

回答 1

Stack Overflow用户

发布于 2021-01-21 21:31:24

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

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/65828084

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档