We have multiple servlets that i wish to unify under a single context.
That is, I want to get rid of the legacy servlets and introduce a
dispatcher servlet to handle all the different functions under a single
context. The problem is that this will break legacy apps that expect the
old contexts.
Hi,
I am running Tomcat 5.0.28. Our setup is somewhat similar to Virtual
hosting company. When a new user signs up, user's site is accessible
through localhost.com/user1 and after user registers the domain name
site is also available through user1.com.
My problem is that it seem to be double the
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
sage-
>From: Robert Hunt [mailto:[EMAIL PROTECTED]
>Sent: Sunday, August 01, 2004 3:33 PM
>To: [EMAIL PROTECTED]
>Subject: Re: Multiple contexts mapped to single docbase
>
>This seems to work:
>
>[server.xml excerpted]
>--
This seems to work:
[server.xml excerpted]
---
---
where webdav.xml contains the standard webdav servlet definitions and
necessary security constraints.
I'd like two contexts mapped to a single docbase. The first context would
use default servlets (and mappings) to serve the site for "regular" http
requests. I'd like the second context to be served by the webdav servlet,
so that it could be updatable by authorized users. Both contexts need to
re
Hi
I have 2 web apps configured in a single tomcat 4.1.24
server and each one's docbase is pointing to a .war file.
I have two questions.
1. Is it possible to access functionality from one webapp to
another one? If yes, how I can I do that.
2. How
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 unsubs
If you have multiple contexts which point to the same webapp, is there a way
of only applying authentication to specified contexts?
e.g. something along the lines of;
Since the authentication is controlled by the WEB-INF/web.xml file,
alternatively is it possible to specify different
You do the branding dynamically in one webapp.
-Original Message-
From: Rick Szeto [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 22, 2004 10:14 AM
To: Tomcat Users List
Subject: Re: Deployment with multiple contexts using the same docBase in
Tomcat5
That just doesn't seem rig
Howdy,
>That just doesn't seem right to me. How then do you deploy branded
sites
>without deploying the same common code(possibly different version of
it)
>in each version of the site?
I'm not sure what you mean, but why wouldn't you deploy the same common
code in each version of the site? Weba
Millennium ChemInformatics
-Original Message-
From: Rick Szeto [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 21, 2004 4:38 PM
To: Tomcat Users List
Subject: Deployment with multiple contexts using the same docBase in
Tomcat5
Hi,
I am trying to deploy multiple webapps using the same do
Howdy,
You wouldn't. One webapp = one context = one docBase.
Yoav Shapira
Millennium ChemInformatics
>-Original Message-
>From: Rick Szeto [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, January 21, 2004 4:38 PM
>To: Tomcat Users List
>Subject: Deployment with multipl
Hi,
I am trying to deploy multiple webapps using the same docBase. How
would I go about this?
Say that I have a baseapp.war that has all the content files and java
class and libraries as well as the web.xml that are common to all the
different contexts. Then I would have appctx1.war, appctx2.w
Hi,
Why yes, the load-on-startup tag is context specific. The behavior you
describe here is appropriate. Unfortunately, I don't know of a way that
you can force a loading order across contexts.
HTH...
Rich.
On Wed, 23 Jul 2003 [EMAIL PROTECTED] wrote:
> Hi,
>
> First, I apologize in advance,
Hi,
First, I apologize in advance, I am not positive I know what version of
tomcat I am using. I can tell you that I am using the jwsdp1.2 package
available at java.sun.com. (Sun explains on the site that jwsdp1.2 comes
with tomcat 5.0, but for some reason I didn't think that's what I was
using, b
> I do have a database. Databases are supposed to store data,
> aren't they? ;-)
Yeah, which is why ...
> Now seriously... My application includes a web interface to a "kind of"
> workflow system.
>
> This component is the "workflow engine", which is in charge for
> automatic (background) sta
Place the jar (or class) in common/lib (or common/classes) and all will be
"ok". That is - until you need to make a change to your singleton class (or
a class used by it) - in which case you will need to restart tomcat. (and not
restart your webapp)
-Tim
Antonio Fiol Bonnín wrote:
This is the
On Sun, 2003-06-15 at 10:51, Antonio Fiol Bonnín wrote:
> What I dislike is having to go out of the app to do app-internal calls.
> RMI, socket, CORBA, HTTP, ... I don't mind: I just dislike the idea.
>
With good reason. :-)
> I do have a database. Databases are supposed to store data, aren't t
EMAIL PROTECTED]
Sent: Sunday, June 15, 2003 10:52 AM
To: Tomcat Users List
Subject: Re: Singleton across multiple contexts
- Extract the component into a separate JVM, and connect to it
via socket.
This is what I'd do, but I'd also write a client class to get access
10:59 AM
Subject: RE: Singleton across multiple contexts
> I have not followed this thread,
> but putting the class in common/lib or shared/lib should make it a
singleton
> across contexts
>
> Filip
>
> > -Original Message-
> > From: Antonio Fiol Bonnín [mail
This is the best I could find:
--
Each application is loaded with sepperate classloaders, so as long as the
servlets are in the same application and the singleton is in it's classpath
too it works.
--
My singleton has to work *across* applications.
Any ideas?
Thank you ver
gt; Subject: Re: Singleton across multiple contexts
>
>
> >
> >
> >>- Extract the component into a separate JVM, and connect to it
> via socket.
> >>
> >>This is what I'd do, but I'd also write a client class to get access. I
> >>su
- Extract the component into a separate JVM, and connect to it via socket.
This is what I'd do, but I'd also write a client class to get access. I
suppose you could use RMI or something, but I'm not familiar with that.
Whatever you're comfortable with, I guess.
You could also spin off this class
Hi Antonio,
> - Extract the component into a separate JVM, and connect to it via
socket.
This is what I'd do, but I'd also write a client class to get access. I
suppose you could use RMI or something, but I'm not familiar with that.
Whatever you're comfortable with, I guess.
You could also spin
Look in the archives and search for past Singleton discussions.
http://marc.theaimsgroup.com/?l=tomcat-user&w=2&r=1&s=singleton&q=b
http://marc.theaimsgroup.com/?l=tomcat-dev&w=2&r=1&s=singleton&q=b
Otherwise ...
- EJB (???)
- Use a custom JNDI Factory (see tomcat jndi docs)
-Tim
Antonio Fiol Bon
Hello,
This question is probably not specific to Tomcat, but a Tomcat-specific
answer could well suit my needs.
I have an application which I have split in several different contexts.
I have done so, to allow different kinds of access to the app, depending
on the web server the requests are co
"Madere, Colin" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> So I set in the /conf/web.xml for the whole server.
>
>
> 401
> /pub/error/401.html
>
>
> 403
> /pub/error/403.html
>
>
> 404
> /pub/error/404.html
>
>
> 500
> /pub/error/500.html
>
>
> However,
So I set in the /conf/web.xml for the whole server.
401
/pub/error/401.html
403
/pub/error/403.html
404
/pub/error/404.html
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 th
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]
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
To reword my original post in a short statement:
Is there anyway to have multiple contexts that have form-based auth
configured that all use a single login form rather than one for each
context?
> -Original Message-
> From: Madere, Colin [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday
Hi,
I have a requirement where i need to have the same session across
all my contexts. I am using a Jboss + tomcat4.0.3 combination and am
relatively new to servlet API's. I searched the list and found that this
question has been posted by Eddie Liang. A reply was provided by Michael
Becke
I`m having trouble logging for multiple Contexts.
does this look right
does this need to nest inside of the default Context ?
If anyone has an server.xml that works in this capacity,
I would appreciate it.
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands,
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
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
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 t
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
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
y are
arbitrary?! any ideas?
Zach
-Original Message-
From: craigmcc@localhost [mailto:craigmcc@localhost]On Behalf Of Craig
R. McClanahan
Sent: Thursday, August 23, 2001 6:13 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: static variables in multiple contexts PLEASE HELP
Th
"
directory, or from the CLASSPATH, it is global to all web apps.
Craig
On Thu, 23 Aug 2001, Zach Hollandsworth wrote:
> Date: Thu, 23 Aug 2001 16:27:14 -0500
> From: Zach Hollandsworth <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED], [EMAIL PROTECTED]
> To: [EMAIL PROTECT
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 ext
I have 5 different applications in webapps directory and they all run on
same
application. How can i set this up ? I don't want different "application"
contexts created.
I want them to use ROOT ? I have create symbolic links to ROOT and modified
tomcat-apache.conf to do this.
Oh yeah i'm using
8:31 AM
To: TomCat
Subject: Multiple contexts under IIS on different virtual hosts.
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
ca
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
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 point to
"/myservle
Vijay Prabhakar wrote:
I'm working with the source edition Tomcat 3.2.1.
I'd like to set up an instance of Tomcat where certain incoming requests
need to be authenticated using one method and others need to be authenticated
using another method (based upon the URL). Is there a nice way of
doin
Title: security and realms - multiple contexts
I'm working with the source edition Tomcat 3.2.1. I'd like to set up an instance of Tomcat where certain incoming requests need to be authenticated using one method and others need to be authenticated using another method (based up
I think by removing
from the server xml
- Original Message -
From:
Shahed Ali
To: [EMAIL PROTECTED]
Sent: Thursday, December 28, 2000 6:15
PM
Subject: & Multiple
Contexts
Hi,
I have a entry in my server.xml pointing to a
we
Hi,
I have a entry in my server.xml pointing to a
webapp.
This webapp is in the webapps directory.
When I start tomcat, it loads 2 contexts each refering to the
same application.
one is webapps/myapp and the other is www.host.com
I have now moved my app to a separate directory, and o
"Lacerda, Wellington (AFIS)" wrote:
> I've a set of web applications /a, /b and /c and a set of users I want to
> have access to them, but using a single login. The user logs in via a form
> based login or something and have access to all the applications. Is it
> possible in Tomcat 3.2 ?
>
No
I've a set of web applications /a, /b and /c and a set of users I want to
have access to them, but using a single login. The user logs in via a form
based login or something and have access to all the applications. Is it
possible in Tomcat 3.2 ?
I wonder if I apply security restrictions to the
52 matches
Mail list logo