I'm running Tomcat as standalone server at the moment - that could change later on.
What's the preferred way in Tomcat 5? Thanks! --- Oto Bossert <[EMAIL PROTECTED]> wrote: > Yoo, > > Do you use tomcat stand-alone? Or with Apache.... > > Putting a context in server.xml should work, but > this is not the > prevered way in tomcat 5! > > Greetings O. > > > On 5/11/05, Raueber Hotzenplotz > <[EMAIL PROTECTED]> wrote: > > Hi > > > > I've got Tomcat-5.0.27-r5 installed. Running > servlets > > (localhost) located in > > /opt/tomcat5/webapps/ROOT/WEB_INF/classes is no > > problem. > > > > What do I need to do to run servlets from my user > > directory (e.g. /home/user/myapp)? > > > > I've tried to use http://localhost:8080/admin to > add > > an additional context, setting path and docbase to > > /home/user/myapp, but this doesn't work. > > > > I've also tried to change appbase to > /home/user/myapp > > in conf/server.xml, but again no success. > > > > I've uncommented the 'invoker' lines in > conf/web.xml - > > for the moment anyway: > > > > <servlet> > > <servlet-name>invoker</servlet-name> > > <servlet-class> > > > org.apache.catalina.servlets.InvokerServlet > > </servlet-class> > > <init-param> > > <param-name>debug</param-name> > > <param-value>0</param-value> > > </init-param> > > <load-on-startup>2</load-on-startup> > > </servlet> > > > > <servlet-mapping> > > <servlet-name>invoker</servlet-name> > > <url-pattern>/servlet/*</url-pattern> > > </servlet-mapping> > > > > How do you configure Tomcat? Do you use the admin > tool > > or do you do it manually? The admin tool works > strange > > e.g. after deleting some context it was still in > the > > list. > > > > Thanks! > > > > Regards, Rudi > > > > > > > ___________________________________________________________ > > How much free photo storage do you get? Store your > holiday > > snaps for FREE with Yahoo! Photos > http://uk.photos.yahoo.com > > > > > --------------------------------------------------------------------- > > 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] > > ___________________________________________________________ How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]