Hi, 

like Bruno pointed out the context path could be the issue. Another possible cause could be if your web application does not have a beans.xml [1]. If you are using maven you can place this file in src/main/webapp/WEB-INF. 
If the deployment is missing this file it will not be scanned by CDI and the routes defined will not be picked up by AeroGear Controller. Even if this is not your issue we'll add a check for this situation [2].

[1] http://aerogear.org/docs/guides/aerogear-controller/installation.html
[2] https://issues.jboss.org/browse/AEROGEAR-1029


On 19 March 2013 01:00, Bruno Oliveira <bruno@abstractj.org> wrote:
Are you missing the context path? Something like: http://localhost:8080/aerogear-controller-demo ?

Could you please push the sources to github?

On Mar 18, 2013, at 6:32 PM, "soumik.basu" <soumik.basu@accenture.com> wrote:

> Hi,
>   I have just started with aerogear controller. I went through
> http://aerogear.org/docs/guides/aerogear-controller/ link and tried to
> configure and deploy the MVC ROUTES and RESTful routes in my jbossAS7 server
> from my eclipse juno environment.
> In the server console I can see that the war got deployed successfully and
> it started listening to the CDI also.
> But while trying to access the MVC or Restful Route from my Chrome browser I
> got a 404 error.
>
> Looking for a help in this issue. I am sure I am making a minor
> configuration mistake, but need to resolve that at the earliest to move
> ahead.
> Thanks in advance.
>
> Regards
> Soumik
>
>
>
> --
> View this message in context: http://aerogear-dev.1069024.n5.nabble.com/need-help-in-starting-with-aerogear-controller-tp1949.html
> Sent from the aerogear-dev mailing list archive at Nabble.com.
> _______________________________________________
> aerogear-dev mailing list
> aerogear-dev@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-dev

_______________________________________________
aerogear-dev mailing list
aerogear-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev