naaman / railo-heroku-example

2 stars 0 forks source link

500 Error #1

Closed nifl closed 12 years ago

nifl commented 12 years ago

Deploying to heroku returns

HTTP ERROR 500

Problem accessing /. Reason:
/app/target/artifact-1.0.0-SNAPSHOT/ (Is a directory)

...

http://severe-samurai-6793.herokuapp.com/

naaman commented 12 years ago

figbuck, Looks like the web.xml had a servlet mapping to '/', which was taking over serving CFML. I pushed a change that fixes this config issue: https://github.com/naamannewbold/railo-heroku-example/commit/da607e7783062f6e50f7fa37d1805d1291ad6bfc

However, please keep in mind this is a sample. You might check in with the Railo forums to see if there's a recommended way for running Railo/Coldfusion apps on cloud services like Heroku.