Re: Setting Contexts to work like vhosts

2001-04-26 Thread Daniel A. Melo
Brandon Cruz wrote: > I am trying to figure out a way to set contexts so that they will work like > virtual hosts (as far as the root directory and everything goes). The > reason I can't use vhosts is because it is a development machine. so what? > > Basically, I w

RE: Setting Contexts to work like vhosts

2001-04-26 Thread Mark Mynsted
one else runs into a similar problem, I can help out. Brandon -Original Message- From: Brandon Cruz [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 26, 2001 9:30 AM To: [EMAIL PROTECTED] Subject: Setting Contexts to work like vhosts I am trying to figure out a way to set contexts so t

RE: Setting Contexts to work like vhosts

2001-04-26 Thread Brandon Cruz
Well, We have several developers all with their own server and applications. They check everything into one version control, which routinely gets uploaded to the one production server. This production server has several vhosts running on it. There is no way to set contexts on the development

RE: Setting Contexts to work like vhosts

2001-04-26 Thread Brandon Cruz
I had some excellent help ;-) -Original Message- From: Scott Tatum [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 26, 2001 12:40 PM To: [EMAIL PROTECTED] Subject: Re: Setting Contexts to work like vhosts An excellent solution Brandon! ;-) -Scott (inside joke) -- Scott Tatum

RE: Setting Contexts to work like vhosts

2001-04-26 Thread Mark Mynsted
y check everything into one version control, which routinely gets uploaded to the one production server. This production server has several vhosts running on it. There is no way to set contexts on the development servers and have all the links work properly, so what we have to do is create cnames

Re: Setting Contexts to work like vhosts

2001-04-26 Thread Scott Tatum
gt; check everything into one version control, which routinely gets uploaded to > the one production server. This production server has several vhosts > running on it. There is no way to set contexts on the development servers > and have all the links work properly, so what we have to do is create

RE: Contexts with relative and absolute DocBase?

2001-12-18 Thread Guido Medina
Remember that TC is made in Java, the character "\" is illegal, to do it you have to put "C:\\Temp", the same as String x = "\n"; Guido. -Original Message- From: Dieter Kaltenbach [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 18, 2001 5:33 AM To: [EMAI

RE: Contexts with relative and absolute DocBase?

2001-12-18 Thread Justin Rowles
> Remember that TC is made in Java, the character "\" is > illegal, to do it you > have to put "C:\\Temp", the same as String x = "\n"; Better still, use Unix notation: "C:/Temp" J. -- You're only jealous cos the little penguins are talking to me. *

RE: Contexts with relative and absolute DocBase?

2001-12-18 Thread Guido Medina
x 7.1 Professional Server :-) -Original Message- From: Justin Rowles [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 18, 2001 9:04 AM To: 'Tomcat Users List' Subject: RE: Contexts with relative and absolute DocBase? > Remember that TC is made in Java, the character "\&q

RE: Contexts with relative and absolute DocBase?

2001-12-18 Thread Justin Rowles
> Yes, is true, it is supported in java.io.File class, bur > remember, the other > will be faster for the platform, at the end, the runtime will convert > C:/Temp to C:\Temp, it is the platform specification :-), Faster by 1ns at process startup only. Now, compare that to the time lost by bad

AW: Contexts with relative and absolute DocBase?

2001-12-18 Thread Dieter Kaltenbach
can I use both - absolute and relative (means relative to the appBase-Directory) DocBase-Paths - for one host? -Ursprüngliche Nachricht- Von: Justin Rowles [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 18. Dezember 2001 14:04 An: 'Tomcat Users List' Betreff: RE: Contexts wit

Re: Contexts with relative and absolute DocBase?

2001-12-18 Thread Craig R. McClanahan
On Tue, 18 Dec 2001, Dieter Kaltenbach wrote: > Date: Tue, 18 Dec 2001 10:32:37 +0100 > From: Dieter Kaltenbach <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Contexts with relative and absolute DocBase

AW: Contexts with relative and absolute DocBase?

2001-12-19 Thread Dieter Kaltenbach
Hi Craig, thanks a lot. It's working like this. Dieter. -Ursprüngliche Nachricht- Von: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 18. Dezember 2001 18:45 An: Tomcat Users List Betreff: Re: Contexts with rel

Context Admin View All Contexts 500 Error

2001-07-19 Thread Noble, Joseph A
n below. I don't see anything in this code which would cause the exception caught at line 194 and sequencing on to line 197. 119 if (param.equals("View All Contexts")) { 120 Enumeration enum = contextAdmin.getContextNames(); 121

Setting SSL for certain pages and contexts

2001-08-09 Thread Armin Lengauer
I successfully managed to configure tomcat 3.2 for JSSE support with the effect that I can call any servlet, JSP, or html via https or http. What I actually need is to set up tomcat in a way that certain pages or even complete contexts can only be served via https. Can someone give me an

static variables in multiple contexts PLEASE HELP

2001-08-23 Thread Zach Hollandsworth
I have asked this question a couple of times in here with no replies. I have two separate contexts with the same class. The class has a static variable and I would like to have different static variables across contexts. the source to an example class is as follows: public class StaticTest

Most contexts are loaded in one application

2001-08-28 Thread [EMAIL PROTECTED]
I've created one xml file (server_vs.xml) to load only one application, but when I launch This file with this command "bin/startup -f conf/server_vs.xml" I see that all applications are loaded. Can I start only one application with one xml server file? Please, can someone help me??

Re: How to "include" across contexts/webapps?

2002-01-03 Thread Craig R. McClanahan
On Wed, 2 Jan 2002, Daishi Harada wrote: > Date: Wed, 02 Jan 2002 19:56:34 -0800 > From: Daishi Harada <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: How to "include" across contexts/webapps? >

RE: How to "include" across contexts/webapps?

2002-01-03 Thread Marcin Jaskula
> > I'm trying to build a website in a typical sort of way, with headers > > and footers isolated and "<%@include%>"'ed into the actual > > pages. However, now I'd like to modularize somewhat and decompose > > parts of the site into their own

Re: How to "include" across contexts/webapps?

2002-01-04 Thread David M. Karr
appreciated. Daishi> I'm trying to build a website in a typical sort of way, with headers Daishi> and footers isolated and "<%@include%>"'ed into the actual Daishi> pages. However, now I'd like to modularize somewhat and decompose Daishi> part

RE: Sessions across contexts, is it possible?

2002-01-11 Thread Brandon Cruz
EMAIL PROTECTED]] Sent: Friday, January 11, 2002 3:45 PM To: Tomcat Users List; Jonathan Eric Miller Subject: Sessions across contexts, is it possible? Is it possible to use session attributes across contexts in tomcat 3.2.4? -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additio

Re: Sessions across contexts, is it possible?

2002-01-11 Thread Matt Egyhazy
; <[EMAIL PROTECTED]> Sent: Friday, January 11, 2002 5:21 PM Subject: RE: Sessions across contexts, is it possible? > I want to pass servletContext.getRealPath("") over to another context. I > don't want to have to do this with http parameters because of security > r

Re: Sessions across contexts, is it possible?

2002-01-11 Thread Matt Egyhazy
heh, duh, i replied to your second message, didnt see the first one, sorry. - Original Message - From: "Matt Egyhazy" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Friday, January 11, 2002 6:28 PM Subject: Re: Sessions across cont

RE: Sessions across contexts, is it possible?

2002-01-11 Thread Mario Felarca
[mailto:[EMAIL PROTECTED]] >Sent: Friday, January 11, 2002 3:45 PM >To: Tomcat Users List; Jonathan Eric Miller >Subject: Sessions across contexts, is it possible? > > >Is it possible to use session attributes across contexts in tomcat 3.2.4? > > >-- >To unsubscri

RE: Sessions across contexts, is it possible?

2002-01-11 Thread Brandon Cruz
List Subject: RE: Sessions across contexts, is it possible? At 04:21 PM 01/11/2002 -0600, you wrote: If you have your context's set to crossContext="true", you can receive the request in one context, set a request attribute with the value (setAttribute("otherContextPath

RE: Sessions across contexts, is it possible?

2002-01-11 Thread jerry . fang
to identify session yet? I don't quite understand the problem. Thanks! -Jerry -Original Message- From: Brandon Cruz [mailto:[EMAIL PROTECTED]] Sent: Friday, January 11, 2002 6:07 PM To: Tomcat Users List Subject: RE: Sessions across contexts, is it possible? This seems to be bre

RE: Sessions across contexts, is it possible?

