You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by Peder Nordvaller <pe...@vitaminapplications.se> on 2003/06/23 14:30:17 UTC
multiple access to single namespace/store
I'm running two servlets using the same slide domain/namespace for both. The first one a modified version of the WebDAV servlet that comes with slide to allow DAV access to the namespace, basically does the same as the one that comes in the src-package. The other one is a servlet meant to use slide as cms-system for an application.
The problem I have is that if I add a node for example via one of the servlets, it doesn't appear in the other unless I restart tomcat and lets the servlets load all the database-info from scratch. I'm running mysql as nodestore and FileContentStore as contentstore. What am I doing wrong?
Sincerely, Peder
Re: multiple access to single namespace/store
Posted by Peder Nordvaller <pe...@vitaminapplications.se>.
Ah, that's true - placed all jars in the common/lib and works fine now,
thanks!
Peder
----- Original Message -----
From: "Martin Holz" <ho...@fiz-chemie.de>
To: <sl...@jakarta.apache.org>
Sent: Monday, June 23, 2003 3:25 PM
Subject: Re: multiple access to single namespace/store
> "Peder Nordvaller" <pe...@vitaminapplications.se> writes:
>
> > I'm running two servlets using the same slide domain/namespace for both.
The first one a modified version of the WebDAV servlet that comes with slide
to allow DAV access to the namespace, basically does the same as the one
that comes in the src-packag
> e. The other one is a servlet meant to use slide as cms-system for an
application.
> >
> > The problem I have is that if I add a node for example via one of the
servlets, it doesn't appear in the other unless I restart tomcat and lets
the servlets load all the database-info from scratch. I'm running mysql as
nodestore and FileContentStore a
> s contentstore. What am I doing wrong?
>
>
> How do you start slide? You must make sure, that there is only one
instance of
> Domain running. I guess you started two indendent ones. Both servlet
> must load all slide classes through the same classloader. Either put both
> servlets into the same servlet context or put all slide jars into
> $CATALINA_HOME/common/lib (or whereever shared libs reside in your
> servlet container).
>
> --
> Martin Holz <ho...@fiz-chemie.de>
>
> Softwareentwicklung / Vernetztes Studium - Chemie
> FIZ CHEMIE Berlin
> Franklinstrasse 11
> D-10587 Berlin
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org
Re: multiple access to single namespace/store
Posted by Martin Holz <ho...@fiz-chemie.de>.
"Peder Nordvaller" <pe...@vitaminapplications.se> writes:
> I'm running two servlets using the same slide domain/namespace for both. The first one a modified version of the WebDAV servlet that comes with slide to allow DAV access to the namespace, basically does the same as the one that comes in the src-package. The other one is a servlet meant to use slide as cms-system for an application.
>
> The problem I have is that if I add a node for example via one of the servlets, it doesn't appear in the other unless I restart tomcat and lets the servlets load all the database-info from scratch. I'm running mysql as nodestore and FileContentStore as contentstore. What am I doing wrong?
How do you start slide? You must make sure, that there is only one instance of
Domain running. I guess you started two indendent ones. Both servlet
must load all slide classes through the same classloader. Either put both
servlets into the same servlet context or put all slide jars into
$CATALINA_HOME/common/lib (or whereever shared libs reside in your
servlet container).
--
Martin Holz <ho...@fiz-chemie.de>
Softwareentwicklung / Vernetztes Studium - Chemie
FIZ CHEMIE Berlin
Franklinstrasse 11
D-10587 Berlin
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org