Contexts

2002-05-04 Thread Madden, Rodney A -Syntegra US
I am totally new to Tomcat ( and servlets & JSP's in general ). I have successfully installed Tomcat but do NOT seem to be able to successfully configure a location for my Sevlets and JSP's. My default "Home" for Tomcat is d:\jbuilder5\jakarta-3.2.1 Currently, if I place a servlet under the di

CONTEXTS

2001-06-28 Thread teh j
Hello all I am currently trying to create a new context to run under Tomcat I have created a new folder underneath webapps called 'onsale' and have defined it in server.xml However, when I restart Tomcat, it does not appear to be picked up. Is there anything else that needs to be done to defi

Contexts

2002-01-14 Thread Nancy Crisostomo Martinez
Hi everybody! I have some problems with adding contexts.. - context: .../conf/apps-docencia.xml - directory: .../webapps/docencia/ - war file: .../webapps/docencia.war When I added this context, Tomcat doesn't recognize it. And when I try to invoke only the directory (http://URL:8080/doc

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: Why when I link to the one from the other does the desired URL appear as if it has loaded, but a bastardization of the original remains? The original

Newbie Contexts

2001-06-09 Thread Mark Senefsky
Greetings all... OK I think the solution to my previous email "Newbie Help (the sequel)" is related to contexts. Currently the only context for my server points to the examples directory. How do I establish new Contexts? Using Tomcat admin what goes in each of these inputs? Pat

Forcing Contexts ?

2001-09-26 Thread Jon Shoberg
How do I force contexts onto virtual hosts? I have a website, www.foobar.com, listed as a virtual host within apache and a sub directory (/myJspApp) which is aliased/connected to Tomcat. Currently, when I go to www.foobar.com/myJspApp/index.jsp everything works well. However

Re: Contexts

2002-05-04 Thread Jacob Kjome
You really need to look at the structure of the other webapps. For instance, look at the "examples" webapp that comes with Tomcat. Notice that it has a WEB-INF directory with "classes" and "lib" directories underneath. That is where servlets go. Also, the web.xml file goes in WEB-INF. *.j

Re: CONTEXTS

2001-06-28 Thread Vikram Naik
Start your server And Congratulations Your Context is Up!!! :-) If any comments pls feel free to express yourself . Vikram Naik - Original Message - From: "teh j" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, June 29, 2001 10:15 AM Subject: CONTEXTS >

RE: CONTEXTS

2001-06-29 Thread Jann VanOver
Do you have a WEB-INF/web.xml file in webapps/onsale ?? -Original Message- From: teh j [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 28, 2001 9:46 PM To: [EMAIL PROTECTED] Subject: CONTEXTS Hello all I am currently trying to create a new context to run under Tomcat I have created a

RE: CONTEXTS

2001-06-29 Thread Jann VanOver
ailto:[EMAIL PROTECTED]] Sent: Wednesday, June 28, 2000 10:00 PM To: [EMAIL PROTECTED] Subject: Re: CONTEXTS Hello Jason , For configuring a context in Tomcat u need to do following things . 1 . Make a folder with the name of context anywhere inside tomcat Dir. 2 . Define

Default Contexts?

2001-02-09 Thread Bill Antoniadis
Hi, I have server.xml configured so the ContextManager adds two personally defined contexts ("tote1" & "tote2") located in TOMCAT_HOME/webapps. However, the Tomcat v3.2.1 startup reports more contexts: 2001-02-09 03:19:52 - ContextManager: Adding context Ctx( /tot

& Multiple Contexts

2000-12-28 Thread Shahed Ali
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

multiple contexts

2005-05-17 Thread Oleg
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

wrapping contexts

2005-07-15 Thread Pete Lamborne
Hi, this is pretty much a dummy question I think. I'm running Tomcat standalone for several websites. I have several webapps running which I want to share across various websites; an email app, file management app, message board, photo/blog, etc etc. What is the proper way to configure things to

using multiple Contexts

2002-11-17 Thread Adrian
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,

JNDI contexts ... again

2002-06-18 Thread Gabriel Mihalache
t not portable... So, is there a way to unify all the contexts of Tomcat?! Also, I'll be embedding Tomcat, so I'll need to know how to do this programatically. How difficult is that?! Thank you for your time, Gabriel -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]

Contexts, Classes, Variables

2001-05-18 Thread Zach Hollandsworth
1) In Tomcat 3.2.1 do separate contexts see static variables of a class the same? Or do they have separate ones? 2) different versions of the same class in two contexts on the same tomcat? (placed in the /WEB-INF/classes directory of that context) Zach Hollandsworth

Re: Newbie Contexts

2001-06-09 Thread Charles Baker
You might want to take a look in the configuration file $TOMCAT_HOME/conf/server.xml at the sections that define the contexts. The path is sort of from the docroot of your websererver like "/admin" if you want to access the admin context as "http://your.domain.com/admin";, th

Re: Newbie Contexts

2001-06-10 Thread Krishna Kant T
hi there, u can set up new contexts by adding new directories within webapps. each dir could be a context/app and could have dirs for jsp , images , web-inf, etc. ~krishnakant Mark Senefsky wrote: > Greetings all... > > OK I think the solution to my previous email "Newbie He

Re: Newbie Contexts

2001-06-10 Thread Mark Senefsky
complished? Can I establish a context that points to a directory outside the tomcat directory? Thanks, Mark > From: Krishna Kant T <[EMAIL PROTECTED]> > Organization: ComPulse Systems > Reply-To: [EMAIL PROTECTED] > Date: Mon, 10 Jun 2002 17:43:17 +0530 > To: [EMAIL PROTECTED]

Re: Newbie Contexts

2001-06-10 Thread Nitin Borwankar
location as in docBase.. Nitin Borwankar. > > Thanks, > Mark > > > From: Krishna Kant T <[EMAIL PROTECTED]> > > Organization: ComPulse Systems > > Reply-To: [EMAIL PROTECTED] > > Date: Mon, 10 Jun 2002 17:43:17 +0530 > > To: [EMAIL PROTECTED] >

Re: Newbie Contexts

2001-06-10 Thread Mark Senefsky
quot; > I restarted tomcat and I get the same 404 error when I try to load the jsp. Thanks, Mark > From: Nitin Borwankar <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > Date: Sun, 10 Jun 2001 18:22:17 -0700 > To: [EMAIL PROTECTED] > Subject: Re: Newbie Contexts

more Newbie Contexts

2001-06-12 Thread Gary Dale
How do you set up a virtual host for say the admin programs so that you could simply ask for http://admin.domain.dom/ rather than http://server.domain.dom/admin/ (assuming that the appropriate DNS entries have been created)?

Contexts loading twice?

2001-11-22 Thread Nikola Milutinovic
Hi. This is not really an urgent matter, but I'd like to clear it out. I ahve setup a virtual host and deployed a couple of contexts under it. I have two of my applications and I've introduced /tomcat-docs and /manager from the base Tomcat package. The "problem" is my

Multiple naming contexts

2001-12-14 Thread Kenneth Roper
ent, but 2 contexts when I use a servlet in Tomcat. One solution that has been suggested to me would be to stop the nameserver that Tomcat 4.0 starts up, so that it uses the same nameserver as BES. Question 1: Does anyone know how to force tomcat to use an existing naming context instead of starting u

Re: Default Contexts?

2001-02-09 Thread Craig R. McClanahan
Bill Antoniadis wrote: > Hi, > > I have server.xml configured so the ContextManager adds two personally defined > contexts ("tote1" & "tote2") located in TOMCAT_HOME/webapps. However, the > Tomcat v3.2.1 startup reports more contexts: > > 2001-02-09

tomcat contexts - how?

2001-02-20 Thread Neil Wood
Hi, When creating a new context withinn tomcat, do I need to create the directory structure for it manually or is there another way of rgetting tomcat to create the area for you. I am running version 3.2.1 with Apache 1.3. Can you think of any other informatrion I will need to know? All I am

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 mi

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 deb

forwarding across contexts?

2004-05-10 Thread Fred Toth
Hi, I'm trying to install a filter into the default context that forwards to my application (in another context) and it doesn't seem to want to work. (jboss 3.2.3 with embedded tomcat 4.1.29) In researching this, I've seen various hints that this may in fact be illegal. Can anyone confirm? The REA

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

Accessing Multiple Contexts

2004-07-19 Thread RK
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

Contexts and dispatchers

2000-11-11 Thread Richard Evans
If I call ServletContext.getContext(uri) to find the web-app which handles a particular URI, how do I then use getRequestDispatcher to forward the request to the APP? The uri given to getContext is absolute, relative to the server root, yet getRequestDispatcher() requires a path relative to the r

Re: & Multiple Contexts

2000-12-28 Thread Koen Maes \(BE-day.com\)
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

Tomcat 5.0 contexts

2004-09-23 Thread Luc Foisy
I just put 5.0.28 on to my box, I was working with 4.x branch. I am not quite sure how to define my contexts any more. I do not see context entries in conf/server.xml, even the documentation make reference to contexts being in this file. I did find conf/Catalina/localhost driectory. I

Include other contexts

2005-03-01 Thread Peter Johnson
Tomcat 5.5.7 Hi all, I was just wondering if it was possible to pass a request to another context within the same host and capture the output. If it is, any suggestions on the best way to do so? Basically, I am planning to use SiteMesh for site templating however would prefer to deploy many of

Virtual Hosting and Contexts

2002-09-17 Thread Brian Topping
Good day, I'm rather new to setting up vhosting on Tomcat, but am quite familiar with it on Apache. I am having some problems understanding the correct configuration to set up a root context on each apache virtual host, and was hoping someone here might be able to offer some pointers. Basically

Regarding Resources across contexts

2002-09-19 Thread shanmugampl
across my context/application?. Can i have my tld files in one of the context and give the corresponding mapping in the web.xml file present in the /conf/web.xml and use this mapping across all contexts?. If yes can any one suggest the way to achieve it. Thanks Shanmugam.PL -- To unsubscribe, e

Accessing classes across contexts

2002-10-19 Thread shanmugampl
Hi, I have two web applications running in my tomcat. Can i access the classes present in one of my applications from the other?. In my case one application contains some utility classes which are required by the other application. I do not want to duplicate the utility classes and also

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:

WARP Connector and Contexts

2002-06-03 Thread Divyank Turakhia
I am trying to setup tomcat 4.0.3 and Apache 1.3.24 such that I can forward all requests coming to Apache for http://www.virttest2.com to tomcat for all web applications inside the webapps folder I do not want to use multiple WebAppDeploy directives in my Apache httpd.conf. Now the problem is th

Servlet Contexts and sessions

2001-04-06 Thread Andy Mauro
Hey all. This is sortof a JSP/Servlet related question, but it falls within the scope of this forum: Can someone give me a compelling reason why sessions cannot be shared across contexts? I realize this is part of the Servlet 2.2 spec, and not strictly speaking a tomcat issue, but perhaps there

session cookies across contexts

2001-04-09 Thread Dave Weis
Is it possible to configure Tomcat to use a single session cookie for all web contexts? Right now I only have a single context in a subdirectory and it is sending the session cookie with that subdirectory at the front. I would also like the session data shared. I see that the cookie is being

RE: Contexts, Classes, Variables

2001-05-21 Thread Cox, Charlie
Title: RE: Contexts, Classes, Variables My understanding is that if your class is in your classpath, it will be loaded once by java's bootstrap loader and they would share the same instance. If your class is part of your web application, it would be a different instance for each context.

Apache and Tomcat contexts

2002-03-23 Thread Robert Nicholson
What are some scenarios where you split dynamic and static content b/w tomcat and apache? if my app's context is /examples I therefore have to accept that any path under /examples has to have it's content avaliable via the web app? How do I have static content under Apache's doc root but sti

sharing sessions between contexts

2002-05-18 Thread Frank Giusto
Hello Andy Mauro. Did you get an answer on this post. I am having the same problem and am intested in the solution. thanks. -- To unsubscribe, e-mail: For additional commands, e-mail:

tomcat 3.3 | contexts | sessions

2002-05-31 Thread Power-Netz \(Schwarz\)
JDK 1.4 Tomcat 3.3final Linux RH7 Hi, i have two problems with tomcat: 1. i want one application i.e. /datenbank be accessible from only one virtual host, which is already defined in httpd.conf ( apache 1.3.23 ) . All other apps should not be accessible, and! no other vhost should access /daten

contexts? - it's not working!!!

2001-06-28 Thread Nicholas Katzakis
't see that (The client gets a 404 from apache obviously). I think I haven't configured contexts properly. help! Nicholas

static variables between contexts

2001-08-23 Thread Zach Hollandsworth
ot; -Craig McClanahan, 09/15/2000 If the above is true, then why do I get the SAME VALUE for getTest() when run under different contexts on? The static test is already initialized on the second context that I invoke it under? and this issues only occurs under linux, it works fine under win32. Give the

Contexts and automatic deployment

2002-01-09 Thread Mark . Donoghue
Hello, Does having a context in my server.xml file preclude the ability to auto-deploy a war file? Here's why: I have developers needing to deploy their web apps on our development server. They make a war file and drop it in place. A problem occurs when a context is configured for their web a

