Can I run my Tomcat app on Bluemix?

前端 未结 4 1511
忘掉有多难
忘掉有多难 2020-12-11 20:56

We have a simple app that runs on tomcat7 and has been working for about a year. We\'re planning to kick the tires on Bluemix and we would like to know if there\'s any info

4条回答
  •  执笔经年
    2020-12-11 21:25

    Yup. You can use the community Java buildpack to use Tomcat as your Java runtime.

    cf push -b https://github.com/cloudfoundry/java-buildpack.git

    Edit:

    cf push  -b java_buildpack
    

    Doc for Tomcat buildpack: https://github.com/cloudfoundry/java-buildpack

    The pre-installed buildpack name or external url after -b option is the open source java Tomcat buildpack. When pushing a Java application, if you don't specify a buildpack name or url, the default Java buildpack will be chosen. In Bluemix, the default buildpack is the WebSphere Liberty buildpack.

    Doc for Liberty buildpack: https://www.ng.bluemix.net/docs/#starters/liberty/index.html#optionsforpushinglibertyapplications

提交回复
热议问题