List Info

Thread: Creating a different store for each different user




Creating a different store for each different user
user name
2006-03-16 16:58:54
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.jav
a:253)
	at
javax.servlet.GenericServlet.init(GenericServlet.java:211)
	at
org.apache.slide.webdav.WebdavServlet.init(WebdavServlet.jav
a:195)
	at
org.apache.catalina.core.StandardWrapper.loadServlet(Standar
dWrapper.java:1029)
	at
org.apache.catalina.core.StandardWrapper.load(StandardWrappe
r.java:862)
	at
org.apache.catalina.core.StandardContext.loadOnStartup(Stand
ardContext.java:4013)
	at
org.apache.catalina.core.StandardContext.start(StandardConte
xt.java:4357)
	at
org.apache.catalina.core.ContainerBase.addChildInternal(Cont
ainerBase.java:823)
	at
org.apache.catalina.core.ContainerBase.addChild(ContainerBas
e.java:807)
	at
org.apache.catalina.core.StandardHost.addChild(StandardHost.
java:595)
	at
org.apache.catalina.core.StandardHostDeployer.install(Standa
rdHostDeployer.java:277)
	at
org.apache.catalina.core.StandardHost.install(StandardHost.j
ava: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(HostCo
nfig.java:349)
	at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent
(LifecycleSupport.java:119)
	at
org.apache.catalina.core.ContainerBase.start(ContainerBase.j
ava:1091)
	at
org.apache.catalina.core.StandardHost.start(StandardHost.jav
a:789)
	at
org.apache.catalina.core.ContainerBase.start(ContainerBase.j
ava:1083)
	at
org.apache.catalina.core.StandardEngine.start(StandardEngine
.java:478)
	at
org.apache.catalina.core.StandardService.start(StandardServi
ce.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(NativeMethodAcce
ssorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe
thodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at
org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:2
87)
	at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:42
5)

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.jav
a:274)
	at
javax.servlet.GenericServlet.init(GenericServlet.java:211)
	at
org.apache.slide.webdav.WebdavServlet.init(WebdavServlet.jav
a:195)
	at
org.apache.catalina.core.StandardWrapper.loadServlet(Standar
dWrapper.java:1029)
	at
org.apache.catalina.core.StandardWrapper.load(StandardWrappe
r.java:862)
	at
org.apache.catalina.core.StandardContext.loadOnStartup(Stand
ardContext.java:4013)
	at
org.apache.catalina.core.StandardContext.start(StandardConte
xt.java:4357)
	at
org.apache.catalina.core.ContainerBase.addChildInternal(Cont
ainerBase.java:823)
	at
org.apache.catalina.core.ContainerBase.addChild(ContainerBas
e.java:807)
	at
org.apache.catalina.core.StandardHost.addChild(StandardHost.
java:595)
	at
org.apache.catalina.core.StandardHostDeployer.install(Standa
rdHostDeployer.java:277)
	at
org.apache.catalina.core.StandardHost.install(StandardHost.j
ava: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(HostCo
nfig.java:349)
	at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent
(LifecycleSupport.java:119)
	at
org.apache.catalina.core.ContainerBase.start(ContainerBase.j
ava:1091)
	at
org.apache.catalina.core.StandardHost.start(StandardHost.jav
a:789)
	at
org.apache.catalina.core.ContainerBase.start(ContainerBase.j
ava:1083)
	at
org.apache.catalina.core.StandardEngine.start(StandardEngine
.java:478)
	at
org.apache.catalina.core.StandardService.start(StandardServi
ce.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(NativeMethodAcce
ssorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe
thodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at
org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:2
87)
	at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:42
5)
------------------------------------------------
Michael, please help. Thanks.

Ben

On 3/15/06, Ollie <MikeOliverAZnextel.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" <ode2jesusgmail.com>
> Date: Wed, 15 Mar 2006 21:54:34
> To:slide-userjakarta.apache.org
> Subject: Re: Creating a different store for each
different user
>
> I got it fixed.   Ben
>
> On 3/10/06, Michael Oliver <olliealariussystems.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:ode2jesusgmail.com]
> > Sent: Friday, March 10, 2006 9:55 AM
> > To: olliealariussystems.com; slide-userjakarta.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 <olliealariussystems.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:ode2jesusgmail.com]
> > > Sent: Friday, March 10, 2006 6:43 AM
> > > To: olliealariussystems.com;
slide-userjakarta.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 <olliealariussystems.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:ode2jesusgmail.com]
> > > > Sent: Friday, March 03, 2006 11:12 AM
> > > > To: olliealariussystems.com;
slide-userjakarta.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 <olliealariussystems.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:ode2jesusgmail.com]
> > > > > Sent: Thursday, March 02, 2006 9:23
AM
> > > > > To: Slide Developers Mailing List;
olliealariussystems.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
<olliealariussystems.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:ode2jesusgmail.com]
> > > > > > Sent: Wednesday, March 01,
2006 2:59 PM
> > > > > > To: slide-devjakarta.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-unsubscribejakarta.apache.org
> > > > > > For additional commands,
e-mail: slide-dev-helpjakarta.apache.org
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> >
------------------------------------------------------------
---------
> > > > > > To unsubscribe, e-mail:
slide-dev-unsubscribejakarta.apache.org
> > > > > > For additional commands,
e-mail: slide-dev-helpjakarta.apache.org
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: slide-user-unsubscribejakarta.apache.org
> For additional commands, e-mail: slide-user-helpjakarta.apache.org
>
>

------------------------------------------------------------
---------
To unsubscribe, e-mail: slide-user-unsubscribejakarta.apache.org
For additional commands, e-mail: slide-user-helpjakarta.apache.org

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )