Docker for Weblogic

本文介绍了如何在CentOS 7上安装Docker,并详细阐述了从Docker Store获取Oracle Weblogic镜像,以及如何运行和管理Weblogic实例。通过docker login、docker pull和docker run等命令,读者可以学习到Weblogic在Docker环境中的部署流程。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

 

 

Oracle官方已经发布了docker镜像,现在可以直接使用docker发布weblogic环境了。

 

以下是简单记录的发布过程。

 

安装docker

首先安装docker,我们选择的是社区版,centos7 。

 

先将国内的免费源添加进来,

 

cd /etc/yum.repo.d/

 

wget http://mirrors.163.com/.help/CentOS7-Base-163.repo

yum clean all

 

 

根据文档

https://docs.docker.com/engine/installation/linux/docker-ce/centos/

 

 

 

yum install -y yum-utils \

 device-mapper-persistent-data \

  lvm2

 

yum-config-manager \

   --add-repo \

   https://download.docker.com/linux/centos/docker-ce.repo

 

yum-config-manager --enable docker-ce-edge

yum-config-manager --ena

<Jul 29 17:54:38> <Error> <Deployer> <Failure occurred in the execution of deployment request with ID "7803635478605029" for task "199" on [partition-name: DOMAIN]. Error is: "weblogic.management.DeploymentException: weblogic.application.naming.ReferenceResolutionException: [J2EE:160200]Error resolving ejb-ref "com.lkm.ejb.impl.UserInfoBean/userInfoRemoteEjb" from module "null" of application "LkmNcEjbs". The ejb-ref does not have an ejb-link and the JNDI name of the target bean has not been specified. Attempts to automatically link the ejb-ref to its target bean failed because no EJBs in the application were found to implement the "com.lkm.ejb.service.UserInfoRemoteEjb" interface. Link or map this ejb-ref to its target EJB and ensure the interfaces declared in the ejb-ref are correct." weblogic.management.DeploymentException: weblogic.application.naming.ReferenceResolutionException: [J2EE:160200]Error resolving ejb-ref "com.lkm.ejb.impl.UserInfoBean/userInfoRemoteEjb" from module "null" of application "LkmNcEjbs". The ejb-ref does not have an ejb-link and the JNDI name of the target bean has not been specified. Attempts to automatically link the ejb-ref to its target bean failed because no EJBs in the application were found to implement the "com.lkm.ejb.service.UserInfoRemoteEjb" interface. Link or map this ejb-ref to its target EJB and ensure the interfaces declared in the ejb-ref are correct. at weblogic.application.internal.flow.EnvContextFlow.activate(EnvContextFlow.java:81) at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:752) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:45) at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:262) at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:66) Truncated. see log file for complete stacktrace
最新发布
07-30
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值