Merged. Many thanks for the PR! Jon
On Fri, Dec 21, 2018 at 12:52 PM Daniel Dias Dos Santos < daniel.dias.analist...@gmail.com> wrote: > Hi Bruno, > > thank you for reviewing the pr. > > Jose helped me a lot with that solution:) > > merry christmas . > -- > > *Daniel Dias dos Santos* > Java Developer > SouJava & JCP Member > GitHub: https://github.com/Daniel-Dos > Linkedin: www.linkedin.com/in/danieldiasjava > Twitter: http://twitter.com/danieldiasjava > > > Em sex, 21 de dez de 2018 às 08:58, Bruno Baptista <bruno...@gmail.com> > escreveu: > > > Hi Daniel, > > > > Thanks for the PR, I've reviewed the new changes and I think it should > > be good to go. > > > > José, thanks for the Help! Wonderful cooperation. > > > > Merry Christmas! > > > > Bruno Baptista > > https://twitter.com/brunobat_ > > > > > > On 21/12/18 04:01, Daniel Dias Dos Santos wrote: > > > Hi Jose, > > > > > > thank you so much for sharing your solution, it worked perfectly here > > and I > > > learned something cool : ) > > > > > > I in my previous test I was not passing the pom.xml, web.xml and ne mo > > > hello.jsp. > > > > > > @Bruno > > > > > > the test passed, the more I get that initial exception, although the > same > > > seems to work normal. > > > > > > it may be some incompatibility of RestEasy with TomEE or with CXF. > > > > > > -- > > > > > > *Daniel Dias dos Santos* > > > Java Developer > > > SouJava & JCP Member > > > GitHub: https://github.com/Daniel-Dos > > > Linkedin: www.linkedin.com/in/danieldiasjava > > > Twitter: http://twitter.com/danieldiasjava > > > > > > > > > Em qui, 20 de dez de 2018 às 13:21, Daniel Dias Dos Santos < > > > daniel.dias.analist...@gmail.com> escreveu: > > > > > >> Wonderful. Thank you for your help . > > >> > > >> I'm going to test up, so I got to work here. > > >> -- > > >> > > >> *Daniel Dias dos Santos* > > >> Java Developer > > >> SouJava & JCP Member > > >> GitHub: https://github.com/Daniel-Dos > > >> Linkedin: www.linkedin.com/in/danieldiasjava > > >> Twitter: http://twitter.com/danieldiasjava > > >> > > >> > > >> Em qui, 20 de dez de 2018 às 13:14, Jose Henrique Ventura > > >> <jose.vent...@protonmail.com.invalid> escreveu: > > >> > > >>> Ah sorry.. I read too quickly. I'm finishing an example here and I > can > > >>> help you out if you need. =) > > >>> > > >>> Best Regards, > > >>> José Henrique Ventura. > > >>> > > >>> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ > > >>> On Thursday, December 20, 2018 2:32 PM, Daniel Dias Dos Santos < > > >>> daniel.dias.analist...@gmail.com> wrote: > > >>> > > >>>> Hi Jose, > > >>>> > > >>>> the test above was my original, it does not work for me. > > >>>> > > >>>> had even added - Arquillian.xml. > > >>>> -- > > >>>> Daniel Dias dos Santos > > >>>> Java Developer > > >>>> SouJava & JCP Member > > >>>> GitHub: https://github.com/Daniel-Dos > > >>>> Linkedin: www.linkedin.com/in/danieldiasjava > > >>>> Twitter: http://twitter.com/danieldiasjava > > >>>> > > >>>> Em qui, 20 de dez de 2018 às 11:56, Jose Henrique Ventura < > > >>> jose.vent...@protonmail.com.invalid> escreveu: > > >>>>> Hi Daniel, > > >>>>> > > >>>>> I'm glad that you got it working. Especially because you neither > map > > >>> any jsp and nor loaded that pom.xml manually as I did. I'm wondering > > how > > >>> you got those files WEB-INF/* inside of your war. Perhaps was the > > WebDrive? > > >>> Anyway, I'm looking forward to see example. =) > > >>>>> Best Regards, > > >>>>> José Henrique Ventura. > > >>>>> > > >>>>> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ > > >>>>> On Thursday, December 20, 2018 1:03 PM, Daniel Dias Dos Santos < > > >>> daniel.dias.analist...@gmail.com> wrote: > > >>>>>> Hello Jose, > > >>>>>> > > >>>>>> that's what I was trying to get. > > >>>>>> in my it is very different > > >>>>>> > > >>>>>> @RunWith(Arquillian.class) > > >>>>>> public class MVCTest { > > >>>>>> > > >>>>>> @ArquillianResource > > >>>>>> private URL base; > > >>>>>> > > >>>>>> @Drone > > >>>>>> private WebDriver webDriver; > > >>>>>> > > >>>>>> @Deployment > > >>>>>> public static WebArchive createDeployment() { > > >>>>>> return ShrinkWrap.create(WebArchive.class, > > >>> "test.war").addClasses(MVCApplication.class,TomeeController.class) > > >>>>>> .addAsManifestResource(EmptyAsset.INSTANCE, > > >>> "beans.xml"); > > >>>>>> } > > >>>>>> > > >>>>>> @Test > > >>>>>> @RunAsClient > > >>>>>> public void test() { > > >>>>>> webDriver.get(base + "app/hello?name=TomEE"); > > >>>>>> WebElement h1 = webDriver.findElement(By.tagName("h1")); > > >>>>>> assertNotNull(h1); > > >>>>>> assertTrue(h1.getText().contains("Welcome TomEE !")); > > >>>>>> } > > >>>>>> } > > >>>>>> > > >>>>>> thanks for shaing your code : ) . > > >>>>>> > > >>>>>> -- > > >>>>>> Daniel Dias dos Santos > > >>>>>> Java Developer > > >>>>>> SouJava & JCP Member > > >>>>>> GitHub: https://github.com/Daniel-Dos > > >>>>>> Linkedin: www.linkedin.com/in/danieldiasjava > > >>>>>> Twitter: http://twitter.com/danieldiasjava > > >>>>>> > > >>>>>> Em qua, 19 de dez de 2018 às 15:44, Jose Henrique Ventura < > > >>> jose.vent...@protonmail.com.invalid> escreveu: > > >>>>>>> Here you go: > https://github.com/josehenriqueventura/ozark-mvc-cxf > > >>>>>>> > > >>>>>>> Let me know if you need anything else. =) > > >>>>>>> > > >>>>>>> Best Regards, > > >>>>>>> José Henrique Ventura. > > >>>>>>> > > >>>>>>> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ > > >>>>>>> On Wednesday, December 19, 2018 4:55 PM, Daniel Dias Dos Santos < > > >>> daniel.dias.analist...@gmail.com> wrote: > > >>>>>>>> HI Jose, > > >>>>>>>> > > >>>>>>>> if you can share with us. > > >>>>>>>> > > >>>>>>>> grateful. > > >>>>>>>> -- > > >>>>>>>> Daniel Dias dos Santos > > >>>>>>>> Java Developer > > >>>>>>>> SouJava & JCP Member > > >>>>>>>> GitHub: https://github.com/Daniel-Dos > > >>>>>>>> Linkedin: www.linkedin.com/in/danieldiasjava > > >>>>>>>> Twitter: http://twitter.com/danieldiasjava > > >>>>>>>> > > >>>>>>>> Em qua, 19 de dez de 2018 às 12:53, Jose Henrique Ventura < > > >>> jose.vent...@protonmail.com.invalid> escreveu: > > >>>>>>>>> Hi guys, > > >>>>>>>>> > > >>>>>>>>> I've created a hello world project based on the > examples/mvc-cxf > > >>> which also does not have a test, and I managed to get an Arquillian > > test > > >>> passing. > > >>>>>>>>> I can push this to my GitHub account and you guys can have a > look > > >>> and see what can be taken from this. =) > > >>>>>>>>> Best Regards, > > >>>>>>>>> José Henrique Ventura. > > >>>>>>>>> > > >>>>>>>>> Sent with ProtonMail Secure Email. > > >>>>>>>>> > > >>>>>>>>> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ > > >>>>>>>>> On Tuesday, December 18, 2018 11:40 PM, Bruno Baptista < > > >>> bruno...@gmail.com> wrote: > > >>>>>>>>>> Let me help you on that. > > >>>>>>>>>> > > >>>>>>>>>> Will try to come up with a test. If someone else wants to jump > > >>> in, feel > > >>>>>>>>>> free. > > >>>>>>>>>> > > >>>>>>>>>> Cheers > > >>>>>>>>>> > > >>>>>>>>>> Bruno Baptista > > >>>>>>>>>> https://twitter.com/brunobat_ > > >>>>>>>>>> > > >>>>>>>>>> On 18/12/18 19:45, Daniel Dias Dos Santos wrote: > > >>>>>>>>>> > > >>>>>>>>>>> Hi, > > >>>>>>>>>>> for me the same thing appears, but I think this is not an > > >>> exception, > > >>>>>>>>>>> another warning of log servero. > > >>>>>>>>>>> in any case, the application stands if you access: > > >>>>>>>>>>> http: // localhost:8080/mvc-resteasy > > >>>>>>>>>>> > > >>>>>>>>>>> on the tests I tried to use the arquillian, but I did not > > >>> succeed in how > > >>>>>>>>>>> you are doing it, although I had looked at the examples. > > >>>>>>>>>>> > > >>>>>>>>>>> > > >>> > > > ---------------------------------------------------------------------------------------------------------------------------------- > > >>>>>>>>>>> Daniel Dias dos Santos > > >>>>>>>>>>> Java Developer > > >>>>>>>>>>> SouJava & JCP Member > > >>>>>>>>>>> GitHub: https://github.com/Daniel-Dos > > >>>>>>>>>>> Linkedin: www.linkedin.com/in/danieldiasjava > > >>>>>>>>>>> Twitter: http://twitter.com/danieldiasjava > > >>>>>>>>>>> Em ter, 18 de dez de 2018 às 17:25, Bruno Baptista > > >>> bruno...@gmail.com > > >>>>>>>>>>> escreveu: > > >>>>>>>>>>> > > >>>>>>>>>>>> Hey! > > >>>>>>>>>>>> Ups... I reviewed the PR found the problem you are > mentioning > > >>> and > > >>>>>>>>>>>> suggested changes... We could move on but the example > doesn't > > >>> include a > > >>>>>>>>>>>> test and it probably should. > > >>>>>>>>>>>> Cheers > > >>>>>>>>>>>> Bruno Baptista > > >>>>>>>>>>>> https://twitter.com/brunobat_ > > >>>>>>>>>>>> On 18/12/18 13:57, Jonathan Gallimore wrote: > > >>>>>>>>>>>> > > >>>>>>>>>>>>> Ah ok. I do see the same thing. We could get this merged > > >>> in. One thought > > >>>>>>>>>>>>> I > > >>>>>>>>>>>>> had, was this could ultimately be the same as the CXF-based > > >>> example, just > > >>>>>>>>>>>>> with the different dependencies and config. What do you > > >>> think? > > >>>>>>>>>>>>> Jon > > >>>>>>>>>>>>> On Tue, Dec 18, 2018 at 1:00 PM Daniel Dias dos Santos > > >>> (JIRA) < > > >>>>>>>>>>>>> j...@apache.org> wrote: > > >>>>>>>>>>>>> > > >>>>>>>>>>>>>> [ > > >>>>>>>>>>>>>> > > >>>>>>>>>>>> > > >>> > > > https://issues.apache.org/jira/browse/TOMEE-2368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16724037#comment-16724037 > > >>>>>>>>>>>>>> ] > > >>>>>>>>>>>>>> > > >>>>>>>>>>>>>> Daniel Dias dos Santos commented on TOMEE-2368: > > >>>>>>>>>>>>>> > > >>>>>>>>>>>>>> ------------------------------------------------ > > >>>>>>>>>>>>>> > > >>>>>>>>>>>>>> Hello Jon, > > >>>>>>>>>>>>>> for me the same thing appears, but I think this is not an > > >>> execeçao, > > >>>>>>>>>>>>>> another warning of log servero. > > >>>>>>>>>>>>>> in any case, the application stands if you access: > > >>>>>>>>>>>>>> http: // localhost: 8080 / mvc-resteasy > > >>>>>>>>>>>>>> !mvc-resteasy.png! > > >>>>>>>>>>>>>> > > >>>>>>>>>>>>>>> example-mvc-resteasy > > >>>>>>>>>>>>>>> > > >>>>>>>>>>>>>>> --------------------- > > >>>>>>>>>>>>>>> > > >>>>>>>>>>>>>>> Key: TOMEE-2368 > > >>>>>>>>>>>>>>> URL: > > >>> https://issues.apache.org/jira/browse/TOMEE-2368 > > >>>>>>>>>>>>>>> Project: TomEE > > >>>>>>>>>>>>>>> Issue Type: Documentation > > >>>>>>>>>>>>>>> Components: Examples and Documentation > > >>>>>>>>>>>>>>> Reporter: Daniel Dias dos Santos > > >>>>>>>>>>>>>>> Priority: Minor > > >>>>>>>>>>>>>>> Labels: pull-request-available > > >>>>>>>>>>>>>>> Fix For: 8.0.0-M2 > > >>>>>>>>>>>>>>> > > >>>>>>>>>>>>>>> Attachments: mvc-resteasy.png > > >>>>>>>>>>>>>>> > > >>>>>>>>>>>>>>> > > >>>>>>>>>>>>>>> I made a simple hello world example with MVC 1.0 using > > >>> RestEasy. > > >>>>>>>>>>>>>> -- > > >>>>>>>>>>>>>> This message was sent by Atlassian JIRA > > >>>>>>>>>>>>>> (v7.6.3#76005) > > >> > > >