Adding Contexts in Server.xml

2001-03-27 Thread Tony Armstrong
Hi I am having quite a bit of trouble adding a new context in the server.xml file. I am running Win98 and Tomcat. I have followed the instructions in the user guide, looked all over the web. Had a look at the mailing list and tried everything people had to say but still I get the same error. Any

sharing sessions between contexts

2001-03-29 Thread Andy Mauro
the session is: subscriber=true. We are running into trouble though. I have noticed that different contexts (in Tomcat 3.2.1) create different sessions ids. This means that if I login and set session.setAttribute("subscriber", "true") in the /entrylogic context, and then goto (i

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

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? mailto:[EMAIL PROTECTED]> For additional commands, e-mail:

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 studen

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

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 Applicat

Re: JK2 and contexts

2003-05-29 Thread Rick Roberts
Can you show me a minimalistic 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 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 address

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 are

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 singleto

RE: forwarding across contexts?

2004-05-11 Thread Shapira, Yoav
Hi, >In short, how does one deploy a war file such that it looks >for content ("/images/whatever.gif") in a configurable location >in the file system? Configure the server to serve that WAR file with a context path of "" (the empty string). This can be done in tomcat in three ways: - Add a Cont

RE: forwarding across contexts?

2004-05-11 Thread Fred Toth
Thanks once again. This is very helpful. Now here's what I really want (it never ends, does it): Is there a way, within a single context, to separate out the static content to some other file system location. I'd like to be able to deploy my war file with library jars, configuration info, classes

RE: forwarding across contexts?

2004-05-11 Thread Shapira, Yoav
Hi, >Is there a way, within a single context, to separate out >the static content to some other file system location. Of course, there are many ways, none of them advised. You want to keep your webapp as a whole, that's the whole point of a WAR file. You can symlink (at the filesystem level) o

RE: forwarding across contexts?

2004-05-11 Thread Fred Toth
truts, velocity, configuration information, etc.). I'd like to be able to keep the small war file, hot deploy, etc., but have the raw content (static and otherwise) live elsewhere. Given that, would you solve it with multiple contexts? Or do you have another suggestion? Thanks again, Fred At

RE: forwarding across contexts?

2004-05-11 Thread Justin Ruthenbeck
he java infrastructure (struts, velocity, configuration information, etc.). I'd like to be able to keep the small war file, hot deploy, etc., but have the raw content (static and otherwise) live elsewhere. Given that, would you solve it with multiple contexts? Or do you have another suggestion? Al

RE: forwarding across contexts?

2004-05-11 Thread Fred Toth
war file can easily contain the java infrastructure (struts, velocity, configuration information, etc.). I'd like to be able to keep the small war file, hot deploy, etc., but have the raw content (static and otherwise) live elsewhere. Given that, would you solve it with multiple contexts? Or

RE: forwarding across contexts?

2004-05-11 Thread Justin Ruthenbeck
va infrastructure (struts, velocity, configuration information, etc.). I'd like to be able to keep the small war file, hot deploy, etc., but have the raw content (static and otherwise) live elsewhere. Given that, would you solve it with multiple contexts? Or do you have another suggestion? Al

Re: forwarding across contexts?

2004-05-10 Thread Justin Ruthenbeck
At 07:04 PM 5/10/2004, you wrote: Hi, I'm trying to install a filter into the default context that forwards to my application (in another context) and it doesn't seem to want to work. (jboss 3.2.3 with embedded tomcat 4.1.29) In researching this, I've seen various hints that this may in fact be il

Re: forwarding across contexts?

2004-05-10 Thread Fred Toth
Justin, Thanks very much for your considered reply. You both solved my problem and made me question my approach at the same time. In re-thinking this in terms of separated webapps, I've hit another issue. If I solve this problem within one particular web application, I have to be able to point thi

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 be

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

Re: Contexts and dispatchers

2000-11-11 Thread Wyn Easton
--- Richard Evans <[EMAIL PROTECTED]> wrote: > "/file/x/y". (The URL without the context root). How to I find the > context Use request.getContextPath() If your web app. is called app1 getContextPath() would return /app1 = Wyn Easton [EMAIL PROTECTED] _

RE: Contexts and dispatchers

2000-11-11 Thread Richard Evans
But I need the context path for a different ServletContext. request.getContextPath returns the path for _this_ context, not a foreign one. > -Original Message- > From: Wyn Easton [mailto:[EMAIL PROTECTED]] > Sent: 11 November 2000 21:57 > To: [EMAIL PROTECTED] > Subject: R

RE: Contexts and dispatchers

2000-11-11 Thread Wyn Easton
different ServletContext. > request.getContextPath returns the path for _this_ context, not a > foreign > one. > > > -Original Message- > > From: Wyn Easton [mailto:[EMAIL PROTECTED]] > > Sent: 11 November 2000 21:57 > > To: [EMAIL PROTECT

Re: Contexts and dispatchers

2000-11-13 Thread Richard Evans
n how to I call getRequestDispatcher or getRealPath on that other context? To get the correct result I need to strip off the other contexts root from the URI before callign getRequestDispatcher or getRealPath. But I can't find any way of determining what the root of the other context is. It could

Re: Contexts and dispatchers

2000-11-13 Thread Wyn Easton
: > > ServletContext other = getServletContext().getContext(uri); > > This works because getContext() takes absolute paths. > > But then how to I call getRequestDispatcher or getRealPath on that > other > context? To get the correct result I need to strip off the other > co

RE: Contexts and dispatchers

2000-11-13 Thread Richard Evans
---Original Message- > From: Wyn Easton [mailto:[EMAIL PROTECTED]] > Sent: 13 November 2000 22:51 > To: [EMAIL PROTECTED] > Subject: Re: Contexts and dispatchers > > > Hi Richard, > > Sorry for the misunderstanding. I think I finally see what you are > trying to do. &

IIS with different contexts

2000-12-13 Thread vishnuv
hi, I am using Tomcat version 3.2 beta 6. I have currently six contexts in server.xml. I have perfectly configured the IIS. the ISAP_redirectdll shows green. When i was previously using version 3.1, all these contexts were prefectly working when routed through IIS. But now that i have

tomcat contexts and JVMs

2001-01-16 Thread joshua . eapen
Hi All: I am a bit confused. Does each context in server.xml have its own JVM session? For example, I have two contexts: 1) Catalog - for a product catalog app 2) Support - for customer support apps Both these contexts need a connection pool to my backend Oracle database. If both contexts use

RE: Tomcat 5.0 contexts

2004-09-23 Thread Shapira, Yoav
Hi, Tomcat 5.0 supports putting Contexts in server.xml just like Tomcat 4.x did. In addition, you can put them in the $CATALINA_HOME/conf/[engine name]/[host name] directory for the engine and host where you want your app deployed. You can also put a META-INF/context.xml file in a WAR and

RE: Tomcat 5.0 contexts

2004-09-24 Thread Luc Foisy
Is something wrong with my logger declaration? It does not seem to be creating the logs that I specified. -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thursday, September 23, 2004 4:26 PM To: Tomcat Users List Subject: RE: Tomcat 5.0 contexts Hi, Tomcat 5.0

RE: Tomcat 5.0 contexts

2004-09-24 Thread Shapira, Yoav
Hi, >Is something wrong with my logger declaration? It does not seem to be >creating the logs that I specified. Ahh, I didn't even look at that. I think it looks fine. Try specifying a known absolute directory rather than a relative one ("logs") to see if that makes a difference. Heads-up --

RE: Tomcat 5.0 contexts

2004-09-24 Thread Luc Foisy
1.4.2_05, tomcat 5.0.28. I have never used one of those logging mechanisms, I have only used the tomcat logger. I will look at those others, since I can't seem to get the Tomcat logger to work at all, which is odd considering the default logger (in server.xml) for all contexts on host seems

Re: Tomcat 5.0 contexts

2004-09-24 Thread QM
On Fri, Sep 24, 2004 at 10:37:51AM -0400, Luc Foisy wrote: : I did get my context to load from Catalina/localhost/qbs.xml : INFO: Processing Context configuration file URL : file:/home/tomcat/conf/Catalina/localhost/qbs.xml Did you edit that file (qbs.xml) or the one in your WAR file's META-INF/co

RE: Tomcat 5.0 contexts

2004-09-24 Thread Luc Foisy
5.0 contexts On Fri, Sep 24, 2004 at 10:37:51AM -0400, Luc Foisy wrote: : I did get my context to load from Catalina/localhost/qbs.xml : INFO: Processing Context configuration file URL : file:/home/tomcat/conf/Catalina/localhost/qbs.xml Did you edit that file (qbs.xml) or the one in your WAR

RE: Tomcat 5.0 contexts

2004-09-24 Thread jthompson
: "Tomcat Users List" <[EMAIL PROTECTED]> | | cc:

Re: Include other contexts

2005-03-01 Thread QM
On Wed, Mar 02, 2005 at 11:53:52AM +1100, Peter Johnson wrote: : I was just wondering if it was possible to pass a request to another : context within the same host and capture the output. If it is, any : suggestions on the best way to do so? You could make a URL call to the app (java.net.URL an

Re: Include other contexts

2005-03-01 Thread Peter Johnson
Thanks for the quick reply QM ... I'd be writing both the "parent" and "child" apps. Basically the parent would act as a broker to the child apps and perform the "decoration". I guess SiteMesh does a form of automated "screen scraping". I would do this so that all "child" apps may have a common

Re: Include other contexts

2005-03-01 Thread Peter Johnson
it would seem to be as simple as req.getRequestDispatcher().include(req,res); PJ Peter Johnson wrote: Thanks for the quick reply QM ... I'd be writing both the "parent" and "child" apps. Basically the parent would act as a broker to the child apps and perform the "decoration". I guess SiteMesh d

Re: Include other contexts

2005-03-02 Thread Peter Johnson
Ok, I gave this a test run, so from app1 I called req.getRequestDispatcher("/app2").include(req,res); However, it seems that doing this loops i.e. re-requests app1 rather than passing the request to app2. It this an error with Tomcat or a misunderstanding by me? PJ Peter Johnson wrote: it would

Re: Include other contexts

2005-03-02 Thread Peter Johnson
It is me ... I wasn't calling the other context rather just a resource within the context Peter Johnson wrote: Ok, I gave this a test run, so from app1 I called req.getRequestDispatcher("/app2").include(req,res); However, it seems that doing this loops i.e. re-requests app1 rather than passing t

How to define contexts?

2005-09-14 Thread Vsevolod (Simon) Ilyushchenko
Hassan, Well, maybe I misunderstood the original question :-) No, it's just me unfamiliar with the idea of contexts. So far I've figured out that there is a file context.xml that can define extra parameters for an application, but I'm not sure about: 1) Whether it's po

WARNING: Error registering contexts

2005-09-20 Thread Dom Cara
, 2005 1:59:17 PM org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on http-8080 Sep 20, 2005 1:59:17 PM org.apache.coyote.tomcat5.MapperListener init WARNING: Error registering contexts java.util.ConcurrentModificationException at java.util.HashMap

Mark certain contexts inactive?

2005-10-06 Thread Scott Purcell
Hello, On my development machine, I have created quite a few "contexts" or webapp instances, and due to that fact, the startup time is increasing. I do not want to remove any of the contexts as they all mean something to me, but I would like to be able to "mark" them so

Re: trying to understand contexts

2002-08-25 Thread Craig Longman
On Sat, 2002-08-24 at 13:43, Jacob Kjome wrote: > [...snip...] > > Having the ROOT context reloadable would be the solution. You would then > have to get rid of all other defined/undefined contexts (meaning remove all > server.xml entries + remove all directories under we

RE: Virtual Hosting and Contexts

2002-09-19 Thread Anthony Milbourne
Hi I have been trying to get Tomcat Contexts mapped to the root of an Apache VirtualHost. I did what you did too (under instruction from this list), and used: Which successfully mapped the context to the root of the VirtualHost if I connected direct to Tomcat. It didn't seem to wor

RE: Regarding Resources across contexts

2002-09-19 Thread Miguel Angel Mulero Martinez
The common files to all applications must be at CATALINA_HOME/lib -Mensaje original- De: shanmugampl [mailto:[EMAIL PROTECTED]] Enviado el: jueves, 19 de septiembre de 2002 14:14 Para: [EMAIL PROTECTED] Asunto: Regarding Resources across contexts Dear All, I am using Tomcat 4.1.10

Re: Regarding Resources across contexts

2002-09-19 Thread shanmugampl
All my jar files are in the CATALINA_HOME/common/lib directory. The problem is in putting the TLD files in position.Say i have two contexts A and B. In both i use the same set of tags. Currently i have the tld files in both the contexts and the corresponding uri mapping in the web.xml file

RE: Virtual Hosting and Contexts

2002-09-20 Thread Brian Topping
I get it... -b > -Original Message- > From: Anthony Milbourne [mailto:[EMAIL PROTECTED]] > Sent: Thursday, September 19, 2002 7:29 AM > To: 'Tomcat Users List' > Subject: RE: Virtual Hosting and Contexts > > > Hi > > I have been trying to get Tomcat Contex

  1   2   3   4   5   >