GithubHelp home page GithubHelp logo

cf-buildpack-mule's Introduction

cf-buildpack-mule

Deploy mule apps to Cloud Foundry

git clone https://github.com/danielkennedy/cf-buildpack-mule
cd cf-buildpack-mule
zip -r cf-buildpack-mule.zip bin/
cf create-buildpack mule cf-buildpack-mule.zip 1 --enable
cf push bookstore -i 1 -m 512M -b mule -p examples/bookstore/bookstore.zip 

cf-buildpack-mule's People

Stargazers

Amit Ghorpade avatar Jagadish Nagarajaiah avatar Colin Stevenson avatar

Watchers

James Cloos avatar Dan Kennedy avatar

cf-buildpack-mule's Issues

Issue during the deployment to PCF DEV - Build Pack Compile Failed

Hello Daniel,

I was trying to deploy the mule app in your git to my PCF Dev instance . During the deployment I am getting a compilation failure (PFB the logs).
Could you please help in resolving the issue.

PFB the execution log:

`PS C:\TechM-lab\cf-mule> cf create-buildpack mule cf-buildpack-mule.zip 1 --enable
Creating buildpack mule...
OK

Uploading buildpack mule...
Done uploading
OK
PS C:\TechM-lab\cf-mule> cf push bookstore -i 1 -m 512M -b mule -p examples/bookstore/bookstore.zip
Creating app bookstore in org pcfdev-org / space pcfdev-space as admin...
OK

Creating route bookstore.local.pcfdev.io...
OK

Binding bookstore.local.pcfdev.io to bookstore...
OK

Uploading bookstore...
Uploading app files from: C:\Users\arubalac\AppData\Local\Temp\unzipped-app412651127
Uploading 22K, 36 files
Done uploading
OK

Starting app bookstore in org pcfdev-org / space pcfdev-space as admin...
Downloading mule...
Downloaded mule (79.6K)
Creating container
Successfully created container
Downloading app package...
Downloaded app package (20.9K)
Staging...
Failed to compile droplet
Exit status 223
Staging failed: Exited with status 223
Destroying container
Successfully destroyed container

FAILED
Error restarting application: BuildpackCompileFailed
`
Regards
Arun

Getting issues while deploying mule app on PCF

Hi Daniel,

I was trying to push my mule app using your mule buildpack for PCF but it seems it tries to download JDK from oracles site which is pointing to a deprecated location, Below is the error log :

2017-11-02T18:16:20.912+05:30 [STG/0] [ERR] 2017-11-02 12:46:20 (65.6 MB/s) - ‘mule-standalone-3.5.0.tar.gz’ saved [89776500/89776500]
2017-11-02T18:16:20.915+05:30 [STG/0] [OUT] ------> Installing Mule (mule-standalone-3.5.0.tar.gz)...
2017-11-02T18:16:22.099+05:30 [STG/0] [OUT] ------> Installing JDK (jdk-7u67-linux-x64.tar.gz)...
2017-11-02T18:16:22.101+05:30 [STG/0] [ERR] --2017-11-02 12:46:22-- http://download.oracle.com/otn-pub/java/jdk/7u67-b01/jdk-7u67-linux-x64.tar.gz
2017-11-02T18:16:22.147+05:30 [STG/0] [ERR] Resolving download.oracle.com (download.oracle.com)... 23.15.7.90, 23.15.7.128
2017-11-02T18:16:22.150+05:30 [STG/0] [ERR] Connecting to download.oracle.com (download.oracle.com)|23.15.7.90|:80... connected.
2017-11-02T18:16:22.152+05:30 [STG/0] [ERR] HTTP request sent, awaiting response... 302 Moved Temporarily
2017-11-02T18:16:22.152+05:30 [STG/0] [ERR] Location: https://edelivery.oracle.com/otn-pub/java/jdk/7u67-b01/jdk-7u67-linux-x64.tar.gz [following]
2017-11-02T18:16:22.152+05:30 [STG/0] [ERR] --2017-11-02 12:46:22-- https://edelivery.oracle.com/otn-pub/java/jdk/7u67-b01/jdk-7u67-linux-x64.tar.gz
2017-11-02T18:16:22.237+05:30 [STG/0] [ERR] Resolving edelivery.oracle.com (edelivery.oracle.com)... 23.49.182.138, 2600:1408:10:286::2d3e, 2600:1408:10:297::2d3e
2017-11-02T18:16:22.239+05:30 [STG/0] [ERR] Connecting to edelivery.oracle.com (edelivery.oracle.com)|23.49.182.138|:443... connected.
2017-11-02T18:16:22.312+05:30 [STG/0] [ERR] HTTP request sent, awaiting response... 302 Moved Temporarily
2017-11-02T18:16:22.312+05:30 [STG/0] [ERR] Location: http://download.oracle.com/otn-pub/java/jdk/7u67-b01/jdk-7u67-linux-x64.tar.gz?AuthParam=1509626902_ed393947e941c0a4c348ae799585078f [following]
2017-11-02T18:16:22.312+05:30 [STG/0] [ERR] --2017-11-02 12:46:22-- http://download.oracle.com/otn-pub/java/jdk/7u67-b01/jdk-7u67-linux-x64.tar.gz?AuthParam=1509626902_ed393947e941c0a4c348ae799585078f
2017-11-02T18:16:22.315+05:30 [STG/0] [ERR] Connecting to download.oracle.com (download.oracle.com)|23.15.7.90|:80... connected.
2017-11-02T18:16:23.694+05:30 [STG/0] [ERR] HTTP request sent, awaiting response... 404 Not Found
2017-11-02T18:16:23.694+05:30 [STG/0] [ERR] 2017-11-02 12:46:23 ERROR 404: Not Found.
2017-11-02T18:16:23.695+05:30 [STG/0] [ERR] Failed to compile droplet: Failed to compile droplet: exit status 8

Can you please update the URL in build pack or suggest a workaround for this.

Thanks & Regards,
Anil Jha

BuildPack Compile failed

Hello Daniel,

I was trying to push sample app as per steps mentioned in your github but it gives error on buildpackcompile failed..

D:\Amit\project work\cf-buildpack-mule>cf push macbookstore -i 1 -m 512M -b https://github.com/dani
lkennedy/cf-buildpack-mule -p examples/bookstore/bookstore.zip
Creating app macbookstore in org MacProject / space development as [email protected]...
OK

Using route macbookstore.cfapps.io
Binding macbookstore.cfapps.io to macbookstore...
OK

Uploading macbookstore...
Uploading app files from: examples/bookstore/bookstore.zip
Uploading 43.2K, 36 files
Done uploading
OK

Warning: error tailing logs
Error dialing loggregator server: websocket: bad handshake.
Please ask your Cloud Foundry Operator to check the platform configuration (loggregator endpoint is
wss://loggregator.run.pivotal.io:443).
Starting app macbookstore in org MacProject / space development as [email protected]...

FAILED
BuildpackCompileFailed

TIP: use 'cf logs macbookstore --recent' for more information

D:\Amit\project work\cf-buildpack-mule>

Could you please look into this asap?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.