Filip,
I've got a basic implementation of this. Since I didn't want to change
Tomcat code, this is not the most elegant design.
Here's what I've done:
I created a ManualFailoverManager class, which extends StandardManager. This
is a copy of the BackupManager, with these changes:
1) In the
Yep, that was it exactly... I've been spoiled by frameworks :)
I did some experimentation myself, and dug a little in framework code, and
indeed, this has been taken care for me in the past, and I assumed it's done
by Tomcat (or any servlet container, for that matter), but it isn't.
Thanks,
Thanks, Chris,
Yes, this is an option, but we prefer being able to offload session at will.
However, if that proves to be too difficult to do, we may settle for the
behavior you describe.
Naaman
Christopher Schultz-2 wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Nilf,
nlif
Filip,
Thanks. If you could elaborate some more, then maybe I can go ahead and
implement this, and I'd be happy to send you the result, so you can use it
and save yourself some of the work.
Naaman
Filip Hanik - Dev Lists wrote:
nlif wrote:
Hi all,
We intend to run in a cluster
Hi all,
We intend to run in a cluster, with stickiness enabled, and without
replication. This of course does not give us failover capabilities, in case
of a server crash, but it is sufficient for our needs.
However, we would like to be able to transfer all sessions currently on one
node, to
Hi all,
I am using Tomcat 6, and I have the following problem:
I am trying to separate the static content from the dynamic content of my
application. In production, I intend to use Apache to serve the static
content, and Tomcat to process requests to the application (mainly JSP's).
This can be
post. The problem stems from the decision to
separate the web-app and static-content to two projects in SVN, and this is
due to the fact that different people maintain them.
Thanks anyway.
Caldarale, Charles R wrote:
From: nlif [mailto:[EMAIL PROTECTED]
Subject: How to serve two docBases
Schroeder-2 wrote:
On Thu, Oct 23, 2008 at 7:56 AM, nlif [EMAIL PROTECTED] wrote:
I am trying to separate the static content from the dynamic content of my
application. In production, I intend to use Apache to serve the static
content, and Tomcat to process requests to the application
Hi Chris,
Thanks for the link. I found the following workaround: instead of placing my
Proxy object in the HttpSession, I put it in a serializable wrapper class
first, and then put the wrapper in the HttpSession. The wrapper overrides
the default de-serialization to set a different class-loader
Hi all,
I am using Tomcat 6, and running in a cluster, with session-replication.
When I put in the session a JDK dynamic proxy, the serialization fails, like
so:
Apr 3, 2008 2:09:24 PM org.apache.catalina.ha.session.DeltaManager
messageReceived
SEVERE: Manager [localhost#/users]: Unable to
Christopher Schultz-2 wrote:
This doesn't look like the proxy is failing; it looks like the TestBean
class is not available to the receiving Tomcat instance. This happens on
the /other/ Tomcat, right (i.e. not the one where the object was put
into the session)?
Are you sure you put
Hi,
If I run Tomcat as embedded, is it possible for the application that
contains Tomcat to interact with web-apps that run inside that Tomcat? For
example, the external application, in addition to starting the embedded
Tomcat, also manages other services, and the web-apps that runs inside the
on the external
application and let the tomcat applications from webapps connect to it
and exchange sweet talk on a mutually agreed protocol.
On Wed, 2007-08-29 at 00:05 -0700, nlif wrote:
Hi,
If I run Tomcat as embedded, is it possible for the application that
contains Tomcat to interact with web
on
the
returned ServletContext will help?
Just a thought. Do let me know if it makes sense.
Sonal
On 8/29/07, nlif [EMAIL PROTECTED] wrote:
Hmm, I guess I did not explain myself very well...
I have an application, that acts as bootstrap: it creates and initializes
various services
14 matches
Mail list logo