Problem in Blazeds with Jboss Clustering ( Mod_JK with SSL )

Problem in Blazeds with Jboss Clustering ( Mod_JK with SSL )

Hi,

 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

JBoss 6

Blaze Ds 4.5

Apache Web server 2.2.21

Mod_JK 1.2.32

Mod_SSL 2.8.31

Thanks, Suresh T

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

View Answers

Ads









Related Tutorials/Questions & Answers:
Problem in Blazeds with Jboss Clustering ( Mod_JK with SSL )
Problem in Blazeds with Jboss Clustering ( Mod_JK with SSL )  Hi... of Apache mod_jk(Apache Web server as front end with mod_ssl enabled). We... clustering is not needed as we have mod_jk and it will do all the stuff for us
Clustering
Clustering  Plz let me know abt Clustering in Java with an example
Advertisements
JBOSS Startup Problem - StandardWrapper.Throwable java.lang.NullPointerException at java.util.Hashtable.put(Hashtable.java:394)
JBOSS Startup Problem - StandardWrapper.Throwable... am new to Rose India and also new to JBOSS. I have a problem in JBOSS Starting. I am using JBOSS -4.0.5 version, Java JDK 1.6.0_10 and connecting to Sybase
Version of jboss>jboss dependency
List of Version of jboss>jboss dependency
coursera clustering
coursera clustering  Hi, I am beginner in Data Science and machine learning field. I am searching for the tutorials to learn: coursera clustering Try to provide me good examples or tutorials links so that I can learn
Version of com.brettonw>clustering dependency
List of Version of com.brettonw>clustering dependency
Version of jboss>jboss-annotations-ejb3 dependency
List of Version of jboss>jboss-annotations-ejb3 dependency
Version of jboss>jboss-aop-jdk50-client dependency
List of Version of jboss>jboss-aop-jdk50-client dependency
Version of jboss>jboss-boot dependency
List of Version of jboss>jboss-boot dependency
Version of jboss>jboss-cache dependency
List of Version of jboss>jboss-cache dependency
Version of jboss>jboss-cache-jdk50 dependency
List of Version of jboss>jboss-cache-jdk50 dependency
Version of jboss>jboss-client dependency
List of Version of jboss>jboss-client dependency
Version of jboss>jboss-common dependency
List of Version of jboss>jboss-common dependency
Version of jboss>jboss-parent dependency
List of Version of jboss>jboss-parent dependency
Version of jboss>jboss-iiop dependency
List of Version of jboss>jboss-iiop dependency
Version of jboss>jboss-jaas dependency
List of Version of jboss>jboss-jaas dependency
Version of jboss>jboss-jmx dependency
List of Version of jboss>jboss-jmx dependency
Version of jboss>jboss-management dependency
List of Version of jboss>jboss-management dependency
Version of jboss>jboss-minimal dependency
List of Version of jboss>jboss-minimal dependency
Version of jboss>jboss-remoting dependency
List of Version of jboss>jboss-remoting dependency
Version of jboss>jboss-serialization dependency
List of Version of jboss>jboss-serialization dependency
Version of jboss>jboss-system dependency
List of Version of jboss>jboss-system dependency
Version of jboss>jboss-transaction dependency
List of Version of jboss>jboss-transaction dependency
jboss sever
jboss sever  Hi how to configure data source in jboss server and connection pooling Thanks Kalins naik   JBoss Tutorials
jsp-jboss
jsp-jboss  where to keep jsp in jboss
Version of geronimo>geronimo-clustering dependency
List of Version of geronimo>geronimo-clustering dependency
Version of com.apporiented>hierarchical-clustering dependency
List of Version of com.apporiented>hierarchical-clustering dependency
JBoss Unix and Line Separator
used \r\n, \015\012 , \0d\0a but none solve my problem, Jboss 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
ModuleNotFoundError: No module named 'cec-clustering'
ModuleNotFoundError: No module named 'cec-clustering'  Hi, My... named 'cec-clustering' How to remove the ModuleNotFoundError: No module named 'cec-clustering' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'cec-clustering'
ModuleNotFoundError: No module named 'cec-clustering'  Hi, My... named 'cec-clustering' How to remove the ModuleNotFoundError: No module named 'cec-clustering' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'clustering-jhk'
ModuleNotFoundError: No module named 'clustering-jhk'  Hi, My... named 'clustering-jhk' How to remove the ModuleNotFoundError: No module named 'clustering-jhk' error? Thanks   Hi, In your python

Ads