[aerogear-dev] need help in starting with aerogear controller
Daniel Bevenius
daniel.bevenius at gmail.com
Tue Mar 19 05:33:23 EDT 2013
Hi Soumik,
it looks like the beans.xml is missing from you deployment:
jar xvf aerogearService.war
inflated: META-INF/MANIFEST.MF
created: META-INF/
created: META-INF/maven/
created: META-INF/maven/aerogearService/
created: META-INF/maven/aerogearService/aerogearService/
inflated: META-INF/maven/aerogearService/aerogearService/pom.properties
inflated: META-INF/maven/aerogearService/aerogearService/pom.xml
created: WEB-INF/
created: WEB-INF/classes/
created: WEB-INF/classes/main/
created: WEB-INF/classes/main/webapp/
created: WEB-INF/classes/myPackage/
inflated: WEB-INF/classes/myPackage/Cars.java
inflated: WEB-INF/classes/myPackage/Home.java
inflated: WEB-INF/classes/myPackage/Routes.java
inflated: WEB-INF/classes/myPackage/package-info.java
inflated: WEB-INF/classes/myPackage/Cars.class
inflated: WEB-INF/classes/myPackage/Home.class
inflated: WEB-INF/classes/myPackage/Routes.class
inflated: WEB-INF/classes/myPackage/package-info.class
created: WEB-INF/lib/
inflated: WEB-INF/lib/aerogear-controller-1.0.0.CR1.jar
inflated: WEB-INF/lib/jboss-logging-3.1.0.GA.jar
inflated: WEB-INF/lib/jboss-logging-processor-1.0.0.Final.jar
inflated: WEB-INF/lib/cglib-nodep-2.2.jar
inflated: WEB-INF/lib/guava-10.0.jar
inflated: WEB-INF/lib/jsr305-1.3.9.jar
inflated: WEB-INF/lib/iogi-0.9.1.jar
inflated: WEB-INF/lib/paranamer-2.2.jar
inflated: WEB-INF/lib/mirror-1.5.1.jar
inflated: WEB-INF/lib/jackson-mapper-asl-1.9.2.jar
inflated: WEB-INF/lib/jackson-core-asl-1.9.2.jar
inflated: WEB-INF/lib/mvel2-2.1.0.Final.jar
This will unfortunately cause your app do deploy without an error. We now
fixed this so that instead a deployment error will be raised informing
about this condition. Sorry about this.
Could you try adding a beans.xml to your WEB-INF directory, you can find an
example here
http://aerogear.org/docs/guides/aerogear-controller/installation.html
Regards,
/Daniel
On 19 March 2013 10:27, soumik.basu <soumik.basu at accenture.com> wrote:
> Hi Daniel,
>
> PFA the war file of my application. It would be really great if u can
> please take a look on it and let me know where I was going wrong. I was
> trying to access my route using
>
> http://localhost:8080/aerogearService/cars/5
>
>
>
> Thanks in advance....
>
>
>
> Regards
>
> Soumik
> ------------------------------
> *From:* danielbevenius [via aerogear-dev] [ml-node+[hidden email]<http://user/SendEmail.jtp?type=node&node=1960&i=0>
> ]
> *Sent:* Tuesday, March 19, 2013 2:37 PM
> *To:* Basu, Soumik
> *Subject:* Re: [aerogear-dev] need help in starting with aerogear
> controller
>
> Hi,
>
> >Do we need to mention the context path somewhere in web.xml or some
> other config file?
> No there is no need to specify it, you can see the context path in the
> servers console. If you like you can attach you war and I can take a look
> and try to deploy it. Might be easier to spot the issue that way.
>
> Thanks,
>
>
>
>
> On 19 March 2013 10:03, soumik.basu <[hidden email]<https://email.accenture.com/owa/UrlBlockedError.aspx>
> > wrote:
>
>> Hi Daniel,
>> I am not sure if there is any context path issue. Do we need to mention
>> the context path somewhere in web.xml or some other config file?
>> I am using jboss tools, with CDI project facets, so it is automatically
>> prompting for beans.xml and putting it in WEB-INF folder, so I don't think
>> that to be an issue.
>>
>>
>>
>> --
>> View this message in context:
>> http://aerogear-dev.1069024.n5.nabble.com/need-help-in-starting-with-aerogear-controller-tp1949p1958.html
>> Sent from the aerogear-dev mailing list archive at Nabble.com.
>> _______________________________________________
>> aerogear-dev mailing list
>> [hidden email] <https://email.accenture.com/owa/UrlBlockedError.aspx>
>> https://lists.jboss.org/mailman/listinfo/aerogear-dev
>>
>
>
> _______________________________________________
> aerogear-dev mailing list
> [hidden email] <https://email.accenture.com/owa/UrlBlockedError.aspx>
> https://lists.jboss.org/mailman/listinfo/aerogear-dev
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://aerogear-dev.1069024.n5.nabble.com/need-help-in-starting-with-aerogear-controller-tp1949p1959.html
> To unsubscribe from need help in starting with aerogear controller, click
> here.
> NAML<http://aerogear-dev.1069024.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
> ------------------------------
> This message is for the designated recipient only and may contain
> privileged, proprietary, or otherwise confidential information. If you have
> received it in error, please notify the sender immediately and delete the
> original. Any other use of the e-mail by you is prohibited.
>
> Where allowed by local law, electronic communications with Accenture and
> its affiliates, including e-mail and instant messaging (including content),
> may be scanned by our systems for the purposes of information security and
> assessment of internal compliance with Accenture policy.
>
>
> ______________________________________________________________________________________
>
> www.accenture.com
>
> *aerogearService.war* (4M) Download Attachment<http://aerogear-dev.1069024.n5.nabble.com/attachment/1960/0/aerogearService.war>
>
> ------------------------------
> View this message in context: RE: [aerogear-dev] need help in starting
> with aerogear controller<http://aerogear-dev.1069024.n5.nabble.com/need-help-in-starting-with-aerogear-controller-tp1949p1960.html>
>
> Sent from the aerogear-dev mailing list archive<http://aerogear-dev.1069024.n5.nabble.com/>at Nabble.com.
>
> _______________________________________________
> aerogear-dev mailing list
> aerogear-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20130319/4183f286/attachment-0001.html
More information about the aerogear-dev
mailing list