Hi everyone,

could someone please help me with the SlideRealm. I got it 
working partially. Tomcat doesn't authenticate me right, but 
seems to except me as guest. Slide doesn't run, but throws 
exceptions.

When starting Tomcat, the Domain is initialised twice. I guess 
once, when initialising the realm and second, when initialising 
my WebdavServlet, which inherits from Slide's WebdavServlet.

See the exceptions below.

Slide's initialisation is done in WebdavServlet.init(). Can this 
work, if SlideRealm initialises the Domain before?

Could someone, who got SlideRealm working, please point me into 
the right direction?

Thanks.
Andreas


17 Jan 2003 11:40:20 - slidestore.reference.JDBCDescriptorsStore 
- INFO - Connecting to "jdbc:hsqldb:c:\clear\dmsstructure" as 
user "sa"
17 Jan 2003 11:40:26 - slidestore.reference.JDBCDescriptorsStore 
- ERROR - Connecting to "jdbc:hsqldb:c:\clear\dmsstructure" as 
user "sa" failed
17 Jan 2003 11:40:26 - slidestore.reference.JDBCDescriptorsStore 
- ERROR - java.sql.SQLException: The database is already in use 
by another process
17 Jan 2003 11:40:26 - org.apache.slide.common.Domain - WARNING -
 Service slidestore.reference.JDBCDescriptorsStore@76e8a7 
connection failed : The database is already in use b
y another process

> of course, it's already initialised

17 Jan 2003 11:40:26 - org.apache.slide.common.Domain - WARNING -
 Service is missing on root node
17 Jan 2003 11:40:26 - org.apache.slide.common.Namespace - ERROR 
- Unable to read Namespace base configuration file :
17 Jan 2003 11:40:26 - org.apache.slide.common.Namespace - ERROR 
- org.apache.slide.common.ServiceMissingOnRootNodeException: 
Service is missing on root node
org.apache.slide.common.ServiceMissingOnRootNodeException: 
Service is missing on root node
        at org.apache.slide.common.Uri.parseUri(Uri.java:396)
        at org.apache.slide.common.Uri.<init>(Uri.java:106)
        at 
org.apache.slide.common.Namespace.getUri(Namespace.java:682)
        at 
org.apache.slide.common.Namespace.getUri(Namespace.java:662)
        at 
org.apache.slide.common.Namespace.getUri(Namespace.java:650)
        at 
org.apache.slide.common.Namespace.loadBaseData(Namespace.java:788
)
        at 
org.apache.slide.common.Domain.initNamespace(Domain.java:850)
        at org.apache.slide.common.Domain.init(Domain.java:478)
        at org.apache.slide.common.Domain.init(Domain.java:412)
        at org.apache.slide.common.Domain.init(Domain.java:375)
        at 
org.apache.slide.webdav.WebdavServlet.init(WebdavServlet.java:286
)

Then with every request:

17 Jan 2003 11:45:10 - org.apache.slide.common.Domain - WARNING -
 Access denied 
on /users by user /users/guest for action /actions/read
java.lang.NullPointerException
        at 
org.apache.slide.common.NamespaceConfig.getParameter(NamespaceCon
fig.java:534)
        at 
org.apache.slide.common.NamespaceAccessTokenImpl.<init>(Namespace
AccessTokenImpl.java:133)
        at 
org.apache.slide.common.Domain.accessNamespace(Domain.java:289)
        at 
org.apache.slide.webdav.WebdavServlet.init(WebdavServlet.java:296
)


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to