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

2016-10-21 Thread Igal @ Lucee.org
les 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 configure

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 Oggetto: Re: Host appBase vs. Context docBase > Suppose you tell us your Tomcat version. I'm usin

Re: Host appBase vs. Context docBase

2016-10-07 Thread Igal @ Lucee.org
using. It would 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 S

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 hig

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: Multiple Hosts with same appBase

2015-10-11 Thread Danny Trunk
Am 10.10.2015 um 19:16 schrieb Mark Thomas: > On 10/10/2015 17:29, Danny Trunk wrote: >> Am 10.10.2015 um 18:05 schrieb Mark Thomas: >>> On 10/10/2015 16:57, Danny Trunk wrote: >>>> Hello everyone, >>>> >>>> I need to access the appBas

Re: Multiple Hosts with same appBase

2015-10-10 Thread Mark Thomas
On 10/10/2015 17:29, Danny Trunk wrote: > > Am 10.10.2015 um 18:05 schrieb Mark Thomas: >> On 10/10/2015 16:57, Danny Trunk wrote: >>> Hello everyone, >>> >>> I need to access the appBase itself as default and access the appBase >>> with a spec

Re: Multiple Hosts with same appBase

2015-10-10 Thread Danny Trunk
Am 10.10.2015 um 18:05 schrieb Mark Thomas: > On 10/10/2015 16:57, Danny Trunk wrote: >> Hello everyone, >> >> I need to access the appBase itself as default and access the appBase >> with a specific docBase by a different host/domain. >> I'm currently

Re: Multiple Hosts with same appBase

2015-10-10 Thread Mark Thomas
On 10/10/2015 16:57, Danny Trunk wrote: > Hello everyone, > > I need to access the appBase itself as default and access the appBase > with a specific docBase by a different host/domain. > I'm currently running Tomcat 7.0.26 on Linux Ubuntu 12.04.5. > > Here ar

Multiple Hosts with same appBase

2015-10-10 Thread Danny Trunk
Hello everyone, I need to access the appBase itself as default and access the appBase with a specific docBase by a different host/domain. I'm currently running Tomcat 7.0.26 on Linux Ubuntu 12.04.5. Here are the essential bits of my server.xml: www.example.com Currentl

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

2014-11-19 Thread Barnes, Mark (CORP)
Tomcat 6.x is NOT working with Tomcat 8.0.14. (Yes, I know that it is not recommended to put Contexts in server.xml, but I have no choice about that.) I believe I am using appBase and docBase correctly, but when I start Tomcat I get a series of exceptions that indicate that the directory cannot be

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

2014-11-19 Thread Konstantin Kolinko
containing my web app > correctly. > > The server.xml I have been using for Tomcat 6.x is NOT working with Tomcat > 8.0.14. As expected. You must start with Tomcat 8 server.xml and modify things as necessary. http://tomcat.apache.org/migration.html > > I believe I am usin

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\site

Re: Host appBase vs Context docBase

2014-07-07 Thread Igal @ getRailo.org
t 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 appBase attribute with relative paths for docBase attributes in Tomcat 6 a

Re: Host appBase vs Context docBase

2014-07-07 Thread Terence M. Bandoian
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 appBase attribute with relative paths for docBase attributes in Tomcat 6 and 7 without any

Re: Host appBase vs Context docBase

2014-07-05 Thread Igal @ getRailo.org
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 appBase attribute with relative paths for docBase attributes in Tomcat 6 and 7 without any problems. when I try that then "webapps&q

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

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

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 appba

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 alongsid

Re: Deploying a relative docBase outside of appBase

2014-06-30 Thread Peter Rifel
Using the catalina.home variable did the trick, thank you! Peter On 6/26/14, 7:19 PM, "Caldarale, Charles R" wrote: >> From: Peter Rifel [mailto:pri...@mixpo.com] >> Subject: Deploying a relative docBase outside of appBase > >> In Tomcat 7 I had a ROOT.xm

RE: Deploying a relative docBase outside of appBase

2014-06-26 Thread Caldarale, Charles R
> From: Peter Rifel [mailto:pri...@mixpo.com] > Subject: Deploying a relative docBase outside of appBase > In Tomcat 7 I had a ROOT.xml file in conf/Catalina// which > contained > my Context with a docBase="../../www.war" parameter. This was able to reach > my &g

