Open kdcivy opened 8 years ago
wildfly-buildpack worked : https://github.com/matf/wildfly-buildpack
jboss homepage said that wildfly is recommended as JBoss AS 7.1.1.Final is no longer support. http://jbossas.jboss.org/downloads
Hey, me facing same issue as kdcivy mentioned above. How do I use wildfly-buildpack.? Looks like its not yet committed to main branch.
JBoss 7.1.1 is not working with JDK 1.8.x version and you should add the following env into your manifest.yml and it will work well.
env: JBP_CONFIG_OPEN_JDKJRE: '{jre: { version: 1.7.0+ }}'
manifest.yml
---
applications:
- name: jayden-jboss
buildpack: https://github.com/cloudfoundry-community/jboss-buildpack.git
path: /Users/coh/jboss/cf/sample/sample.war
memory: 512M
timeout: 180
env:
JBP_CONFIG_OPEN_JDK_JRE: '{jre: { version: 1.7.0_+ }}'
I think JBoss builpack(jboss as 7.1.1) don't support spring boot and spring 4.x. Is it right? Maybe Spring 3.2.x framework is working with jboss buildpack. If I use spring boot and spring 4.x framework, I think I should use wildfly buildpack(jboss 9.0.2). But Spring 4.x framework is not working with wildfly buildpack. If I use spring boot and spring 4.x framework, Which jboss buildpack Should I use? And I want to know jboss buildpack's spring framework spec.
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