Hi all,

I am learning Play framework. I have written a CRUD applicaiton using Java 
+ Play + Angular which is running successfully on my machine.
I am running the application on port 9000.

Now I want to deploy the application to Heroku. So I did the following,

*> heroku create -s cedar*
*> git push heroku master*

I got the following succes message at the end,

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
remote: -----> Compressing...
remote:        Done: 83.7M
remote: -----> Launching...
remote:        Released v8
remote:        https://enigmatic-reaches-31338.herokuapp.com/ deployed to 
Heroku
remote:
remote: Verifying deploy... done.
To https://git.heroku.com/enigmatic-reaches-31338.git
   e238942..bd4b9b0  master -> master
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

But when I click on the URL, https://enigmatic-reaches-31338.herokuapp.com/
I am getting 404 error. Following is the log,

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
2016-06-28T15:37:34.424293+00:00 heroku[web.1]: Starting process with 
command `target/universal/stage/bin/playdemo -Dhtt
p.port=34403`
2016-06-28T15:37:36.584308+00:00 app[web.1]: Setting JAVA_TOOL_OPTIONS 
defaults based on dyno size. Custom settings will
 override them.
2016-06-28T15:37:36.687866+00:00 app[web.1]: Picked up JAVA_TOOL_OPTIONS: 
-Xmx350m -Xss512k -Dfile.encoding=UTF-8
2016-06-28T15:37:29.623266+00:00 heroku[api]: Release v8 created by 
amarnath.ii...@rocketmail.com
2016-06-28T15:37:29.623218+00:00 heroku[api]: Deploy bd4b9b0 by 
amarnath.ii...@rocketmail.com
2016-06-28T15:37:37.087350+00:00 app[web.1]: Play server process ID is 3
2016-06-28T15:37:38.266557+00:00 app[web.1]: [info] play - database 
[default] connected at jdbc:h2:mem:play
2016-06-28T15:37:39.421684+00:00 app[web.1]: [info] play - Application 
started (Prod)
2016-06-28T15:37:39.763592+00:00 app[web.1]: [info] play - Listening for 
HTTP on /0:0:0:0:0:0:0:0:34403
2016-06-28T15:37:40.254250+00:00 heroku[web.1]: State changed from starting 
to up
2016-06-28T15:38:59.153929+00:00 heroku[router]: at=info method=GET 
path="/" host=enigmatic-reaches-31338.herokuapp.com
request_id=8833f732-4d9f-454a-8556-a4b975e6f197 fwd="106.51.17.149" 
dyno=web.1 connect=0ms service=417ms status=404 byte
s=64
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Please help me. I am really looking forward to run my applciation at Heroku.

Thanks,
Amarnath

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Heroku" group.

To unsubscribe from this group, send email to
heroku+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/heroku?hl=en_US?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Heroku Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to heroku+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to