Deploying a relative docBase outside of appBase

2014-06-26 Thread Peter Rifel
t absolute, we append the appBase with the docBase's getName() which returns just "the last name in the pathname's name sequence" according the javadocs. Should this be getPath() instead? getPath() would return the full relative path that when combined with the appBase, the

Re: Host appBase

2013-11-08 Thread Konstantin Kolinko
2013/11/8 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 se

Re: Host appBase

2013-11-08 Thread Milo Hyson
On Nov 8, 2013, at 12:29 PM, Daniel Mikusa 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 the potential for pro

Re: Host appBase

2013-11-08 Thread Christopher Schultz
at system files. Reading the Tomcat docs > for appBase, I see I can set this value. > > Reading further down in the Tomcat docs for Host, other questions > have spawned... and I blame it on being Friday. > > 1. When/Why would I change the xmlBase directory location? For > the sam

Re: Host appBase

2013-11-08 Thread Daniel Mikusa
, 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, other questions have >> spawned.

Re: Host appBase

2013-11-08 Thread Milo Hyson
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 Tomcat docs for appBase, I see I can set this > v

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: [Tomcat 7] Why can't you use automatic deployment and exploded WAR when docBase is outside appBase?

2012-08-07 Thread Christopher Schultz
.0-doc/config/host.html), a > new important text that wasn't in 6 reads: unpackWARs - (...) WAR > files located outside of the Host's *appBase* will not be > expanded. > > And in > http://tomcat.apache.org/tomcat-7.0-doc/config/host.html#Automatic%20Application%20Deployment

Re: [Tomcat 7] Why can't you use automatic deployment and exploded WAR when docBase is outside appBase?

2012-08-06 Thread Mark Eggers
On 8/6/2012 1:43 PM, Miguel Almeida wrote: Thanks for the input regarding 2). What's the difference between using javax.servlet.context.tempdir vs java.io.tmpdir ? Also, do you know the answer to 1 - ie, why did the change occur regarding not exploding when the WAR is outside ap

Re: [Tomcat 7] Why can't you use automatic deployment and exploded WAR when docBase is outside appBase?

2012-08-06 Thread Miguel Almeida
Thanks for the input regarding 2). What's the difference between using javax.servlet.context.tempdir vs java.io.tmpdir ? Also, do you know the answer to 1 - ie, why did the change occur regarding not exploding when the WAR is outside appBase? On Mon, Aug 6, 2012 at 9:32 PM, Mark Eggers

Re: [Tomcat 7] Why can't you use automatic deployment and exploded WAR when docBase is outside appBase?

2012-08-06 Thread Mark Eggers
On 8/6/2012 12:40 PM, Caldarale, Charles R wrote: From: Miguel Almeida [mailto:migueldealme...@gmail.com] Subject: [Tomcat 7] Why can't you use automatic deployment and exploded WAR when docBase is outside appBase? The motivation for this is a simple code ServletContext.getRealPath(&q

RE: [Tomcat 7] Why can't you use automatic deployment and exploded WAR when docBase is outside appBase?

2012-08-06 Thread Caldarale, Charles R
> From: Miguel Almeida [mailto:migueldealme...@gmail.com] > Subject: [Tomcat 7] Why can't you use automatic deployment > and exploded WAR when docBase is outside appBase? > The motivation for this is a simple code ServletContext.getRealPath("/") > to create a sim

[Tomcat 7] Why can't you use automatic deployment and exploded WAR when docBase is outside appBase?

2012-08-06 Thread Miguel Almeida
>From the docs (http://tomcat.apache.org/tomcat-7.0-doc/config/host.html), a new important text that wasn't in 6 reads: unpackWARs - (...) WAR files located outside of the Host's *appBase* will not be expanded. And in http://tomcat.apache.org/tomcat-7.0-doc/config/host.html#Automatic%20Application%20D

Use case for adding configurable behavior for unpacking WARs deployed outside the Host's appBase?

2011-10-20 Thread Jason Pringle
We finally tracked down why a 3rd party application we use stopped working as of our upgrade to 7.0.14 (and subsequent) - it was the fix applied to 7.0.12 which stopped unpacking WARs that were deployed from an appBase outside that of the container. It presented itself in an odd way, which is

Re: appbase directory deleted partically

2011-10-16 Thread Konstantin Kolinko
2011/10/17 Osamu Ochiai : > Thanks. > > I mean that the directories other than WEB-INF directory  were deleted. > > Thanks again. > > Osamu Ochiai > > Do not top-post. Look at Context attributes such as antiJARLocking Unixes allow to delete files that are still open for reading/writing, Windows

Re: appbase directory deleted partically

2011-10-16 Thread Osamu Ochiai
Thanks. I mean that the directories other than WEB-INF directory were deleted. Thanks again. Osamu Ochiai From: Pid To: Tomcat Users List Date: 2011/10/16 01:15 Subject:Re: appbase directory deleted partically On 14/10/2011 04:07, Osamu Ochiai wrote: > Hello >

Re: appbase directory deleted partically

2011-10-15 Thread Pid
On 14/10/2011 04:07, Osamu Ochiai wrote: > Hello > > The problem: > Tomcat started successfully but the deployed webapp did not work > because the appbase directory was deleted partially. > Maybe the directory was deletedby mistake without u

appbase directory deleted partically

2011-10-13 Thread Osamu Ochiai
Hello The problem: Tomcat started successfully but the deployed webapp did not work because the appbase directory was deleted partially. Maybe the directory was deletedby mistake without user's intention. Can Tomcat delete appbase directory except in the

Re: Question about Tomcat 6.020 appBase Vs autoDeploy?

2009-12-21 Thread Mark Thomas
On 21/12/2009 19:08, Pascal Vachon wrote: > Thanks for your quick answer... but doesn't that require a different DNS > host name for my three development environments? Yes. > Like I mentionned in my question, I would like to use the same DNS host > name for my three development environments...

Re: Question about Tomcat 6.020 appBase Vs autoDeploy?

2009-12-21 Thread Pascal Vachon
mcat 6.020 appBase Vs autoDeploy? On 21/12/2009 18:50, Pascal Vachon wrote: > Is there a way to keep my logic in place... and still satisfy the > developers demand (be able to deploy applications themselves using a .WAR > file)? > Again, I'm new to Tomcat, so sorry if this looks

Re: Question about Tomcat 6.020 appBase Vs autoDeploy?

2009-12-21 Thread Mark Thomas
u can use virtual hosting. See http://tomcat.apache.org/tomcat-6.0-doc/virtual-hosting-howto.html You can give your developers read/write to the dev host's appBase but not the other appBase directories. Mark - To unsubscribe,

Question about Tomcat 6.020 appBase Vs autoDeploy?

2009-12-21 Thread Pascal Vachon
AppMan\dev \Tomcat 6.0\webapps\WebAppMan\test \Tomcat 6.0\webapps\WebAppMan\stage Here's the host line in my server.xml file: As you can see, my appBase is set to "webapps/WebAppMan", because I wanted to have URLs like this (identifying the development environment used): h

Re: Finding out the absolute path to application (appBase)

2009-10-03 Thread Uwe Günther
Mark Thomas wrote: Caldarale, Charles R wrote: From: Igor Mukhin [mailto:iimu...@mail.ru] Subject: Finding out the absolute path to application (appBase) what is the best way two find out the absolute path to directory where the application is expanded (appBase)? There's no guarantee

Re: Finding out the absolute path to application (appBase)

2009-10-02 Thread Mark Thomas
Caldarale, Charles R wrote: >> From: Igor Mukhin [mailto:iimu...@mail.ru] >> Subject: Finding out the absolute path to application (appBase) >> >> what is the best way two find out the absolute path to directory >> where the application is expanded (appBase)? >

RE: Finding out the absolute path to application (appBase)

2009-10-02 Thread Caldarale, Charles R
> From: Igor Mukhin [mailto:iimu...@mail.ru] > Subject: Finding out the absolute path to application (appBase) > > what is the best way two find out the absolute path to directory > where the application is expanded (appBase)? There's no guarantee that the application

Finding out the absolute path to application (appBase)

2009-10-02 Thread Igor Mukhin
Hello everybody, if I have an instance of org.apache.catalina.core.StandardContext , what is the best way two find out the absolute path to directory where the application is expanded (appBase)? For instance stdctx.getAppBase() would just return "manager", where stdctx is "/m

Re: TC doco about overlapping Apache DocumentRoot with TC appBase?

2009-01-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, da...@davidwbrown.name wrote: > Does the following example constitute overlapping directories > in terms of the TC doco? (see link above). > > DocumentRoot="/home/someuser/www" > > appBase="/home/so

TC doco about overlapping Apache DocumentRoot with TC appBase?

2009-01-11 Thread david
overlapping Apache DocumentRoot and TC appBase directories could be causing an issue. Does the following example constitute overlapping directories in terms of the TC doco? (see link above). DocumentRoot="/home/someuser/www" appBase="/home/someuser/www/web" docBa

RE: appbase and docbase

2008-07-23 Thread Caldarale, Charles R
> From: Michael Clovis [mailto:[EMAIL PROTECTED] > Subject: Re: appbase and docbase > > The context.xml within the META-INF directory for foo.war > is currently > , not ; case matters. > after clearing out the work directory and restarting the error is the > same as befo

Re: appbase and docbase

2008-07-23 Thread Michael Clovis
(HostConfig.java:488) Still a little confused.. Caldarale, Charles R wrote: From: Michael Clovis [mailto:[EMAIL PROTECTED] Subject: appbase and docbase For an application let's call it foo and it is in a war and meant to be "executed" as such.. so foo.war is placed within the we

RE: appbase and docbase

2008-07-23 Thread Caldarale, Charles R
> From: Michael Clovis [mailto:[EMAIL PROTECTED] > Subject: appbase and docbase > > For an application let's call it foo and it is in a war and > meant to be "executed" as such.. so foo.war is placed within > the webapps directory. > Within the META-INF direc

appbase and docbase

2008-07-23 Thread Michael Clovis
This is hopefully a simple question that will be easy to clear up. Here is the example: In server.xml the appbase="webapps" and unpackWARs="false" and autoDeploy="true" For an application let's call it foo and it is in a war and meant to be "executed&qu

Re: mod_jk: docBase and appBase -- 'ROOT' taken out

2008-07-17 Thread Charles Caldarale
On Jul 17, 2008, at 23:30, Robert Koberg <[EMAIL PROTECTED]> wrote: unless I am doing something terrible wrong with nested contexts... Nested contexts are not permitted by the servlet spec. If another container supports such a violation, it just goes to show how far some will go to tie y

Re: mod_jk: docBase and appBase -- 'ROOT' taken out

2008-07-17 Thread Robert Koberg
letely illegal; buzzwrecker. why? Is there a technical problem or conformance? I am migrating an old app from Resin 2.1.16. > webapps may not be nested - each must be > in a separate directory (or war file), usually under the > appBase directory. Move members up one level,

Re: mod_jk: docBase and appBase -- 'ROOT' taken out

2008-07-17 Thread Charles Caldarale
On Jul 17, 2008, at 21:56, Robert Koberg <[EMAIL PROTECTED]> wrote: The problem: even though I specifiy 'docBase="/home/app/wwwapps/ROOT/members"' Which is completely illegal; webapps may not be nested - each must be in a separate directory (or war file), us

mod_jk: docBase and appBase -- 'ROOT' taken out

2008-07-17 Thread Robert Koberg
nall the context associated with the error message WARNING: A docBase /home/app/wwwapps/ROOT/members inside the host appBase has been specified, and will be ignored Jul 17, 2008 10:13:19 PM org.apache.catalina.core.StandardContext resourcesStart SEVERE: Error starting static Resources java.lang.Illegal

RE: appBase

2008-02-04 Thread Paul Wallace
. -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Monday, February 04, 2008 11:25 AM To: Tomcat Users List Subject: RE: appBase > From: Paul Wallace [mailto:[EMAIL PROTECTED] > Subject: RE: appBase > > unpackWARs="true" autoDeploy="t

RE: appBase

2008-02-03 Thread Caldarale, Charles R
> From: Paul Wallace [mailto:[EMAIL PROTECTED] > Subject: RE: appBase > > unpackWARs="true" autoDeploy="true" >xmlValidation="false" xmlNamespaceAware="false"> > and in > > C:\myapp.build.target\gs-mydir\site\M

Re: appBase

2008-02-03 Thread Pid
, 2008 10:00 PM To: Tomcat Users List Subject: Re: appBase Paul Wallace wrote: Hi, Using Tomcat 5.5 I wish to provide my own appBase to a relative or fully formed path e.g: or (assuming mysite is two folders above CATALINA_HOME) Neither work and an HTTP 400 is returned

RE: appBase

2008-02-03 Thread Paul Wallace
. -Original Message- From: Pid [mailto:[EMAIL PROTECTED] Sent: Sunday, February 03, 2008 10:00 PM To: Tomcat Users List Subject: Re: appBase Paul Wallace wrote: > Hi, > > Using Tomcat 5.5 I wish to provide my own appBase to a relative or fully > formed path e.g: > >

Re: appBase

2008-02-03 Thread Pid
Paul Wallace wrote: Hi, Using Tomcat 5.5 I wish to provide my own appBase to a relative or fully formed path e.g: or (assuming mysite is two folders above CATALINA_HOME) Neither work and an HTTP 400 is returned. This stops the show also in server.xml: How do I point

appBase

2008-02-02 Thread Paul Wallace
Hi, Using Tomcat 5.5 I wish to provide my own appBase to a relative or fully formed path e.g: or (assuming mysite is two folders above CATALINA_HOME) Neither work and an HTTP 400 is returned. This stops the show also in server.xml: How do I

Re: server configuration - shared appBase in multiple Host elements

2008-01-29 Thread David Delbecq
host (unix environment). Chris Beckey a écrit : The question: has anyone tried to share a web application (appBase) between multiple virtual hosts? Background: the project I'm working on is a number of web applications that front a number (100's) of instances of a legacy application acc

server configuration - shared appBase in multiple Host elements

2008-01-29 Thread Chris Beckey
The question: has anyone tried to share a web application (appBase) between multiple virtual hosts? Background: the project I'm working on is a number of web applications that front a number (100's) of instances of a legacy application accessed through a custom protocol. The number

Remote appBase/docBase for war file

2008-01-23 Thread Pushkal Mishra
Hi All, Is it possible to source a remote WAR file (hosted as a static resource in the htdocs folder of an Apache Web Server) into an Apache Tomcat 6.x server instance? The idea is for the Tomcat to source in the latest WAR file during boot time. http://mydomain2/someapp.war!/"; debug="1

RE: Problem with accessing HTML page under non-default appBase in Tomcat.

2008-01-11 Thread rajendra_sakpal
Thanks Caldarale/David! Your solution worked. I will take a look at the documents as well. -Rajendra DISCLAIMER == This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or en

Re: Problem with accessing HTML page under non-default appBase in Tomcat.

2008-01-11 Thread David Smith
To be clear, the appBase can contain nothing but webapps and tomcat considers all content to be a part of one webapp or another. The ROOT webapp is a special webapp that processes all requests not matching any other webapp's path. To serve up your html file from the root of your site,

RE: Problem with accessing HTML page under non-default appBase in Tomcat.

2008-01-11 Thread Caldarale, Charles R
> From: rajendra_sakpal [mailto:[EMAIL PROTECTED] > Subject: RE: Problem with accessing HTML page under > non-default appBase in Tomcat. > > FYI: The problem that I described here has nothing to do with > the problem that I posted yesterday. No, it's exactly the

RE: Problem with accessing HTML page under non-default appBase in Tomcat.

2008-01-11 Thread rajendra_sakpal
== However, I am curious to know if there's any resolution for the problem with accessing HTML page under non-default appBase in Tomcat. FYI: The problem that I described here has nothing to do with the problem that I posted yesterday. I just want to know if I am missing anything/doin

RE: Problem with accessing HTML page under non-default appBase in Tomcat.

2008-01-11 Thread Caldarale, Charles R
> From: Rajendra Sakpal (Persistent) [mailto:[EMAIL PROTECTED] > Subject: Problem with accessing HTML page under non-default > appBase in Tomcat. > > I'm trying to access a HTML file placed in the appBase that > is not under the default "webapps" directory o

Problem with accessing HTML page under non-default appBase in Tomcat.

2008-01-11 Thread Rajendra Sakpal (Persistent)
Hi Folks, I'm trying to access a HTML file placed in the appBase that is not under the default "webapps" directory of Tomcat 5.5. I cannot access the URL (http://10.88.129.18:8088/post35.html) from browser. Server.xml: Note: The post35.html in the above URL

RE: Problem with accessing HTML page under non-default appBase in Tomcat.

2008-01-11 Thread rajendra_sakpal
It's giving me HTTP 400: Bad Request error when trying to access the URL. DISCLAIMER == This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed.

Re: appBase and docBase in VirtualHosting Configuration of TC5.5

2007-12-16 Thread Mark Thomas
Penghui Wang wrote: > It seems workable. But i am not sure the configuration right or not. > > Could someone could pick me up? http://tomcat.apache.org/tomcat-6.0-doc/virtual-hosting-howto.html Mark - To start a new topic, e-m

appBase and docBase in VirtualHosting Configuration of TC5.5

2007-12-15 Thread Penghui Wang
Dear, List, I have several websites and each site is a web application. If i wanna hosting all the sites in a single tomcat instance, i have to add several "" elements in server.xml. In the default which coming with the tomcat packages, the appBase is "webapps" which loca

RE: deploy outside of appBase w/Manager

2007-10-02 Thread Caldarale, Charles R
> From: nyronian [mailto:[EMAIL PROTECTED] > Subject: RE: deploy outside of appBase w/Manager > > I wanted to do my due diligence before coming up with > my own deployment solution (like the scripting solution > you recommended). You could probably use the manager as is to

RE: deploy outside of appBase w/Manager

2007-10-02 Thread nyronian
Charles R wrote: > >> From: nyronian [mailto:[EMAIL PROTECTED] >> Subject: Re: deploy outside of appBase w/Manager >> >> First, the context.xml is simple: >> > privileged="false" /> > > As you have discovered, and we have discussed _many_ time

RE: deploy outside of appBase w/Manager

2007-10-02 Thread Caldarale, Charles R
> From: nyronian [mailto:[EMAIL PROTECTED] > Subject: Re: deploy outside of appBase w/Manager > > First, the context.xml is simple: > privileged="false" /> As you have discovered, and we have discussed _many_ times on this mailing list, the path and docBase attribu

Re: deploy outside of appBase w/Manager

2007-10-02 Thread nyronian
: > 1. Place the context.xml in the META-INF of the war and deploy using the > manager "WAR file to deploy" > - As expected, it ignores the path and places the war in the appBase > directory, not in the docBase directory. > > Scenario 2: > 1. Place the war and contex

Re: deploy outside of appBase w/Manager

2007-10-02 Thread nyronian
context.xml in the META-INF of the war and deploy using the manager "WAR file to deploy" - As expected, it ignores the path and places the war in the appBase directory, not in the docBase directory. Scenario 2: 1. Place the war and context.xml in a particular location on disk. 2. Using t

Re: deploy outside of appBase w/Manager

2007-10-02 Thread Scott McClanahan
following deployment requirment: > > 1. Change the context (path) of the war I am deploying, different from > the > name of the war. Note: I know this is not best practice and against > tomcats model but I cannot change the name of the war, as much as I > would > love to. >

deploy outside of appBase w/Manager

2007-10-02 Thread nyronian
, different from the name of the war. Note: I know this is not best practice and against tomcats model but I cannot change the name of the war, as much as I would love to. 2. Deploy the war outside of the appBase directory via the tomcat manager. Note: this has to be done in order to change the

Re: appBase & docBase in element in server.xml

2006-12-14 Thread Martin Gainty
Good Morning Wang the answer depends on the value of your autodeploy ths is straight from the doc http://tomcat.apache.org/tomcat-5.5-doc/config/host.html appBase "The Application Base directory for this virtual host. This is the pathname of a directory that may contain web applications

RE: appBase & docBase in element in server.xml

2006-12-13 Thread Caldarale, Charles R
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Wang Penghui > Subject: Re: appBase & docBase in element in server.xml > > And i got a question here, is the docBase must be a > subdirectory in the webapps? No - for examples of where the specified docBase is not a

Re: appBase & docBase in element in server.xml

2006-12-13 Thread Wang Penghui
Caldarale, Charles R 写道: From: news [mailto:[EMAIL PROTECTED] On Behalf Of Wang Penghui Subject: appBase & docBase in element in server.xml An empty docBase is never correct - if it "works", it's just dumb luck. 1. appbase = "/home/test/wwwroot" docbase

RE: appBase & docBase in element in server.xml

2006-12-13 Thread Caldarale, Charles R
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Wang Penghui > Subject: appBase & docBase in element in server.xml > > > An empty docBase is never correct - if it "works", it's just dumb luck. > 1. appbase = "/home/test/wwwroot" docbase =

appBase & docBase in element in server.xml

2006-12-13 Thread Wang Penghui
unclear about the appbase and docbase. Here are some examples, could you tell me which one is correct. 1. appbase = "/home/test/wwwroot" docbase = "". and the default path of docbase should be appbase/ROOT 2. appbase = "/home/test/wwwroot" docbase = "/home/test/

RE: Problem redirecting appbase on a network drive

2006-10-31 Thread Caldarale, Charles R
> From: Didier CROUTZ [mailto:[EMAIL PROTECTED] > Subject: Problem redirecting appbase on a network drive > > I'm using an Apache Tomcat version 5.5.2 on a Windows XP Pro SP2. If it's really 5.5.2 and not 5.5.20, you should move up; lots of bug fixes since then. >

RE: Problem redirecting appbase on a network drive

2006-10-31 Thread Caldarale, Charles R
> From: Martin Gainty [mailto:[EMAIL PROTECTED] > Subject: Re: Problem redirecting appbase on a network drive > > each machine needs to install its own copy of tomcat and have > its own copy of server.xml configured for that machine and > not to other tomcat machines Wha

RE: Datasource following appBase changes

2006-10-31 Thread Caldarale, Charles R
> From: Scott Cowley [mailto:[EMAIL PROTECTED] > Subject: RE: Datasource following appBase changes > > I was hoping I could put two subdirectories, "Development" > and "Production", below the appBase and have Tomcat serve > out of them. Most people run

Re: Problem redirecting appbase on a network drive

2006-10-31 Thread Martin Gainty
review, disclosure, dissemination, distribution or copying of it or its contents - Original Message - From: "Didier CROUTZ" <[EMAIL PROTECTED]> To: Sent: Tuesday, October 31, 2006 6:26 PM Subject: Problem redirecting appbase on a network drive > Hello, > > I

Problem redirecting appbase on a network drive

2006-10-31 Thread Didier CROUTZ
Hello, I'm using an Apache Tomcat version 5.5.2 on a Windows XP Pro SP2. I'm trying to redirect applications directory on a network drive mounted with Windows "net use" command. To do this I've made the following modifications into the server.xml file: toDeploy="true"> changed to autoDeploy

RE: Datasource following appBase changes

2006-10-31 Thread Scott Cowley
Appreciate the prompt reply, Chuck! That answers a lot of questions. I was hoping I could put two subdirectories, "Development" and "Production", below the appBase and have Tomcat serve out of them. I also hoped to have a path for each app within each of them! This makes i

RE: Datasource following appBase changes

2006-10-31 Thread Caldarale, Charles R
> From: Scott Cowley [mailto:[EMAIL PROTECTED] > Subject: RE: Datasource following appBase changes > > Quick correction on that previous post: > e.g. "webapps/Production/tests.test.jsp". > > -Original Message- > From: Scott Cowley [mailto:[EMAIL

RE: Datasource following appBase changes

2006-10-31 Thread Scott Cowley
Quick correction on that previous post: e.g. "webapps/Production/tests.test.jsp". -Original Message- From: Scott Cowley [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 31, 2006 3:40 PM To: users@tomcat.apache.org Subject: Datasource following appBase changes Hi. How come

Datasource following appBase changes

2006-10-31 Thread Scott Cowley
Hi. How come when I put contexts one directory below my "appBase" I can still get .html and .jsp's served, but the DataSource can't be found? e.g. "webapps/tests/test.jsp". - Thank you for any help! from javax.servlet.ServletException: "Name jdbc is not

Re: Question regarding appBase/docBase and default context.

2006-10-25 Thread Rizalino
We would like both appBase and docBase to be the same for the default > Context (is this possible?) > > > > *Basically, all the WAR/JSPs/Servlets will all go/served by tomcat from > the public_html folder?* > > > > Here is the current setup that worked and resol

Question regarding appBase/docBase and default context.

2006-10-23 Thread Rizalino DeVilleres
Guys, We would like both appBase and docBase to be the same for the default Context (is this possible?) *Basically, all the WAR/JSPs/Servlets will all go/served by tomcat from the public_html folder?* Here is the current setup that worked and resolved the other issue but it created

Re: AppBase

2006-05-17 Thread Gregg Leichtman
u have a directory called conf which contains a > file server.xml. Here you have settings for your Host(s). By > default you have "localhost" with an appBase="webapps". By default, > the webapps directory is a sibling of conf. The webapps directory > lets you drag an

  1   2   >