Hi,

I've got some error on the RPC call when application url goes across
apache proxy.

18:50:33,741 ERROR [[/OpenKM]] FrontendLanguageServlet: ERROR: The
module path requested, /frontend/, is not in the same web application
as this servlet, /OpenKM.  Your module may not be properly configured
or your client and server code maybe out of date.
18:50:33,746 ERROR [[/OpenKM]] FrontendLanguageServlet: WARNING:
Failed to get the SerializationPolicy
'617D2C3D07EBBCE80520E2852A9DB7C7' for module 'http://
localhost.openkm.com/frontend/'; a legacy, 1.3.3 compatible,
serialization policy will be used.  You may experience
SerializationExceptions as a result.

Really it serializes correctly but with this tedious error.

The full url is
http://localhost/OpenKM/frontend/

The apache proxy url is:
http://localhost/frontend/  ( all url are rewrited by proxy to
http://localhost/OpenKM/frontend )

That's the proxy settings
RewriteEngine on

  RewriteCond %{REQUEST_URI} /OpenKM*

  RewriteRule ^(/.*)$ http://localhost:8080$1 [P]

  ProxyPassReverse / http://localhost:8080/

  RewriteLog /var/log/apache2/rewrite.log

  RewriteLogLevel 3

And here some firebug related header data
X-GWT-Permutation       4E5FB24FC4A8EAC3D8231A5AB2B8669D
X-GWT-Module-Base       http://localhost.openkm.com/frontend/
Referer 
http://localhost.openkm.com/frontend/4E5FB24FC4A8EAC3D8231A5AB2B8669D.cache.html
Content-Length  203

Here the X-GWT-Module-Base will be different after the proxy rewriten
to other and RemoteServiceServlet class at line 68 verifies the module
sent is same where is received at line 68
 if (modulePath == null || !modulePath.startsWith(contextPath))

Is any way to solve it ?

Thanks on advance

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to