• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Enabling session replication does not work jboss 4.3 EAP

 
Ranch Hand
Posts: 256
Netbeans IDE Firefox Browser Fedora
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have done below settings to enable session replication but it doesnot seems to work as its logging me out each time i stop one server to test replication.

Below are the settings apart from Apache loadbalancing settings:

JBoss Server config changes:
changed jboss-eap-4.3/jboss-as/server/all/deploy/jboss-web-cluster.sar/META-INF/jboss-service.xml

default ClusterName to MCLU

changed jboss-eap-4.3/jboss-as/server/all/deploy/jboss-web.deployer/server.xml



changed /opt/jboss-eap-4.3/jboss-as/server/all/deploy/jboss-messaging.sar/messaging-service.xml

Sucker password to a new password

Please tell me if I need to do anything to continue the replication between 2 jboss servers.

Am getting below exception while session is trying to replicate with the other server.

 
Ramakanta Sahoo
Ranch Hand
Posts: 256
Netbeans IDE Firefox Browser Fedora
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Somebody help me!!!

Does any one have any suggestions or answers???



 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You do realize that using JBoss EAP version gets you support from the JBoss support team, don't you? If this issue is critical then you can always get a quicker reply there.
 
Ramakanta Sahoo
Ranch Hand
Posts: 256
Netbeans IDE Firefox Browser Fedora
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have also posted in JBoss org forum but still no reply.
We are working on this for one of our client who uses EAP so we dont have a direct contact with support team.

 
Jaikiran Pai
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The log message says this:

java.io.NotSerializableException: java.util.PropertyResourceBundle



So your session contains a non serializable object and hence is failing during replication. You will have to remove non serializable objects from the sessions for replication to be successful.
 
Ramakanta Sahoo
Ranch Hand
Posts: 256
Netbeans IDE Firefox Browser Fedora
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I did a find /opt/jboss-eap-4.3 -name "*" -exec grep -il 'PropertyResourceBundle' '{}' \;

but only got below three places where it is used and non of the jar files are required for our app to run so I removed all the jarfiles and xml file but still getting the same error.

all\lib\hsqldb-plugin.jar
all\lib\hsqldb.jar
all\deploy\hsqldb-ds.xml

 
Jaikiran Pai
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It's not an issue about jar files. Some piece in your code is adding some object to the session (being replicated) which holds references to java.util.PropertyResourceBundle. You have to find out what the session contains while it is being replicated. A debugger might be a good idea to look into the contents of the session.

 
Ramakanta Sahoo
Ranch Hand
Posts: 256
Netbeans IDE Firefox Browser Fedora
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ok,

Is there any flag in JBOSS helping to skip non serializable objects from replication.

As we dont need replication of non serializable objects.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic