Closed kumarprem closed 8 years ago
There aren't enough logs here. You'll need to submit the full output for me to tell what's going wrong.
Actually, strike that, the answer is in the message:
No container can run this application
You'll need to ensure that you're pushing an artifact that can be consumed by one of the containers listed in the documentation. You'll find the requirements in the detection criteria section of each container type.
In additon to the log I am getting - None of the buildpacks detected a compatible application
it seems that the artifact you are pushing is not a legal Java deployment archive.
I am able to push the service through CLF commands, but not through my jenkins.it fails during staging after app download.
In all likelihood you are not pushing the artifact you think you are from the Jenkins build.
Thanks for your prompt response, What i think It only fails in jenkins but out side jenkins it works for me, so what i am not sure about is the config related to buildpack,
Hi @nebhale When i try fresh build from jenkins to deploy on cloud i do get another error.
Creating new app.
Pushing app bits.
Starting application.
Downloaded go_buildpack-1_7_1 (346.5M)
Downloaded java-buildpack-offline_3_6 (254.5M) Downloaded ruby-buildpack-1_6_13 (261.3M) Downloaded java_buildpack_jce_offline_1_0 (318.6M) Downloaded ruby-buildpack-1_6_12 (271.8M) Downloaded php_buildpack (327.1M) Downloaded go_buildpack (553.2M) Creating container Successfully created container Downloading app package...
Downloaded app package (27.3M)
Staging...
[Buildpack] ERROR Detect failed with exception #<RuntimeError: Open JDK Like Memory Calculator error: undefined method get' for nil:NilClass> Open JDK Like Memory Calculator error: undefined method
get' for nil:NilClass None of the buildpacks detected a compatible application Exit status 222 Staging failed: Exited with status 222 Failed to stage application: staging failed
0 instances running out of 0
ERROR: The application failed to start after 180 seconds.
Cloud Foundry push failed.
Build step 'Push to Cloud Foundry' marked build as failure
--- Any idea on this error , thanks in advance!!!
Some error here but using Java:
-----> Java Buildpack Version: fa50848 | https://github.com/cloudfoundry/java-buildpack.git#fa50848
[Buildpack] ERROR Compile failed with exception #<RuntimeError: No container can run this application. Please ensure that you’ve pushed a valid JVM artifact or artifacts using the -p command line argument or path manifest entry. Information about valid JVM artifacts can be found at https://github.com/cloudfoundry/java-buildpack#additional-documentation. >
No container can run this application. Please ensure that you’ve pushed a valid JVM artifact or artifacts using the -p command line argument or path manifest entry. Information about valid JVM artifacts can be found at https://github.com/cloudfoundry/java-buildpack#additional-documentation.
Failed to compile droplet
Exit status 223
Staging failed: Exited with status 223
2016-04-18T13:13:48.50-0300 [STG/0] OUT Creating container
2016-04-18T13:13:49.09-0300 [STG/0] OUT Successfully created container
2016-04-18T13:13:49.09-0300 [STG/0] OUT Downloading app package...
2016-04-18T13:13:51.06-0300 [STG/0] OUT Downloaded app package (40.9M)
2016-04-18T13:13:51.06-0300 [STG/0] OUT Staging...
2016-04-18T13:13:52.04-0300 [STG/0] OUT -----> Java Buildpack Version: fa50848 | https://github.com/cloudfoundry/java-buildpack.git#fa50848
2016-04-18T13:13:52.04-0300 [STG/0] ERR [Buildpack] ERROR Compile failed with exception #<RuntimeError: No container can run this application. Please ensure that you’ve pushed a valid JVM artifact or artifacts using the -p command line argument or path manifest entry. Information about valid JVM artifacts can be found at https://github.com/cloudfoundry/java-buildpack#additional-documentation. >
2016-04-18T13:13:52.04-0300 [STG/0] ERR No container can run this application. Please ensure that you’ve pushed a valid JVM artifact or artifacts using the -p command line argument or path manifest entry. Information about valid JVM artifacts can be found at https://github.com/cloudfoundry/java-buildpack#additional-documentation.
2016-04-18T13:13:52.05-0300 [STG/0] ERR Failed to compile droplet
2016-04-18T13:13:52.05-0300 [STG/0] OUT Exit status 223
2016-04-18T13:13:52.05-0300 [STG/0] ERR Staging failed: Exited with status 223
2016-04-18T13:13:52.19-0300 [API/3] ERR Failed to stage application: staging failed
The same problem still applies. What is being presented to the buildpack is not a valid JVM application. You can get the contents of the application, as observed by the buildpack, by setting cf set-env <APP-NAME> JBP_LOG_LEVEL DEBUG
. The output on the next staging will include a line titled Application Contents
, e.g.
[Buildpack] DEBUG Application Contents: [".", "BOOT-INF", "BOOT-INF/classes", "BOOT-INF/classes/com", "BOOT-INF/classes/com/gopivotal", "BOOT-INF/classes/com/gopivotal/cloudfoundry", "BOOT-INF/classes/com/gopivotal/cloudfoundry/test", ...
That output should give you an idea of whether you are pushing the application you expected to.
[Buildpack] DEBUG Instantiating JavaBuildpack::Container::Tomcat
[Buildpack] DEBUG Successfully required JavaBuildpack::Container::Tomcat
[ConfigurationUtils] DEBUG Configuration from /tmp/buildpacks/821362ba2f4190f3fff4eaf18b56ff6b/config/tomcat.yml: {"tomcat"=>{"version"=>"8.0.+", "repository_root"=>"{default.repository.root}/tomcat", "context_path"=>nil, "external_configuration_enabled"=>false}, "external_configuration"=>{"version"=>"1.+", "repository_root"=>nil}, "lifecycle_support"=>{"version"=>"2.+", "repository_root"=>"{default.repository.root}/tomcat-lifecycle-support"}, "logging_support"=>{"version"=>"2.+", "repository_root"=>"{default.repository.root}/tomcat-logging-support"}, "access_logging_support"=>{"version"=>"2.+", "repository_root"=>"{default.repository.root}/tomcat-access-logging-support", "access_logging"=>"disabled"}, "redis_store"=>{"version"=>"1.+", "repository_root"=>"{default.repository.root}/redis-store", "database"=>0, "timeout"=>2000, "connection_pool_size"=>2}, "gemfire_store"=>{"gemfire"=>{"version"=>"8.+", "repository_root"=>"{default.repository.root}/gem-fire"}, "gemfire_modules"=>{"version"=>"8.+", "repository_root"=>"{default.repository.root}/gem-fire-modules"}, "gemfire_modules_tomcat7"=>{"version"=>"8.+", "repository_root"=>"{default.repository.root}/gem-fire-modules-tomcat7"}, "gemfire_security"=>{"version"=>"8.+", "repository_root"=>"{default.repository.root}/gem-fire-security"}, "gemfire_logging"=>{"version"=>"1.7.7", "repository_root"=>"{default.repository.root}/slf4j-jdk14"}, "gemfire_logging_api"=>{"version"=>"1.7.7", "repository_root"=>"{default.repository.root}/slf4j-api"}, "gemfire_log4j_api"=>{"version"=>"2.1.0", "repository_root"=>"{default.repository.root}/log4j-api"}, "gemfire_log4j_core"=>{"version"=>"2.1.0", "repository_root"=>"{default.repository.root}/log4j-core"}, "gemfire_log4j_jcl"=>{"version"=>"2.1.0", "repository_root"=>"{default.repository.root}/log4j-jcl"}, "gemfire_log4j_jul"=>{"version"=>"2.1.0", "repository_root"=>"{default.repository.root}/log4j-jul"}, "gemfire_log4j_slf4j_impl"=>{"version"=>"2.1.0", "repository_root"=>"{default.repository.root}/log4j-slf4j-impl"}}}
-----> Java Buildpack Version: fa50848 | https://github.com/cloudfoundry/java-buildpack.git#fa50848
[Buildpack] ERROR Compile failed with exception #<RuntimeError: No container can run this application. Please ensure that you’ve pushed a valid JVM artifact or artifacts using the -p command line argument or path manifest entry. Information about valid JVM artifacts can be found at https://github.com/cloudfoundry/java-buildpack#additional-documentation. >
[Buildpack] DEBUG Exception #<RuntimeError: No container can run this application. Please ensure that you’ve pushed a valid JVM artifact or artifacts using the -p command line argument or path manifest entry. Information about valid JVM artifacts can be found at https://github.com/cloudfoundry/java-buildpack#additional-documentation. > backtrace:
/tmp/buildpacks/821362ba2f4190f3fff4eaf18b56ff6b/lib/java_buildpack/buildpack.rb:190:in `no_container'
/tmp/buildpacks/821362ba2f4190f3fff4eaf18b56ff6b/lib/java_buildpack/buildpack.rb:61:in `compile'
/tmp/buildpacks/821362ba2f4190f3fff4eaf18b56ff6b/bin/compile:27:in `block in <main>'
/tmp/buildpacks/821362ba2f4190f3fff4eaf18b56ff6b/lib/java_buildpack/buildpack.rb:225:in `with_buildpack'
/tmp/buildpacks/821362ba2f4190f3fff4eaf18b56ff6b/bin/compile:26:in `<main>'
No container can run this application. Please ensure that you’ve pushed a valid JVM artifact or artifacts using the -p command line argument or path manifest entry. Information about valid JVM artifacts can be found at https://github.com/cloudfoundry/java-buildpack#additional-documentation.
Failed to compile droplet
Exit status 223
Staging failed: Exited with status 223
JavaBuildpack::Jre::OpenJdkJRE
[Buildpack] DEBUG Instantiating JavaBuildpack::Jre::OpenJdkJRE
[Buildpack] DEBUG Successfully required JavaBuildpack::Jre::OpenJdkJRE
[ConfigurationUtils] DEBUG Configuration from /tmp/buildpacks/821362ba2f4190f3fff4eaf18b56ff6b/config/open_jdk_jre.yml: {"jre"=>{"version"=>"1.8.0_+", "repository_root"=>"{default.repository.root}/openjdk/{platform}/{architecture}"}, "memory_calculator"=>{"version"=>"2.+", "repository_root"=>"{default.repository.root}/memory-calculator/{platform}/{architecture}", "stack_threads"=>nil, "memory_sizes"=>{"heap"=>nil, "metaspace"=>"64m..", "native"=>nil, "permgen"=>"64m..", "stack"=>nil}, "memory_heuristics"=>{"heap"=>75, "metaspace"=>10, "native"=>10, "permgen"=>10, "stack"=>5}, "memory_initials"=>{"heap"=>"100%", "metaspace"=>"100%", "permgen"=>"100%"}}}
@tiarebalbi You're looking at the bottom of the trace. A couple of hundred lines higher you'll see the line you're looking for. The top will look something like:
Staging...
[ConfigurationUtils] DEBUG No configuration file /tmp/buildpacks/821362ba2f4190f3fff4eaf18b56ff6b/config/version.yml found
[BuildpackVersion] DEBUG fa50848 | https://github.com/cloudfoundry/java-buildpack.git#fa50848
[Buildpack] DEBUG Environment Variables: ...
[Buildpack] DEBUG Application Contents: ...
I create a gist with all log:
https://gist.github.com/tiarebalbi/26eebfc4c2f5bdc47e2c93dfde3d8b90
@tiarebalbi You'll see here that you're pushing the root of your project, rather than the compiled artifact.
[Buildpack] DEBUG Application Contents: [".", "mvnw", "mvnw.cmd", "pom.xml", "src", "src/main", "src/main/java", "src/main/java/io", "src/main/java/io/climacta", "src/main/java/io/climacta/GerenciadorDadosApplication.java", "src/main/java/io/climacta/api", "src/main/java/io/climacta/api/AgregacaoDadosRestController.java", "src/main/java/io/climacta/api/DadosRestController.java", "src/main/java/io/climacta/api/PreferenciasRestController.java", "src/main/java/io/climacta/batch", "src/main/java/io/climacta/batch/processamento", "src/main/java/io/climacta/batch/processamento/AgregacaoDadosDiarioHorasJobTasklet.java", "src/main/java/io/climacta/batch/processamento/AgregacaoDadosDiarioHorasProcess.java", "src/main/java/io/climacta/batch/processamento/AgregacaoDadosDozeHorasJobTasklet.java", "src/main/java/io/climacta/batch/processamento/AgregacaoDadosDozeHorasProcess.java", "src/main/java/io/climacta/batch/processamento/AgregacaoDadosJobConfig.java", "src/main/java/io/climacta/batch/processamento/AgregacaoDadosJobLauncher.java", "src/main/java/io/climacta/batch/processamento/AgregacaoDadosOitoHorasJobTasklet.java", "src/main/java/io/climacta/batch/processamento/AgregacaoDadosOitoHorasProcess.java", "src/main/java/io/climacta/batch/processamento/AgregacaoDadosQuatroHorasJobTasklet.java", "src/main/java/io/climacta/batch/processamento/AgregacaoDadosQuatroHorasProcess.java", "src/main/java/io/climacta/batch/processamento/AgregacaoDadosUmHoraProcess.java", "src/main/java/io/climacta/batch/processamento/AgregacaoDadosUmaHoraJobTasklet.java", "src/main/java/io/climacta/batch/reader", "src/main/java/io/climacta/batch/reader/ListItemReader.java", "src/main/java/io/climacta/config", "src/main/java/io/climacta/config/ApplicationConfiguration.java", "src/main/java/io/climacta/config/DataRestConfig.java", "src/main/java/io/climacta/config/PubNubConfig.java", "src/main/java/io/climacta/config/SpringBatchConfigDefault.java", "src/main/java/io/climacta/domain", "src/main/java/io/climacta/domain/AbstractDocument.java", "src/main/java/io/climacta/domain/ConversaoDadosSensor.java", "src/main/java/io/climacta/domain/Equipamento.java", "src/main/java/io/climacta/domain/HistoricoLocalizacao.java", "src/main/java/io/climacta/domain/Instalacao.java", "src/main/java/io/climacta/domain/Localizacao.java", "src/main/java/io/climacta/domain/RegistroColetado.java", "src/main/java/io/climacta/domain/SensorInstalacao.java", "src/main/java/io/climacta/domain/cliente", "src/main/java/io/climacta/domain/cliente/Cliente.java", "src/main/java/io/climacta/domain/cliente/Plano.java", "src/main/java/io/climacta/domain/dados", "src/main/java/io/climacta/domain/dados/ArrayDadoColetado.java", "src/main/java/io/climacta/domain/dados/DadoColetado.java", "src/main/java/io/climacta/domain/dados/DoubleArrayDadoColetado.java", "src/main/java/io/climacta/domain/dados/DoubleDadoColetado.java", "src/main/java/io/climacta/domain/dados/IntegerArrayDadoColetado.java", "src/main/java/io/climacta/domain/dados/IntegerDadoColetado.java", "src/main/java/io/climacta/domain/dados/StringDadoColetado.java", "src/main/java/io/climacta/domain/dados/ValorDadoColetado.java", "src/main/java/io/climacta/domain/dto", "src/main/java/io/climacta/domain/dto/AcumuloDiarioDTO.java", "src/main/java/io/climacta/domain/dto/AggregationModo.java", "src/main/java/io/climacta/domain/dto/AggregationRegistroColetadoDTO.java", "src/main/java/io/climacta/domain/dto/BancoDadosDTO.java", "src/main/java/io/climacta/domain/dto/DadoRecebidoNotificacaoDTO.java", "src/main/java/io/climacta/domain/dto/DadosClienteDTO.java", "src/main/java/io/climacta/domain/dto/Preferencia.java", "src/main/java/io/climacta/domain/dto/RegistroColetadoRequestDTO.java", "src/main/java/io/climacta/domain/dto/UltimaInstalacaoDTO.java", "src/main/java/io/climacta/domain/dto/UsuarioInfo.java", "src/main/java/io/climacta/domain/events", "src/main/java/io/climacta/domain/events/PontoEventHandler.java", "src/main/java/io/climacta/domain/pontos", "src/main/java/io/climacta/domain/pontos/AgregacaoIndicador.java", "src/main/jav
a/io/climacta/domain/pontos/Area.java", "src/main/java/io/climacta/domain/pontos/Indicador.java", "src/main/java/io/climacta/domain/pontos/IndicadorModo.java", "src/main/java/io/climacta/domain/pontos/NivelPermissao.java", "src/main/java/io/climacta/domain/pontos/Periodo.java", "src/main/java/io/climacta/domain/pontos/Permissao.java", "src/main/java/io/climacta/domain/pontos/Ponto.java", "src/main/java/io/climacta/domain/pontos/PontoType.java", "src/main/java/io/climacta/domain/pontos/dto", "src/main/java/io/climacta/domain/pontos/dto/ReferenciaEquipamento.java", "src/main/java/io/climacta/domain/processamento", "src/main/java/io/climacta/domain/processamento/AgregacaoDado.java", "src/main/java/io/climacta/domain/processamento/AgregacaoDiarioHorasDado.java", "src/main/java/io/climacta/domain/processamento/AgregacaoDozeHorasDado.java", "src/main/java/io/climacta/domain/processamento/AgregacaoOitoHorasDado.java", "src/main/java/io/climacta/domain/processamento/AgregacaoQuatroHorasDado.java", "src/main/java/io/climacta/domain/processamento/AgregacaoUmaHoraDado.java", "src/main/java/io/climacta/domain/processamento/ExecucaoJob.java", "src/main/java/io/climacta/repository", "src/main/java/io/climacta/repository/AgregacaoDiarioHorasDadoRepository.java", "src/main/java/io/climacta/repository/AgregacaoUmaHoraDadoRepository.java", "src/main/java/io/climacta/repository/ClienteRepository.java", "src/main/java/io/climacta/repository/EquipamentoRepository.java", "src/main/java/io/climacta/repository/ExecucaoJobRepository.java", "src/main/java/io/climacta/repository/InstalacaoRepository.java", "src/main/java/io/climacta/repository/PontoRepository.java", "src/main/java/io/climacta/repository/RegistroColetadoRepository.java", "src/main/java/io/climacta/repository/cache", "src/main/java/io/climacta/repository/cache/CountDataEquipeKeyGenerator.java", "src/main/java/io/climacta/repository/controller", "src/main/java/io/climacta/repository/controller/AgregacaoDiarioHorasDadoRestController.java", "src/main/java/io/climacta/repository/controller/EquipamentoRestController.java", "src/main/java/io/climacta/repository/controller/PontoRepositoryRestController.java", "src/main/java/io/climacta/repository/controller/RegistroColetadoRepositoryRestController.java", "src/main/java/io/climacta/repository/domain", "src/main/java/io/climacta/repository/domain/dto", "src/main/java/io/climacta/repository/domain/dto/AggregacaoDadosDTO.java", "src/main/java/io/climacta/repository/domain/dto/ResumeEquipamentoDTO.java", "src/main/java/io/climacta/repository/query", "src/main/java/io/climacta/repository/query/InstalacaoQuery.java", "src/main/java/io/climacta/repository/query/InstalacaoRepositoryImpl.java", "src/main/java/io/climacta/repository/query/PontoQuery.java", "src/main/java/io/climacta/repository/query/PontoRepositoryImpl.java", "src/main/java/io/climacta/repository/query/RegistroColetadoQuery.java", "src/main/java/io/climacta/repository/query/RegistroColetadoRepositoryImpl.java", "src/main/java/io/climacta/service", "src/main/java/io/climacta/service/ComponentRegister.java", "src/main/java/io/climacta/service/dados", "src/main/java/io/climacta/service/dados/DadosColetadoService.java", "src/main/java/io/climacta/service/dados/DadosColetadoValueBuilders.java", "src/main/java/io/climacta/service/dados/JSONBuilderOperation.java", "src/main/java/io/climacta/service/equipamentos", "src/main/java/io/climacta/service/equipamentos/conversores", "src/main/java/io/climacta/service/equipamentos/conversores/AbstractConversor.java", "src/main/java/io/climacta/service/equipamentos/conversores/Conversor.java", "src/main/java/io/climacta/service/equipamentos/conversores/ConversorInvalidoException.java", "src/main/java/io/climacta/service/equipamentos/conversores/PluviometroDavisConversor.java", "src/main/java/io/climacta/service/equipamentos/conversores/PluviometroPronamicConversor.java", "src/main/java/io/climacta/service/equipamentos/conversores/PluviometroWRFConversor.java", "src/main/java/io/climacta/service/equipamentos/conversores/UnidadeMedida.java", "src/main/j
ava/io/climacta/service/equipamentos/metadata", "src/main/java/io/climacta/service/equipamentos/metadata/EquipamentoMetadata.java", "src/main/java/io/climacta/service/equipamentos/metadata/EquipamentoMetadataService.java", "src/main/java/io/climacta/service/equipamentos/metadata/Payload.java", "src/main/java/io/climacta/service/equipamentos/sensores", "src/main/java/io/climacta/service/equipamentos/sensores/SensorEquipamento.java", "src/main/java/io/climacta/service/exception", "src/main/java/io/climacta/service/exception/InformacaoInvalidaException.java", "src/main/java/io/climacta/util", "src/main/java/io/climacta/util/DateUtils.java", "src/main/java/io/climacta/util/SecurityInfo.java", "src/main/resources", "src/main/resources/application.yml", "src/main/resources/batch-setup.sql", "src/main/resources/bootstrap.yml", "src/main/resources/rebel.xml", "src/test", "src/test/java", "src/test/java/io", "src/test/java/io/climacta", "src/test/java/io/climacta/GerenciadorDadosApplicationTests.java", "src/test/java/io/climacta/batch", "src/test/java/io/climacta/batch/processamento", "src/test/java/io/climacta/batch/processamento/AgregacaoDadosDiarioProcessTest.java", "src/test/java/io/climacta/batch/processamento/AgregacaoDadosDozeHorasProcessTest.java", "src/test/java/io/climacta/batch/processamento/AgregacaoDadosQuatroHorasProcessTest.java", "src/test/java/io/climacta/batch/processamento/AgregacaoDadosUmHoraProcessTest.java", "src/test/java/io/climacta/batch/processamento/AgregacaoDadosUmHoraProcessTest.java~Updated upstream", "src/test/java/io/climacta/repository", "src/test/java/io/climacta/repository/AgregacaoUmaHoraDadoRepositoryTest.java", "src/test/java/io/climacta/repository/EquipamentoRepositoryIntegrationTest.java", "src/test/java/io/climacta/repository/InstalacaoRepositoryTest.java", "src/test/java/io/climacta/repository/controller", "src/test/java/io/climacta/repository/controller/RegistroColetadoRepositoryRestControllerIntegrationTest.java", "src/test/java/io/climacta/service", "src/test/java/io/climacta/service/ComponentRegisterTest.java", "src/test/java/io/climacta/service/dados", "src/test/java/io/climacta/service/dados/DadosColetadoServiceTest.java", "src/test/java/io/climacta/service/dados/DadosColetadoValueBuildersTest.java", "src/test/java/io/climacta/service/equipamentos", "src/test/java/io/climacta/service/equipamentos/conversores", "src/test/java/io/climacta/service/equipamentos/conversores/PluviometroDavisConversorTest.java", "src/test/java/io/climacta/service/equipamentos/conversores/PluviometroPronamicConversorTest.java", "src/test/java/io/climacta/service/equipamentos/conversores/PluviometroWRFConversorTest.java", "src/test/java/io/climacta/service/equipamentos/metadata", "src/test/java/io/climacta/service/equipamentos/metadata/EquipamentoMetadataServiceTest.java", "src/test/resources", "src/test/resources/application.yml", "target", "target/classes", "target/classes/META-INF", "target/classes/META-INF/spring-configuration-metadata.json", "target/classes/application.yml", "target/classes/batch-setup.sql", "target/classes/bootstrap.yml", "target/classes/io", "target/classes/io/climacta", "target/classes/io/climacta/GerenciadorDadosApplication.class", "target/classes/io/climacta/api", "target/classes/io/climacta/api/AgregacaoDadosRestController.class", "target/classes/io/climacta/api/DadosRestController.class", "target/classes/io/climacta/api/PreferenciasRestController.class", "target/classes/io/climacta/batch", "target/classes/io/climacta/batch/processamento", "target/classes/io/climacta/batch/processamento/AgregacaoDadosDiarioHorasJobTasklet.class", "target/classes/io/climacta/batch/processamento/AgregacaoDadosDiarioHorasProcess.class", "target/classes/io/climacta/batch/processamento/AgregacaoDadosDozeHorasJobTasklet.class", "target/classes/io/climacta/batch/processamento/AgregacaoDadosDozeHorasProcess.class", "target/classes/io/climacta/batch/processamento/AgregacaoDadosJobConfig.class", "target/classes/io/climacta/batch/processamento/AgregacaoDadosJobLauncher.class", "target/classes/io/climacta/bat
ch/processamento/AgregacaoDadosOitoHorasJobTasklet.class", "target/classes/io/climacta/batch/processamento/AgregacaoDadosOitoHorasProcess.class", "target/classes/io/climacta/batch/processamento/AgregacaoDadosQuatroHorasJobTasklet.class", "target/classes/io/climacta/batch/processamento/AgregacaoDadosQuatroHorasProcess.class", "target/classes/io/climacta/batch/processamento/AgregacaoDadosUmHoraProcess.class", "target/classes/io/climacta/batch/processamento/AgregacaoDadosUmaHoraJobTasklet.class", "target/classes/io/climacta/batch/reader", "target/classes/io/climacta/batch/reader/ListItemReader.class", "target/classes/io/climacta/config", "target/classes/io/climacta/config/ApplicationConfiguration.class", "target/classes/io/climacta/config/DataRestConfig.class", "target/classes/io/climacta/config/PubNubConfig$PubNubProperties.class", "target/classes/io/climacta/config/PubNubConfig.class", "target/classes/io/climacta/config/SpringBatchConfigDefault.class", "target/classes/io/climacta/domain", "target/classes/io/climacta/domain/AbstractDocument.class", "target/classes/io/climacta/domain/ConversaoDadosSensor.class", "target/classes/io/climacta/domain/Equipamento.class", "target/classes/io/climacta/domain/HistoricoLocalizacao.class", "target/classes/io/climacta/domain/Instalacao.class", "target/classes/io/climacta/domain/Localizacao.class", "target/classes/io/climacta/domain/RegistroColetado.class", "target/classes/io/climacta/domain/SensorInstalacao.class", "target/classes/io/climacta/domain/cliente", "target/classes/io/climacta/domain/cliente/Cliente.class", "target/classes/io/climacta/domain/cliente/Plano.class", "target/classes/io/climacta/domain/dados", "target/classes/io/climacta/domain/dados/ArrayDadoColetado.class", "target/classes/io/climacta/domain/dados/DadoColetado.class", "target/classes/io/climacta/domain/dados/DoubleArrayDadoColetado.class", "target/classes/io/climacta/domain/dados/DoubleDadoColetado.class", "target/classes/io/climacta/domain/dados/IntegerArrayDadoColetado.class", "target/classes/io/climacta/domain/dados/IntegerDadoColetado.class", "target/classes/io/climacta/domain/dados/StringDadoColetado.class", "target/classes/io/climacta/domain/dados/ValorDadoColetado.class", "target/classes/io/climacta/domain/dto", "target/classes/io/climacta/domain/dto/AcumuloDiarioDTO$ValoresDiario.class", "target/classes/io/climacta/domain/dto/AcumuloDiarioDTO.class", "target/classes/io/climacta/domain/dto/AggregationModo.class", "target/classes/io/climacta/domain/dto/AggregationRegistroColetadoDTO.class", "target/classes/io/climacta/domain/dto/BancoDadosDTO$Dado.class", "target/classes/io/climacta/domain/dto/BancoDadosDTO.class", "target/classes/io/climacta/domain/dto/DadoRecebidoNotificacaoDTO$Dado.class", "target/classes/io/climacta/domain/dto/DadoRecebidoNotificacaoDTO$DadoRecebidoNotificacaoDTOBuilder.class", "target/classes/io/climacta/domain/dto/DadoRecebidoNotificacaoDTO.class", "target/classes/io/climacta/domain/dto/DadosClienteDTO.class", "target/classes/io/climacta/domain/dto/Preferencia.class", "target/classes/io/climacta/domain/dto/RegistroColetadoRequestDTO$ItemDado.class", "target/classes/io/climacta/domain/dto/RegistroColetadoRequestDTO.class", "target/classes/io/climacta/domain/dto/UltimaInstalacaoDTO.class", "target/classes/io/climacta/domain/dto/UsuarioInfo$UsuarioInfoBuilder.class", "target/classes/io/climacta/domain/dto/UsuarioInfo.class", "target/classes/io/climacta/domain/events", "target/classes/io/climacta/domain/events/PontoEventHandler.class", "target/classes/io/climacta/domain/pontos", "target/classes/io/climacta/domain/pontos/AgregacaoIndicador.class", "target/classes/io/climacta/domain/pontos/Area.class", "target/classes/io/climacta/domain/pontos/Indicador.class", "target/classes/io/climacta/domain/pontos/IndicadorModo.class", "target/classes/io/climacta/domain/pontos/NivelPermissao.class", "target/classes/io/climacta/domain/pontos/Periodo.class", "target/classes/io/climacta/domain/pontos/Permissao.class", "target/classes/io/climacta/domain/pontos/Ponto.class", "target/classes/io/climacta/dom
ain/pontos/PontoType.class", "target/classes/io/climacta/domain/pontos/dto", "target/classes/io/climacta/domain/pontos/dto/ReferenciaEquipamento.class", "target/classes/io/climacta/domain/processamento", "target/classes/io/climacta/domain/processamento/AgregacaoDado.class", "target/classes/io/climacta/domain/processamento/AgregacaoDiarioHorasDado.class", "target/classes/io/climacta/domain/processamento/AgregacaoDozeHorasDado.class", "target/classes/io/climacta/domain/processamento/AgregacaoOitoHorasDado.class", "target/classes/io/climacta/domain/processamento/AgregacaoQuatroHorasDado.class", "target/classes/io/climacta/domain/processamento/AgregacaoUmaHoraDado.class", "target/classes/io/climacta/domain/processamento/ExecucaoJob$StatusExecutacao.class", "target/classes/io/climacta/domain/processamento/ExecucaoJob.class", "target/classes/io/climacta/repository", "target/classes/io/climacta/repository/AgregacaoDiarioHorasDadoRepository.class", "target/classes/io/climacta/repository/AgregacaoUmaHoraDadoRepository.class", "target/classes/io/climacta/repository/ClienteRepository.class", "target/classes/io/climacta/repository/EquipamentoRepository.class", "target/classes/io/climacta/repository/ExecucaoJobRepository.class", "target/classes/io/climacta/repository/InstalacaoRepository.class", "target/classes/io/climacta/repository/PontoRepository.class", "target/classes/io/climacta/repository/RegistroColetadoRepository.class", "target/classes/io/climacta/repository/cache", "target/classes/io/climacta/repository/cache/CountDataEquipeKeyGenerator.class", "target/classes/io/climacta/repository/controller", "target/classes/io/climacta/repository/controller/AgregacaoDiarioHorasDadoRestController.class", "target/classes/io/climacta/repository/controller/EquipamentoRestController.class", "target/classes/io/climacta/repository/controller/PontoRepositoryRestController.class", "target/classes/io/climacta/repository/controller/RegistroColetadoRepositoryRestController$1.class", "target/classes/io/climacta/repository/controller/RegistroColetadoRepositoryRestController.class", "target/classes/io/climacta/repository/domain", "target/classes/io/climacta/repository/domain/dto", "target/classes/io/climacta/repository/domain/dto/AggregacaoDadosDTO.class", "target/classes/io/climacta/repository/domain/dto/ResumeEquipamentoDTO.class", "target/classes/io/climacta/repository/query", "target/classes/io/climacta/repository/query/InstalacaoQuery.class", "target/classes/io/climacta/repository/query/InstalacaoRepositoryImpl.class", "target/classes/io/climacta/repository/query/PontoQuery.class", "target/classes/io/climacta/repository/query/PontoRepositoryImpl.class", "target/classes/io/climacta/repository/query/RegistroColetadoQuery.class", "target/classes/io/climacta/repository/query/RegistroColetadoRepositoryImpl.class", "target/classes/io/climacta/service", "target/classes/io/climacta/service/ComponentRegister$ComponentOperation.class", "target/classes/io/climacta/service/ComponentRegister.class", "target/classes/io/climacta/service/dados", "target/classes/io/climacta/service/dados/DadosColetadoService$1.class", "target/classes/io/climacta/service/dados/DadosColetadoService.class", "target/classes/io/climacta/service/dados/DadosColetadoValueBuilders.class", "target/classes/io/climacta/service/dados/JSONBuilderOperation.class", "target/classes/io/climacta/service/equipamentos", "target/classes/io/climacta/service/equipamentos/conversores", "target/classes/io/climacta/service/equipamentos/conversores/AbstractConversor.class", "target/classes/io/climacta/service/equipamentos/conversores/Conversor.class", "target/classes/io/climacta/service/equipamentos/conversores/ConversorInvalidoException.class", "target/classes/io/climacta/service/equipamentos/conversores/PluviometroDavisConversor.class", "target/classes/io/climacta/service/equipamentos/conversores/PluviometroPronamicConversor.class", "target/classes/io/climacta/service/equipamentos/conversores/PluviometroWRFConversor.class", "target/classes/io/climacta/service/equipamentos/conversores/UnidadeMedida.class"
, "target/classes/io/climacta/service/equipamentos/metadata", "target/classes/io/climacta/service/equipamentos/metadata/EquipamentoMetadata.class", "target/classes/io/climacta/service/equipamentos/metadata/EquipamentoMetadataService.class", "target/classes/io/climacta/service/equipamentos/metadata/Payload$1.class", "target/classes/io/climacta/service/equipamentos/metadata/Payload$PayloadBuilder.class", "target/classes/io/climacta/service/equipamentos/metadata/Payload.class", "target/classes/io/climacta/service/equipamentos/sensores", "target/classes/io/climacta/service/equipamentos/sensores/SensorEquipamento.class", "target/classes/io/climacta/service/exception", "target/classes/io/climacta/service/exception/InformacaoInvalidaException.class", "target/classes/io/climacta/util", "target/classes/io/climacta/util/DateUtils.class", "target/classes/io/climacta/util/SecurityInfo.class", "target/classes/rebel.xml", "target/gerenciador-dados-0.0.1-SNAPSHOT.jar", "target/gerenciador-dados-0.0.1-SNAPSHOT.jar.original", "target/maven-archiver", "target/maven-archiver/pom.properties", "target/maven-status", "target/maven-status/maven-compiler-plugin", "target/maven-status/maven-compiler-plugin/compile", "target/maven-status/maven-compiler-plugin/compile/default-compile", "target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst", "target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst"]
In this last try i pushed directly from the root path, but the other times i was specifying the jar file. Let's me run it one more time.
@nebhale Thanks for your support but now using the same command worked:
cf push <MYAPP> -p target/my.build.jar
No problem. Glad it worked out.
Hello,
I am also facing similar issue.The custom build-pack creation in PCF Dev step is completing successfully but when I am pushing the Liferay binary using this custom build-pack, it is failing giving BuildpackCompileFailed.
Error message: Starting app liferay-app in org pcfdev-org / space pcfdev-space as admin... Downloading liferay-custombuildpack... Downloaded liferay-custombuildpack Creating container Successfully created container Downloading app package... Downloaded app package (204.6M) Staging... Failed to compile droplet Exit status 223 Staging failed: Exited with status 223 Destroying container Successfully destroyed container
CF Trace [java-buildpack-8af2700 logs.txt
.zip](https://github.com/cloudfoundry/java-buildpack/files/701912/java-buildpack-8af2700.zip)
Any Updates on the same error above : No container can run this application. Please ensure that you've pushed a valid JVM artifact or artifacts using the -p command line argument.
I see another post and in that we need to use gradle for building the correct JVM artifact , is there any way without it?