subbanna girish Posted October 25, 2018 Posted October 25, 2018 Hello, I am seeing this error while running the docker run command. we did not see the error with 2.3 BWCE version. Please advise The OS is ubuntu si@MicroserviceDemo:~/deployments$ sudo docker run -i -p 18050:8080 freightinvoice:latest chmod: cannot access '/tmp/tibco.home/bw*/*/bin/startBWAppNode.sh': No such file or directory chmod: cannot access '/tmp/tibco.home/bw*/*/bin/bwappnode': No such file or directory chmod: cannot access '/tmp/tibco.home/tibcojre64/*/bin/java': No such file or directory chmod: cannot access '/tmp/tibco.home/tibcojre64/*/bin/javac': No such file or directory sed: can't read /tmp/tibco.home/bw*/*/bin/bwappnode.tra: No such file or directory sed: can't read /tmp/tibco.home/bw*/*/bin/bwappnode: No such file or directory ls: cannot access /tmp/tibco.home/bw*/: No such file or directory ln: failed to create symbolic link '/tmp/tibco.home/bw*/*/bin/bwapp.ear': No such file or directory sed: can't read /tmp/tibco.home/bw*/*/config/appnode_config.ini: No such file or directory unzip: cannot find or open /tmp/tibco.home/bw*/*/bin/bwapp.ear, /tmp/tibco.home/bw*/*/bin/bwapp.ear.zip or /tmp/tibco.home/bw*/*/bin/bwapp.ear.ZIP. No zipfiles found. sed: can't read /tmp/tibco.home/bw*/*/config/logback.xml: No such file or directory ./scripts/setup.sh: line 148: /tmp/META-INF/MANIFEST.MF: No such file or directory BW_PROFILE is set to 'default.substvar' cp: cannot stat '/tmp/META-INF/default.substvar': No such file or directory ./scripts/setup.sh: line 419: /tmp/tibco.home/tibcojre64/1.8.0/bin/java: No such file or directory bash: /tmp/tibco.home/bw*/*/bin/startBWAppNode.sh: No such file or directory si@MicroserviceDemo:~/deployments$ pwd /home/wiproosi/deployments
Tai Bui Chi Posted January 10, 2019 Posted January 10, 2019 Hi all, I got the same error. Any one can help
Rishikesh Palve Posted January 10, 2019 Posted January 10, 2019 Hi Tai, Which version of BWCE are you using
Rishikesh Palve Posted January 10, 2019 Posted January 10, 2019 It seems the base docker image was not built properly. Here are instructions to build base docker image - https://docs.tibco.com/pub/bwce/2.4.2/doc/html/GUID-91EA80AA-08EF-4CB3-A6A7-E8551A441AC1.html If you still run into issues, can you please log a ticket with TIBCO support
Tai Bui Chi Posted January 11, 2019 Posted January 11, 2019 @Rishi, please check my log build bwce image Admin@T71DES55235 MINGW64 /c/tibco/bwce/2.4/docker $ docker build -t tibco/bwce:latest . Sending build context to Docker daemon 204.9MB Step 1/5 : FROM debian:jessie-slim jessie-slim: Pulling from library/debian Digest: sha256:8716ae2e8002230f8081138f8db732c41ab3ee3fb124543aea6f08a4e4fe46e4 Status: Downloaded newer image for debian:jessie-slim ---> a487e30400e2 Step 2/5 : MAINTAINER TIBCO Software Inc. ---> Using cache ---> cb6fe839cd20 Step 3/5 : ADD . / ---> ea4a6a3d259a Step 4/5 : RUN chmod 755 /scripts/*.sh && apt-get update && apt-get --no-install -recommends -y install unzip ssh net-tools && apt-get clean && rm -rf /var/lib/a pt/lists/* ---> Running in 67da5f379922 Get:1 http://security.debian.org jessie/updates InRelease [44.9 kB] Ign http://deb.debian.org jessie InRelease Get:2 http://deb.debian.org jessie-updates InRelease [145 kB] Get:3 http://security.debian.org jessie/updates/main amd64 Packages [791 kB] Get:4 http://deb.debian.org jessie Release.gpg [2420 B] Get:5 http://deb.debian.org jessie-updates/main amd64 Packages [23.0 kB] Get:6 http://deb.debian.org jessie Release [148 kB] Get:7 http://deb.debian.org jessie/main amd64 Packages [9098 kB] Fetched 10.3 MB in 8min 25s (20.3 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: init-system-helpers libbsd0 libedit2 libgssapi-krb5-2 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libssl1.0.0 libwrap0 openssh-client openssh-server openssh-sftp-server Suggested packages: krb5-doc krb5-user ssh-askpass libpam-ssh keychain monkeysphere rssh molly-guard ufw zip Recommended packages: krb5-locales tcpd xauth ncurses-term The following NEW packages will be installed: init-system-helpers libbsd0 libedit2 libgssapi-krb5-2 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libssl1.0.0 libwrap0 net-tools openssh-client openssh-server openssh-sftp-server ssh unzip 0 upgraded, 16 newly installed, 0 to remove and 2 not upgraded. Need to get 3484 kB of archives. After this operation, 11.9 MB of additional disk space will be used. Get:1 http://deb.debian.org/debian/ jessie/main libbsd0 amd64 0.7.0-2 [67.9 kB] Get:2 http://deb.debian.org/debian/ jessie/main libedit2 amd64 3.1-20140620-2 [8 5.1 kB] Get:3 http://security.debian.org/debian-security/ jessie/updates/main libssl1.0. 0 amd64 1.0.1t-1+deb8u10 [1048 kB] Get:4 http://deb.debian.org/debian/ jessie/main libkeyutils1 amd64 1.5.9-5+b1 [1 2.0 kB] Get:5 http://deb.debian.org/debian/ jessie/main libkrb5support0 amd64 1.12.1+dfs g-19+deb8u4 [59.4 kB] Get:6 http://deb.debian.org/debian/ jessie/main libk5crypto3 amd64 1.12.1+dfsg-1 9+deb8u4 [116 kB] Get:7 http://deb.debian.org/debian/ jessie/main libkrb5-3 amd64 1.12.1+dfsg-19+d eb8u4 [303 kB] Get:8 http://deb.debian.org/debian/ jessie/main libgssapi-krb5-2 amd64 1.12.1+df sg-19+deb8u4 [152 kB] Get:9 http://security.debian.org/debian-security/ jessie/updates/main openssh-cl ient amd64 1:6.7p1-5+deb8u7 [693 kB] Get:10 http://deb.debian.org/debian/ jessie/main libwrap0 amd64 7.6.q-25 [58.5 k B] Get:11 http://deb.debian.org/debian/ jessie/main init-system-helpers all 1.22 [1 4.0 kB] Get:12 http://deb.debian.org/debian/ jessie/main net-tools amd64 1.60-26+b1 [225 kB] Get:13 http://deb.debian.org/debian/ jessie/main unzip amd64 6.0-16+deb8u3 [162 kB] Get:14 http://security.debian.org/debian-security/ jessie/updates/main openssh-s ftp-server amd64 1:6.7p1-5+deb8u7 [38.0 kB] Get:15 http://security.debian.org/debian-security/ jessie/updates/main openssh-s erver amd64 1:6.7p1-5+deb8u7 [329 kB] Get:16 http://security.debian.org/debian-security/ jessie/updates/main ssh all 1 :6.7p1-5+deb8u7 [121 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 3484 kB in 19s (175 kB/s) Selecting previously unselected package libssl1.0.0:amd64. (Reading database ... 7456 files and directories currently installed.) Preparing to unpack .../libssl1.0.0_1.0.1t-1+deb8u10_amd64.deb ... Unpacking libssl1.0.0:amd64 (1.0.1t-1+deb8u10) ... Selecting previously unselected package libbsd0:amd64. Preparing to unpack .../libbsd0_0.7.0-2_amd64.deb ... Unpacking libbsd0:amd64 (0.7.0-2) ... Selecting previously unselected package libedit2:amd64. Preparing to unpack .../libedit2_3.1-20140620-2_amd64.deb ... Unpacking libedit2:amd64 (3.1-20140620-2) ... Selecting previously unselected package libkeyutils1:amd64. Preparing to unpack .../libkeyutils1_1.5.9-5+b1_amd64.deb ... Unpacking libkeyutils1:amd64 (1.5.9-5+b1) ... Selecting previously unselected package libkrb5support0:amd64. Preparing to unpack .../libkrb5support0_1.12.1+dfsg-19+deb8u4_amd64.deb ... Unpacking libkrb5support0:amd64 (1.12.1+dfsg-19+deb8u4) ... Selecting previously unselected package libk5crypto3:amd64. Preparing to unpack .../libk5crypto3_1.12.1+dfsg-19+deb8u4_amd64.deb ... Unpacking libk5crypto3:amd64 (1.12.1+dfsg-19+deb8u4) ... Selecting previously unselected package libkrb5-3:amd64. Preparing to unpack .../libkrb5-3_1.12.1+dfsg-19+deb8u4_amd64.deb ... Unpacking libkrb5-3:amd64 (1.12.1+dfsg-19+deb8u4) ... Selecting previously unselected package libgssapi-krb5-2:amd64. Preparing to unpack .../libgssapi-krb5-2_1.12.1+dfsg-19+deb8u4_amd64.deb ... Unpacking libgssapi-krb5-2:amd64 (1.12.1+dfsg-19+deb8u4) ... Selecting previously unselected package libwrap0:amd64. Preparing to unpack .../libwrap0_7.6.q-25_amd64.deb ... Unpacking libwrap0:amd64 (7.6.q-25) ... Selecting previously unselected package openssh-client. Preparing to unpack .../openssh-client_1%3a6.7p1-5+deb8u7_amd64.deb ... Unpacking openssh-client (1:6.7p1-5+deb8u7) ... Selecting previously unselected package init-system-helpers. Preparing to unpack .../init-system-helpers_1.22_all.deb ... Unpacking init-system-helpers (1.22) ... Selecting previously unselected package openssh-sftp-server. Preparing to unpack .../openssh-sftp-server_1%3a6.7p1-5+deb8u7_amd64.deb ... Unpacking openssh-sftp-server (1:6.7p1-5+deb8u7) ... Selecting previously unselected package openssh-server. Preparing to unpack .../openssh-server_1%3a6.7p1-5+deb8u7_amd64.deb ... Unpacking openssh-server (1:6.7p1-5+deb8u7) ... Selecting previously unselected package ssh. Preparing to unpack .../ssh_1%3a6.7p1-5+deb8u7_all.deb ... Unpacking ssh (1:6.7p1-5+deb8u7) ... Selecting previously unselected package net-tools. Preparing to unpack .../net-tools_1.60-26+b1_amd64.deb ... Unpacking net-tools (1.60-26+b1) ... Selecting previously unselected package unzip. Preparing to unpack .../unzip_6.0-16+deb8u3_amd64.deb ... Unpacking unzip (6.0-16+deb8u3) ... Processing triggers for systemd (215-17+deb8u8) ... Setting up libssl1.0.0:amd64 (1.0.1t-1+deb8u10) ... debconf: unable to initialize frontend: Dialog debconf: (TERM is not set, so the dialog frontend is not usable.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Readline debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Ter m::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/pe rl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/x86_64-linux-gnu/perl5/5.20 /usr /share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.20 /usr/share/perl/5.20 /usr/local /lib/site_perl .) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.) debconf: falling back to frontend: Teletype Setting up libbsd0:amd64 (0.7.0-2) ... Setting up libedit2:amd64 (3.1-20140620-2) ... Setting up libkeyutils1:amd64 (1.5.9-5+b1) ... Setting up libkrb5support0:amd64 (1.12.1+dfsg-19+deb8u4) ... Setting up libk5crypto3:amd64 (1.12.1+dfsg-19+deb8u4) ... Setting up libkrb5-3:amd64 (1.12.1+dfsg-19+deb8u4) ... Setting up libgssapi-krb5-2:amd64 (1.12.1+dfsg-19+deb8u4) ... Setting up libwrap0:amd64 (7.6.q-25) ... Setting up openssh-client (1:6.7p1-5+deb8u7) ... Setting up init-system-helpers (1.22) ... Setting up openssh-sftp-server (1:6.7p1-5+deb8u7) ... Setting up openssh-server (1:6.7p1-5+deb8u7) ... debconf: unable to initialize frontend: Dialog debconf: (TERM is not set, so the dialog frontend is not usable.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Readline debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Ter m::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/pe rl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/x86_64-linux-gnu/perl5/5.20 /usr /share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.20 /usr/share/perl/5.20 /usr/local /lib/site_perl .) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.) debconf: falling back to frontend: Teletype Creating SSH2 RSA key; this may take some time ... 2048 00:51:87:38:88:58:fa:b3:a3:25:46:c6:af:5e:ab:70 /etc/ssh/ssh_host_rsa_key.p ub (RSA) Creating SSH2 DSA ke
Rishikesh Palve Posted January 11, 2019 Posted January 11, 2019 Can you please confirm if bwce-runtime-<version>.zip file was copied correctly into <TIBCO_HOME>/bwce/<version>/docker/resources/bwce-runtime folder before buidling hte base docker image
Tai Bui Chi Posted January 11, 2019 Posted January 11, 2019 @Rishi, Yes. I copied both two files: bwce-runtime-2.4.2.zip and bwce-runtime-windows-2.4.2.zip to the path: C:tibcobwce2.4dockerresourcesbwce-runtime
Tai Bui Chi Posted January 19, 2019 Posted January 19, 2019 @Rishi: Do you think the below link can fix this error I am using Docker toolbox on windows 8 https://willi.am/blog/2016/08/11/docker-for-windows-dealing-with-windows-line-endings/
Rishikesh Palve Posted January 21, 2019 Posted January 21, 2019 You should not copy both zip files. bwce-runtime-2.4.2.zip is for creating linux container image and bwce-runtime-windows-2.4.2.zip is for windows container image. In your case, you need bwce-runtime-2.4.2.zip only.
Shivakumar Narlagiri Posted February 15, 2019 Posted February 15, 2019 Hi , I got resolved the issue by placing "bwce-runtime-.zip" at the folder location "/bwce//docker/resources/bwce-runtime" .Now create application image and run the application . It will run without any issues. Previously I used another runtime zip "bwce-buildpack_cf-v.zip" at the above mentioned folder location and created application image and ran into above error. Try it out if it helps . Thanks Shiva
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now