Hi
I am able to start Geronimo server in buildpack. But I am not able to deploy app in Geronimo. There are two ways to deploy app.
Hot Deployment: Directly Put Application War in Geronimo_home/deploy directory. 2 Using Command: Change directory to /bin and run the following command deploy --user system --password manager deploy --inPlace
I was using 1st option. But we could deploy only war file in deploy folder. I am pushing war file of geronimo app but internally it is getting extracted. When I checked in build path I saw war in extracted format. So how could I deploy that in deploy folder as it is mot war file now?
Answer by NewUser1 (43) | Sep 23, 2014 at 12:14 AM
I have successfully developed Geronimo buildpack with hot deployment of geronimo war in deploy folder of geronimo. Only difference is the way I have deployed Geronimo app
cf push HelloWorld -b https://github.com/newuser123/sample_buildpack.git -c "GERONIMO_OPTS=-Dorg.apache.geronimo.config.substitution.HTTPPort=$PORT ./bin/geronimo.sh run"
Here HelloWorld is war file. I have not used -p option here as due to this my war was getting extracted in build directory.