Server.Processing.DuplicateSessionDetected
- September 2, 2009
- 8 replies
- 35284 views
Hi,
I am using BlazedDS remote objects in my application and following is the error I am getting.
faultCode:Server.Processing.DuplicateSessionDetected
faultString:'Detected duplicate HTTP - based FlexSessions, generally due to the remote host disabling session cookies. Session coolkies must be enable to manage the client connection correctly.'
faultDetail: 'null'
Along with this error I also get the following error most times.
faultCode:Server.Processing
faultString:'There was an unhandler failure on the server. The FlexSession is invalid.'
faultCode:'null'
My environment for the application is as follows:
Server - Websephere v6.1
Browser - IE 6, Mozilla 3.x. I have tried on both the browsers and it occurs in both of them.
Flex - Flex SDK - 3.2
Java - Java 5.0
My application is as follows:
I have configured BlazedDS on the server side to access remote objects to get data onto the client which is written in Flex/ActionScript.
when i run the application it seems to run fine. But at times the above error occurs. I am unable to reproduce this error AT WILL. I am not sure about the reason that this error seems to occur.
I have attached the config files for my application. The limit being 3 files the one remaining services-config.xml is as below:
<?xml version="1.0" encoding="UTF-8"?>
<services-config>
<services>
<service-include file-path="remoting-config.xml" />
<service-include file-path="proxy-config.xml" />
<service-include file-path="messaging-config.xml" />
</services>
<security>
<login-command class="flex.messaging.security.WebSphereLoginCommand" server="WebSphere"/>
</security>
<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"/>
<properties>
<polling-enabled>false</polling-enabled>
</properties>
</channel-definition>
<channel-definition id="my-secure-amf" class="mx.messaging.channels.SecureAMFChannel">
<endpoint url="https://{server.name}:{server.port}/{context.root}/messagebroker/amfsecure" class="flex.messaging.endpoints.SecureAMFEndpoint"/>
<properties>
<!--HTTPS requests on some browsers do not work when pragma "no-cache" are set-->
<add-no-cache-headers>false</add-no-cache-headers>
</properties>
</channel-definition>
<channel-definition id="my-polling-amf" class="mx.messaging.channels.AMFChannel">
<endpoint url="http://{server.name}:{server.port}/{context.root}/messagebroker/amfpolling" class="flex.messaging.endpoints.AMFEndpoint"/>
<properties>
<polling-enabled>true</polling-enabled>
<polling-interval-seconds>4</polling-interval-seconds>
</properties>
</channel-definition>
</channels>
<logging>
<target class="flex.messaging.log.ConsoleTarget" level="Error">
<properties>
<prefix>[BlazeDS] </prefix>
<includeDate>false</includeDate>
<includeTime>false</includeTime>
<includeLevel>false</includeLevel>
<includeCategory>false</includeCategory>
</properties>
<filters>
<pattern>Endpoint.*</pattern>
<pattern>Service.*</pattern>
<pattern>Configuration</pattern>
</filters>
</target>
</logging>
<system>
<redeploy>
<enabled>false</enabled>
</redeploy>
</system>
</services-config>
It has been quite some time that i have been unable to resolve the issue. Any help in resolving the issue is appreciated.
Thanks a bunch..!!
Please let me know if you need to know anything else regarding the issue.
