There seems to be a regression of function. We added the capability to push jar files to the Liberty buildpack,
See logs below
C:\Users\IBM_ADMIN>cf login -a http://api.run.pivotal.io
API endpoint: http://api.run.pivotal.io
Warning: Insecure http API endpoint detected: secure https API endpoints are recommended
Email> [email protected]
Password>
Authenticating...
OK
Targeted org kelapure-personal
Select a space (or press enter to skip):
- development
- staging
- production
- helloworld
- test
Space> 1
Targeted space development
API endpoint: http://api.run.pivotal.io (API version: 2.4.0)
User: [email protected]
Org: kelapure-personal
Space: development
C:\Users\IBM_ADMIN>cf push standalone -p c:\yi\samples\standalone\export\hello-spring.jar --no-route
Creating app standalone in org kelapure-personal / space development as [email protected]...
OK
App standalone is a worker, skipping route creation
Uploading standalone...
Uploading app files from: c:\yi\samples\standalone\export\hello-spring.jar
Uploading 2.5K, 6 files
OK
Starting app standalone in org kelapure-personal / space development as [email protected]...
OK
-----> Downloaded app package (4.0K)
-----> Java Buildpack Version: v2.1.2 | https://github.com/cloudfoundry/java-buildpack.git#074fd9a
-----> Downloading Open Jdk JRE 1.7.0_55 from http://download.run.pivotal.io/openjdk/lucid/x86_64/openjdk-1.7.0_55.tar.gz (0.4s)
Expanding Open Jdk JRE to .java-buildpack/open_jdk_jre (1.3s)
-----> Uploading droplet (31M)
0 of 1 instances running, 1 starting
1 of 1 instances running
App started
Showing health and status for app standalone in org kelapure-personal / space development as [email protected]...
OK
requested state: started
instances: 1/1
usage: 1G x 1 instances
urls:
state since cpu memory disk
#0 running 2014-05-30 01:09:07 AM 0.0% 13.9M of 1G 88M of 1G
C:\Users\IBM_ADMIN>
C:\Users\IBM_ADMIN>cf delete standalone
Really delete the app standalone?>> y
Deleting app standalone in org kelapure-personal / space development as [email protected]...
OK
C:\Users\IBM_ADMIN>cf buildpacks
Getting buildpacks...
buildpack position enabled locked filename
ruby_buildpack 1 true false buildpack_ruby_v46-245-g2fc4ad8.zip
nodejs_buildpack 2 true false buildpack_nodejs_v8-177-g2b0a5cf.zip
java_buildpack 3 true false java-buildpack-v2.1.2.zip
go_buildpack 4 true false buildpack_go_cf-v1-4-geeb56b9.zip
liberty_buildpack 5 true false liberty_buildpack.zip
C:\Users\IBM_ADMIN>cf push standalone -p c:\yi\samples\standalone\export\hello-spring.jar --no-route -b liberty_buildpack
Creating app standalone in org kelapure-personal / space development as [email protected]...
OK
App standalone is a worker, skipping route creation
Uploading standalone...
Uploading app files from: c:\yi\samples\standalone\export\hello-spring.jar
Uploading 2.5K, 6 files
OK
Starting app standalone in org kelapure-personal / space development as [email protected]...
OK
-----> Downloaded app package (4.0K)
-----> Downloading IBM 1.7.0 JRE from http://public.dhe.ibm.com/ibmdl/export/pub/software/websphere/wasdev/downloads/jre/1.7.0/linux/ibm-java-jre-7.0-5.0-x86_64-archive.bin (0.0s)
Expanding JRE to .java (15.2s)
-----> Uploading droplet (85M)
0 of 1 instances running, 1 down
0 of 1 instances running, 1 down
0 of 1 instances running, 1 down
0 of 1 instances running, 1 down
0 of 1 instances running, 1 down
0 of 1 instances running, 1 down
0 of 1 instances running, 1 starting
0 of 1 instances running, 1 starting
0 of 1 instances running, 1 down
0 of 1 instances running, 1 down
0 of 1 instances running, 1 down
0 of 1 instances running, 1 down
0 of 1 instances running, 1 down
0 of 1 instances running, 1 down
0 of 1 instances running, 1 failing
FAILED
Start unsuccessful
TIP: use 'cf logs standalone --recent' for more information
C:\Users\IBM_ADMIN>
C:\Users\IBM_ADMIN>
C:\Users\IBM_ADMIN>cf logs standalone --recent
Connected, dumping recent logs for app standalone in org kelapure-personal / space development as [email protected]...
2014-05-30T01:11:25.59-0400 [API] OUT Created app with guid 431c698d-5d24-4fb6-9163-1e6f3d908322
2014-05-30T01:11:40.35-0400 [DEA] OUT Got staging request for app with id 431c698d-5d24-4fb6-9163-1e6f3d908322
2014-05-30T01:11:41.59-0400 [API] OUT Updated app with guid 431c698d-5d24-4fb6-9163-1e6f3d908322 ({"state"=>"STARTED"})
2014-05-30T01:11:41.70-0400 [STG] OUT -----> Downloaded app package (4.0K)
2014-05-30T01:11:42.05-0400 [STG] OUT -----> Downloading IBM 1.7.0 JRE from http://public.dhe.ibm.com/ibmdl/export/pub/software/websphere/wasdev/downloads/jre/1.7.0/linux/ibm-java-jre-7.0-5.0-x86_64-archive.bin (0.0s)
2014-05-30T01:11:57.31-0400 [STG] OUT Expanding JRE to .java (15.2s)
2014-05-30T01:12:07.90-0400 [STG] OUT -----> Uploading droplet (85M)
2014-05-30T01:12:20.64-0400 [DEA] OUT Starting app instance (index 0) with guid 431c698d-5d24-4fb6-9163-1e6f3d908322
2014-05-30T01:12:25.23-0400 [App/0] ERR Error: Could not find or load main class HelloWorld
2014-05-30T01:12:25.24-0400 [App/0] OUT
2014-05-30T01:12:25.32-0400 [API] OUT App instance exited with guid 431c698d-5d24-4fb6-9163-1e6f3d908322 payload: {"cc_partition"=>"default", "droplet"=>"431c698d-5d24-4fb6-9163-1e6f3d908322", "version"=>"2f667b5b-0915-43f6-8db8-7ae26e77052d", "instance"=>"d8de9df3fe0f477d9871318757c632a4", "index"=>0, "reason"=>"CRASHED", "exit_status"=>1, "exit_description"=>"app instance exited", "crash_timestamp"=>1401426745}
2014-05-30T01:13:08.45-0400 [DEA] OUT Starting app instance (index 0) with guid 431c698d-5d24-4fb6-9163-1e6f3d908322
2014-05-30T01:13:16.06-0400 [App/0] ERR Error: Could not find or load main class HelloWorld
2014-05-30T01:13:16.16-0400 [API] OUT App instance exited with guid 431c698d-5d24-4fb6-9163-1e6f3d908322 payload: {"cc_partition"=>"default", "droplet"=>"431c698d-5d24-4fb6-9163-1e6f3d908322", "version"=>"2f667b5b-0915-43f6-8db8-7ae26e77052d", "instance"=>"23ed3b18fc3d4ed7951160e15d3f0f40", "index"=>0, "reason"=>"CRASHED", "exit_status"=>1, "exit_description"=>"app instance exited", "crash_timestamp"=>1401426796}
2014-05-30T01:13:47.87-0400 [DEA] OUT Starting app instance (index 0) with guid 431c698d-5d24-4fb6-9163-1e6f3d908322
2014-05-30T01:13:53.36-0400 [App/0] ERR Error: Could not find or load main class HelloWorld
2014-05-30T01:13:53.43-0400 [API] OUT App instance exited with guid 431c698d-5d24-4fb6-9163-1e6f3d908322 payload: {"cc_partition"=>"default", "droplet"=>"431c698d-5d24-4fb6-9163-1e6f3d908322", "version"=>"2f667b5b-0915-43f6-8db8-7ae26e77052d", "instance"=>"7c0a666f22a54191a698a277909414d4", "index"=>0, "reason"=>"CRASHED", "exit_status"=>1, "exit_description"=>"app instance exited", "crash_timestamp"=>1401426833}
2014-05-30T01:14:27.76-0400 [DEA] OUT Starting app instance (index 0) with guid 431c698d-5d24-4fb6-9163-1e6f3d908322
2014-05-30T01:14:35.04-0400 [App/0] ERR Error: Could not find or load main class HelloWorld
2014-05-30T01:14:35.11-0400 [API] OUT App instance exited with guid 431c698d-5d24-4fb6-9163-1e6f3d908322 payload: {"cc_partition"=>"default", "droplet"=>"431c698d-5d24-4fb6-9163-1e6f3d908322", "version"=>"2f667b5b-0915-43f6-8db8-7ae26e77052d", "instance"=>"83a198d1ec0f4c36890d51e4cec2d49d", "index"=>0, "reason"=>"CRASHED", "exit_status"=>1, "exit_description"=>"app instance exited", "crash_timestamp"=>1401426875}
2014-05-30T01:15:37.78-0400 [DEA] OUT Starting app instance (index 0) with guid 431c698d-5d24-4fb6-9163-1e6f3d908322
2014-05-30T01:15:46.58-0400 [App/0] ERR Error: Could not find or load main class HelloWorld
2014-05-30T01:15:46.68-0400 [API] OUT App instance exited with guid 431c698d-5d24-4fb6-9163-1e6f3d908322 payload: {"cc_partition"=>"default", "droplet"=>"431c698d-5d24-4fb6-9163-1e6f3d908322", "version"=>"2f667b5b-0915-43f6-8db8-7ae26e77052d", "instance"=>"4d1279496d56471881c9e4e69e4eec46", "index"=>0, "reason"=>"CRASHED", "exit_status"=>1, "exit_description"=>"app instance exited", "crash_timestamp"=>1401426946}
This can be reproduced using any valid jar file with a valid manifest with a main-class entry.