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 Bin Liu <bl...@yahoo.com> on 2004/11/16 22:26:33 UTC
clustering
Hi,
I have tried clustering on Slide2.1b2 and works great.
However, I found the url has to be in the format of: http://host:port/slide, if I there is a WAR context in between, it won't work. eg. http://host:port/Warcontext/slide.
Is there way to get around this?
thanks
Bin
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Re: release date for Slide
Posted by Oliver Zeigermann <ol...@gmail.com>.
We haven't even one for Slide 2.1 final :( One thing for sure: 2.2 not
before 2005
Oliver
On Wed, 17 Nov 2004 11:51:06 -0800 (PST), Bin Liu <bl...@yahoo.com> wrote:
>
> Hi,
>
> Do we have a target date for release of Slide 2.2?
>
> thanks a lot!
>
> Bin
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org
release date for Slide
Posted by Bin Liu <bl...@yahoo.com>.
Hi,
Do we have a target date for release of Slide 2.2?
thanks a lot!
Bin
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
category support
Posted by Bin Liu <bl...@yahoo.com>.
Hi,
I am thinking to use Slide link node for categorizing content. I think I could use LinkNode, here is my question.
I have a content urder a URI, eg. /files/folder/document1.txt, and I want to create a link into /files/category/document1.txt, should I be using ObjectNode.addLink(linkNode)? I tried this, and nothing seems to happen. Another question for this, if I have the same document with both uri /files/folder/document1.txt and /files/category/document1.txt, does that mean the content of file in both locations are duplicated, or the binary(ascii) content of the document stores at primary linkNode, and second linkNode is just a pointer to the primary linkNode and thus don't cause the duplication of the same content data.
thanks
Bin
---------------------------------
Do you Yahoo!?
Discover all that�s new in My Yahoo!
Re: clustering
Posted by Bin Liu <bl...@yahoo.com>.
Thanks, I got it and made it working now!
Bin
James Mason <ma...@apache.org> wrote:
Bin,
Take a look at the Wiki or the javadoc for the ClusterCacheRefresher
http://wiki.apache.org/jakarta-slide/ClusterSupport
You should be able to modify the repository-domain parameter to include
your war context.
-James
On Fri, 2004-11-19 at 08:39 -0800, Bin Liu wrote:
> Hi James,
>
> I uncomment this following line in cluster support.
>
>
>
> > local-port="4444"
> repository-host="192.168.1.100"
> repository-port="9000"
> repository-protocol="http"
> username="root"
> password="root"
> base-uri="/files/"
> />
>
>
>
> It works great if I build and deploy the WAR without context. For example: the slide servlet can be accessed directly by http://localhost:8080/slide, cluster works fine, however, if I build and deploy a WAR with war context name, like: http://localhost:8080/WARcontext/slide to access slide servlet, all other configuration works except clustering. I keeps get errors like:
> SEVERE: Subscription for uri='/files/' failed. State: 501
> 11:27:15,819 INFO [STDOUT] Nov 19, 2004 11:27:15 AM org.apache.webdav.lib.Notif
> icationListener subscribe
> SEVERE: Subscription for uri='/files/' failed. State: 501
> 11:27:15,839 INFO [STDOUT] Nov 19, 2004 11:27:15 AM org.apache.webdav.lib.Notif
> icationListener subscribe
> SEVERE: Subscription for uri='/files/' failed. State: 501
> 11:27:15,849 INFO [STDOUT] Nov 19, 2004 11:27:15 AM org.apache.webdav.lib.Notif
> icationListener subscribe
> SEVERE: Subscription for uri='/files/' failed. State: 501
> 11:27:26,544 INFO [STDOUT] http-0.0.0.0-9000-Processor25, 19-Nov-2004 11:27:26,
> unauthenticated, GET, 200 "OK", 240 ms, /
>
> I misunderstood your previous reply "repository domain to "/Warcontext/slide"", thought "namespace" was the place to change, could you point me where is the "repository domain" configuration is?
>
> thanks
>
> Bin
>
> James Mason wrote:
> Bin,
>
> I'm confused about what you're trying to accomplish. Neither of those
> values has anything to do with clustering.
>
> -James
>
> On Thu, 2004-11-18 at 14:31 -0800, Bin Liu wrote:
> > Hi James,
> >
> > I tried "/Warcontext/slide" from both Domain.xml and web.xml, but still does not work.
> >
> > in web.xml
> >
> >
> namespace
>
> >
> >
> /mywar/slide
>
> > in Domain.xml
> >
> >
> >
> >
> > Seems to be a bug.
> >
> > thanks
> > Bin
> >
> > James Mason wrote:
> > Bin,
> >
> > If you can't use a combination of repository-domain and base-uri to get
> > the path you want, than it's probably a bug. You can try setting your
> > repository domain to "/Warcontext/slide", I think that should work.
> >
> > I don't have a setup where I can test this, so you're going to have to
> > let me know what does and does not work.
> >
> > -James
> >
> > On Tue, 2004-11-16 at 13:26 -0800, Bin Liu wrote:
> > > Hi,
> > >
> > > I have tried clustering on Slide2.1b2 and works great.
> > > However, I found the url has to be in the format of: http://host:port/slide, if I there is a WAR context in between, it won't work. eg. http://host:port/Warcontext/slide.
> > >
> > > Is there way to get around this?
> > >
> > > thanks
> > > Bin
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: slide-user-help@jakarta.apache.org
> >
> >
> >
> > ---------------------------------
> > Do you Yahoo!?
> > Discover all thats new in My Yahoo!
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-user-help@jakarta.apache.org
>
>
>
> ---------------------------------
> Do you Yahoo!?
> The all-new My Yahoo! Get yours free!
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Re: clustering
Posted by James Mason <ma...@apache.org>.
Bin,
Take a look at the Wiki or the javadoc for the ClusterCacheRefresher
http://wiki.apache.org/jakarta-slide/ClusterSupport
You should be able to modify the repository-domain parameter to include
your war context.
-James
On Fri, 2004-11-19 at 08:39 -0800, Bin Liu wrote:
> Hi James,
>
> I uncomment this following line in cluster support.
> <!-- Uncomment for cluster support. Be sure to local-host and repository-host -->
> <listener classname="org.apache.slide.cluster.ClusterCacheRefresher">
> <configuration>
> <node local-host="192.168.1.100"
> local-port="4444"
> repository-host="192.168.1.100"
> repository-port="9000"
> repository-protocol="http"
> username="root"
> password="root"
> base-uri="/files/"
> />
> </configuration>
> </listener>
>
> It works great if I build and deploy the WAR without context. For example: the slide servlet can be accessed directly by http://localhost:8080/slide, cluster works fine, however, if I build and deploy a WAR with war context name, like: http://localhost:8080/WARcontext/slide to access slide servlet, all other configuration works except clustering. I keeps get errors like:
> SEVERE: Subscription for uri='/files/' failed. State: 501
> 11:27:15,819 INFO [STDOUT] Nov 19, 2004 11:27:15 AM org.apache.webdav.lib.Notif
> icationListener subscribe
> SEVERE: Subscription for uri='/files/' failed. State: 501
> 11:27:15,839 INFO [STDOUT] Nov 19, 2004 11:27:15 AM org.apache.webdav.lib.Notif
> icationListener subscribe
> SEVERE: Subscription for uri='/files/' failed. State: 501
> 11:27:15,849 INFO [STDOUT] Nov 19, 2004 11:27:15 AM org.apache.webdav.lib.Notif
> icationListener subscribe
> SEVERE: Subscription for uri='/files/' failed. State: 501
> 11:27:26,544 INFO [STDOUT] http-0.0.0.0-9000-Processor25, 19-Nov-2004 11:27:26,
> unauthenticated, GET, 200 "OK", 240 ms, /
>
> I misunderstood your previous reply "repository domain to "/Warcontext/slide"", thought "namespace" was the place to change, could you point me where is the "repository domain" configuration is?
>
> thanks
>
> Bin
>
> James Mason <ma...@apache.org> wrote:
> Bin,
>
> I'm confused about what you're trying to accomplish. Neither of those
> values has anything to do with clustering.
>
> -James
>
> On Thu, 2004-11-18 at 14:31 -0800, Bin Liu wrote:
> > Hi James,
> >
> > I tried "/Warcontext/slide" from both Domain.xml and web.xml, but still does not work.
> >
> > in web.xml
> >
> >
> namespace
>
> >
> >
> /mywar/slide
>
> > in Domain.xml
> >
> >
> >
> >
> > Seems to be a bug.
> >
> > thanks
> > Bin
> >
> > James Mason wrote:
> > Bin,
> >
> > If you can't use a combination of repository-domain and base-uri to get
> > the path you want, than it's probably a bug. You can try setting your
> > repository domain to "/Warcontext/slide", I think that should work.
> >
> > I don't have a setup where I can test this, so you're going to have to
> > let me know what does and does not work.
> >
> > -James
> >
> > On Tue, 2004-11-16 at 13:26 -0800, Bin Liu wrote:
> > > Hi,
> > >
> > > I have tried clustering on Slide2.1b2 and works great.
> > > However, I found the url has to be in the format of: http://host:port/slide, if I there is a WAR context in between, it won't work. eg. http://host:port/Warcontext/slide.
> > >
> > > Is there way to get around this?
> > >
> > > thanks
> > > Bin
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: slide-user-help@jakarta.apache.org
> >
> >
> >
> > ---------------------------------
> > Do you Yahoo!?
> > Discover all thats new in My Yahoo!
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-user-help@jakarta.apache.org
>
>
>
> ---------------------------------
> Do you Yahoo!?
> The all-new My Yahoo! Get yours free!
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org
Re: version control statement in two different locations
Posted by James Mason <ma...@apache.org>.
org.apache.slide.versioncontrol turns on/off the versioncontrol system
in Slide. The auto-version-control property controls whether newly added
resources are version controlled, or whether the user must explicitly
put each resource under version control.
-James
On Fri, 2004-11-19 at 13:20 -0800, Bin Liu wrote:
> Hi,
>
> Could anybody tell me what's the difference between
>
> org.apache.slide.versioncontrol=false in slide.properties
>
> and
> <parameter name="auto-version-control">true</parameter> in Domain.xml
> ?
>
> Seems they are redundent each other.
>
> thanks
>
> Bin
>
>
> ---------------------------------
> Do you Yahoo!?
> The all-new My Yahoo! Get yours free!
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org
version control statement in two different locations
Posted by Bin Liu <bl...@yahoo.com>.
Hi,
Could anybody tell me what's the difference between
org.apache.slide.versioncontrol=false in slide.properties
and
<parameter name="auto-version-control">true</parameter> in Domain.xml
?
Seems they are redundent each other.
thanks
Bin
---------------------------------
Do you Yahoo!?
The all-new My Yahoo! � Get yours free!
Re: clustering
Posted by Bin Liu <bl...@yahoo.com>.
Hi James,
I uncomment this following line in cluster support.
<!-- Uncomment for cluster support. Be sure to local-host and repository-host -->
<listener classname="org.apache.slide.cluster.ClusterCacheRefresher">
<configuration>
<node local-host="192.168.1.100"
local-port="4444"
repository-host="192.168.1.100"
repository-port="9000"
repository-protocol="http"
username="root"
password="root"
base-uri="/files/"
/>
</configuration>
</listener>
It works great if I build and deploy the WAR without context. For example: the slide servlet can be accessed directly by http://localhost:8080/slide, cluster works fine, however, if I build and deploy a WAR with war context name, like: http://localhost:8080/WARcontext/slide to access slide servlet, all other configuration works except clustering. I keeps get errors like:
SEVERE: Subscription for uri='/files/' failed. State: 501
11:27:15,819 INFO [STDOUT] Nov 19, 2004 11:27:15 AM org.apache.webdav.lib.Notif
icationListener subscribe
SEVERE: Subscription for uri='/files/' failed. State: 501
11:27:15,839 INFO [STDOUT] Nov 19, 2004 11:27:15 AM org.apache.webdav.lib.Notif
icationListener subscribe
SEVERE: Subscription for uri='/files/' failed. State: 501
11:27:15,849 INFO [STDOUT] Nov 19, 2004 11:27:15 AM org.apache.webdav.lib.Notif
icationListener subscribe
SEVERE: Subscription for uri='/files/' failed. State: 501
11:27:26,544 INFO [STDOUT] http-0.0.0.0-9000-Processor25, 19-Nov-2004 11:27:26,
unauthenticated, GET, 200 "OK", 240 ms, /
I misunderstood your previous reply "repository domain to "/Warcontext/slide"", thought "namespace" was the place to change, could you point me where is the "repository domain" configuration is?
thanks
Bin
James Mason <ma...@apache.org> wrote:
Bin,
I'm confused about what you're trying to accomplish. Neither of those
values has anything to do with clustering.
-James
On Thu, 2004-11-18 at 14:31 -0800, Bin Liu wrote:
> Hi James,
>
> I tried "/Warcontext/slide" from both Domain.xml and web.xml, but still does not work.
>
> in web.xml
>
>
namespace
>
>
/mywar/slide
> in Domain.xml
>
>
>
>
> Seems to be a bug.
>
> thanks
> Bin
>
> James Mason wrote:
> Bin,
>
> If you can't use a combination of repository-domain and base-uri to get
> the path you want, than it's probably a bug. You can try setting your
> repository domain to "/Warcontext/slide", I think that should work.
>
> I don't have a setup where I can test this, so you're going to have to
> let me know what does and does not work.
>
> -James
>
> On Tue, 2004-11-16 at 13:26 -0800, Bin Liu wrote:
> > Hi,
> >
> > I have tried clustering on Slide2.1b2 and works great.
> > However, I found the url has to be in the format of: http://host:port/slide, if I there is a WAR context in between, it won't work. eg. http://host:port/Warcontext/slide.
> >
> > Is there way to get around this?
> >
> > thanks
> > Bin
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-user-help@jakarta.apache.org
>
>
>
> ---------------------------------
> Do you Yahoo!?
> Discover all thats new in My Yahoo!
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org
---------------------------------
Do you Yahoo!?
The all-new My Yahoo! � Get yours free!
Re: clustering
Posted by James Mason <ma...@apache.org>.
Bin,
I'm confused about what you're trying to accomplish. Neither of those
values has anything to do with clustering.
-James
On Thu, 2004-11-18 at 14:31 -0800, Bin Liu wrote:
> Hi James,
>
> I tried "/Warcontext/slide" from both Domain.xml and web.xml, but still does not work.
>
> in web.xml
>
> <param-name>namespace</param-name>
>
> <param-value>/mywar/slide</param-value>
> in Domain.xml
>
> <slide>
>
> <namespace name="/mywar/slide">
> Seems to be a bug.
>
> thanks
> Bin
>
> James Mason <ma...@apache.org> wrote:
> Bin,
>
> If you can't use a combination of repository-domain and base-uri to get
> the path you want, than it's probably a bug. You can try setting your
> repository domain to "/Warcontext/slide", I think that should work.
>
> I don't have a setup where I can test this, so you're going to have to
> let me know what does and does not work.
>
> -James
>
> On Tue, 2004-11-16 at 13:26 -0800, Bin Liu wrote:
> > Hi,
> >
> > I have tried clustering on Slide2.1b2 and works great.
> > However, I found the url has to be in the format of: http://host:port/slide, if I there is a WAR context in between, it won't work. eg. http://host:port/Warcontext/slide.
> >
> > Is there way to get around this?
> >
> > thanks
> > Bin
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-user-help@jakarta.apache.org
>
>
>
> ---------------------------------
> Do you Yahoo!?
> Discover all thats new in My Yahoo!
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org
Re: clustering
Posted by Bin Liu <bl...@yahoo.com>.
Hi James,
I tried "/Warcontext/slide" from both Domain.xml and web.xml, but still does not work.
in web.xml
<param-name>namespace</param-name>
<param-value>/mywar/slide</param-value>
in Domain.xml
<slide>
<namespace name="/mywar/slide">
Seems to be a bug.
thanks
Bin
James Mason <ma...@apache.org> wrote:
Bin,
If you can't use a combination of repository-domain and base-uri to get
the path you want, than it's probably a bug. You can try setting your
repository domain to "/Warcontext/slide", I think that should work.
I don't have a setup where I can test this, so you're going to have to
let me know what does and does not work.
-James
On Tue, 2004-11-16 at 13:26 -0800, Bin Liu wrote:
> Hi,
>
> I have tried clustering on Slide2.1b2 and works great.
> However, I found the url has to be in the format of: http://host:port/slide, if I there is a WAR context in between, it won't work. eg. http://host:port/Warcontext/slide.
>
> Is there way to get around this?
>
> thanks
> Bin
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org
---------------------------------
Do you Yahoo!?
Discover all that�s new in My Yahoo!
Re: clustering
Posted by James Mason <ma...@apache.org>.
Bin,
If you can't use a combination of repository-domain and base-uri to get
the path you want, than it's probably a bug. You can try setting your
repository domain to "/Warcontext/slide", I think that should work.
I don't have a setup where I can test this, so you're going to have to
let me know what does and does not work.
-James
On Tue, 2004-11-16 at 13:26 -0800, Bin Liu wrote:
> Hi,
>
> I have tried clustering on Slide2.1b2 and works great.
> However, I found the url has to be in the format of: http://host:port/slide, if I there is a WAR context in between, it won't work. eg. http://host:port/Warcontext/slide.
>
> Is there way to get around this?
>
> thanks
> Bin
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org