Jump to content

docker bwce error


Vamsi Krishna Ganti

Recommended Posts

Hello, I have below docker file

FROM myrhel7

ADD . /

RUN chmod 755 /scripts/*.sh

ENTRYPOINT ["/scripts/start.sh"]

When i try to run, i get below error, is this expected How do i know if my docker base image is working

docker run -it tibco/bwce:latest /bin/bash

chmod: cannot access '/root/tibco.home/bw*/*/bin/startBWAppNode.sh': No such file or directory

chmod: cannot access '/root/tibco.home/bw*/*/bin/bwappnode': No such file or directory

chmod: cannot access '/root/tibco.home/tibcojre64/*/bin/java': No such file or directory

chmod: cannot access '/root/tibco.home/tibcojre64/*/bin/javac': No such file or directory

ls: cannot access /root/tibco.home/bw*/: No such file or directory

ls: cannot access /resources/addons/plugins: No such file or directory

ls: cannot access /resources/addons/jars: No such file or directory

ln: failed to create symbolic link '/root/tibco.home/bw*/*/bin/bwapp.ear': No such file or directory

sed: can't read /root/tibco.home/bw*/*/config/appnode_config.ini: No such file or directory

/scripts/setup.sh: line 154: unzip: command not found

sed: can't read /root/tibco.home/bw*/*/config/logback.xml: No such file or directory

/scripts/setup.sh: line 158: /root/tibco.home/tibcojre64/1.*/bin/javac: 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 169: /home/tibco/tibco.home/tibcojre64/1.*/bin/java: No such file or directory

bash: /root/tibco.home/bw*/*/bin/startBWAppNode.sh: No such file or directory

Ta,Vamsi Krishna

Link to comment
Share on other sites

  • 2 weeks later...
  • 1 year later...
  • 3 months later...
  • 10 months later...
  • 4 weeks later...

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

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...