Tag: websphere

如何在Docker上运行WebSphere上的特定configuration文件?

是否可以复制现有的WebSphereconfiguration文件并在Docker中的WebSphere上运行? 我正在做集装箱化,虚拟化等方面的研究,目前正在与Docker合作。 在Docker上启动并运行WebSphere非常简单: docker run –name wasserver -h wasserver -p 9043:9043 -p 9443:9443 -d ibmcom/websphere-traditional:install 我想要做的是使用另一个WebSphere实例的configuration文件,并在Docker WebSphere上运行该configuration文件。 我试图执行以下操作以尝试挂载包含所述configuration文件的目录,并运行相同的configuration文件: docker run -v /opt/WebSphere/WAS8_5/:/WASDIR –name myprofileserver -h myprofileserver -p 9043:9043 -p 9443:9443 -d ibmcom/websphere-traditional:install -e PROFILE_NAME=/WASDIR/profiles/myprofile1 此命令的最终结果是容器已创build,但不运行: docker: Error response from daemon: oci runtime error: exec: "-e": executable file not found in $PATH 也许有一个开关,设置或其他configuration我在这里失踪?

IBMWebsphere给SRVE0190E:找不到文件错误

我正在使用docker来部署和运行我的应用程序。 在部署和运行我的应用程序时,一切正常。我使用dockerDeploy并重新启动,以表示我为了部署和运行我的应用程序。 运行我的应用程序后,我的login名和密码进入我的屏幕。 在这一步一切都很好,但我写我的login名和密码后,我遇到了下面的错误。 我没有改变代码中的任何东西,但重新启动docker后,我遇到了以下错误。 我重新启动docker和电脑几次,但我仍然遇到这一点。 如果你能帮助我,我会很高兴。 问候 错误页面exception SRVE0260E:服务器无法使用为您的应用程序指定的错误页面来处理下面打印的原始exception。 Original Exception: Error Message: SRVE0190E: File not found: {0} Error Code: 404 Target Servlet: Error Stack: com.ibm.ws.webcontainer.webapp.WebAppErrorReport: SRVE0190E: File not found: {0}

WebSphere Docker OAuth

我需要针对IBM WebSphere服务器实现OAuth。 为此,我根据http://www.ibm.com/developerworks/websphere/techjournal/1305_odonnell2/1305_odonnell2.htmlbuild立了docker环境https://github.com/hhoechtl/websphere-oauth 但是,如果我试图获得一个令牌 curl -X POST -H "Accept-Charset: UTF-8" -H "Content-Type: application/x-www-form-urlencoded" -d 'grant_type=password&client_id=LibertyRocks&client_secret=AndMakesConfigurationEasy&username=admin&password=admin' "https://192.168.99.100:9443/oauth2/endpoint/DemoProvider/token" 我得到错误 { "error_description": "CWWKS1406E: The token request had an invalid client credential. The request URI was /oauth2/endpoint/DemoProvider/token.", "error": "invalid_client" } 但根据我的server.xml应该是正确的。 我错过了什么?

docker工websphere不能得到pipe理控制台

我在Docker上运行WebSphere。 当我公开端口9080时,我可以得到“Welcome to Liberty”页面( http:// localhost:9080 )。 docker run -d -e LICENSE=accept -p 9080:9080 docker.io/websphere-liberty 容器编号:1d1eb3db6b03 IMAGE:docker.io/websphere-liberty 命令: “/select/ IBM / WLP /斌/ SER” 创build:17秒前 状态:最多15秒 端口:9443 / tcp,0.0.0.0:9080-> 9080/tcp 名字:naughty_ritchie 这是问题。 当我公开端口9060.我无法获得pipe理控制台页面( http:// localhost:9060 / admin )。 有什么build议么? docker run -d -e LICENSE=accept -p 9060:9060 docker.io/websphere-liberty 容器编号:8d9cc97d2656 IMAGE:docker.io/websphere-liberty 命令: “/select/ IBM / WLP /斌/ […]

没有find与DCHQ上节点所需最小内存匹配的服务器

我试图在DCHQ平台上运行应用程序,这些是我在azure色云上的虚拟机configuration CPU 2内存3GB磁盘162GB 这是YAML AppServer: image: websphere-liberty:webProfile6 publish_all: true mem_min: 20000m host: host1 cluster_size: 1 environment: – database_driverClassName=com.mysql.jdbc.Driver – database_url=jdbc:mysql://{{MySQL|container_ip}}:3306/{{MySQL|MYSQL_DATABASE}} – database_username={{MySQL|MYSQL_USER}} – database_password={{MySQL|MYSQL_ROOT_PASSWORD}} – LICENSE=accept MySQL: image: mysql:latest host: host1 mem_min: 9000m environment: – MYSQL_USER=root – MYSQL_DATABASE=names – MYSQL_ROOT_PASSWORD={{alphanumeric|8}} 我看到这个错误: 没有find匹配的服务器和节点所需的最小内存[AppServer] 内存在3GB以下,我可能会做错什么?