2002-01-11 Thread Craig R. McClanahan
On Fri, 11 Jan 2002 [EMAIL PROTECTED] wrote: > Date: Fri, 11 Jan 2002 18:17:01 -0600 > From: [EMAIL PROTECTED] > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: RE: Sessions across contexts, is it possible? > > My valve subclasses

RE: Sessions across contexts, is it possible?

2002-01-11 Thread Craig R. McClanahan
On Fri, 11 Jan 2002, Brandon Cruz wrote: > Date: Fri, 11 Jan 2002 18:07:00 -0600 > From: Brandon Cruz <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: RE: Sessions across contexts, is

RE: Sessions across contexts, is it possible?

2002-01-11 Thread Chad Johnson
Hey, What if we change the scenario a little bit. Is is possible to share objects between contexts that reside in differant blocks? getContext() does not seem to work in that scenario. -Chad Johnson On Fri, 11 Jan 2002, Craig R. McClanahan wrote: > Containers are not required to let

RE: Sessions across contexts, is it possible?

2002-01-11 Thread Craig R. McClanahan
On Fri, 11 Jan 2002, Chad Johnson wrote: > Date: Fri, 11 Jan 2002 22:04:37 -0600 (CST) > From: Chad Johnson <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: RE: Sessions across

RE: Sessions across contexts, is it possible?

2002-01-11 Thread Chad Johnson
Great, thanks for the insight. The persistance layer sounds most pleasing. -Chad On Fri, 11 Jan 2002, Craig R. McClanahan wrote: > No, virtual hosts are considered (by the servlet API) to be totally > independent. > > If you want to delve into container-specific behavior, classes that are >

Tomcat 4 + IIS without bothering with Contexts

2002-02-06 Thread Richard P
I currently develop a large set of webapps I inherited, all written in VBScript (ASP). I'd like to move to JSP (99% of the bugs I encounter are due to VBScript's terrible type checking/handling). I've got Tomcat 4.0.1 integrated with IIS, reading the /examples context just fine (VERY IMPORTANT N

server.xml - Multiple Contexts for a Single WebApp

2002-03-08 Thread annie . frost
I am trying to duplicate an issue that I am having when I have Apache connected to Tomcat, on Tomcat alone. My Web Application is crashing when I have two entry points into the Application, for example: http://hostname http://hostname/webappname Is there a way to set up two Contexts that point

RE: Adding contexts to tomcat with IIS

2001-02-21 Thread Randy Layman
First, I believe that uriworpermap.properties file is only loaded at IIS service startup. In other words, to make modifications to the contexts available, you need to restart IIS. Second, I believe that /admin is a special virutal directory in IIS. Lastly, it seems like you have a

RE: Adding contexts to tomcat with IIS

2001-02-21 Thread Randy Layman
ECTED]' Subject: RE: Adding contexts to tomcat with IIS Thanks for the tips. I was restarting the web server via the management console. I guess what I need to do is restart the NT service "IIS Admin Service". Thanks Zach H. -Original Message- From: Randy Layman [

RE: Adding contexts to tomcat with IIS

2001-02-21 Thread Hensley, Zachary
2:24 PM To: [EMAIL PROTECTED] Subject: RE: Adding contexts to tomcat with IIS First, I believe that uriworpermap.properties file is only loaded at IIS service startup. In other words, to make modifications to the contexts available, you need to restart IIS. Second, I believe that /admin is

Re: Calling within and across webapp contexts

2001-03-02 Thread Craig R. McClanahan
> * Is there anyway to change this and make Tomcat do the "right" thing, i.e. > see '/' as the server root? > Nope ... Tomcat is already doing the "right" thing by the specs. To see for yourself: http://java.sun.com/products/jsp/download.html

allow HTTPS connection only to some contexts

2003-01-21 Thread Fabrizio Lippolis
Hello, I have configured a Tomcat 4.1.12 installation to accept connections both by HTTP and by HTTPS. Now I can access my webapps by both protocols. I would like to allow some contexts to be accessed only by HTTP and not by HTTPS and other contexts to be accessed by HTTPS and not by HTTP. Am I

RE: multiple contexts and form-based login

