Problem in Blazeds with Jboss Clustering ( Mod_JK with SSL )
We are running our flex application in jboss clustering environment with the help of Apache mod_jk(Apache Web server as front end with mod_ssl enabled). We are using the SecureAMFChannel as we deploy the application in SSL. We use the RemoteObject for communicating with Java.
The Application is running fine when we have only one node of JBoss. But once we add one more node to the cluster the application throws the following exception .
Duplicate HTTP-based FlexSession error: A request for FlexClient 'FDCA49A7-9317-4D8A-881F-9248B1136E7A' arrived over a new FlexSession 'C9C563B8266A03C2207C00796CD7DFF1', but FlexClient is already associated with FlexSession '8A328320F5C530D55E94568996A1B552', therefore it cannot be associated with the new session.
As I am maintaing the session in the server, I need to use the JBoss cluster for session replication. I heard that flex clustering is not needed as we have mod_jk and it will do all the stuff for us.
I checked with simple application without any session data also then too I faced the same problem.
After the very first login, I can see 2 session created simultaneously and destroyed. I checked the application whether it calls twice before the session is created, but it is calling only once.
Also when application connects with server2 and if I down the server2 my flex application throws the error that the server is not found, It is not detecting the other server.But it works once I refresh the browser.
Application Environment Details
Blaze Ds 4.5
Apache Web server 2.2.21
I enabled the sticky session in Mod_jk . It is working when the connection is not secure(http) in both apache web server and jboss web server ). But when the connection is https the above problem is happening . Message was edited by: suresh.thirumurugan
Related Tutorials/Questions & Answers:
Clustering Plz let me know abt Clustering
in Java with an example
coursera clustering Hi,
I am beginner in Data Science and machine learning field. I am searching for
the tutorials to learn:
Try to provide me good examples or tutorials links so that I can learn
how to configure data source in jboss
server and connection pooling
jsp-jboss where to keep jsp in jboss
JBoss Unix and Line Separator
used \r\n, \015\012 , \0d\0a but none solve my problem
just understand \r...JBoss
Unix and Line Separator Hi, I am trying to solve an critical problem
. I have an application which write a batch file using the method println