[prev in list] [next in list] [prev in thread] [next in thread] 

List:       slide-user
Subject:    Re: Creating a different store for each different user
From:       "Ben Smith" <ode2jesus () gmail ! com>
Date:       2006-03-20 21:34:04
Message-ID: 6db8a8650603201334m330646bai269ee23dbcd077e6 () mail ! gmail ! com
[Download RAW message or body]

Hi Michael,

Did you get a chance to read the exception in the weekend? Thanks.

Ben

On 3/16/06, Michael Oliver <ollie@alariussystems.com> wrote:
> Start with the Domain.xml with the default Tx* stores as you did.  Then just
> change the descriptor/meta store to the Derby adapter to JDBC store.
>
> I can't help beyond that until this weekend.
>
> Michael Oliver
> CTO
> Alarius Systems LLC
> 6800 E. Lake Mead Blvd, #1096
> Las Vegas, NV 89156
> Phone:(702)866-9034
> Cell:(518)378-6154
> Fax:(702)974-0341
>
>
> -----Original Message-----
> From: Ben Smith [mailto:ode2jesus@gmail.com]
> Sent: Thursday, March 16, 2006 9:21 AM
> To: ollie@alariussystems.com; slide-user@jakarta.apache.org
> Subject: Re: Creating a different store for each different user
>
> Hi Michael,
>
> Thanks for reply.  I know you are busy. Just tell me any idea you have
> about what might be and how I can try like this one.
>
> I have tried the default domain.xml.  No problem.  I didn't see
> exceptions.  I could visit http://localhost:8080/myslide and saw all
> folders (files, users, projector, etc.). The problem comes when I
> switch to use the Domain.xml downloaded from your tutorials. (I
> changed the database from c:/java/slide-2.1/slide) to my database.
>
> Can you give me some idea what the problem might be ?
>
> Thanks for help.
>
> Ben
>
> On 3/16/06, Michael Oliver <ollie@alariussystems.com> wrote:
> > Hmmm, first try to use the default Tx* stores for a filesystem.  Then
> change
> > just the Descriptors store to use Derby and see what you get.  I will try
> it
> > this weekend if I have time.
> >
> > Michael Oliver
> > CTO
> > Alarius Systems LLC
> > 6800 E. Lake Mead Blvd, #1096
> > Las Vegas, NV 89156
> > Phone:(702)866-9034
> > Cell:(518)378-6154
> > Fax:(702)974-0341
> >
> >
> > -----Original Message-----
> > From: Ben Smith [mailto:ode2jesus@gmail.com]
> > Sent: Thursday, March 16, 2006 8:59 AM
> > To: Slide Users Mailing List; ollie@alariussystems.com
> > Subject: Re: Creating a different store for each different user
> >
> > Hi Michael,
> >
> > I got a new problem. The previous one was that I forgot to set up a
> > database before running the sql in IJ.
> >
> > Please help with my new problem. It is the exceptions thrown in Tomcat
> > logs after I deployed the built .war and restart Tomcat.
> > ------------------------------------------------
> > 2006-03-16 01:33:48 StandardContext[/slidedb]webdav: Could not initialize
> > domain
> > org.apache.slide.common.DomainInitializationFailedError: Domain
> > initialization error
> >        at org.apache.slide.common.Domain.init(Domain.java:437)
> >        at org.apache.slide.common.Domain.init(Domain.java:366)
> >        at org.apache.slide.common.Domain.init(Domain.java:329)
> >        at
> > org.apache.slide.webdav.WebdavServlet.init(WebdavServlet.java:253)
> >        at javax.servlet.GenericServlet.init(GenericServlet.java:211)
> >        at
> > org.apache.slide.webdav.WebdavServlet.init(WebdavServlet.java:195)
> >        at
> >
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:10
> > 29)
> >        at
> > org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:862)
> >        at
> >
> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:
> > 4013)
> >        at
> > org.apache.catalina.core.StandardContext.start(StandardContext.java:4357)
> >        at
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:8
> > 23)
> >        at
> > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
> >        at
> > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
> >        at
> >
> org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.j
> > ava:277)
> >        at
> > org.apache.catalina.core.StandardHost.install(StandardHost.java:832)
> >        at
> > org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:625)
> >        at
> > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:431)
> >        at
> org.apache.catalina.startup.HostConfig.start(HostConfig.java:983)
> >        at
> > org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:349)
> >        at
> >
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
> > t.java:119)
> >        at
> > org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091)
> >        at
> > org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
> >        at
> > org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
> >        at
> > org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
> >        at
> > org.apache.catalina.core.StandardService.start(StandardService.java:480)
> >        at
> > org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
> >        at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
> >        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >        at
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
> > )
> >        at
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
> > .java:25)
> >        at java.lang.reflect.Method.invoke(Method.java:324)
> >        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
> >        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
> >
> > 2006-03-16 01:33:48 StandardContext[/slidedb]Marking servlet webdav as
> > unavailable
> > 2006-03-16 01:33:48 StandardContext[/slidedb]Servlet /slidedb threw
> > load() exception
> > javax.servlet.UnavailableException:
> > org.apache.slide.common.DomainInitializationFailedError: Domain
> > initialization error
> >        at
> > org.apache.slide.webdav.WebdavServlet.init(WebdavServlet.java:274)
> >        at javax.servlet.GenericServlet.init(GenericServlet.java:211)
> >        at
> > org.apache.slide.webdav.WebdavServlet.init(WebdavServlet.java:195)
> >        at
> >
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:10
> > 29)
> >        at
> > org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:862)
> >        at
> >
> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:
> > 4013)
> >        at
> > org.apache.catalina.core.StandardContext.start(StandardContext.java:4357)
> >        at
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:8
> > 23)
> >        at
> > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
> >        at
> > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
> >        at
> >
> org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.j
> > ava:277)
> >        at
> > org.apache.catalina.core.StandardHost.install(StandardHost.java:832)
> >        at
> > org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:625)
> >        at
> > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:431)
> >        at
> org.apache.catalina.startup.HostConfig.start(HostConfig.java:983)
> >        at
> > org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:349)
> >        at
> >
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
> > t.java:119)
> >        at
> > org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091)
> >        at
> > org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
> >        at
> > org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
> >        at
> > org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
> >        at
> > org.apache.catalina.core.StandardService.start(StandardService.java:480)
> >        at
> > org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
> >        at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
> >        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >        at
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
> > )
> >        at
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
> > .java:25)
> >        at java.lang.reflect.Method.invoke(Method.java:324)
> >        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
> >        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
> > ------------------------------------------------
> > Michael, please help. Thanks.
> >
> > Ben
> >
> > On 3/15/06, Ollie <MikeOliverAZ@nextel.blackberry.net> wrote:
> > > What was it?
> > > Mike Oliver
> > > CTO, Alarius Systems LLC
> > > Las Vegas, Nevada USA
> > >
> > > Sent using my BlackBerry 6510 from Nextel
> > >
> > >
> > > -----Original Message-----
> > > From: "Ben Smith" <ode2jesus@gmail.com>
> > > Date: Wed, 15 Mar 2006 21:54:34
> > > To:slide-user@jakarta.apache.org
> > > Subject: Re: Creating a different store for each different user
> > >
> > > I got it fixed.   Ben
> > >
> > > On 3/10/06, Michael Oliver <ollie@alariussystems.com> wrote:
> > > > Ben,
> > > >
> > > > Sorry I don't have time to look at it just now, but when I do,
> probably
> > some
> > > > time this weekend, I will post what I find.
> > > >
> > > > Michael Oliver
> > > > CTO
> > > > Alarius Systems LLC
> > > > 6800 E. Lake Mead Blvd, #1096
> > > > Las Vegas, NV 89156
> > > > Phone:(702)953-8949
> > > > Fax:(702)974-0341
> > > >
> > > >
> > > > -----Original Message-----
> > > > From: Ben Smith [mailto:ode2jesus@gmail.com]
> > > > Sent: Friday, March 10, 2006 9:55 AM
> > > > To: ollie@alariussystems.com; slide-user@jakarta.apache.org
> > > > Subject: Re: Creating a different store for each different user
> > > >
> > > > Michael,
> > > >
> > > > Thank you for your reply.  I got "IJ ERROR: Unable to establish
> > > > connection" now. I have DERBY_INSTALL environmental variable set as
> > > >
> > > > C:\programs\db\db-derby-10.1.2.1-bin.
> > > >
> > > > I could run ij under this directory, sysinfo.bat and ij.bat both under
> > > > "C:\programs\db\db-derby-10.1.2.1-bin\frameworks\embedded\bin" and
> > > > under "C:\programs\db\db-derby-10.1.2.1-bin\frameworks\NetworkServer".
> > > > I started the networkserver. Still I got the "IJ ERROR: Unable to
> > > > establish connection" error. How can I fix it?
> > > >
> > > > Thanks again.
> > > > Ben
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > On 3/10/06, Michael Oliver <ollie@alariussystems.com> wrote:
> > > > > I think the latest jdom jar is fine, this tutorial was written a
> while
> > > > back.
> > > > >
> > > > >
> > > > > Michael Oliver
> > > > > CTO
> > > > > Alarius Systems LLC
> > > > > 6800 E. Lake Mead Blvd, #1096
> > > > > Las Vegas, NV 89156
> > > > > Phone:(702)953-8949
> > > > > Fax:(702)974-0341
> > > > >
> > > > >
> > > > > -----Original Message-----
> > > > > From: Ben Smith [mailto:ode2jesus@gmail.com]
> > > > > Sent: Friday, March 10, 2006 6:43 AM
> > > > > To: ollie@alariussystems.com; slide-user@jakarta.apache.org
> > > > > Subject: Re: Creating a different store for each different user
> > > > >
> > > > > Hi Michael,
> > > > >
> > > > > I got your tutorials. They are very good.  I am now at the beginning
> > > > > of Part 4.  While checking the necessary library, I found that I
> could
> > > > > not get
> > > > >
> > > > > "jdom-dev.jar".
> > > > >
> > > > > I have checked on the www.jdom.org, google and slide archives. I
> would
> > > > > like to know whether you can give me one.
> > > > >
> > > > > Thank you for help.
> > > > >
> > > > > Ben
> > > > >
> > > > > On 3/3/06, Michael Oliver <ollie@alariussystems.com> wrote:
> > > > > > Ben,
> > > > > >
> > > > > > There is no magic bullet I can put in an email that will suffice
> for
> > the
> > > > > > hard work of digging into the documentation on the slide site and
> in
> > > > > setting
> > > > > > up a run time environment to use a debugger to step through the
> > code.
> > > > > >
> > > > > > You might save some time by following my tutorials starting with
> the
> > > > first
> > > > > > one at
> > http://www-128.ibm.com/developerworks/edu/os-dw-os-cms1-i.html
> > > > > They
> > > > > > may be slightly out of date but sufficient for you to get your
> arms
> > > > around
> > > > > > slide.
> > > > > >
> > > > > > Michael Oliver
> > > > > > CTO
> > > > > > Alarius Systems LLC
> > > > > > 6800 E. Lake Mead Blvd, #1096
> > > > > > Las Vegas, NV 89156
> > > > > > Phone:(702)953-8949
> > > > > > Fax:(702)974-0341
> > > > > >
> > > > > >
> > > > > > -----Original Message-----
> > > > > > From: Ben Smith [mailto:ode2jesus@gmail.com]
> > > > > > Sent: Friday, March 03, 2006 11:12 AM
> > > > > > To: ollie@alariussystems.com; slide-user@jakarta.apache.org
> > > > > > Subject: Re: Creating a different store for each different user
> > > > > >
> > > > > > Michael,
> > > > > >
> > > > > > Can you tell me any resources showing how I can do Access Control
> > > > > > List entries to create a content store using the command client
> > (Slide
> > > > > > Client)?  Is "mkcol path" the command to create a content store?
> > > > > >
> > > > > > What I am trying to do is understanding the flow of classes in the
> > > > > > Slide server, understanding the source code for creating content
> > > > > > stores and their permissions, and eventually I will direct the
> > content
> > > > > > to be stored in any different places I want other than the default
> > > > > > file system.
> > > > > >
> > > > > > Thank you for your reply.
> > > > > >
> > > > > > Ben
> > > > > >
> > > > > > On 3/2/06, Michael Oliver <ollie@alariussystems.com> wrote:
> > > > > > > Ok, well you may have posted here because you didn't get a reply
> > there
> > > > > but
> > > > > > > you also didn't repost over there like I asked.  I would have
> > replied
> > > > > over
> > > > > > > there.  But I don't think you know what you are asking.
> > > > > > >
> > > > > > > You are confusing the term "Store".  In Slide a Store is a
> handler
> > > > that
> > > > > > > handles specific types of calls from the Web DAV server.  There
> > are a
> > > > > > number
> > > > > > > of them like Content, Node, Security, etc.
> > > > > > >
> > > > > > > What I believe you are talking about is each user would have
> their
> > own
> > > > > > > content under a given path and can control that content under
> that
> > > > path
> > > > > > > while being able to access content in a different path that is
> > shared.
> > > > > > >
> > > > > > > This does NOT require any coding, just Access Control List
> entries
> > and
> > > > > you
> > > > > > > can do that with the command line client or you can use code to
> > write
> > > > an
> > > > > > > application that you can use to maintain these ACLs.
> > > > > > >
> > > > > > > Please do not post a reply to the developers list, it will be
> > ignored.
> > > > > I
> > > > > > > have cc'd the slide users list, please reply there if you wish.
> > > > > > >
> > > > > > > Michael Oliver
> > > > > > > CTO
> > > > > > > Alarius Systems LLC
> > > > > > > 6800 E. Lake Mead Blvd, #1096
> > > > > > > Las Vegas, NV 89156
> > > > > > > Phone:(702)953-8949
> > > > > > > Fax:(702)974-0341
> > > > > > >
> > > > > > >
> > > > > > > -----Original Message-----
> > > > > > > From: Ben Smith [mailto:ode2jesus@gmail.com]
> > > > > > > Sent: Thursday, March 02, 2006 9:23 AM
> > > > > > > To: Slide Developers Mailing List; ollie@alariussystems.com
> > > > > > > Subject: Re: Creating a different store for each different user
> > > > > > >
> > > > > > > Michael,
> > > > > > >
> > > > > > > I posted in the user mailing list. Since I got no help there, I
> > posted
> > > > > > here.
> > > > > > >
> > > > > > > What I want is that a user can create his own store and has
> > capability
> > > > > > > to control his store while he will be assigned with permission
> to
> > > > > > > access shared stores.  Can you help please? Or tell me where the
> > > > > > > source code is.
> > > > > > >
> > > > > > > Thank you very much.
> > > > > > >
> > > > > > > Ben
> > > > > > >
> > > > > > > On 3/1/06, Michael Oliver <ollie@alariussystems.com> wrote:
> > > > > > > > This should really be on the slide-user list.
> > > > > > > >
> > > > > > > > Repost over there with the requirements and someone might
> help.
> > > > > > > >
> > > > > > > > It is for permissions or what?
> > > > > > > >
> > > > > > > > Michael Oliver
> > > > > > > > CTO
> > > > > > > > Alarius Systems LLC
> > > > > > > > 6800 E. Lake Mead Blvd, #1096
> > > > > > > > Las Vegas, NV 89156
> > > > > > > > Phone:(702)953-8949
> > > > > > > > Fax:(702)974-0341
> > > > > > > >
> > > > > > > >
> > > > > > > > -----Original Message-----
> > > > > > > > From: Ben Smith [mailto:ode2jesus@gmail.com]
> > > > > > > > Sent: Wednesday, March 01, 2006 2:59 PM
> > > > > > > > To: slide-dev@jakarta.apache.org
> > > > > > > > Subject: Creating a different store for each different user
> > > > > > > >
> > > > > > > > Hi,
> > > > > > > >
> > > > > > > > Any one knows how I can create a different file store for each
> > > > > > > > different user?  Or point the source code I can modify to do
> > this.
> > > > > > > > Please help.
> > > > > > > >
> > > > > > > > Thanks.
> > > > > > > >
> > > > > > > > Ben
> > > > > > > >
> > > > > > > >
> > > > ---------------------------------------------------------------------
> > > > > > > > To unsubscribe, e-mail:
> slide-dev-unsubscribe@jakarta.apache.org
> > > > > > > > For additional commands, e-mail:
> > slide-dev-help@jakarta.apache.org
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > ---------------------------------------------------------------------
> > > > > > > > To unsubscribe, e-mail:
> slide-dev-unsubscribe@jakarta.apache.org
> > > > > > > > For additional commands, e-mail:
> > slide-dev-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
> > >
> > >
> >
> >
>
> ---------------------------------------------------------------------
> 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
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic