Skip to content

Errors when pushing jenkins war file: fail to detect container #13

@bewilliams

Description

@bewilliams

When pushing a jenkins war file, cf responds by saying it can't determine what version to use to run it.
I also tried pushing it to run.pivotal.io, and cf gives the same error.
I've had success pushing jenkins up until about cf release 138

Here is the error:

Uploading jenkins... OK
Preparing to start jenkins... OK
-----> Downloaded app package (54M)
E, [2013-09-19T22:36:43.907940 #37] ERROR -- /var/vcap/packages/dea_next/buildpacks/vendor/java/lib/java_buildpack/buildpack.rb:46:in 'rescue in drive_buildpack_with_logger': Detect failed with exception #<RuntimeError: Application can be run by more than one container: java-main, tomcat-7.0.42, tomcat-buildpack-support-1.1.1>
Application can be run by more than one container: java-main, tomcat-7.0.42, tomcat-buildpack-support-1.1.1
/var/vcap/packages/dea_next/buildpacks/lib/buildpack.rb:98:in 'build_pack': Unable to detect a supported application type (RuntimeError)
from /var/vcap/packages/dea_next/buildpacks/lib/buildpack.rb:76:in 'block in compile_with_timeout'
from /usr/lib/ruby/1.9.1/timeout.rb:68:in 'timeout'
from /var/vcap/packages/dea_next/buildpacks/lib/buildpack.rb:75:in 'compile_with_timeout'
from /var/vcap/packages/dea_next/buildpacks/lib/buildpack.rb:57:in 'block in stage_application'
from /var/vcap/packages/dea_next/buildpacks/lib/buildpack.rb:53:in 'chdir'
from /var/vcap/packages/dea_next/buildpacks/lib/buildpack.rb:53:in 'stage_application'
from /var/vcap/packages/dea_next/buildpacks/bin/run:10:in '

'
Checking status of app 'jenkins'...Application failed to stage

to recreate:

  1. download latest jenkins war file:
    http://mirrors.jenkins-ci.org/war/latest/jenkins.war
  2. cf push

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions