我們在Tomcat上部署了一個Flex應用程序,它使用Blaze-DS與Java端進行通信。但是使用部署的應用程序時,我們不斷收到錯誤:執行代理查找時出現重複會話錯誤
Detected duplicate HTTP-based FlexSessions, generally due to the remote host disabling session cookies. Session cookies must be enabled to manage the client connection correctly. url: 'http://XX.XX.XXX.XXX:80/CB3/SdmxSandbox/messagebroker/amf;jsessionid=2A71A4A58872C757B9064D20C9E876D9''
我不明白是什麼原因造成這種還是什麼這個錯誤的真正含義?誰能幫忙?
更多詳細信息:
在我們的Apache的httpd.conf我們已經成立了一個代理查找,這樣,而不是使用特定端口(例如8082),我們要使用80端口(我們的一些客戶在操作一個鎖定的環境)。所以httpd.conf文件看起來像:
ProxyPass /CB3/ http://XX.XX.XXX.XXX:8082/
ProxyPassReverse /CB3/ http://XX.XX.XXX.XXX:8082/
現在我們沒有得到重複的會議問題,直到我們引入了代理重定向。我的服務,配置相當簡單:
<?xml version="1.0" encoding="UTF-8"?>
<services-config>
<factories>
<factory id="spring" class="flex.messaging.factory.SpringFactory" />
</factories>
<services>
<service-include file-path="remoting-config.xml" />
<default-channels>
<channel ref="my-amf" />
</default-channels>
</services>
<channels>
<channel-definition id="my-amf"
class="mx.messaging.channels.AMFChannel">
<endpoint
url="http://{server.name}:{server.port}/{context.root}/messagebroker/amf"
class="flex.messaging.endpoints.AMFEndpoint" />
</channel-definition>
</channels>
任何幫助極大的讚賞。
感謝,
菲爾