I'm trying to take my Seam remoting to the next level. I can get a simple remote service working with everything served from JBoss.
Now I'd like to be able to serve the html from apache and have it call the Seam app running on JBoss as before. (The search service called is trivial and merely echos some text back to the caller.)
Here's my HTML:
The call does not complete successfully as it did when the html was served by JBoss. There was a POST error:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>404 Not Found</title> </head><body> <h1>Not Found</h1> <p>The requested URL /hah/seam/resource/remoting/execute was not found on this server.</p> </body></html>
Just guessing but it may be that this file is referenced inside the server-generated js files and these files got generated with relative urls, which is causing the trouble.
Has anyone been successful separating the html content from the Seam ear/war file and having remoting work?
Thanks in advance,