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 Miguel Angel Romero <mr...@tecnesis.com> on 2002/06/20 11:10:10 UTC
running slide as webapp
Hi all,
I'm trying to run slide as webapp but I have problems configuring server.xml
file, I have followed the slide documentation instructions (section "Tomcat
Howto") but no way, Any idea? Could anybody send me an example server.xml
file to run slide as webapp?
I think that's the problem (server.xml)
Thanks in advance,
Miguel
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: running slide as webapp
Posted by Stephan Michels <st...@apache.org>.
On Thu, 20 Jun 2002, Luca Zago wrote:
> I have the same problem of Miguel, and I really appreciate your help,
> but in this xml there is only the host to browse the repository,
> not for the Admin and WebDAV client.
> The browsing works in a web app, but I have problems with Web DAV client.
> Even if I have copied the serverl.xml from the example installation in
> slide to a defaul tomcat installation.
> Do you know what means the configPath="slide attribute in the Host tag, in
> the example server.xml?
I think this attribute means that the config files for slide, are found
under the sub directory slide/.
jakarta-slide-1.0.16/server/conf/slide/
> This attribute is not documented in tomcat.
>
> >On Thu, 20 Jun 2002, Miguel Angel Romero wrote:
> >
> > > Hi Stephan,
> > >
> > > I'm new to slide and I don't know how to configure catalina to use realm
> > > wrappers.catalina.SlideRealm, is that the only thing I have to do in
> > > server.xml?
> > >
> > > Could you please help me with this configuration?
> >
> >I used the following configuration:
> >
> ><Server port="8005" shutdown="SHUTDOWN" debug="0">
> > <Listener className="wrappers.catalina.SlideServerListener"
> > logLevel="6"
> > configFileName="webapps/mywebapp/WEB-INF/Domain.xml"/>
> > <Service name="Tomcat-Standalone">
> > <Connector
> > className="org.apache.catalina.connector.http.HttpConnector"
> > port="8080" minProcessors="5" maxProcessors="75"
> > enableLookups="true" redirectPort="8443"
> > acceptCount="10" debug="0" connectionTimeout="60000"/>
> > <Engine name="Standalone" defaultHost="localhost" debug="0">
> > <Logger className="org.apache.catalina.logger.FileLogger"
> > prefix="catalina_log." suffix=".txt"
> > timestamp="true"/>
> > <Host name="localhost" debug="0" appBase="webapps"
> > unpackWARs="true">
> >
> > <Realm className="wrappers.catalina.SlideRealm"
> > namespace="ownrepository"/>
> > <Valve className="org.apache.catalina.valves.AccessLogValve"
> > directory="logs" prefix="localhost_access_log."
> > suffix=".txt"
> > pattern="common"/>
> > <Logger className="org.apache.catalina.logger.FileLogger"
> > directory="logs" prefix="localhost_log." suffix=".txt"
> > timestamp="true"/>
> > <Context path="" docBase="mywebapp" debug="0"/>
> >
> > </Host>
> > </Engine>
> > </Service>
> ></Server>
> >
> >Stephan Michels.
> >
> >
> >--
> >To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> >For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: running slide as webapp
Posted by Luca Zago <za...@libero.it>.
I have the same problem of Miguel, and I really appreciate your help,
but in this xml there is only the host to browse the repository,
not for the Admin and WebDAV client.
The browsing works in a web app, but I have problems with Web DAV client.
Even if I have copied the serverl.xml from the example installation in
slide to a defaul tomcat installation.
Do you know what means the configPath="slide attribute in the Host tag, in
the example server.xml?
This attribute is not documented in tomcat.
Thanks in advance.
Luca
At 11.53 20/06/2002 +0200, you wrote:
>On Thu, 20 Jun 2002, Miguel Angel Romero wrote:
>
> > Hi Stephan,
> >
> > I'm new to slide and I don't know how to configure catalina to use realm
> > wrappers.catalina.SlideRealm, is that the only thing I have to do in
> > server.xml?
> >
> > Could you please help me with this configuration?
>
>I used the following configuration:
>
><Server port="8005" shutdown="SHUTDOWN" debug="0">
> <Listener className="wrappers.catalina.SlideServerListener"
> logLevel="6"
> configFileName="webapps/mywebapp/WEB-INF/Domain.xml"/>
> <Service name="Tomcat-Standalone">
> <Connector
> className="org.apache.catalina.connector.http.HttpConnector"
> port="8080" minProcessors="5" maxProcessors="75"
> enableLookups="true" redirectPort="8443"
> acceptCount="10" debug="0" connectionTimeout="60000"/>
> <Engine name="Standalone" defaultHost="localhost" debug="0">
> <Logger className="org.apache.catalina.logger.FileLogger"
> prefix="catalina_log." suffix=".txt"
> timestamp="true"/>
> <Host name="localhost" debug="0" appBase="webapps"
> unpackWARs="true">
>
> <Realm className="wrappers.catalina.SlideRealm"
> namespace="ownrepository"/>
> <Valve className="org.apache.catalina.valves.AccessLogValve"
> directory="logs" prefix="localhost_access_log."
> suffix=".txt"
> pattern="common"/>
> <Logger className="org.apache.catalina.logger.FileLogger"
> directory="logs" prefix="localhost_log." suffix=".txt"
> timestamp="true"/>
> <Context path="" docBase="mywebapp" debug="0"/>
>
> </Host>
> </Engine>
> </Service>
></Server>
>
>Stephan Michels.
>
>
>--
>To unsubscribe, e-mail: <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: running slide as webapp
Posted by Stephan Michels <st...@apache.org>.
On Thu, 20 Jun 2002, Miguel Angel Romero wrote:
> Hi Stephan,
>
> What do I have to put instead of "ownerrepository"?
slide.xml, Domain.xml or what ever:
<slide default="slide">
^^^^^
<namespace name="slide">
^^^^^
<definition ref="slide/slide.def" />
<configuration ref="slide/slide.conf" />
<data ref="slide/slide.data" />
</namespace>
</slide>
You must specify the name of the namespace.
Stephan Michels.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: running slide as webapp
Posted by Miguel Angel Romero <mr...@tecnesis.com>.
Hi Stephan,
What do I have to put instead of "ownerrepository"?
Thanks,
Miguel
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: running slide as webapp
Posted by Stephan Michels <st...@apache.org>.
On Thu, 20 Jun 2002, Miguel Angel Romero wrote:
> Hi Stephan,
>
> I'm new to slide and I don't know how to configure catalina to use realm
> wrappers.catalina.SlideRealm, is that the only thing I have to do in
> server.xml?
>
> Could you please help me with this configuration?
I used the following configuration:
<Server port="8005" shutdown="SHUTDOWN" debug="0">
<Listener className="wrappers.catalina.SlideServerListener"
logLevel="6"
configFileName="webapps/mywebapp/WEB-INF/Domain.xml"/>
<Service name="Tomcat-Standalone">
<Connector
className="org.apache.catalina.connector.http.HttpConnector"
port="8080" minProcessors="5" maxProcessors="75"
enableLookups="true" redirectPort="8443"
acceptCount="10" debug="0" connectionTimeout="60000"/>
<Engine name="Standalone" defaultHost="localhost" debug="0">
<Logger className="org.apache.catalina.logger.FileLogger"
prefix="catalina_log." suffix=".txt"
timestamp="true"/>
<Host name="localhost" debug="0" appBase="webapps"
unpackWARs="true">
<Realm className="wrappers.catalina.SlideRealm"
namespace="ownrepository"/>
<Valve className="org.apache.catalina.valves.AccessLogValve"
directory="logs" prefix="localhost_access_log."
suffix=".txt"
pattern="common"/>
<Logger className="org.apache.catalina.logger.FileLogger"
directory="logs" prefix="localhost_log." suffix=".txt"
timestamp="true"/>
<Context path="" docBase="mywebapp" debug="0"/>
</Host>
</Engine>
</Service>
</Server>
Stephan Michels.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: running slide as webapp
Posted by Miguel Angel Romero <mr...@tecnesis.com>.
Hi Stephan,
I'm new to slide and I don't know how to configure catalina to use realm
wrappers.catalina.SlideRealm, is that the only thing I have to do in
server.xml?
Could you please help me with this configuration?
Thanks,
Miguel
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: running slide as webapp
Posted by Stephan Michels <st...@apache.org>.
On Thu, 20 Jun 2002, Miguel Angel Romero wrote:
> Hi all,
>
> I'm trying to run slide as webapp but I have problems configuring server.xml
> file, I have followed the slide documentation instructions (section "Tomcat
> Howto") but no way, Any idea? Could anybody send me an example server.xml
> file to run slide as webapp?
>
> I think that's the problem (server.xml)
>
There are an example webapp in the bin dist, which have the following
files included:
jakarta-slide-1.0.16/server/conf/server.xml
jakarta-slide-1.0.16/server/conf/slide/slide.conf
Stephan Michels
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>