Tanks for your reply.
You are quite right, there must be better ways to do this than the
approach that I've
been following. But the application evolved from running on a single
computer to a cluster, and
things was not so straight forward as I thought getting a application in
a cluster
So
approach the problem from a different angle:
why do you need to store the data source in a replicated object? there
are so many other places you can store them :)
Filip
Dag Bjerkeli wrote:
I have defined my datasource parameters in context.xml. I've
initialized the datasource objects
in th
I have defined my datasource parameters in context.xml. I've
initialized the datasource objects
in the constructor where I need them. I'm using Tomcat 5.5.17.
As I have experienced the constructor does not get activated when a
object is replicated, so
my idea is to implement readObject() for