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]
>> http://apache-flex-development.2333347.n4.nabble.com/FlexJS-
>> AMF-branch-feature-amf-Starting-the-effort-Special-Thanks-
>> to-PKumar-td59640.html#a63860
>>
>> Thanks in advance!
>> --
>>
>> Piotr Zarzycki
>>
>> Patreon: *https://www.patreon.com/piotrzarzycki
>> <https://www.patreon.com/piotrzarzycki>*
>>
>
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
>

Reply via email to