Pas Apicella

Subscribe to Pas Apicella feed
Information on Pivotal Cloud Foundry (PAS/PKS/PFS) - Continuously deliver any app to every major private and public cloud with a single platformPas Apicella
Updated: 1 week 3 days ago

IBM Bluemix Garage New Website

Mon, 2015-08-10 07:14
If you keen to know more about the IBM Bluemix garage which is also coming to melbourne shortly this URL is the main page for that. Some good videos here detailing what the Garage stands for.
Categories: Fusion Middleware

Using a Tomcat provided buildpack in Bluemix

Mon, 2015-08-03 16:48
By default if you push a java application into public Bluemix you will use the Liberty java buildpack. If you want to use tomcat you can do that as follows.

1. Show the buildpacks available as follows

> cf buildpacks

2. The buildpack which uses Tomcat is as follows


3. Specify you would like to use the buildpack as shown below when using

cf push pas-props -d -i 1 -m 256M -b java_buildpack -p props.war


pas@Pass-MacBook-Pro-2:~/bluemix-apps/simple-java$ cf push pas-props -d -i 1 -m 256M -b java_buildpack -p props.war
Creating app pas-props in org / space dev as

Creating route

Binding to pas-props...

Uploading pas-props...
Uploading app files from: props.war
Uploading 2.9K, 6 files
Done uploading

Starting app pas-props in org / space dev as
-----> Downloaded app package (4.0K)
-----> Java Buildpack Version: v3.0 |
-----> Downloading Open Jdk JRE 1.8.0_51 from (11.6s)
       Expanding Open Jdk JRE to .java-buildpack/open_jdk_jre (1.2s)
-----> Downloading Tomcat Instance 8.0.24 from (2.4s)
       Expanding Tomcat to .java-buildpack/tomcat (0.1s)
-----> Downloading Tomcat Lifecycle Support 2.4.0_RELEASE from (0.1s)
-----> Downloading Tomcat Logging Support 2.4.0_RELEASE from (0.4s)
-----> Downloading Tomcat Access Logging Support 2.4.0_RELEASE from (0.4s)

-----> Uploading droplet (50M)

0 of 1 instances running, 1 starting
1 of 1 instances running

App started


App pas-props was started using this command `JAVA_HOME=$PWD/.java-buildpack/open_jdk_jre JAVA_OPTS="$TMPDIR -XX:OnOutOfMemoryError=$PWD/.java-buildpack/open_jdk_jre/bin/ -Xmx160M -Xms160M -XX:MaxMetaspaceSize=64M -XX:MetaspaceSize=64M -Xss853K -Daccess.logging.enabled=false -Dhttp.port=$PORT" $PWD/.java-buildpack/tomcat/bin/ run`

Showing health and status for app pas-props in org / space dev as

requested state: started
instances: 1/1
usage: 256M x 1 instances
last uploaded: Mon Aug 3 21:40:36 UTC 2015

     state     since                    cpu    memory           disk           details
#0   running   2015-08-03 02:41:47 PM   0.0%   136.7M of 256M   125.7M of 1G
Categories: Fusion Middleware