Setting up a Context outside of webapps (was: Host appBase vs. Context docBase)

2016-10-21 Thread Igal @ Lucee.org
are at %CATALINA_BASE%/conf. So for example, to set up an app for myapp.tld, with contents in C:\WebRoot\myapp, I use the following snippet: I don't want to specify Host appBase to C:\WebRoot because it contains separate sites (Contexts) in different directories, and each site is configured to run

R: Host appBase vs. Context docBase

2016-10-21 Thread r.bottoni
Hello, did you received some real config? Roberto. -Messaggio originale- Da: Igal @ Lucee.org [mailto:i...@lucee.org] Inviato: venerdì 7 ottobre 2016 21:57 A: Tomcat Users List <users@tomcat.apache.org> Oggetto: Re: Host appBase vs. Context docBase > Suppose you tell us yo

Re: Host appBase vs. Context docBase

2016-10-07 Thread Igal @ Lucee.org
have been nice to see some real life examples of complete configurations. Igal Sapir Lucee Core Developer Lucee.org <http://lucee.org/> On 10/7/2016 12:39 PM, Caldarale, Charles R wrote: From: Igal @ Lucee.org [mailto:i...@lucee.org] Subject: Host appBase vs. Context docBase Suppose that

RE: Host appBase vs. Context docBase

2016-10-07 Thread Caldarale, Charles R
> From: Igal @ Lucee.org [mailto:i...@lucee.org] > Subject: Host appBase vs. Context docBase > Suppose that I have an application at C:\WebApps\App1 Suppose you tell us your Tomcat version. > > > > > > > Both of the above are incorrect. It is

Host appBase vs. Context docBase

2016-10-07 Thread Igal @ Lucee.org
Hi, Suppose that I have an application at C:\WebApps\App1 Is it better to set it up as Host appBase (option 1) or as Context docBase with empty path (option 2): Thanks, Igal Sapir Lucee Core Developer Lucee.org <http://lucee.org/>

Re: Tomcat 8.0.14 - Host appBase not defaulting to webapps in $CATALINA_HOME ???

2014-11-19 Thread Konstantin Kolinko
2014-11-20 3:49 GMT+03:00 Barnes, Mark (CORP) mark.bar...@adp.com: Hi, everyone - Could someone please help me to get Tomcat 8.0.14 to find my web apps??? I am trying to upgrade a server from Tomcat 6.x to Tomcat 8.0.14 on Linux. Tomcat does not seem to build the path to the directory

Tomcat 8.0.14 - Host appBase not defaulting to webapps in $CATALINA_HOME ???

2014-11-19 Thread Barnes, Mark (CORP)
Hi, everyone - Could someone please help me to get Tomcat 8.0.14 to find my web apps??? I am trying to upgrade a server from Tomcat 6.x to Tomcat 8.0.14 on Linux. Tomcat does not seem to build the path to the directory containing my web app correctly. The server.xml I have been using for

RE: Host appBase vs Context docBase

2014-07-16 Thread Jeffrey Janner
-Original Message- From: Igal @ getRailo.org [mailto:i...@getrailo.org] Sent: Friday, July 04, 2014 9:05 PM To: Tomcat Users List Subject: Host appBase vs Context docBase I'm a little confused about the Host appBase attribute. Let's say that my website resides in D:\www\site1 I don't

Re: Host appBase vs Context docBase

2014-07-07 Thread Terence M. Bandoian
, server.xml then deploy all the other files. I'm looking to keep the deployment process as simple as possible. you shouldn't need the empty directory. I've used an absolute path for the Host appBase attribute with relative paths for Context docBase attributes in Tomcat 6 and 7 without any

Re: Host appBase vs Context docBase

2014-07-07 Thread Igal @ getRailo.org
a single file, server.xml then deploy all the other files. I'm looking to keep the deployment process as simple as possible. you shouldn't need the empty directory. I've used an absolute path for the Host appBase attribute with relative paths for Context docBase attributes in Tomcat 6 and 7

Re: Host appBase vs Context docBase

2014-07-05 Thread Neeraj Sinha
Normally,we configure docBase when we want the application to be resided on a separate directory and not inside tomcat. So, when you use docBase I don't think you need to configure host/appbase as well. Appbase folders go under tomcat directory parallel to default appbase webapps. Each appbase

Re: Host appBase vs Context docBase

2014-07-05 Thread Terence M. Bandoian
On 7/4/2014 9:04 PM, Igal @ getRailo.org wrote: I'm a little confused about the Host appBase attribute. Let's say that my website resides in D:\www\site1 I don't like using {Tomcat}/webapps so I don't want to have it as a base directory for websites. What I've been doing so far is create

Re: Host appBase vs Context docBase

2014-07-05 Thread Igal @ getRailo.org
Normally,we configure docBase when we want the application to be resided on a separate directory and not inside tomcat that's exactly what I'm trying to do when you use docBase I don't think you need to configure host/appbase as well if I don't use host/appBase then webapps is set as default

Re: Host appBase vs Context docBase

2014-07-05 Thread Igal @ getRailo.org
looking to keep the deployment process as simple as possible. you shouldn't need the empty directory. I've used an absolute path for the Host appBase attribute with relative paths for Context docBase attributes in Tomcat 6 and 7 without any problems. when I try that then webapps is used