2003-01-29 Thread Filip Hanik
I think there is a SingleSignOn example that ships with Tomcat, look for singleSignOnValve Filip -Original Message- From: Madere, Colin [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 29, 2003 6:08 PM To: 'Tomcat Users List' Subject: multiple contexts and form-based

RE: multiple contexts and form-based login

2003-01-30 Thread Madere, Colin
4 PM > To: Tomcat Users List > Subject: RE: multiple contexts and form-based login > > I think there is a SingleSignOn example that ships with Tomcat, look for > singleSignOnValve > > Filip > > -Original Message- > From: Madere, Colin [mailto:[EMAIL PROTECTED]

Accessing Tomcat contexts from a desktop application?

2003-02-20 Thread Prashanth Pushpagiri
Hi, I am looking for a way of accessing a web application context from a standalone desktop application. Is this even possible? Basically, I have a connection pool in my web application's context and would like to access that from the application. I would also like to extract some string and integ

Re: error-page used by multiple contexts

2003-03-20 Thread Bill Barker
ml > > > 500 > /pub/error/500.html > > > However, this only works for contexts at the root of a site on the server > where this path is rooted (or if you duplicate these path patterns into > EVERY web-app). The webapps still try to use this path, but the beginni

Re: Sharing a connection pool among contexts

2003-06-06 Thread Emerson Cargnin
I do it in a different way : I have a servlet in charge to set all pools, and I have a class with statics methods to manage the pools, creating, test, and show their use. This class is shared with all contexts through a jar in common/lib. So I have a servlet, with all configuration of the

RES: Sharing a connection pool among contexts

2003-06-06 Thread Jose Euclides da Silva Junior - DATAPREVRJ
on Cargnin [mailto:[EMAIL PROTECTED] Enviada em: quinta-feira, 5 de junho de 2003 16:42 Para: Tomcat Users List Assunto: Re: Sharing a connection pool among contexts I do it in a different way : I have a servlet in charge to set all pools, and I have a class with statics methods to manage the pools

RE: Sharing a connection pool among contexts

2003-06-06 Thread Strecker, Mark
I have a simple solution for you. All you need to do is create a global DataSource then go to your context and add it as a Resource Link. You can share it between as many contexts as you want. In Tomcat 4.x and above, this is quite simple with the admin app ... otherwise, you have to go add it

RE: sharing objects betweeen different contexts (Long)

2003-07-08 Thread RANDAD,KAILASH (HP-PaloAlto,ex1)
different contexts (Long) Hi all,I'm trying to create an object in a Jsp page in an application named AppA and get it back in another page in AppB.When i made a test with String="my data to share" everything works properly but when i try to create a User Objets (simple java class in MyPac

RE: sharing objects betweeen different contexts (Long)

2003-07-09 Thread Cox, Charlie
bjects betweeen different contexts (Long) > > > Hi > Different web applications will get loaded from different > class loader, so > you are getting this exception. > Regards > KP > > -Original Message- > From: laurent marot [mailto:[EMAIL PROTECTED] >

RE: How do I change servlet contexts???

2003-07-31 Thread Shapira, Yoav
iginal Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >Sent: Wednesday, July 30, 2003 6:56 PM >To: [EMAIL PROTECTED] >Subject: How do I change servlet contexts??? > >Tomcat: 4.1.24 > >I have a war file whose base context is "/example". >Withi

Newbie problem with JSP contexts & virtual hosts

2004-04-11 Thread James Bucanek
the relationship between JSP pages, the JSP servlet, and web app Contexts. [ Note: I've made a lot of progress since I picked up "Tomcat: The Definitive Guide", by Jason Brittain & Ian F. Darwin. I was completely lost before I read their book. Now, I'm merely bewildered

Re: Problems after creating new hosts / contexts

2004-01-08 Thread Howard Watson
NA_TMPDIR="/var/tomcat4/temp" cut ----- First: There are a few of hosts and contexts running withouts problems .. but when I'm setting up contexts in new hosts, I've problems whith this new ones: 1. I create a hosts AppBase directory like $HOME/html/servlet/ for the domain diving.

RE: Problems after creating new hosts / contexts

2004-01-08 Thread Patrick Willart
is your WEB-INF directory fully in uppercase? Patrick -Original Message- From: Pronet Mailinglist [mailto:[EMAIL PROTECTED] Sent: Thursday, January 08, 2004 1:30 PM To: [EMAIL PROTECTED] Subject: Problems after creating new hosts / contexts Hi all, my environmemt: OS: Redhat Linux

Re: Problems after creating new hosts / contexts

2004-01-11 Thread Robert Zoehrer
At 1/8/2004 10:45 PM Patrick Willart worte: > is your WEB-INF directory fully in uppercase? For this simple test.jsp I've no WEB-INF directory in the DocBase dirs of the contexts. Must I create one in any case? The older hosts also don't have WEB-INF directories. Now we have res

Re: Problems after creating new hosts / contexts

2004-01-11 Thread Robert Zoehrer
Am 1/8/2004 10:49 PM meinte Howard Watson folgendes: > Do you need a webapps directory? I don't understand your question correctly? You mean, that I need an extra DocBase directory for the context in the new host? Like $HOME/html/servlet/myapp In my understanding of the TC docs there must be a c

Re: Problems after creating new hosts / contexts

2004-01-11 Thread "Robert Zöhrer | pronet.at"
At 1/8/2004 10:45 PM Patrick Willart worte: > is your WEB-INF directory fully in uppercase? For this simple test.jsp I've no WEB-INF directory in the DocBase dirs of the contexts. Must I create one in any case? The older hosts also don't have WEB-INF directories. Now we have res

Re: Problems after creating new hosts / contexts

2004-01-11 Thread "Robert Zöhrer | pronet.at"
Am 1/8/2004 10:49 PM meinte Howard Watson folgendes: > Do you need a webapps directory? I don't understand your question correctly? You mean, that I need an extra DocBase directory for the context in the new host? Like $HOME/html/servlet/myapp In my understanding of the TC docs there must be a c

no contexts, several webapps, autoDeploy, different loggers?

2004-01-14 Thread Apu Shah
i have a server.xml configured with the following Host element: when tomcat starts up, it deploys all the webapps found in appBase. it uses the global logger defined catalina_log.xxx.txt... is it possible, u

RE: no contexts, several webapps, autoDeploy, differentloggers?

2004-01-15 Thread Shapira, Yoav
Howdy, There is no magic token for the app name in the DefaultContext element. So you need a Logger for each Context explicitly defined. The Logger for a Context handles all servlets for that context. If you have one logger in your DefaultContext and no other Contexts defined, all output from

Re: Multiple contexts mapped to single docbase

2004-08-01 Thread Robert Hunt
This seems to work: [server.xml excerpted] --- --- where webdav.xml contains the standard webdav servlet definitions and necessary security constraints.

RE: Multiple contexts mapped to single docbase

2004-08-02 Thread Shapira, Yoav
Hi, You can have as many Contexts as you want mapped to the same docBase, but the path has to be different. Path usually starts with a / by the way, except for the default ("ROOT") webapp whose path is "". Yoav Shapira Millennium Research Informatics >-Original Mes

RE: Multiple contexts mapped to single docbase

2004-08-02 Thread Robert Hunt
Re: multiple mappings; not exactly the point and I apologize for not specifying that 'docBase="appXyz"' (in both descriptors) should be an absolute reference. The point was to have multiple contexts mapped to the same docbase, BUT, with each context having its OWN web.xml d

Re: Managing security on multiple contexts - urgent !

2000-11-22 Thread Craig R. McClanahan
> possible in Tomcat 3.2 ? > No. You need to use Tomcat 4.0 to gain this kind of "single sign on" support. > > I wonder if I apply security restrictions to the default web.xml file I can > have all my contexts sharing the same security schema ? > Nope. In Tomcat 3.2, a

How can I share Sessions between Contexts?

2001-01-22 Thread William Boyd
Hello, I'm a newbie to forums like this and to Tomcat so please bare with me. I've a quick question. How can I share Sessions between Contexts? I have a User site and an Admin site, both have their own context entry in the server.xml file. Both Sites must also share the same session i

RE: Preventing contexts from being loaded twice

2004-10-27 Thread Shapira, Yoav
Hi, Dude, RTFM ;) Set autoDeploy="false" for your Host in server.xml. Yoav Shapira http://www.yoavshapira.com >-Original Message- >From: E.P. Frederick [mailto:[EMAIL PROTECTED] >Sent: Wednesday, October 27, 2004 2:23 PM >To: [EMAIL PROTECTED] >Subject: Preve

Can Tomcat Contexts have class naming collisions?

2004-10-28 Thread agidden
We have Tomcat 4.1.30 in Win2000 using JDK 1.4.2_05. We are having a problem where ONE of our classes will not load. The class name is Marketplace.class (package com.marketplace.core) Our Tomcat webapp (Context) is named 'marketplace'. Code works fine except when you try to reference the 'Marke

WebDAV-Servlet with Contexts different from FileDirContext

2004-11-14 Thread Oliver Zeigermann
Folks, I am just reviewing Tomcat's WebDAV servlet and have even run Slide's WebDAV testsuite against it - many tests work :) I really like the brevity! I understand the default context used is FileDirContext, right? I am no Tomcat expert, so maybe this is a stupid question, but is it actually po

Need help exporting contexts not under webapps/

2005-04-18 Thread J. Ryan Earl
Hello, I'm in the process of bringing an in-house application up under Tomcat. Previously we were using Jetty as the servlet container, but for various reason I'm trying to get said application running with Tomcat 5.5.9 and Java 1.5.0. The problem I'm having is that there are two directories with

Manager in other webapp subdirectories hosts/contexts

2005-03-30 Thread John B. Moore
I know I saw the info on this topic somewhere, but for the life of me, I can not relocate it.. (can not come up with the magic search strings...) I have various subdirectories under webapps that are configured as separate hosts and contexts i.e. /webapps/someapp In that directory I have a web

Cannot modify Tomcat Contexts installed at setup

2005-04-04 Thread helena rato
using www.myurl.com:8080. I still get the 'old' index.jsp! The same happens with any of the Contexts installed during setup, like 'jsp-examples' context (for example, modifying /jsp-examples/num/numguess.jsp seems to have no impact at all, even after rebooting). On the oth

How to Configure Contexts? STILL DRIVING ME NUTS!

2002-09-10 Thread Jeff Wishnie
Hi All, Thank you for the responses I received. >From the responses it's clear to me that I do _not_ understand the mechanism of how contexts are specified and generated. I've read through the Tomcat documentation, and gone through the email-list-archives, and am still confused.

Multiple contexts under IIS on different virtual hosts.

2001-05-23 Thread Sean LeBlanc
I'm trying to get multiple contexts on the same machine, under different hosts. To explain what I'm trying to do: Let's say I have a machine called HAL. I have two sites hosted on it, let's call them www.site1.com and www.site2.com. I want to have a Tomcat context on each, let

Urgent (newbie) - Jsps located out of tomcat contexts

2001-10-02 Thread Navarro, Jose
be tracked. Therefore, my html pages turn to jsp pages (with a .jsp extension) Well, obviously my web site has a hierarchical structure. So we have html (some of them, now "would be" jsps) files spread across a tree that is not located under the umbrella of tomcat contexts. On the other side, th

Re: AW: Contexts with relative and absolute DocBase?

2001-12-18 Thread Craig R. McClanahan
On Tue, 18 Dec 2001, Dieter Kaltenbach wrote: > can I use both - absolute and relative (means relative to the > appBase-Directory) DocBase-Paths - for one host? > Yes. The "docBase" of each element is evaluated independently, to see if it is relative or not. Craig -- To unsubscribe:

Bad to have multiple contexts for one servlet?

2002-04-22 Thread apache
If I want for 3 or 4 paths to all point to the same servlet, is it wise to declare multiple contexts, like the following? If not a good idea, how should I do it? Thanks -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troub

How to deploy a multi-layered web contexts?

2001-08-23 Thread Keith
responsible for the content in SubContext2. I understand the .WAR file specification when everthing is at the top level context but I am not sure how to organize the content to create sub-contexts. Is it required that everything be packaged into a single .war file with just a single WEB-INF

Re: static variables in multiple contexts PLEASE HELP

2001-08-23 Thread Craig R. McClanahan
ED] > Subject: static variables in multiple contexts PLEASE HELP > > I have asked this question a couple of times in here with no replies. I > have two separate contexts with the same class. The class has a static > variable and I would like to have different static variables across

RE: static variables in multiple contexts PLEASE HELP

2001-08-23 Thread Zach Hollandsworth
Any idea why my static variables are carrying across contexts then? another issue that I noticed and I think this is the same, but my servlet "StaticTest" is usable from the examples context and it isn't even in that context. Its as if the contexts do not mean anything, as if the

RE: static variables in multiple contexts PLEASE HELP

2001-08-23 Thread Craig R. McClanahan
On Thu, 23 Aug 2001, Zach Hollandsworth wrote: > Date: Thu, 23 Aug 2001 18:37:11 -0500 > From: Zach Hollandsworth <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED], [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Subject: RE: static variables in multiple contexts PLEASE HEL

RE: static variables in multiple contexts PLEASE HELP

2001-08-23 Thread Zach Hollandsworth
o:craigmcc@localhost]On Behalf Of Craig R. McClanahan Sent: Thursday, August 23, 2001 8:18 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: static variables in multiple contexts PLEASE HELP On Thu, 23 Aug 2001, Zach Hollandsworth wrote: > Date: Thu, 23 Aug 2001 18:37:11 -0500 > From: Za

Re: Tomcat 4 + IIS without bothering with Contexts

2002-02-06 Thread Daniel Parnell
>Currently, the /secure directory on the server >automatically requires SSL and authentication for ASP >pages. I'd like to be able to just drop my JSP pages >right along side the ASP pages that are there. I've >read through the docs, and they all seem to assume >that one's JSP pages are going to

Re: Tomcat 4 + IIS without bothering with Contexts

2002-02-06 Thread Richard P
What exactly is your solution? I don't understand. --- Daniel Parnell <[EMAIL PROTECTED]> wrote: > >Currently, the /secure directory on the server > >automatically requires SSL and authentication for > ASP > >pages. I'd like to be able to just drop my JSP > pages > >right along side the ASP pag

Re: Tomcat 4 + IIS without bothering with Contexts

2002-02-06 Thread Daniel Parnell
IL PROTECTED]> Sent: Thursday, February 07, 2002 5:01 PM Subject: Re: Tomcat 4 + IIS without bothering with Contexts > What exactly is your solution? I don't understand. > > --- Daniel Parnell <[EMAIL PROTECTED]> wrote: > > >Currently, the /secure directory on the

Re: server.xml - Multiple Contexts for a Single WebApp

2002-03-08 Thread rsequeira
see intermixed. [EMAIL PROTECTED] on 03/08/2002 08:50:14 AM Please respond to "Tomcat Users List" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] cc: Subject: server.xml - Multiple Contexts for a Single WebApp I am trying to duplicate an issue that I am having when I have

how to write servlet to use multiple contexts

2001-02-06 Thread Chris Ward
The servlets and JSP pages that I have written all work fine if I have it running under the webapps/ROOT context. I would also like to have another version running that I can modify, running in webapps/test. I have set up the contexts, but because the url's in the jsp pages all poi

Difficulty getting IIS to recognize additional Tomcat contexts

2001-02-22 Thread MilitaryHire Technical Support
Hi, I have successfully instaled Tomcat and confirmed it worked using the examples. I then used the isapi_rediredct.dll to have my IIS use Tomcat for servlets. I confirmed that worked using the examples also. My problem is, I have not been able to get IIS to recognize any other contexts

Multiple serlvet contexts being created instead of 1

2003-01-14 Thread David Hemingway
Hi, I still have the problem of not getting a singleton class to in fact be a singleton (its configured as a context listener inside web.xml). Some people suggested that perhaps i was getting more than 1 instance of the web app being created and that seems to be the case. My context si configur

Multiple serlvet contexts being created instead of 1

2003-01-14 Thread David Hemingway
Hi again, I also forgot to mention that I am using Apache 1.3.27 and Tomcat 4.1.18 on RedHat 7.3. Thanks regards, Dave

Re: allow HTTPS connection only to some contexts

2003-01-21 Thread mwm
IL PROTECTED]> Sent: Tuesday, January 21, 2003 9:29 AM Subject: allow HTTPS connection only to some contexts Hello, I have configured a Tomcat 4.1.12 installation to accept connections both by HTTP and by HTTPS. Now I can access my webapps by both protocols. I would like to allow some contexts to be

From Tomcat 3.3 to Tomcat 4.0.5 -- Contexts Same?

2003-01-30 Thread Robert Keddie
In 3.3 we have context paths within the /ContextManager/Server area on the server.xml... Do these belong in a different area in server.xml on Tomcat 4.0.5? Because I no longer see /ContextManager or Server area tags on server.xml file in 4.0.5 and Im sort of at a loss where to place them. In addit

Re: Accessing Tomcat contexts from a desktop application?

2003-02-20 Thread Will Hartung
> From: "Prashanth Pushpagiri" <[EMAIL PROTECTED]> > Sent: Thursday, February 20, 2003 4:31 PM > Subject: Accessing Tomcat contexts from a desktop application? > Hi, > > I am looking for a way of accessing a web application > context from a standalone desktop

Re: Newbie problem with JSP contexts & virtual hosts

2004-04-12 Thread James Bucanek
While I didn't get any suggestions or feedback on my original question, I believe I've found a solution. Now I just need to run it by the group to see if it's "Kosher." James Bucanek wrote on Sunday, April 11, 2004: > > > unpackWARs="false" autoDeploy="true"> > > > > >

RE: Newbie problem with JSP contexts & virtual hosts

2004-04-14 Thread Yansheng Lin
ant anyways. -Yan -Original Message- From: James Bucanek [mailto:[EMAIL PROTECTED] Sent: April 13, 2004 00:07 To: Tomcat Users List Subject: Re: Newbie problem with JSP contexts & virtual hosts While I didn't get any suggestions or feedback on my original question, I believe I've fou

Re: no contexts, several webapps, autoDeploy, different loggers?

2004-01-15 Thread Howard Watson
In order to have a seperate log file for each web app you will need a logger for each context. Tomcat3 had ContextXmlReader that would allow you put context configuration for each webapp in its own file. It also had LogSetter name=servlet_log that you could define in and log all your servlets to

Can I use symbolic links to define contexts

2004-01-23 Thread Glanville, Jay
Hello all Can I use a symbolic links to help me define a web application / context? For example, if this is my webapps directory: admin -> admin.0.19.0 admin.0.19.0 The reason that I'm asking is in Tomcat 5, I'm getting the following exception being reported in my logs/catalina.out log: SE

Saving on Database Pool when having Multiple Contexts

2004-07-08 Thread Eric Noel
I have multiple apps/contexts that access the same database and uses dbcp. My worry is that on each of my i will declare the dbcp for the database, can i just declare one dbcp and each context/app can share that??? - To

RE: Point Apache at Tomcat Contexts via JkMount

2004-07-28 Thread Matthew Mamet
time and patience with this thread. Sincerely, Matthew Mamet From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Tue 7/27/2004 10:37 AM To: Tomcat Users List Subject: RE: Point Apache at Tomcat Contexts Hi, >The Tomcat Admin tool is hardly production-gra

RE: Point Apache at Tomcat Contexts via JkMount

2004-07-28 Thread Matthew Mamet
Has anyone had time to think on this? Any thoughts or advice is greatly appreciated. Thx From: Matthew Mamet [mailto:[EMAIL PROTECTED] Sent: Wed 7/28/2004 9:10 AM To: Tomcat Users List Subject: RE: Point Apache at Tomcat Contexts via JkMount Re: Tomcat Admin

Binding DataSources to Contexts in Tomcat 4.06/4.1

2004-08-19 Thread Jeffrey Barnett
I have a servlet that contains the following code in its init() method: public void init(ServletConfig config) throws ServletException { super.init(config); try { Context initCtx = new InitialContext(); Context envCtx = (Context) initCtx.lookup("java:com

Re: How can I share Sessions between Contexts?

2001-01-22 Thread Kief Morris
William Boyd typed the following on 03:48 PM 1/22/2001 -0800 >I have a User site and an Admin site, both have their own context entry in >the server.xml file. >Both Sites must also share the same session information as the interface >allows users to move from one site to another while only logging

Re: How can I share Sessions between Contexts?

2001-01-22 Thread Pete Ehli
just a guess) I think what you want to do is set in you contexts crossContext=true (allows you to access other contexts via ServletContext.getContext()) -- Pete -- I think if you want to - Original Message - From: "William Boyd" <[EMAIL PROTECTED]> To: <[EMAIL PROTE

RE: How can I share Sessions between Contexts?

2001-01-22 Thread William Boyd
PM To: [EMAIL PROTECTED] Subject: Re: How can I share Sessions between Contexts? Ok - maybe I am wrong and I have been numerous times but the admin directory is for administration of the server. In the future a gui interface will be installed in tomcat for server administration via webapps\admin - Since

<    1   2   3   4   5   >