RE: Same data source config on two contexts, different result

2004-03-27 Thread Martin Alley
] Sent: 27 March 2004 11:49 To: 'Tomcat Users List' Subject: RE: Same data source config on two contexts, different result Is that where your other context is finding it also? Where else is the driver? If you remove it from $CATALINA_HOME/common/lib does the other context fail in the same way

Re: Same data source config on two contexts, different result

2004-03-27 Thread Parsons Technical Services
source config on two contexts, different result Martin Alley wrote: I believe the driver either needs to be in WEB-INF/lib or $CATALINA_HOME/common/lib The driver is in $CATALINA_HOME/common/lib -- StSt - To unsubscribe

Re: Same data source config on two contexts, different result

2004-03-27 Thread Stig Stavik
Martin Alley wrote: Can you validate your config against a DTD? Well, when I made a new context on the v-host, tomcat makes a config for me. Context docBase=/home/stig/blablabla/ path= useNaming=false /Context I haven't touched it - and I recon tomcat should be able to read its own config

RE: Same data source config on two contexts, different result

2004-03-27 Thread Martin Alley
contexts, different result Martin Alley wrote: Can you validate your config against a DTD? Well, when I made a new context on the v-host, tomcat makes a config for me. Context docBase=/home/stig/blablabla/ path= useNaming=false /Context I haven't touched it - and I recon tomcat should be able

Re: Same data source config on two contexts, different result

2004-03-27 Thread Stig Stavik
I agree with Doug, please post full configs and the relevant code. Ok, here goes: /usr/tomcat/conf/server.xml: ?xml version='1.0' encoding='utf-8'? Server Listener className=org.apache.catalina.mbeans.ServerLifecycleListener/ Listener

RE: Please Comment: plan for co-ordinating sessions across mutliple contexts

2004-03-10 Thread Shapira, Yoav
, March 10, 2004 10:58 AM To: 'Tomcat Users List' Subject: Please Comment: plan for co-ordinating sessions across mutliple contexts I have an internal website with several web applications, and thus several contexts. The user's identity is automatically provided via jCIFs (NTLM authentication

RE: Please Comment: plan for co-ordinating sessions across mutlip le contexts

2004-03-10 Thread Justin Johnson
PROTECTED] Sent: Wednesday, March 10, 2004 10:01 AM To: Tomcat Users List Subject: RE: Please Comment: plan for co-ordinating sessions across mutliple contexts Hi, Can you make this UserDataBean work with Tomcat's SingleSignOn valve? http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/host.html

RE: Please Comment: plan for co-ordinating sessions across mutlip le contexts [follow-up: success]

2004-03-10 Thread Justin Johnson
the preference for language across all contexts immediately. Yoav mentioned using the SingleSignOn valve, but I require NTLM authentication that's being provided through jCIFS, and I couldn't find any guidance on using that as a realm, which is required for the valve. Anyway, this is one way to unify

RE: Please Comment: plan for co-ordinating sessions across mutliple contexts [follow-up: success]

