Hi Carlos, Thanks for figuring out the server side. I just pushed a change that puts the RemoteObjectAMFTest into a public folder in the SampleAmfWebApp WAR which then allows the -exec.WAR to show the RemoteObjectAMFTest in the browser as localhost:8080/index.html
And then a test of the release output for issue #189 seems to work for me. Later, -Alex On 4/19/18, 2:46 PM, "[email protected] on behalf of Carlos Rovira" <[email protected] on behalf of [email protected]> wrote: >Piotr, > >just fix SampleAmfWebApp. It was not working until now. Steps to do: > >1) build "examples/RemoteObjectAMFTest" with standard "mvn clean install" > >2) build "amf/SampleAmfWebApp" with standard "mvn clean install" > >3) in "amf/SampleAmfWebApp" run embedded jetty webserver with "mvn spring- >boot:run". (this creates a jetty instance with the web app running in >http://localhost:8080 > >At this point although I fix the overlay of RemoteObjectAMFTest over Sa >mpleAmfWebApp (the plugin had a bug that was setting wrong slashes that >prevents to copy root resources to the war), I don't find the right >contextPath to write in browser...or maybe something more is needed in the >war. > >Anyway, > >4) Go to "examples/RemoteObjectAMFTest/target/bin" and then to js-debug >or >js-release, depending on what you build and run "index.html" > >that opens the sample in your browser > >Since you're not inside the right context, you'll need to remove access >restrictions. I did this in Safari and I was able to communicate >successfully against SampleAmfWebApp and send and receive all AMF data >that >we have in the example. > >Now, to end this, I only need to find why localhost:8080 is not >showing RemoteObjectAMFTest >in the browser. With this I think we have the example finished, and we can >make more kinds of AMF calls and try what could be failing, or if all kind >of communications are working > > > >2018-04-17 23:32 GMT+02:00 Carlos Rovira <[email protected]>: > >> Hi Piotr, >> >> in order to provide you with instructions I should try to reproduce it >> myself now, a year has passed without touching anything and sincerely >>can't >> remember the tricks, ins and outs of the process. I think tomcat didn't >> work for me. Chris made a web app with spring root that was launching a >> jetty instance if I can recall correctly. I'll try it now and report >>here >> >> 2018-04-17 21:10 GMT+02:00 Piotr Zarzycki <[email protected]>: >> >>> Hi Carlos, >>> >>> I looked into your old post on flex dev list, but I cannot understand >>>your >>> instruction. [1]. >>> >>> I don't have to much idea about Java. I have Tomcat server up and >>>running. >>> Can you describe step by step what should I do in order to run example >>>? >>> >>> 1) SampleAmfWebApp - This is building for me, but when I run it on >>>Tomcat >>> it's showing some exceptions. >>> 2) I see that you mention some operation copy in post [1], but what and >>> where ? >>> >>> Describe it here or on Wiki page - How to run that AMF example. >>> >>> [1] >>> >>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-f >>>lex-development.2333347.n4.nabble.com%2FFlexJS-&data=02%7C01%7Caharui%40 >>>adobe.com%7C2f695b7d96bf4b2e93ab08d5a63f1d79%7Cfa7b1b5a7b34438794aed2c17 >>>8decee1%7C0%7C0%7C636597712369628361&sdata=aSjquDnbHThQx4awMCz7pMLkW4ci2 >>>FppQyq%2FYQ17yy0%3D&reserved=0 >>> AMF-branch-feature-amf-Starting-the-effort-Special-Thanks- >>> to-PKumar-td59640.html#a63860 >>> >>> Thanks in advance! >>> -- >>> >>> Piotr Zarzycki >>> >>> Patreon: >>>*https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.pa >>>treon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C2f695b7d96 >>>bf4b2e93ab08d5a63f1d79%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6365 >>>97712369628361&sdata=IgdHVt4xZx53PGvq%2B%2B20W87WhFMFqkF2ZC7mLO9HtEI%3D& >>>reserved=0 >>> >>><https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.pa >>>treon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C2f695b7d96 >>>bf4b2e93ab08d5a63f1d79%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6365 >>>97712369628361&sdata=IgdHVt4xZx53PGvq%2B%2B20W87WhFMFqkF2ZC7mLO9HtEI%3D& >>>reserved=0>* >>> >> >> >> >> -- >> Carlos Rovira >> >>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me% >>2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C2f695b7d96bf4b2e93ab08 >>d5a63f1d79%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C63659771236962836 >>1&sdata=OVlULJ9%2B3A9VIj5F3SGMgtLV3cMo0jZgTQIIwqcGukA%3D&reserved=0 >> >>
