clustering

Application throws NotSerializableException when run on an jboss cluster

Environment: JBoss 5.1.0, JBoss Seam 2.2.0 While trying to get my application running in a clustered environment after login I am getting the following exception. Post login we try to store the currentUser in jboss seam session context. java.io.NotSerializableException: org.jboss.seam.util.AnnotatedBeanProperty How to resolve this? ...

log4j with multiple WebLogic instances

Hi all, I'm creating a Java Web Services application. I intend to run multiple instances of WebLogic on each machine in a cluster. I'd like each application instance to write to its own log file, but I'm not sure how to do so without creating instance specific log4j properties files. Is there some way for me to dynamically determine th...

Clustering with bigkmeans from bigmemory package in R?

I recently started experimenting with the biganalytics package for R. I ran into a problem however... I am trying to run bigkmeans with a cluster number of about 2000 e.g clust <- bigkmeans(mymatrix, centers=2000) However, I get the following error: Error in 1:(10 + 2^k) : result would be too long a vector Can someone maybe give me a...

How much time does Tomcat take to replicate sessions on redeploy

Hi everyone, We have a Tomcat cluster with two instances (version 5.5.25) running on a single machine. We use this to make sure our web page is available and that all sessions survive during redeployment. We were wondering if sessions could be lost during this procedure. Here is what we do: a) Application is running on tomcatA and t...

Clustering on tomcat with spring

Hello! I have a Spring web application with singleton services. There're also some singleton variables such as map with session data for all authenticated users and so on. That all works nice on one server, but how could this system be distributed between a few servers? The system runs under Tomcat. Thanks in advance! ...

OpenCV 1.1 K-Means Clustering in High Dimensional Spaces

Hi I am trying to write a bag of features system image recognition system. One step in the algorithm is to take a larger number of small image patches (say 7x7 or 11x11 pixels) and try to cluster them into groups that look similar. I get my patches from an image, turn them into gray-scale floating point image patches, and then try to ge...

How Cassandra handle part of cluster desynchronization?

What is going one when parts of the cluster don't see each other? For example: when 3/7 of cluster can't communicate with 4/7 cluster for coupe of hours. Each part of cluster use "hinted handof" for other one part? The data is rebalanced and replicated in each part of cluster? If I balance clients to each part of cluster for writes, aft...

Create a summary description of a schedule given a list of shifts

Assuming I have a list of shifts for an event (in the format start date/time, end date/time) - is there some sort of algorithm I could use to create a generalized summary of the schedule? It is quite common for most of the shifts to fall into some sort of common recurrence pattern (ie. Mondays from 9:00 am to 1:00 pm, Tuesdays from 10:00...

Clustering JVM.

Hi Guys, I have a situation where I need to induce asynchronous behavior in a synchronous application. To elaborate, there is a monolithic c++ application which synchronously produces pricing for complex derivative products. This c++ app comes with a java wrapper which my app uses to interact with it. Current Design My APP <------> J...

ViewExpired exception while trying to load balance http requests

I am trying to run the jboss server (5.1.0) in clustered mode. I am having two nodes in the same host. When i access the two nodes as separate URLs it works well. I am using a Apache HTTP server to load balance my requests using the Proxy balancer (with proxy pass, proxy reverse configurations). When I access the Apache server URL, it t...

clustering on very large sparse matrix?

Hello again, I am trying to do some (k-means) clustering on a very large matrix. The matrix is approximately 500000 rows x 4000 cols yet very sparse (only a couple of "1" values per row). I want to get around 2000 clusters. I got two questions: - Can someone recommend an open source platform or tool for doing that (maybe using k-means...

Image similarity and k-mean clustering ...

Hi I'm playing a little bit with image similarity. In fact i'm playing with image retrieval system. Ideally i wanna to create some kind of image index that I can query to get similar images. My current thought is to store some kind of ImageDescriptor into index and each descriptor can have different features in it, e.g. k-mean-cluster-...

Does SQL Server 2008 Enterprise Edition trial version supports clustering and auditing?

I am going to download SQL Server 2008 Enterprise Edition trial version, my doubt is does this trial version fully functional or some limited functionalities? Does it supports Audit and Clustering features? ...

JBoss Cluster setup with Hudson?

I want to have a Hudson setup that has two cluster nodes with JBoss. There is already a test machine with Hudson and it is running the nightly build and tests. At the moment the application is deployed on the Hudson box. There are couple options in my mind. One could be to use SCPplugin for Hudson to copy the ear file over from master t...

How to use NLP to separate a unstructured text content into distinct paragraphs ?

The following unstructured text has three distinct themes -- Stallone, Philadelphia and the American Revolution. But which algorithm or technique would you use to separate this content into distinct paragraphs? Classifiers won't work in this situation. I also tried to use Jaccard Similarity analyzer to find distance between successive ...

Visualize data and clustering

Hi, i am currently writing a python script to find the similarity between documents.I have already calculated the similarities score for each document pairs and store them in dictionaries. It looks something like this: {(8328, 8327): 1.0, (8313, 8306): 0.12405229825691289, (8329, 8328): 1.0, (8322, 8321): 0.99999999999999989, (8328, 832...

Visualize and clustering

Earlier on i post a question about visualization and clustering. I guess my question was not quite clear enough so I post it again. I hope i make a better explanation this time . I also apologize for not "accept answer" for my old questions. I didn't know i can do that until a guy point it out. I will definitely do it from now on. Oka...

Quartz & Spring - Clustered but NOT Persistent?

In my Spring application I'm using the SchedulerFactoryBean to integrate with Quartz. We're going to have clustered Tomcat instances, and thus I want to have a clustered Quartz environment, so that the same jobs don't run at the same time on different web servers. To do this, my app-context.xml is as follows: <bean class="org.springfra...

Setting up MSMQ for clustering

Can someone point me to some good resources about setting up MSMQ for queue clustering? I'm interested in help with: Actually setting up the clustered MSMQ nodes, and making it function Setting up an application to send messages to a clustered queue. Setting up applications (at least 2) to read from the same clustered queue. ...

Using Hibernate between different threads,JVMs and servers

Hi, I'm working on a system which has a 4 modules, each working on its own server and each should be able to clustered. What I basically need is to have the ability to work on the same entities on the different modules and have them update appropriately when changes occur on different threads,JVMs and servers. I've heard, mostly as a b...