2004-03-10 Thread Yansheng Lin
-Original Message- From: Justin Johnson [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 10, 2004 1:05 PM To: 'Tomcat Users List' Subject: RE: Please Comment: plan for co-ordinating sessions across mutliple contexts [follow-up: success] I implemented UserDataBeanEvent system I mentioned below

RE: Please Comment: plan for co-ordinating sessions across mutlip le contexts [follow-up: success]

2004-03-10 Thread Justin Johnson
for event-based communication based on arbitrary criteria (username, in my case). -Original Message- From: Yansheng Lin [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 10, 2004 2:40 PM To: 'Tomcat Users List' Subject: RE: Please Comment: plan for co-ordinating sessions across mutliple contexts

Sharing common files between different contexts

2004-03-07 Thread UmamaheswarKalluru
Hi, I have 2 different contexts in my webapps folder and I wanted to share some of my files by both the contexts. I have placed them in the common folder but I dont get it to work. Can some one tell me if there is any thing required to configure? Thank you, Best Regards, Uma

Re: Memory leak across contexts?

2004-02-25 Thread Tim Funk
Jerald Powel wrote: Hello, I have 4 apps with different contexts running under the one instance of Tomcat. They run fine, but progessively get slower and slower until a server bounce is necessary. After that point, they run fine until they start to be become progressively slower etc

Memory leak across contexts?

2004-02-24 Thread Jerald Powel
Hello, I have 4 apps with different contexts running under the one instance of Tomcat. They run fine, but progessively get slower and slower until a server bounce is necessary. After that point, they run fine until they start to be become progressively slower etc. The apps all

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:

RE: Deployment with multiple contexts using the same docBase in Tomcat5

2004-01-22 Thread Shapira, Yoav
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 multiple contexts using the same

Re: Deployment with multiple contexts using the same docBase in Tomcat5

2004-01-22 Thread Rick Szeto
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 docBase. How

RE: Deployment with multiple contexts using the same docBase in Tomcat5

2004-01-22 Thread Shapira, Yoav
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?

RE: Deployment with multiple contexts using the same docBase in T omcat5

2004-01-22 Thread Hume, John - NA US HQ Delray
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 right

Deployment with multiple contexts using the same docBase in Tomcat5

2004-01-21 Thread Rick Szeto
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

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 ContextManager and log all

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

no contexts, several webapps, autoDeploy, different loggers?

2004-01-14 Thread Apu Shah
i have a server.xml configured with the following Host element: Logger className=org.apache.catalina.logger.FileLogger prefix=catalina_log. suffix=.txt timestamp=true/ Host name=192.168.100.152 debug=0 appBase=webapps unpackWARs=true

RE: linking between contexts

2004-01-12 Thread Shapira, Yoav
Howdy, You don't need to do any special configuration for this... Yoav Shapira Millennium ChemInformatics -Original Message- From: Jerald Powel [mailto:[EMAIL PROTECTED] Sent: Sunday, January 11, 2004 5:34 PM To: [EMAIL PROTECTED] Subject: linking between contexts Hi, Relating

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 restartet the TC

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

Re: Problems after creating new hosts / contexts

2004-01-11 Thread Robert Zhrer | 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 restartet the TC

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

linking between contexts

2004-01-11 Thread Jerald Powel
Hi, Relating to a similar recent post, how do I configure Tomcat so that I can link between contexts, to appear in the same browser? Many thanks Gerald. - Yahoo! Messenger - Communicate instantly...Ping your friends today! Download Messenger Now

Problems after creating new hosts / contexts

2004-01-09 Thread Robert Zhrer
Hi all, my environmemt: OS: Redhat Linux Platform: Intel x86 TC version: 4.1 tomcat4.conf: --- cut - CATALINA_HOME=/var/tomcat4 JASPER_HOME=/var/tomcat4 CATALINA_TMPDIR=/var/tomcat4/temp cut - First: There are a few of hosts and contexts running withouts problems .. but when I'm

Problems after creating new hosts / contexts

2004-01-08 Thread Pronet Mailinglist
Hi all, my environmemt: OS: Redhat Linux Platform: Intel x86 TC version: 4.1 tomcat4.conf: --- cut - CATALINA_HOME=/var/tomcat4 JASPER_HOME=/var/tomcat4 CATALINA_TMPDIR=/var/tomcat4/temp cut - First: There are a few of hosts and contexts running withouts problems .. but when I'm

Re: Problems after creating new hosts / contexts

2004-01-08 Thread Howard Watson
: 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.co.at and a DocBase directory for the context $HOME/html/servlet/myapp

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

contexts

2004-01-08 Thread Paul Wallace
Hi, I have two apps running under different contexts. They both link to each other. I have defined in the server XML thus: Context path=/con1 docBase=c:/StrutsStudio/tomcat/webapps/con1 debug=0 privileged=true/ Context path=/con2 docBase=c:/StrutsStudio/tomcat/webapps/con2

Share jsp pages between different contexts

2003-11-27 Thread Walter do Valle
Hello all Is there a way in Tomcat to inlcude pages (jsp:include ou %@ include %) from one application context to another context? Example: context /common has a page called header.jsp I need to inlclude this page in another page located in context /shop without replicate the file. Any help

Restrict manager app to Contexts in one (virtual) Host

2003-10-16 Thread Florian Ebeling
Hi there, I wonder if there is any means to give users access to the manager application, but let them only manipulate contexts located within their own virtual Hosts? I think this question is one every ISP has to stumble across, provided he doesn't want to get please restart ... mails all

Re: Restrict manager app to Contexts in one (virtual) Host

2003-10-16 Thread Tim Funk
web.xml's security constraints - Creating another webapp which does all authorization then calls the manager app via a nested HttpRequest -Tim Florian Ebeling wrote: Hi there, I wonder if there is any means to give users access to the manager application, but let them only manipulate contexts

Re: Restrict manager app to Contexts in one (virtual) Host

2003-10-16 Thread Florian Ebeling
to this Host? I can distinguish only by switching autoDeploy off and hard-wire the contexts in server.xml. But once I use manager, I want to override these settings and add contexts dynamically. So this seems OK. I think now, this feature is already there. Here is how my server.xml looks like

Re: Restrict manager app to Contexts in one (virtual) Host

2003-10-16 Thread Tim Funk
distinguish only by switching autoDeploy off and hard-wire the contexts in server.xml. But once I use manager, I want to override these settings and add contexts dynamically. So this seems OK. I think now, this feature is already there. Here is how my server.xml looks like (excerpt): Host

Re: Restrict manager app to Contexts in one (virtual) Host

2003-10-16 Thread Florian Ebeling
Hi, Tim Funk wrote: Yes, you are OK if you restrict access to a single Host. My answer was geared towards finer grain control of restarting(or whatever) webapps within a single host. If all requirements are at the host level - I think your ok with what you have below. Host level is perfect

Why doesn't work same Resource name for different Contexts?

2003-10-06 Thread Boris Folgmann
Hi! I have two instances of the same application running on one tomcat4 server. The only difference is, that they use a different database. The applications have different names of course. My webapps dir looks like that: webapp1 dir webapp1.xml webapp2 dir webapp2.xml The idea is to define the

Tomcat locks jar of undeployed contexts

2003-08-26 Thread Jeroen Breedveld
Hi all, Tomcat seems to lock some jars (in my case struts.jar) it uses in a context after that context has been removed. Can someone please tell me if it is suppose to do this? It keeps me from cleaning up the directory I deployed the context in. The deploy and undeploy proces of my webapp looks

Singleton and Reloadable Contexts.

2003-08-04 Thread Matt E
Hello All! Our team here has written a simple Connection Pool class that is a singleton. I've noticed that whenever Tomcat reloads my webapps context (when I add a new class or something like that), that it the next call to the Connection Pool get instance method doesn't see the previous

Re: Singleton and Reloadable Contexts.

2003-08-04 Thread Tim Funk
A singleton is only a singleton to the classloader it lives in. A webapp is loaded in its own classloader, so when it is start/stopped or reloaded - a new classloader is made. And so is a brand new set of singletons. The easy workaround is to create a ServletContextListener which listens for

Faking ServletContextListener with Tomcat 3.3.1a? [Was: Singleton and Reloadable Contexts.]

2003-08-04 Thread Matt E
After looking through the archives more (why is it that you always find something after you've asked.) I found this message: http://mikal.org/interests/java/tomcat/archive/view?mesg=51529 That's exactly what I want to do. However the server is running Tomcat 3.3.1a. Short of updating the

RE: How do I change servlet contexts???

2003-07-31 Thread Shapira, Yoav
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. Within that context there is an HTTP servlet (GuestServlet) with a servlet mapping that captures

How do I change servlet contexts???

2003-07-30 Thread da_alchemist
Tomcat: 4.1.24 I have a war file whose base context is /example. Within that context there is an HTTP servlet (GuestServlet) with a servlet mapping that captures everything under /example/guest/*. Within GuestServlet.class I create a RequestDispatcher to forward control to an HTML page

Re: Deployment order across multiple contexts

2003-07-24 Thread tomcat-user
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, I

Deployment order across multiple contexts

2003-07-23 Thread tomcat-user
, but I suppose I am.) I am having difficulty getting the load-on-startup values to properly function across deployment contexts. I have the following: in webapps/ROOT/WEB-INF/ a web.xml file to deploy some simple servlet apps. the load-on-startup tags for the critical servlet

RE: sharing objects betweeen different contexts (Long)

2003-07-09 Thread Cox, Charlie
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] Sent: Tuesday, July 08, 2003 12:12 PM To: Tomcat Users List Subject: sharing

sharing objects betweeen different contexts (Long)

2003-07-08 Thread laurent marot
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 MyPackage package) i get a Cast Exception

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 MyPackage package) i get

sharing objects betweeen different contexts (Long)

2003-07-08 Thread laurent marot
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 MyPackage package) i get a Cast

sharing context information between different contexts

2003-07-07 Thread Pat Pomatto
Hi, Im running Tomcat 4.1 with IIS. Does anyone know how to share information among different context in applications. I have images that all my Tomcat context use. Instead of duplicating these files multiple times within each context can you access an images directory from all of your

RE: Singleton across multiple contexts

2003-06-18 Thread Jacob L E Blain Christen
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) state changes

Singleton across multiple contexts

2003-06-15 Thread Antonio Fiol Bonnín
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

Re: Singleton across multiple contexts

2003-06-15 Thread Tim Funk
wrote: 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

Re: Singleton across multiple contexts

2003-06-15 Thread Mike Johnson
-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 coming from. However, I need a common unique component that ties all

Re: Singleton across multiple contexts

2003-06-15 Thread Antonio Fiol Bonnín
until I had to split my app in four contexts. 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. - Extract the component into another context, and connect to it via HTTP. yuck. This isn't for locking

RE: Singleton across multiple contexts

2003-06-15 Thread Filip Hanik
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 [mailto:[EMAIL PROTECTED] Sent: Sunday, June 15, 2003 10:52 AM To: Tomcat Users List Subject: Re

Re: Singleton across multiple contexts

2003-06-15 Thread Antonio Fiol Bonnín
jndi docs) -Tim Antonio Fiol Bonnín wrote: 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

Re: Singleton across multiple contexts

2003-06-15 Thread Dan Tran
: 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 [mailto:[EMAIL PROTECTED] Sent: Sunday, June 15, 2003 10:52 AM

Re: Singleton across multiple contexts

2003-06-15 Thread Antonio Fiol Bonnín
of this? Is it calling for trouble? Antonio Fiol (This time w/o certificate) Filip Hanik wrote: 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 [mailto:[EMAIL

Re: Singleton across multiple contexts

2003-06-15 Thread Mike Johnson
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

Re: Singleton across multiple contexts

2003-06-15 Thread Tim Funk
) -Tim Antonio Fiol Bonnín wrote: 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

Sharing a connection pool among contexts

2003-06-06 Thread Scott
a single connection pool among different contexts. My first attempt was to create a listener that put a single instance of a pool into the JNDI only to find that it is read-only. For my next attempt I am thinking of creating a javabean with a static collection of datasources and name keys

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

RES: Sharing a connection pool among contexts

2003-06-06 Thread Jose Euclides da Silva Junior - DATAPREVRJ
[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, creating

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

Sharing Session data between Contexts - HOWTO

2003-06-01 Thread Johannes Fiala
Hi there, I've just set up a HOWTO describing how to share session data (=session-based Java objects) between Contexts http://www.fwd.at/tomcat/sharing-session-data-howto.html I described how to share the Sessionid between two different Contexts and how to store and retrieve the shared

JK2 and contexts

2003-05-29 Thread Rick Roberts
I have Apache2 / Tomcat4 / JK2 running and serving up the tomcat examples. I copied an old web application from my tomcat 3.2 server and put the entire directory under webapps. I added the following to workers2.properties: # # /myApp # [uri:/myApp] info=My Old Web Application context=/myApp

Re: JK2 and contexts

2003-05-29 Thread Chong Yu Meng
Rick Roberts wrote: I have Apache2 / Tomcat4 / JK2 running and serving up the tomcat examples. I copied an old web application from my tomcat 3.2 server and put the entire directory under webapps. I added the following to workers2.properties: # # /myApp # [uri:/myApp] info=My Old Web

Re: JK2 and contexts

2003-05-29 Thread Rick Roberts
Can you show me a minimalistic Context for server.xml? Just something short and sweet, to jump start me. Thanks, -- *** * Rick Roberts* * Advanced Information Technologies, Inc. * ***

Re: JK2 and contexts

2003-05-29 Thread Chong Yu Meng
Rick Roberts wrote: Can you show me a minimalistic Context for server.xml? Just something short and sweet, to jump start me. Thanks, Alright, say you have a web application called WidgetApp deployed inside /opt/tomcat/webapps/WidgetApp and you want the servlets inside the web application to be

Re: error-page used by multiple contexts

2003-03-20 Thread Bill Barker
.html/location /error-page error-page error-code404/error-code location/pub/error/404.html/location /error-page error-page error-code500/error-code location/pub/error/500.html/location /error-page However, this only works for contexts at the root of a site on the server where

Re: 1,900 webapp contexts?

2003-03-19 Thread Craig R. McClanahan
On Tue, 18 Mar 2003, David Boyer wrote: Date: Tue, 18 Mar 2003 14:56:04 -0600 From: David Boyer [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: 1,900 webapp contexts? We have about 1,900 students and faculty, and we create web space for all

Re: 1,900 webapp contexts?

2003-03-19 Thread David Boyer
I was unaware of the feature you mentioned; I'll check it out. Thanks! - Original Message - From: Craig R. McClanahan [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, March 19, 2003 10:56 AM Subject: Re: 1,900 webapp contexts? snip - db I've never tried

error-page used by multiple contexts

2003-03-19 Thread Madere, Colin
/error/404.html/location /error-page error-page error-code500/error-code location/pub/error/500.html/location /error-page 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

1,900 webapp contexts?

2003-03-18 Thread David Boyer
We have about 1,900 students and faculty, and we create web space for all of them automatically. I'm interested in Tomcat-enabling their web space and have been testing it on a test server. There are approximately 1,900 username.xml files in /webapps/. The problem is that it takes Tomcat 15-20

Q: webapp contexts with overlapping docBases

2003-02-27 Thread David Boyer
If the root of my web site is d:\inetpub\wwwroot and I create a Tomcat context with that same docBase, can I also create another context with the docBase of d:\inetpub\wwwroot\development\devapp. If the docBase of one context is a subdirectory of another context's docBase, how does Tomcat know

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

RE: multiple contexts and form-based login

2003-01-30 Thread Madere, Colin
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]] Sent: Wednesday, January 29, 2003 6:08 PM

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

Re: From Tomcat 3.3 to Tomcat 4.0.5 -- Contexts Same?

2003-01-30 Thread Bill Barker
to define your webapps from the example. If you can consider Tomcat 4.1.x, then you have the option (like in 3.3) to define your contexts in seperate files: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/context.html. Robert Keddie [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]"

multiple contexts and form-based login

2003-01-29 Thread Madere, Colin
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, January 28

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 login

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: allow HTTPS connection only to some contexts

2003-01-21 Thread mwm
Lippolis [EMAIL PROTECTED] To: [EMAIL 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

RE: Multiple serlvet contexts being created instead of 1

2003-01-16 Thread Cox, Charlie
appBase for the host. To disable this, set the appBase=some empty dir Charlie -Original Message- From: David Hemingway [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 14, 2003 7:26 AM To: Tomcat Users List Subject: Multiple serlvet contexts being created instead of 1 Hi, I

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

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

How to have the same session across multiple contexts

2003-01-09 Thread shanmugampl
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

info. on tomcat contexts

2002-12-30 Thread Mohan Radhakrishnan
Hi, We would like to read up on the context declarations in the server.xml. Our application context listener is called twice. What is the best way to debug this short of plowing through the source code? Context path= docBase=SmartManage debug=0... This type of context

Re: Sharing session between contexts

2002-12-14 Thread Craig R. McClanahan
On Fri, 13 Dec 2002, [EMAIL PROTECTED] wrote: Date: Fri, 13 Dec 2002 23:10:54 -0800 From: [EMAIL PROTECTED] [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED], [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Sharing session between contexts Hello all, I was hoping

Sharing session between contexts

2002-12-13 Thread [EMAIL PROTECTED]
Hello all, I was hoping to be able to share sessions between virtual hosts using the coyote connector, but it looks at though the best I can hope for is to be able to share sessions between contexts on one host (outside of handling any virtual stuff with a different web connector). No joy

Tomcat 4.1.12 fails to serve JSP for more than 7 contexts.

2002-12-05 Thread Paul Downs
Hi, I have had a problem over the last week or so with a binary download of Tomcat 4.1.12. If the system was run under jdk1.4.1_01 no jsp would be served at all. Here is an extract from the log: 2002-12-05 12:09:54 StandardContext[]: Mapped to servlet 'jsp' with servlet path '/test.jsp' and

RE: proper use of servlet contexts

2002-11-21 Thread Shapira, Yoav
Hi, A couple of suggestions. Basically, we develop all of our applications under contexts. Each one a separate context. When they go live, they go to the default context so users don't have to request everything with /context/blah. This means that if Don't do this. Deploy them to their own

RE: proper use of servlet contexts

2002-11-21 Thread Justin Ruthenbeck
(In response to Noah Davis) At 05:55 AM 11/21/2002, Yoav Shapira wrote: Basically, we develop all of our applications under contexts. Each one a separate context. When they go live, they go to the default context so users don't have to request everything with /context/blah. This means

Re: proper use of servlet contexts

2002-11-20 Thread Noah Davis
Thanks for your response. I realize now that I should have actually stated what the problem is, instead of this round about stuff with the context. Basically, we develop all of our applications under contexts. Each one a separate context. When they go live, they go to the default context so users

JMS, Tomcat Naming Contexts

2002-11-19 Thread Sean MacRoibeaird
Hi , I've looked up the archives and seen some related postings, but it is not clear what the answer to my problem is. I am running Tomcat 4.0.4 on Windows and running Java 1.3.1. I have a standalone program which listens on a JMS topic. It locates the topic via the following:

Re: JMS, Tomcat Naming Contexts

2002-11-19 Thread Kwok Peng Tuck
If you read the JNDI how-to you'll see that they do ask you to put jar files into $CATALINA_HOME/common/lib . So I think that if you want to access the jms as a JNDI resource then you need to put it in the said directory. I want a servlet running on Tomcat to send messages to the same

<    1   2   3   4   >