Share on Google+Share on Google+

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


 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

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  Plz let me know abt Clustering in Java with an example
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(
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
K-means clustering on WebLog Data, for 2-Dimenshional input
K-means clustering on WebLog Data, for 2-Dimenshional input  The following is a JSP code for K-MEANS CLUSTERING .... My proect , titled "Pattern... OF NUMBERS(X,Y) for K-MEANS CLUSTERING... the output of this is used for WEB CACHE
jboss sever
jboss sever  Hi how to configure data source in jboss server and connection pooling Thanks Kalins naik   JBoss Tutorials
jsp-jboss  where to keep jsp in jboss
SSL HttpsUrlConnection
SSL HttpsUrlConnection  Hi, My name is Luciano, I am trying to implement a ssl comunication between a desktop application and a web application. I unable the https on JBoss and I have two files ca.crt and server.crt, I install
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
how to install jboss drools
how to install jboss drools   how to install jboss drools
how to install jboss - EJB
how to install jboss  when i installed jboss at startup jboss generating errors . unable to run ejb3
JBoss Administrator
JBoss Administrator       Position Vacant: JBoss Administrator  Job Description  We are looking for JBoss Administrator to manage the JBoss based
JavaFX deployment in Jboss
JavaFX deployment in Jboss  Hi, How to deploy javafx application into JBoss
about jboss - Java Beginners
about jboss  can you please explain about to deploy,where the temp and lock is information about jboss to use in java message services(JMS
Jboss MQ ConnectionFactory - JMS
Jboss MQ ConnectionFactory  Iam Using jboss-5.0.0.Beta4 my quetion is that iam not able to get Jboss MQ ConnectionFactory object pls any suggest me how to get it on jboss-5.0.0.Beta4
jboss and struts - Struts
Deploy JBoss and Struts  how to deploy struts 2 applications in jboss 4... the WAR file to the /server/default/deploy folder.   Hello,You...;JBoss_home>/server/default/deploy folder.Jboss will automatically deploy
Jboss related linkage error
Jboss related linkage error  Please check below error when i run in jboss java.lang.LinkageError: loader constraint violation in interface itable... loader (instance of org/jboss/classloader/spi/base/BaseClassLoader
James Server and JBoss - JavaMail
James Server and JBoss  Hi Sir/Madam, How to set class path for James server and Jboss servers to run programs with clear examples. Please send the reply very urgent
JBoss and Sevlet - JSP-Servlet
JBoss and Sevlet  I am trying to get familar with JBoss. I package up... IsItWorking /gg/servlets I have JBoss installed and put my gg.war into G... do or change to get this servlet to run on JBoss 4.2.3. Thank you!  
what is the Difference between weblogic and jboss?
what is the Difference between weblogic and jboss?  what is the Difference between weblogic and jboss
jboss with local entity bean - Development process
. Is it a real problem with JBOSS 4.2 or are we going wrong somewhere? 2. Jboss...jboss with local entity bean  We are using eclipse version 3.4.0 for EJB 2.0 application development ( which has ready plug-in for jboss server
EJB2.0 in jboss - EJB
EJB2.0 in JBoss  How to Install EJB 2.0 in JBoss  Answer: You do this by using following steps such as :1. import jBoss into Visual Age for Java (VAJ) to develop and debug EJBs using Enterprise Java Beans standard
Struts - Jboss - I-Report - Struts
Struts - Jboss - I-Report  Hi i am a beginner in Java programming and in my application i wanted to generate a report (based on database) using Struts, Jboss , I Report
Connecting jboss with sql 2005 - Struts
Connecting jboss with sql 2005  Hai, i have project that was developed in struts,backed is sqlserver 2005 and and i am using jboss. I want to connect another database (sqlserver 2005) with my project.could u please help me
JBoss Tutorials: Learn JBoss Step by Step
JBoss Tutorials: Learn JBoss Step by Step JBoss or JavaBeans Open Source... known as WildFly. Written in Java , JBoss supports cross platform compatibility... developed by JBoss , presently it is a division of Red Hat. JBoss is open source
Invalid console appender in JBoss console
Invalid console appender in JBoss console  "ERROR: invalid console appender config detected, console stream is looping" The above is the error i am getting while starting the server after deploying the ear file into the jboss. I
which is better server for java applications? apache or jboss?
which is better server for java applications? apache or jboss?  which is better server? apache or jboss
JBoss Application Server
JBoss Application Server          JBoss is an open source Java EE-based application server. JBoss is cross-platform, usable on any operating system that supports Java
JBoss AS Training
JBoss AS Training     Description of JBoss Application Server  JBoss is a free, open source application... enterprise-class security, and resource management.  Nowdays, the Jboss
ssl client - JSP-Servlet
ssl client  How do you write SSL Client? Take example of SSL Socket Client


Advertisement null