Problem in Blazeds with Jboss Clustering ( Mod_JK with SSL )

Ads

 
 

Share on Google+Share on Google+

shiv aryan
Problem in Blazeds with Jboss Clustering ( Mod_JK with SSL )
0 Answer(s)      5 years and 9 months ago
Posted in : Flex

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

Ads
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 deployment problem - Java Server Faces Questions
JBoss deployment problem  I have .war file is successfully running with Tomact server 6.0 form eclipse . I have able to start the jboss,but not able to deploy the same .war file which is running @ tomact. Q1:: how to runnin
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
JBoss deployment problem for jsf - Java Server Faces Questions
JBoss deployment problem for jsf  HI all, I am unable to deploy the .war file with richfacess implemnation of jst. Get foolowing eror 2009-09-16 12:58:27,272 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web
Version of com.brettonw>clustering dependency
List of Version of com.brettonw>clustering dependency
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
Maven Dependency clustering >> 1.0.0
You should include the dependency code given in this page to add Maven Dependency of com.brettonw >> clustering version1.0.0 in your project
Version of jboss>jboss dependency
List of Version of jboss>jboss dependency
Maven Dependency geronimo-clustering >> 1.0-M3
You should include the dependency code given in this page to add Maven Dependency of geronimo >> geronimo-clustering version1.0-M3 in your project
Maven Dependency geronimo-clustering >> 1.0-M1
You should include the dependency code given in this page to add Maven Dependency of geronimo >> geronimo-clustering version1.0-M1 in your project
Maven Dependency geronimo-clustering >> 1.0-M2
You should include the dependency code given in this page to add Maven Dependency of geronimo >> geronimo-clustering version1.0-M2 in your project
Maven Dependency geronimo-clustering >> 1.0-M4
You should include the dependency code given in this page to add Maven Dependency of geronimo >> geronimo-clustering version1.0-M4 in your project
Maven Dependency geronimo-clustering >> 1.0-M5
You should include the dependency code given in this page to add Maven Dependency of geronimo >> geronimo-clustering version1.0-M5 in your project
Maven Dependency hierarchical-clustering >> 1.0.3
You should include the dependency code given in this page to add Maven Dependency of com.apporiented >> hierarchical-clustering version1.0.3 in your project
Maven Dependency hierarchical-clustering >> 1.1.0
You should include the dependency code given in this page to add Maven Dependency of com.apporiented >> hierarchical-clustering version1.1.0 in your project
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-iiop dependency
List of Version of jboss>jboss-iiop dependency
Version of jboss>jboss-jmx dependency
List of Version of jboss>jboss-jmx dependency
Version of jboss>jboss-remoting dependency
List of Version of jboss>jboss-remoting dependency
Version of jboss>jboss-transaction dependency
List of Version of jboss>jboss-transaction dependency
Version of jboss>jboss-annotations-ejb3 dependency
List of Version of jboss>jboss-annotations-ejb3 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-jaas dependency
List of Version of jboss>jboss-jaas dependency
Version of jboss>jboss-management dependency
List of Version of jboss>jboss-management dependency

Ads

 
Advertisement null

Ads