RE: root context equivalent to another context?

2004-12-03 Thread Shapira, Yoav
Hi, Turn off autoDeploy in the Host element in server.xml. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Frank Morton [mailto:[EMAIL PROTECTED] Sent: Thursday, December 02, 2004 10:30 PM To: [EMAIL PROTECTED] Subject: root context equivalent to another context? I

RE: root context loaded again under its docbase name

2004-02-09 Thread Shapira, Yoav
Howdy, and this is my context (which is found in META-INF/context.xml): Context path= docBase=gargantus.war cachingAllowed=false reloadable=false Anybody else with the same setup see this? Bug or not bug? snip/ Seems like a bug. What happens if you don't have context.xml at all in your

Re: root context loaded again under its docbase name

2004-02-09 Thread Adam Hardy
On 02/09/2004 02:58 PM Shapira, Yoav wrote: and this is my context (which is found in META-INF/context.xml): Context path= docBase=gargantus.war cachingAllowed=false reloadable=false Anybody else with the same setup see this? Bug or not bug? snip/ Seems like a bug. What happens if you don't

RE: root context loaded again under its docbase name

2004-02-09 Thread Shapira, Yoav
Howdy, If there's no context.xml, then I don't get a root context - no _, no nada - and no errors. Just the context with the same name as the war file. So if there's no context.xml, the behavior is correct (with all default values, e.g. reloadable). If you add a context.xml, you get the

Re: root context loaded again under its docbase name

2004-02-09 Thread Adam Hardy
On 02/09/2004 11:01 PM Shapira, Yoav wrote: If there's no context.xml, then I don't get a root context - no _, no nada - and no errors. Just the context with the same name as the war file. So if there's no context.xml, the behavior is correct (with all default values, e.g. reloadable). If you

RE: root context loaded again under its docbase name

2004-02-07 Thread Hernani Mourao
I definitely have the same problem. And Tomcat does not execute context.xml. I presume is due to the error message: context already in use. Do you have the some problem? Hernani -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: sabado, 7 de Fevereiro de 2004 12:47 To:

Re: root context loaded again under its docbase name

2004-02-07 Thread Adam Hardy
I get no error message - I just grepped the log file. For me the problem is totally benign - unless I decide that I want to have a context with the same name as my root context's war file. I suggest that you are getting an error because you have doubled the Context somehow - perhaps you still

Re: ROOT context fails to use mail/Session Resource param. defaults to localhost

2003-07-10 Thread Raimee Stevens
Windows 2000, Tomcat 4.1.24, Sun J2SDK1.4.1_02 Raimee Stevens [EMAIL PROTECTED] wrote: I am not able to use the JNDI mail Factory from the ROOT context. It works when run from the examples context and other non-ROOT contexts as well. For some reason, the ROOT context fails to correctly load the

Re: ROOT context lost in Tomcat 4.1.12

2002-10-15 Thread Jacob Kjome
This was a security fix. Look in the $CATALINA_HOME/conf/web.xml and look for the mapping for the invoker servlet. Notice that it is commented out? Well, uncomment it and get back the /servlet/* functionality. Jake At 04:09 PM 10/15/2002 -0700, you wrote: Helloe list: I am having

Re: ROOT context lost in Tomcat 4.1.12

2002-10-15 Thread micael
Isn't it commented out for a good reason though, and we should be configuring the web.xml to do what we want for this instead? Am I missing something? Probably! ///;-) Oh, well! I've had a great day otherwise. At 06:45 PM 10/15/2002 -0500, you wrote: This was a security fix. Look in the

Re: Root Context Problem

2002-08-16 Thread Craig R. McClanahan
On Fri, 16 Aug 2002, Taral Shah wrote: Date: Fri, 16 Aug 2002 09:36:23 +0530 From: Taral Shah [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED], Taral Shah [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED], Josh [EMAIL PROTECTED] Subject: Root Context

Re: Root Context Problem

2002-08-16 Thread Taral Shah
for tomcat. I have made network as my default web context. Thanks Taral Shah - Original Message - From: Craig R. McClanahan [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED]; Taral Shah [EMAIL PROTECTED] Cc: Josh [EMAIL PROTECTED] Sent: Friday, August 16, 2002 12:58 PM Subject: Re: Root

Re: Root Context Problem

2002-08-16 Thread Craig R. McClanahan
On Fri, 16 Aug 2002, Taral Shah wrote: Date: Fri, 16 Aug 2002 13:08:23 +0530 From: Taral Shah [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED], Taral Shah [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: Root Context Problem You may be right

Re: Root Context Problem

2002-08-16 Thread Taral Shah
know), then what should be the possible solution? Thanks Taral Shah - Original Message - From: Craig R. McClanahan [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED]; Taral Shah [EMAIL PROTECTED] Sent: Friday, August 16, 2002 1:14 PM Subject: Re: Root Context Problem On Fri, 16 Aug

RE: Root Context Problem

2002-08-16 Thread Cox, Charlie
-Original Message- From: Taral Shah [mailto:[EMAIL PROTECTED]] Sent: Friday, August 16, 2002 4:32 AM To: Tomcat Users List Subject: Re: Root Context Problem but suppose my two different servlets needs to load the library then what should i do. put the class that loads your

Re: Root Context Problem

2002-08-16 Thread David Mossakowski
[EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED]; Taral Shah [EMAIL PROTECTED] Sent: Friday, August 16, 2002 1:14 PM Subject: Re: Root Context Problem On Fri, 16 Aug 2002, Taral Shah wrote: Date: Fri, 16 Aug 2002 13:08:23 +0530 From: Taral Shah [EMAIL PROTECTED] Reply

RE: Root Context Problem

2002-08-16 Thread Cox, Charlie
, August 16, 2002 2:16 PM To: Tomcat Users List Subject: Re: Root Context Problem You should load the library once in init and put it into servlet context so that for each subsequent request you will use the loaded library. d. Taral Shah wrote: but suppose my two different servlets needs

Re: Root Context

2002-07-17 Thread Jacob Kjome
Hello Mark, What you have done will only affect servlets inside your context at the location: www.domainname.com/main/ What you want to do is to define your context as the root context: Context path= docBase=main debug=0/ Note that if not defined, Tomcat defaults the root context to a

Re: Root Context

2002-07-17 Thread Mark Beecroft
Jake, I am not quite sure what you mean. Maybe I should furnish you with some more information. I have a root context path in server.xml for the pointing to the directory where WEB-INF/ is located and various other resources: Context path= docBase=/home/mark/etc/etc/ debug=0/ Of course, this

Re: Root Context

2002-07-17 Thread Jacob Kjome
I guess I misread your comments a little bit. The /main threw me off track. Anyway, I think you can set up a filter to work on the entire site using the /* filter-mapping. You can choose what to process in there. And then your other mappings will still be valid and won't be taken over by a

Re: root context

2001-06-18 Thread Mike Erickson
thanks, I put the war in a new folder, changed the docbase of the context and restarted.. it didn't work but I noticed that the war did not automatically expand.. so I expanded the war manually, restarted and it worked fine.. after reading through some more threads, I found that commenting out

RE: root context

2001-06-18 Thread Filip Hanik
is there any other way to configure the auto-unpacking of the wars (besides the AutoSetup entry)? it'd be nice to have the ability to specify auto-context adding and auto-unpacking of wars seperately.. well, you can write your own AutoSetup interceptor that does this. take a look at the doc

Re: root context

2001-06-15 Thread Robert Schweng
hi, i also had this problem. i really dont know why its loaded twice but my suggestion is to put the code in the service method of the servlet which is really called only 1 time per session. this is what i did. cheers hype - Original Message - From: Mike Erickson [EMAIL PROTECTED]