Host appBase vs Context docBase

2014-07-04 Thread Igal @ getRailo.org
I'm a little confused about the Host appBase attribute. Let's say that my website resides in D:\www\site1 I don't like using {Tomcat}/webapps so I don't want to have it as a base directory for websites. What I've been doing so far is create an empty folder alongside webapps, named empty

Host appBase

2013-11-08 Thread Leo Donahue - OETX
Tomcat 7.0.47 Reading over the security benchmark I posted a link to earlier, there is one that suggests to separate out the web content directory from the Tomcat system files. Reading the Tomcat docs for appBase, I see I can set this value. Reading further down in the Tomcat docs for Host,

Re: Host appBase

2013-11-08 Thread Milo Hyson
The term that immediately comes to mind is YAGNI. How many of these things have legitimate use-cases and how many are simply there because it was thought somebody somewhere someday *might* want to adjust them? - Milo Hyson Chief Scientist CyberLife Labs, Inc. On Nov 8, 2013, at 9:18 AM, Leo

Re: Host appBase

2013-11-08 Thread Daniel Mikusa
On Nov 8, 2013, at 1:54 PM, Milo Hyson m...@cyberlifelabs.com wrote: The term that immediately comes to mind is YAGNI. How many of these things have legitimate use-cases and how many are simply there because it was thought somebody somewhere someday *might* want to adjust them? /dev/null

Re: Host appBase

2013-11-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Leo, On 11/8/13, 12:18 PM, Leo Donahue - OETX wrote: Tomcat 7.0.47 Reading over the security benchmark I posted a link to earlier, there is one that suggests to separate out the web content directory from the Tomcat system files. Reading the

Re: Host appBase

2013-11-08 Thread Milo Hyson
On Nov 8, 2013, at 12:29 PM, Daniel Mikusa dmik...@gopivotal.com wrote: … it is always nice to be able to adjust and customize things. If there's value in doing so, certainly. But customizability generally comes at a cost. In addition to a more complicated implementation it tends to increase

Re: Host appBase

2013-11-08 Thread Konstantin Kolinko
2013/11/8 Leo Donahue - OETX leodona...@mail.maricopa.gov: Tomcat 7.0.47 Reading over the security benchmark I posted a link to earlier, there is one that suggests to separate out the web content directory from the Tomcat system files. Reading the Tomcat docs for appBase, I see I can set

Re: A docbase ... inside the host appBase has been specified

2006-04-25 Thread David Smith
I would start by reading the tomcat docs: http://tomcat.apache.org/tomcat-5.5-doc/logging.html -- David [EMAIL PROTECTED] wrote: Thanks so much for your helpful response. I mistakenly thought that was the problem with my servlet. Now I see that it is actually running (I was trying to hit

Re: A docbase ... inside the host appBase has been specified

2006-04-24 Thread David Smith
done wrong here... I'm trying to configure a simple servlet, but when I launch tomcat (via IDEA) I see this message in the tomcat output: A docBase /Volumes/misc/apache-tomcat-5.5.17/webapps/subset inside the host appBase has been specified, and will be ignored. I haven't been able to figure

Re: A docbase ... inside the host appBase has been specified

2006-04-24 Thread bloggy_ttop
Thanks so much for your helpful response. I mistakenly thought that was the problem with my servlet. Now I see that it is actually running (I was trying to hit http://localhost: 8080/CommandServlet rather than http://localhost:8080/subset/ CommandServlet -- sorry, rookie here). I was

RE: TC 5.5.12 WARNING: A docBase XXX inside the host appBase has been specified, and will be ignored

2005-12-19 Thread Caldarale, Charles R
From: Jason Novotny [mailto:[EMAIL PROTECTED] Subject: TC 5.5.12 WARNING: A docBase XXX inside the host appBase has been specified, and will be ignored Using Tomcat 5.5.12 and my servlet context fragment: Context path=/portal docBase=gridsphere debug=0 reloadable=false

RE: TC 5.5.12 WARNING: A docBase XXX inside the host appBase has been specified, and will be ignored

2005-12-19 Thread Caldarale, Charles R
From: Jason Novotny [mailto:[EMAIL PROTECTED] Subject: Re: TC 5.5.12 WARNING: A docBase XXX inside the host appBase has been specified, and will be ignored (Please don't crosspost - it really makes it hard to keep track of a thread.) The context now looks like: Context path=/gridsphere

Re: TC 5.5.12 WARNING: A docBase XXX inside the host appBase has been specified, and will be ignored

2005-12-19 Thread Jason Novotny
Hi Chuck, Ok, I changed my context file from gridsphere.xml to portal.xml. However it still does not work. As I said, I do NOT want to change the name of my web application. It is currently located in $CATALINA_HOME/webapps/gridsphere. Previously my understanding of the path and docBase

RE: TC 5.5.12 WARNING: A docBase XXX inside the host appBase has been specified, and will be ignored

2005-12-19 Thread Caldarale, Charles R
From: Jason Novotny [mailto:[EMAIL PROTECTED] Subject: Re: TC 5.5.12 WARNING: A docBase XXX inside the host appBase has been specified, and will be ignored Ok, I changed my context file from gridsphere.xml to portal.xml. However it still does not work. This may well go back to what