how to override servlet context defined in server.xml with the context in web.xml

2005-05-17 Thread fengmin zhang
Hi all, Does anybody know how to override a servlet context defined in server.xml with the one defined in web.xml? Please help According to Tomcat 5.x document, the context for a servlet, say myservlet, can be specified in both TOMCAT_HOME/conf/server.xml and in TOMCAT_HOME/wenapps

Re: Servlet context problem

2005-04-15 Thread Parsons Technical Services
l file lists the servlet context as /servlet/ICTHelpdesk and the manager app lists the correct context and everything works fine, until tomcat (5.0.28) is restarted. the manager now lists two contexts /ICTHelpdesk and /servlet/appICTHelpdesk name, but /servlet/ICTHelpdesk will not start, and the fol

Servlet context problem

2005-04-15 Thread John Reynolds
I have been developing a servlet application, that runs fine within the ide (netbeans). When i deploy the war file to tomcat the application works fine. the context.xml file lists the servlet context as /servlet/ICTHelpdesk and the manager app lists the correct context and everything works fine

RE: SERVLET CONTEXT [ START/STOP BY CODE]

2005-01-11 Thread Karthik N S
, 2005 2:08 PM To: Tomcat Users List Subject: RE: SERVLET CONTEXT [ START/STOP BY CODE] inside tomcat manager.. redeploy your web app... http://localhost:8080/manager/html _ From: Karthik N S [mailto:[EMAIL PROTECTED] Sent: Monday, January 10, 2005 4:08 PM To: TOMCAT_USERS Subject

RE: SERVLET CONTEXT [ START/STOP BY CODE]

2005-01-10 Thread Karthik N S
o the same. Thx in advance Karthik -Original Message- From: Aris Javier [mailto:[EMAIL PROTECTED] Sent: Monday, January 10, 2005 2:08 PM To: Tomcat Users List Subject: RE: SERVLET CONTEXT [ START/STOP BY CODE] inside tomcat manager.. redeploy your web app... http://localhost:8080/ma

RE: SERVLET CONTEXT [ START/STOP BY CODE]

2005-01-10 Thread Aris Javier
inside tomcat manager.. redeploy your web app... http://localhost:8080/manager/html _ From: Karthik N S [mailto:[EMAIL PROTECTED] Sent: Monday, January 10, 2005 4:08 PM To: TOMCAT_USERS Subject: SERVLET CONTEXT [ START/STOP BY CODE] Hi Guys Apologies. Am a New

SERVLET CONTEXT [ START/STOP BY CODE]

2005-01-10 Thread Karthik N S
  Hi  Guys Apologies. Am a New Bee ,on this form Somebody Please Tell me How to START/STOP  Tomcat5.x versions ServletContext by importing appropriate Package and code API's to make use of  foa a particular Context 'ABC ' which is already started.   Thx in Advance.   WITH WARM

Re: servlet context scope variables

2004-07-19 Thread Vladimer Shioshvili
someone has an answer.. if i have an object in the servlet context scope, if tomcat is shutdown gracefully would the object get finalized? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

Re: servlet context scope variables

2004-07-19 Thread Tim Funk
A better thing to do is to implement a ServletContextListener to deallocate any resources. -Tim Vladimer Shioshvili wrote: I know this question is more of a servlet spec question, but I hope someone has an answer.. if i have an object in the servlet context scope, if tomcat is shutdown

RE: servlet context scope variables

2004-07-18 Thread Ariel Valentin
mailto:[EMAIL PROTECTED] From: Vladimer Shioshvili <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Subject: servlet context scope variables Date: Sun, 18 Jul 2004 18:22:37 -0400 I know t

RE: servlet context scope variables

2004-07-18 Thread Caldarale, Charles R
> From: QM [mailto:[EMAIL PROTECTED] > Subject: Re: servlet context scope variables > > Likely, no: finalization happens only on GC, which happens... well, > pretty much when the JVM wants it to. There is also the deprecated java.lang.System static method runFinalizersOnEx

Re: servlet context scope variables

2004-07-18 Thread QM
On Sun, Jul 18, 2004 at 06:22:37PM -0400, Vladimer Shioshvili wrote: : if i have an object in the servlet context scope, if tomcat is shutdown : gracefully would the object get finalized? Likely, no: finalization happens only on GC, which happens... well, pretty much when the JVM wants it to

servlet context scope variables

2004-07-18 Thread Vladimer Shioshvili
I know this question is more of a servlet spec question, but I hope someone has an answer.. if i have an object in the servlet context scope, if tomcat is shutdown gracefully would the object get finalized? thanks, Vlad Vladimer Shioshvili QRC Division of Macro International Inc

RE: Servlet Context Listener problem - Solved

2004-04-05 Thread Yansheng Lin
: Servlet Context Listener problem - Solved Yoav, Thanks for the quick response- Found my error, and embarrassingly it was a simple logic problem. My logger was only being initialized if it had not been previously initialized by the JVM. As such, within that logic block the log messages were only

RE: Servlet Context Listener problem - Solved

2004-04-05 Thread Jason Bucholtz
from your own webapp are left behind? For example, do you have to > shutdown your log manager? > > Yoav Shapira > Millennium Research Informatics > > > >-Original Message- > >From: Jason Bucholtz [mailto:[EMAIL PROTECTED] > >Sent: Monday, April 05,

RE: Servlet Context Listener problem

2004-04-05 Thread Shapira, Yoav
webapp are left behind? For example, do you have to shutdown your log manager? Yoav Shapira Millennium Research Informatics >-Original Message- >From: Jason Bucholtz [mailto:[EMAIL PROTECTED] >Sent: Monday, April 05, 2004 3:04 PM >To: Tomcat Users List >Subject: Servlet C

Servlet Context Listener problem

2004-04-05 Thread Jason Bucholtz
I am using tomcat 5.0.19 and am experiencing different behavior from a servlet context listener than what is outlined in the servlet spec. My expectation is that the listener methods contextInitialized() and contextDestroyed() should be called respectively each time the application is

RE: Servlet Context Initialized more than once

2004-02-02 Thread Shapira, Yoav
Millennium ChemInformatics >-Original Message- >From: Zoltan Regos [mailto:[EMAIL PROTECTED] >Sent: Saturday, January 31, 2004 5:22 AM >To: 'Tomcat Users List' >Subject: Servlet Context Initialized more than once > >Hi All, > >I have been using Tomcat 4.1.18

Servlet Context Initialized more than once

2004-01-31 Thread Zoltan Regos
there would be only servlet context - I would need the global initialization to be called only once. On quitting tomcat there are two entries at the end of its log file clearly showing that two contexts have been created. (tomcat log file is also attached). Thank you in advance, Zoltan snippet

RE: Servlet context in tomcat cluster.

2003-11-03 Thread Shapira, Yoav
y Paul [mailto:[EMAIL PROTECTED] >Sent: Wednesday, October 15, 2003 1:07 AM >To: Tomcat Users List >Subject: Servlet context in tomcat cluster. > >Hi, >I need a quick answer. In Tomcat clustered environment(I dont know the >configuration) is it possible to access the same servlet c

Servlet context in tomcat cluster.

2003-11-02 Thread Antony Paul
Hi, I need a quick answer. In Tomcat clustered environment(I dont know the configuration) is it possible to access the same servlet context on different machines from jsp and servlets. Is there any special coding required to do this. I wnat to put an object in the servlet context which is to be

Re: Servlet Context Listener problem...

2003-07-16 Thread Zach Gatu
Have a look at one of the latest Enterprise Java Tech Tip on Servlet Life Cycle Listeners: http://developer.java.sun.com/developer/EJTechTips/2003/tt0626.html#2 Zach. [EMAIL PROTECTED] wrote: Hi: I implemented ServletContextListener in my class. I then wrote the xml in the web.xml file and s

RE: Dispatching Request to Another Servlet Context

2003-07-15 Thread Paresh Joshi
Paresh -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Tue 7/15/2003 10:05 AM To: Tomcat Users List Cc: Subject: RE: Dispatching Request to Another Servlet Context Howdy, Serv

RE: Dispatching Request to Another Servlet Context

2003-07-15 Thread Shapira, Yoav
nium ChemInformatics >-Original Message- >From: Paresh Joshi [mailto:[EMAIL PROTECTED] >Sent: Tuesday, July 15, 2003 12:29 PM >To: Tomcat Users List >Subject: Dispatching Request to Another Servlet Context > > Hi, > > I want to forward a request from one se

RE: Servlet Context Listener problem...

2003-07-15 Thread Sudhir Movva
--- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 15, 2003 12:27 PM To: Tomcat Users List Subject: Re: Servlet Context Listener problem... Is "declared before anything else" a literal statement? Are you following the DTD? "listener" comes after several o

Resolved Re: Servlet Context Listener problem...

2003-07-15 Thread Mufaddal Khumri
CHANGED the reference to the dtd and it worked. That was the error because I was referencing the old dtd which does not recognize listener or listener-class. I had: http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";> Changed it to: "http://java.sun.com/dtd/web-app_2_3.dtd";>

Dispatching Request to Another Servlet Context

2003-07-15 Thread Paresh Joshi
Hi, I want to forward a request from one servlet context to a JSP page in another servlet context. Both the applications are running on same tomcat. I would appreciate if any one can shed some light on how to do this. Thanks, Paresh

Re: Servlet Context Listener problem...

2003-07-15 Thread John Turner
t first. -Original Message- From: Mufaddal Khumri [mailto:[EMAIL PROTECTED] Sent: Monday, July 14, 2003 6:41 AM To: Tomcat List Subject: Servlet Context Listener problem... Hi: I implemented ServletContextListener in my class. I then wrote the xml in the web.xml file and started tomc

RE: Servlet Context Listener problem...

2003-07-15 Thread Bodycombe, Andrew
Make sure your DTD is the correct servlet 2.3 DTD. The listener element was introduced in version 2.3 of the servlet spec. -Original Message- From: Mufaddal Khumri [mailto:[EMAIL PROTECTED] Sent: 15 July 2003 04:58 To: Tomcat Users List Subject: Re: Servlet Context Listener problem

Re: Servlet Context Listener problem...

2003-07-15 Thread Mufaddal Khumri
addal Khumri [mailto:[EMAIL PROTECTED] Sent: Monday, July 14, 2003 6:41 AM To: Tomcat List Subject: Servlet Context Listener problem... Hi: I implemented ServletContextListener in my class. I then wrote the xml in the web.xml file and started tomcat. The error tomcat threw tells me that it did not reco

Re: Servlet Context Listener problem...

2003-07-15 Thread Jon Wingfield
Is that the entirety of your web.xml? The error looks like the parser can't find the definition of the "listener" element, it hasn't even got to the point of worrying about element order yet. Have you got an xml prolog and a doctype at the top of the file? eg: "http://java.sun.com/dtd/web-app_

RE: Servlet Context Listener problem...

2003-07-14 Thread Januski, Ken
Listeners must be declared before any servlets in web.xml. I'd check that first. -Original Message- From: Mufaddal Khumri [mailto:[EMAIL PROTECTED] Sent: Monday, July 14, 2003 6:41 AM To: Tomcat List Subject: Servlet Context Listener problem... Hi: I implemented ServletContextLis

Servlet Context Listener problem...

2003-07-14 Thread Mufaddal Khumri
Hi: I implemented ServletContextListener in my class. I then wrote the xml in the web.xml file and started tomcat. The error tomcat threw tells me that it did not recognize the listener and listener-class elements ?? i have them declared in the web.xml as:

Re: can servlet interact with html file in someplace other than current servlet context?

2003-02-25 Thread Xiongfei Wang
Schmidt wrote: > 1) Your URL's look really strange. It looks as if your whole server > directory is exported visible through your server. I hope you know what you > are doing. > > 2) getRequestDispatcher(target)) only works within the servlet context (SC). > For resources o

RE: can servlet interact with html file in someplace other than c urrent servlet context?

2003-02-25 Thread TO_Valery
[mailto:[EMAIL PROTECTED] Sent: Tuesday, February 25, 2003 4:20 PM To: Tomcat Users List Subject: RE: can servlet interact with html file in someplace other than c urrent servlet context? Thanks for your advice. one more question is how to interact wiht static html? i have /var/www/html i have /var

Re: can servlet interact with html file in someplace other than current servlet context?

2003-02-25 Thread Hannes Schmidt
1) Your URL's look really strange. It looks as if your whole server directory is exported visible through your server. I hope you know what you are doing. 2) getRequestDispatcher(target)) only works within the servlet context (SC). For resources outside the SC you might want t

RE: can servlet interact with html file in someplace other than c urrent servlet context?

2003-02-25 Thread Shapira, Yoav
Howdy, >I have servlet login, in login.java i have code like > > private static final String TARGET_FILE="/var/www/html/index1.html"; > if( ) > { > (req.getRequestDispatcher(target)).forward(req,res); > return; > } > ---

RE: can servlet interact with html file in someplace other than current servlet context?

2003-02-25 Thread Xiongfei Wang
= > BeSt ReGaRdS level0 icq#155042687 > -Original Message- > From: Xiongfei Wang [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 25, 2003 5:46 AM > To: Tomcat Users List > Subject: can servlet interact with html file in someplace other than current > servlet context

RE: can servlet interact with html file in someplace other than current servlet context?

2003-02-24 Thread TO_Valery
le in someplace other than current servlet context? My current servlet context is in /home/jp/reg I have a login(login.java) servlet in this context In login.java i have code like private static final String TARGET_FILE="/var/

Servlet Context Problem

2003-01-28 Thread Lior Shliechkorn
Hello, I'm having problems with the ServletContext object. When I acquire the context, it just gets the "path" to my webApp, right? The servlet will then know what webApp it's under. Ok, so I tried to make it work with a servlet to forward to another page. Now the servlet is mapped as /webApp/

RE: (simple?) servlet context problem

2003-01-16 Thread Noel J. Bergman
Did you try http://localhost:8080/greeting/GreetingServlet as the URL? > Does anyone know how /servlet/ got into the response URL? What is the value in the FORM tag's ACTION attribute? --- Noel -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: servlet context, urgent !!!

2003-01-15 Thread Prashanth Gane
eploy -Original Message- From: Peng Annie [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 15, 2003 3:37 PM To: 'Tomcat Users List' Subject: RE: servlet context, urgent !!! Thanks. In the global web.xml or the one in MainApplication? Could you give me an example how to register? -O

RE: servlet context, urgent !!!

2003-01-15 Thread Peng Annie
Thanks. In the global web.xml or the one in MainApplication? Could you give me an example how to register? -Original Message- From: Prashanth Gane [mailto:[EMAIL PROTECTED]] Sent: 15. tammikuuta 2003 11:54 To: Tomcat Users List Subject: RE: servlet context, urgent !!! if u r using

RE: servlet context, urgent !!!

2003-01-15 Thread Prashanth Gane
if u r using tomcat4.1.x then u have to register the servlet context inside the web.xml or else the server will not recoginse... -Original Message- From: Peng Annie [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 15, 2003 3:15 PM To: '[EMAIL PROTECTED]' Subject: servl

servlet context, urgent !!!

2003-01-15 Thread Peng Annie
Hi, I am useing Apache2, Tomcat4. Now I got a problem about the servlet context. I have an main application which was configured to the DocumentRoot in httpd.conf, and the alias of this main application is just under the url root (http://servername/index.jsp will direct user to webapps

Servlet Context Issues

2002-12-16 Thread Sam Prochazka
Hi, I'm using Tomcat 4.1.16. I'm using a cross context to access resources between two different web apps. My server.xml is set as follows: And my JSP in webapp1 is as follows: <% ServletContext thatctx= application.getContext("/webapp2"); RequestDispatcher rdpt=thatctx.getRequestDispatc

(simple?) servlet context problem

2002-10-23 Thread Andy Wickson
gServlet /GreetingServlet The URL http://localhost:8080/greeting/index.html serves up the html page correctly and this page tries to invoke the GreetingServlet but the response is trying to use the servlet context as can be seen from the URL in the following error page message. The requested

RE: Servlet context problem?

2002-09-27 Thread Ray Madigan
Did you restart tomcat after you created the new context? Have you looked at the logs in the logs directory? -Original Message- From: Kenny G. Dubuisson, Jr. [mailto:[EMAIL PROTECTED]] Sent: Friday, September 27, 2002 11:10 AM To: Tomcat Users List Subject: Re: Servlet context problem

Re: Servlet context problem?

2002-09-27 Thread Kenny G. Dubuisson, Jr.
List" <[EMAIL PROTECTED]> Sent: Friday, September 27, 2002 1:08 PM Subject: Servlet context problem? > I'm trying to use my first servlet (named "MyFirstServlet") in a context > that I created (called "graphics"). It is my understanding that the servlet >

Servlet context problem?

2002-09-27 Thread Kenny G. Dubuisson, Jr.
I'm trying to use my first servlet (named "MyFirstServlet") in a context that I created (called "graphics"). It is my understanding that the servlet should go in "graphics/WEB-INF/classes" and should be invoked in a browser via "graphics/servlet/MyFirstServlet". This for me doesn't work. In my

Re: Changing servlet context path with mod_jk2 and Apache

2002-07-27 Thread Eddie Bush
You shouldn't have to give it a fake extension I don't think. the web.xml would be the ideal place to map it though. I've done mappings such as just mapping the class name to /, as in: theName /theName ... and it worked just fine. Charles N. Harvey III wrote: >Andris, >You will h

Changing servlet context path with mod_jk2 and Apache

2002-07-26 Thread Andris Spruds
Hi Tomcat folks, I'm trying to put my servlet under http://www.myserver.com/myservlet (instead of whole www.myserv.com/myapp/servlet/myservlet line) by using Apache2 & mod_jk2. In general, I need a more simple URL, or noone will remember to visit my site ;) Everything went fine: I get rid of the

Cannot retrieve session after visiting a different servlet context

2002-05-28 Thread Ghanshyam Patel
I am using Tomcat 4.0.3 and have 2 servlet contexts running in the same JVM. Session SA is created when I visit a page served by servlet context A. Session SB is created when I visit a page served by servlet context B. Now, when I revisit a page served by context A, a new session is created! I

Re: Are spaces allowed in Servlet Context names?

2002-02-05 Thread Craig R. McClanahan
On Mon, 4 Feb 2002, David M Johnson wrote: > Date: Mon, 04 Feb 2002 15:08:18 -0500 > From: David M Johnson <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: Re: Are spaces allowed in Se

Re: Are spaces allowed in Servlet Context names?

2002-02-04 Thread David M Johnson
Should I file a bug, or have you already done that? _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe: For additional commands: Troub

Re: Are spaces allowed in Servlet Context names?

2002-02-01 Thread Craig R. McClanahan
500 > From: David M Johnson <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Are spaces allowed in Servlet Context names? > > Tomcat 4.0.1 does not seem to allow spaces, but are spaces really > prohibuted by t

Are spaces allowed in Servlet Context names?

2002-02-01 Thread David M Johnson
Tomcat 4.0.1 does not seem to allow spaces, but are spaces really prohibuted by the spec? For example if I have a Servlet Context named "spaces 2" in the webapps dir like so: /webapps/spaces 2 And I try to hit it with a properly escaped URL like below, I get a 404 error

/servlet context?

2001-12-13 Thread Jim Michael
We have configured Tomcat & Apache to execute JSPs from the Apache document directory, for two web servers running on the same box. We were able to do this via virtual hosts and manual configuration of the JKMounts... however, there's one issue I can't resolve.. With this setup, now /servlet m

Servlet context again

2001-11-21 Thread Mihai Gheorghiu
Suppose I have a login page. Upon submit, the listening servlet generates a dynamic page. This latest page should send data to the server, too. Is the context of the new page the same as the previous one? If same, can it be changed? Thank you all. -- To unsubscribe:

RE: get Servlet Context Name

2001-10-01 Thread Thys De [EMAIL PROTECTED]
Have you tried restarting the Apache server ? -Original Message- From: chiuming [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 02, 2001 5:45 AM To: [EMAIL PROTECTED] Subject: RE: get Servlet Context Name could you tell me more how to make a filter? are you meaning init-parameter in

RE: get Servlet Context Name

2001-10-01 Thread Craig R. McClanahan
On Mon, 1 Oct 2001, chiuming wrote: > Date: Mon, 1 Oct 2001 20:45:19 -0700 (PDT) > From: chiuming <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Subject: RE: get Servlet Context Name > > could you tell me more how to make a filter? >

RE: get Servlet Context Name

2001-10-01 Thread chiuming
ming [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, October 02, 2001 3:19 AM > > To: [EMAIL PROTECTED] > > Subject: get Servlet Context Name > > > > > > hi, > > any way I can get a servlet context ( web > application > > )'s name with in a servlet? o

Re: get Servlet Context Name

2001-10-01 Thread Craig R. McClanahan
On Mon, 1 Oct 2001, chiuming wrote: > Date: Mon, 1 Oct 2001 18:19:09 -0700 (PDT) > From: chiuming <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Subject: get Servlet Context Name > > hi, > any way I can get a servlet context ( web ap

RE: get Servlet Context Name

2001-10-01 Thread Deacon Marcus
ameter like "webapp=webapp.com" and stores it in application (ServletContext) scope so it's available to any Servlet/JSP. Greetings, deacon Marcus > -Original Message- > From: chiuming [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, October 02, 2001 3:19 AM > To: [EMAI

Re: get Servlet Context Name

2001-10-01 Thread David Ward
request.getContextPath() works in both servlets and JSP's (as JSP's are servlets). I don't suggest ever hardcoding anything to use specific container's (including tomcat's) API's. Keep to the spec. Hope this helps, David -- chiuming wrote: > hi, > any w

get Servlet Context Name

2001-10-01 Thread chiuming
hi, any way I can get a servlet context ( web application )'s name with in a servlet? on Servlet API 2.2 (not Servlet 2.3) -OR- there is no way to do that? P.S. I am using tomcat... may I access internal tomcat object to achieve that? t

Help with servlet context

2001-07-31 Thread Tia Haenni
This is a repost. Does anyone know how to do this? There used to be methods for this in ServletContext (getServlets() and getServletNames()), but they have been deprecated with no replacements. I have a servlet which dispatches to other servlets in the same context through a RequestDispatcher ob

Using Servlet context

2001-06-10 Thread Omer
Hi, I wish to use servlet context, though I'm facing some problems. In the example that I'm following to learn contextx, the following changes are to be made to a different web-server and it says that I need to adapt the instructions given here to my server if its different

RE: Modify Servlet Context on Tomcat Startup

2001-04-25 Thread William Kaufman
> Sent: Wednesday, April 25, 2001 5:11 AM > To: [EMAIL PROTECTED] > Subject: Modify Servlet Context on Tomcat Startup > > > I currently have a servlet that sets up a number of attributes in the > servlet context. Does anybody know how I can get this servlet to > automa

Modify Servlet Context on Tomcat Startup

2001-04-25 Thread Sulman . Jeff
I currently have a servlet that sets up a number of attributes in the servlet context. Does anybody know how I can get this servlet to automatically run when Tomcat starts. Thanks in andvance Jeff Sulman

Re: [Tomcat-user] Servlet Context Parameter... illegal characters...

2001-03-18 Thread Craig R. McClanahan
On Sun, 18 Mar 2001, James Carroll wrote: > > Hi, > > in my web.xml in the part that specifies: > > databaseURL > > > this works: > jdbc:mysql://localhost/db > > but this doesn't: > > jdbc:mysql://localhost/db?user=name&password=pw e> > > Either the ? or the & is mess

[Tomcat-user] Servlet Context Parameter... illegal characters...

2001-03-18 Thread James Carroll
Hi, in my web.xml in the part that specifies: databaseURL this works: jdbc:mysql://localhost/db but this doesn't: jdbc:mysql://localhost/db?user=name&password=pw Either the ? or the & is messing up the parser... Is this a bug? or is there a way of escaping the special

RE: multi-jvm, one servlet context

2001-01-17 Thread Kitching Simon
> -Original Message- > From: sun [SMTP:[EMAIL PROTECTED]] > Sent: Thursday, January 18, 2001 12:34 AM > To: [EMAIL PROTECTED] > Subject: multi-jvm, one servlet context > > hi, there, > can I ask tomcat to start with several jvm to serve one servlet

multi-jvm, one servlet context

2001-01-17 Thread sun
hi, there, can I ask tomcat to start with several jvm to serve one servlet context? currently, my servlet running speed is very slow, can I use multi-jvm to make it faster? sorry for stupid question, hope can get answer.   rgds sun

Re: Linux in-process servlet context configuration

2000-12-26 Thread Neill Laney
CTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 26, 2000 11:58 PM Subject: RE: Linux in-process servlet context configuration Niell, If your 'Include'ing the tomcat-apache.conf (the config that tomcat automatically generates) then you may just need to restart apache for i

RE: Linux in-process servlet context configuration

2000-12-26 Thread Carl Johnston
t.conf file. You'll need edit this file to mount the servlet context within apache (ie/ let apache know that /bookstore is a servlet context) which can be done by adding something simmilar to this to your tomcat.conf file: ApJservMount /bookstore /root Regards, Carl --- Carl Johnston System

Linux in-process servlet context configuration

2000-12-26 Thread Neill Laney
Tomcat 3.1, jserv module, and Apache 1.3.14 are installed and running on RedHat 7. The examples are running with the URL http://newhost/examples/servlet/HelloWorldExample and http://newhost:8080/examples/servlet/HelloWorldExample I have an application called "Bookstore" that was running on a sta

Re: potentially thousands of servlet context entries

2000-11-29 Thread Craig R. McClanahan
David Bussenschutt wrote: > Q1, > Thanks andreas, this fixed it: > cd /path/to/tomcat/webapps/ > find . -type d -print | xargs -n1 chmod o+x > find . -type f -print | xargs -n1 chmod o+r > Is that going to be a security problem giving 'nobody' read access to all > of 'webapps' ? > It should't (b

potentially thousands of servlet context entries

2000-11-29 Thread David Bussenschutt
Original Message- >> From: David Bussenschutt [mailto:[EMAIL PROTECTED]] >> Sent: Wednesday, November 29, 2000 4:31 AM >> To: [EMAIL PROTECTED] >> Subject: Q's: running tomcat as 'nobody', and thousands of servlet >> context entries >> >>

RE: running tomcat as 'nobody', and thousands of servlet context entries

2000-11-29 Thread Stubenrauch,Andreas
> -Original Message- > From: David Bussenschutt [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, November 29, 2000 4:31 AM > To: [EMAIL PROTECTED] > Subject: Q's: running tomcat as 'nobody', and thousands of servlet > context entries > > > Hi All, > &

Q's: running tomcat as 'nobody', and thousands of servlet context entries

2000-11-28 Thread David Bussenschutt
Hi All, I've read the tomcat-apache howto at: http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/tomcat-apache-howto. html (and also the users-guide, the mod_jk howto, the list archives etc etc.) I have installed: linux 2.2.14 ; apache 1.3.12 (mod_ssl & php4 & mod_so statically linked; mod

Re: Servlet context

2000-11-20 Thread Craig R. McClanahan
David Oxley wrote: > We have written a servlet that is being used in a virtual host setup. I need > to retrieve the virtual host that the servlet has been setup up to work > against. I can retrieve the server name but not the virtual host name. Also > I would like to retrieve the context. > We ar

Servlet context

2000-11-20 Thread David Oxley
We have written a servlet that is being used in a virtual host setup. I need to retrieve the virtual host that the servlet has been setup up to work against. I can retrieve the server name but not the virtual host name. Also I would like to retrieve the context. We are using Apache 1.3.14 mod_jk'e