Skip to content

Help!! JBOSS buildpack is not working. #9

@kdcivy

Description

@kdcivy

Hi, I’m using Pivotal web service with Java application by GitHub (GitHub URL : https://github.com/mstine/CloudNativeArchitectureClass/tree/master/day_01/session_02/lab_05/spring-music).
But when I execute CLI cf push with jboss buildpack, I’ve got a problem. So I want to get support this problem.
The instance is starting but the result is fail every time.
When I execute no buildpack option or java buildpack, the instance’s result is success with tomcat. I think default buildpack is java buildpack and tomcat.
Should I need configure PORT, CLI option or environment for issue? Please review and check up my attach log and environment file.
I can’t find solution of this trouble shooting at google, PWS guide file.
Because of my company work schedule, I don’t have enough time for issue.
Please let me know if you need additional data.

CLI

log

TAILING LOGS CLAP > development > n-root-on-cf
[] OUT Starting websocket connection to: wss://loggregator.run.pivotal.io:443/tail/?app=79e01cc2-bf2d-4cc7-852d-f9da95a46317
[] CONNECTED
[API] OUT Updated app with guid 79e01cc2-bf2d-4cc7-852d-f9da95a46317 ({"state"=>"STARTED"})
[STG] OUT Creating container
[STG] OUT Successfully created container
[STG] OUT Downloading app package...
[STG] OUT Staging...
[STG] OUT Downloaded app package (38.5M)
[STG] OUT -----> Java Buildpack Version: 90bbf00 | https://github.com/cloudfoundry-community/jboss-buildpack.git#90bbf00
[STG] OUT -----> Downloading Open Jdk JRE 1.8.0_91-unlimited-crypto from https://download.run.pivotal.io/openjdk/trusty/x86_64/openjdk-1.8.0_91-unlimited-crypto.tar.gz (1.4s)
[STG] OUT Expanding Open Jdk JRE to .java-buildpack/open_jdk_jre (1.0s)
[STG] OUT -----> Downloading Open JDK Like Memory Calculator 2.0.2_RELEASE from https://download.run.pivotal.io/memory-calculator/trusty/x86_64/memory-calculator-2.0.2_RELEASE.tar.gz (0.0s)
[STG] OUT Memory Settings: -Xss1M -Xmx768M -XX:MaxMetaspaceSize=104857K -Xms768M -XX:MetaspaceSize=104857K
[STG] OUT -----> Downloading Container Customizer 1.0.0_RELEASE from https://download.run.pivotal.io/container-customizer/container-customizer-1.0.0_RELEASE.jar (0.0s)
[STG] OUT -----> Downloading Spring Auto Reconfiguration 1.10.0_RELEASE from https://download.run.pivotal.io/auto-reconfiguration/auto-reconfiguration-1.10.0_RELEASE.jar (0.0s)
[STG] OUT -----> Downloading Jboss 7.1.1_Final from https://download.run.pivotal.io/jboss-as/jboss-as-7.1.1_Final.tar.gz (3.2s)
[STG] OUT Expanding Jboss to .java-buildpack/jboss (1.3s)
[STG] OUT Uploading droplet...
[STG] OUT Uploading build artifacts cache...
[STG] OUT Staging complete
[STG] OUT Uploading droplet, build artifacts cache...
[STG] OUT Exit status 0
[STG] OUT Uploaded build artifacts cache (171.9M)
[STG] OUT Uploaded droplet (248.8M)
[STG] OUT Uploading complete
[CELL] OUT Creating container
[CELL] OUT Successfully created container
[CELL] OUT Starting health monitoring of container
[APP] OUT JAVA_OPTS already set in environment; overriding default settings with values: -Djava.io.tmpdir=/home/vcap/tmp -XX:OnOutOfMemoryError=/home/vcap/app/.java-buildpack/open_jdk_jre/bin/killjava.sh -Xms768M -XX:MetaspaceSize=104857K -Xmx768M -XX:MaxMetaspaceSize=104857K -Xss1M -Dhttp.port=8080
[APP] OUT =========================================================================
[APP] OUT JBOSS_HOME: /home/vcap/app/.java-buildpack/jboss
[APP] OUT =========================================================================
[APP] OUT JAVA_OPTS: -server -XX:+UseCompressedOops -XX:+TieredCompilation -Djava.io.tmpdir=/home/vcap/tmp -XX:OnOutOfMemoryError=/home/vcap/app/.java-buildpack/open_jdk_jre/bin/killjava.sh -Xms768M -XX:MetaspaceSize=104857K -Xmx768M -XX:MaxMetaspaceSize=104857K -Xss1M -Dhttp.port=8080
[APP] OUT JAVA: /home/vcap/app/.java-buildpack/open_jdk_jre/bin/java
[APP] OUT JBoss Bootstrap Environment
[APP] OUT 07:09:51,839 INFO [org.jboss.modules] JBoss Modules version 1.1.1.GA
[APP] OUT 07:09:52,045 INFO [org.jboss.msc] JBoss MSC version 1.0.2.GA
[APP] OUT 07:09:52,092 INFO [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final "Brontes" starting
[CELL] ERR Timed out after 3m0s: health check never passed.
[CELL] OUT Exit status 0
[APP] OUT Exit status 255
[API] OUT App instance exited with guid 79e01cc2-bf2d-4cc7-852d-f9da95a46317 payload: {"instance"=>"b24733cc-5585-4454-5c57-3e0c4eeca2d8", "index"=>0, "reason"=>"CRASHED", "exit_description"=>"2 error(s) occurred:\n\n* 1 error(s) occurred:\n\n* Exited with status 1\n* 2 error(s) occurred:\n\n* cancelled\n* cancelled", "crash_count"=>1, "crash_timestamp"=>1462864371785415391, "version"=>"5214b87d-199f-4170-8f56-e8daa6818144"}
[CELL] OUT Creating container
[CELL] OUT Successfully created container
[CELL] OUT Starting health monitoring of container
[APP] OUT JAVA_OPTS already set in environment; overriding default settings with values: -Djava.io.tmpdir=/home/vcap/tmp -XX:OnOutOfMemoryError=/home/vcap/app/.java-buildpack/open_jdk_jre/bin/killjava.sh -Xss1M -Xmx768M -XX:MetaspaceSize=104857K -Xms768M -XX:MaxMetaspaceSize=104857K -Dhttp.port=8080
[APP] OUT JBOSS_HOME: /home/vcap/app/.java-buildpack/jboss
[APP] OUT JBoss Bootstrap Environment
[APP] OUT =========================================================================
[APP] OUT JAVA_OPTS: -server -XX:+UseCompressedOops -XX:+TieredCompilation -Djava.io.tmpdir=/home/vcap/tmp -XX:OnOutOfMemoryError=/home/vcap/app/.java-buildpack/open_jdk_jre/bin/killjava.sh -Xss1M -Xmx768M -XX:MetaspaceSize=104857K -Xms768M -XX:MaxMetaspaceSize=104857K -Dhttp.port=8080
[APP] OUT JAVA: /home/vcap/app/.java-buildpack/open_jdk_jre/bin/java
[APP] OUT =========================================================================
[APP] OUT 07:13:05,425 INFO [org.jboss.modules] JBoss Modules version 1.1.1.GA
[APP] OUT 07:13:05,650 INFO [org.jboss.msc] JBoss MSC version 1.0.2.GA
[APP] OUT 07:13:05,723 INFO [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final "Brontes" starting

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions