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
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
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
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
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
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
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
> 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.
*
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
> 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
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
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
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
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
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
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
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??
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?
>
> > 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
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
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
; <[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
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
[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
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
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
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
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
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
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
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
>
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
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
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
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 [
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
> * 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
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
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
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]
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
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
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
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
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
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
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]
>
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
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
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.
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
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
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
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
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
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
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
This seems to work:
[server.xml excerpted]
---
---
where webdav.xml contains the standard webdav servlet definitions and
necessary security constraints.
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 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
> 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
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
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
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
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
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
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
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
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.
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
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
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:
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
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
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
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
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
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
>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
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
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
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
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
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
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
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
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
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
> 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
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">
>
>
>
>
>
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
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
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
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
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
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
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
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
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
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
201 - 300 of 402 matches
Mail list logo