Hello Martin,

I am using the JBoss_Tomcat combo (JBoss 3.2.1 and Tomcat 4.1)

I placed the slide war directory in the <JBoss_Home>/server/default/deploy.
It deploys fine. What security setup needs to be done to avoid the NPE in
this deployment?

After reading your mail I tried deploying slide in Tomcat 4.1.27 (Tomcat
without JBoss). This time I can connect to the slide server from DAV
Explorer but I cannot perform any operation other than read. I get a
forbidden 403 error. This must be due to permissions. In Domain.xml I gave
"all" permissions to "all" users, but that did not help. 
I have 2 questions:
1. How do I login as root? (the open URL command does not take
username/password.. AND.. DAV Explorer is not prompting for username either)
2. How do I turn off security? I read
http://jakarta.apache.org/slide/conf-lib.html. But I did not understand
where is the default slide configuration file and how do I specify the
security property when starting tomcat.

Also it appears that Slide does not yet support versioning. I get a 501
error for methods Version-Control and Version-Report. Am I missing
something?

Thanks,
Ritu

-----Original Message-----
From: Martin Holz [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 29, 2004 8:06 PM
To: [EMAIL PROTECTED]
Subject: Re: Connecting to Slide using DAV Explorer


Hello,

Ritu Kedia <[EMAIL PROTECTED]> writes:

> When browsing slide through browser the default page that comes up shows
the
> directory listings for /, which consists of /users, /roles, /files, etc.
> When I click on /users and /roles I get a NullPointerException.
> 
> Top part of the stack trace:
> java.lang.NullPointerException
>       at java.lang.StringBuffer.replace(StringBuffer.java:717)
>       at
> org.apache.slide.webdav.filter.LogFilter.logLine(LogFilter.java:221)
>       at
> org.apache.slide.webdav.filter.LogFilter.doFilter(LogFilter.java:193)
>       at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> FilterChain.java:213)
>       at
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.java:193)
>       at
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
> va:256)
>       at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
> eNext(StandardPipeline.java:643)
>       at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>       at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)....

This looks like a bug in Tomcat, not in Slide. 
At LogFilter.java:176 the filter calls java.security.Principal.getName(),
which returns null. The log filter does not check for null here. 

Which Tomcat version and what kind of authentication are you using?

Martin


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

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

Reply via email to