modify web deployment descriptor at runtime

2004-10-25 Thread Saravanan Veerappan
Is there a way to modify web deployment descriptor (web.xml) at runtime using MBeans? I would like to add security roles/ constraints at runtime by providing a admin interface, so admin can add /remove users described in web.xml. Appreciate your replies. Thanks

How Servlets work?

2004-02-16 Thread saravanan
Hi all, may be not the right place to ask this question. Hope somebody is kind enough to clarify this doubt of mine. i understand, in a servlet, if i need any code to be thread safe, then i shud put that code inside a synhronized block or declared the entire method as synchronized. if my

Re: How Servlets work?

2004-02-16 Thread saravanan
Thanks a lot Harry. Thank you so much. Saravanan Harry Mantheakis wrote: Hello how the webserver handles more than one request at the same time. The answer is: by invoking the servlet's service method in a new thread for each new request to that servlet. Think of any Java object

[Tomcat Admin user name password]

2003-12-18 Thread saravanan
Hi all, i am a newbie for Tomcat. i just installed Tomcat/5.0.16 on my RH 9.0 box and its running. But I cant login to the admin tool. Whats the admin user name pwd. How do i konw it???. any help wud be greatly appreciated. Thanks in advance. TR.Saravanan

Re: [Tomcat Admin user name password]

2003-12-18 Thread saravanan
Hi Karam, Thanks for the reply. I tried it. I also added the following lines. role rolename=manager/ role rolename=admin/ Now if try login with uname as admin and pwd as pass, i get the error message inavalid login. correct me if i am wrong. Thanks for your support. Saravanan L.Karam wrote

Re: [Tomcat Admin user name password]

2003-12-18 Thread saravanan
Hi Karam, Thank you so much. Yeah It works. :-) Saravanan L.Karam wrote: try reboot the tomcat.. - Original Message - From: saravanan To: Tomcat Users List Sent: Thursday, December 18, 2003 2:27 PM Subject: Re: [Tomcat Admin user name password] Hi Karam

Re: [Tomcat Admin user name password]

2003-12-18 Thread saravanan
Hi Antony, Thanks for the reply. yeah there is a file called admin.xml. but i dont know what is it meant for. i just restarted tomcat. it works. thanks Saravanan Antony Paul wrote: check for any file named admin-users.xml. I think Tomcat 5 uses this file. I am not sure. Antony Paul

RE: Newbie questions

2002-08-16 Thread Saravanan Bellan
questions Saravanan, Unfortunately the first link you sent me (web.xml.txt) cannot open with my browser. Can you cut paste and send me the relevant parts on how to code the web.xml file for my app? Thanks again! J Saravanan Bellan wrote:http://jakarta.apache.org/tomcat/tomcat

RE: Calling a servlet from a jsps page

2002-08-16 Thread Saravanan Bellan
jsp: include page=/rajapp/mypkg.CurrentTime.class flush=true / My guesses, Remove .class try page=servlet/mypkg.CurrentTime or page=/rajapp/servlet/mypkg.CurrentTime -Original Message- From: Raju Lokhande [mailto:[EMAIL PROTECTED]] Sent: Friday, August 16, 2002 12:53 PM To:

FW: Newbie questions

2002-08-15 Thread Saravanan Bellan
-Original Message- From: Saravanan Bellan Sent: Thursday, August 15, 2002 12:48 PM To: 'Tomcat Users List' Subject: RE: Newbie questions http://jakarta.apache.org/tomcat/tomcat-4.0-doc/appdev/web.xml.txt Also look at http://jakarta.apache.org/tomcat/tomcat-4.0-doc/appdev/index.html

RE: Newbie questions

2002-08-15 Thread Saravanan Bellan
To: Tomcat Users List Subject: RE: Newbie questions Can you show a complete example please? Thanks /Jim Saravanan Bellan wrote:Servlets should have their mapping defined in WEB-INF/web.xml -Original Message- From: Jim Marnell [mailto:[EMAIL PROTECTED]] Sent: Thursday, August

RE: Trying to work with JDBC OCI

2002-08-14 Thread Saravanan Bellan
-Original Message- From: Saravanan Bellan Sent: Wednesday, August 14, 2002 12:16 PM To: 'Tomcat Users List' Subject: RE: Trying to work with JDBC OCI It is most definitely a native library location problem not a CLASSPATH problem. 2) I have put LD_LIBRARY_PATH=$ORACLE_HOME/lib

RE: Setting up web pages with tomcat

2002-08-14 Thread Saravanan Bellan
Tomcat_Home/webapps/yourweb/index.html didn't work, but I used Probably you did not restart tomcat after creating yourweb. -Original Message- From: Gavin Alexander [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 14, 2002 4:23 PM To: Tomcat Users List Subject: Re: Setting up

RE: Trying to work with JDBC OCI

2002-08-14 Thread Saravanan Bellan
It is most definitely a native library location problem not a CLASSPATH problem. 2) I have put LD_LIBRARY_PATH=$ORACLE_HOME/lib. Where have you set this variable. It should be visible to the run.sh script. Also, make sure that $ORACLE_HOME is also set. -Original Message- From:

RE: localhost vs IP address in the URL

2002-07-26 Thread Saravanan Bellan
Thanks to whoever has been following this. dwh, your pet theory about maximum packet size is right. This explains it. http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q294769; -Original Message- From: Saravanan Bellan [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25

RE: localhost vs IP address in the URL

2002-07-25 Thread Saravanan Bellan
should be the same, no? Saravanan, you say there's a 20x difference but what's the magnitude? Are we talking 10 ms vs. 200 ms. or 1 second vs 20 seconds? By IP address do you mean 127.0.0.1 or the IP address of the computer? If it takes about 10 seconds when using the IP address/hostname

localhost vs IP address in the URL

2002-07-22 Thread Saravanan Bellan
Sorry, if this is a duplicate. Windows 2000 Tomcat 3.2.3 If I try to upload a file using the regular HTML/HTTP, there is a 20x difference in performance between using localhost vs the IP address in the Web Server URL. Ofcourse I'm running the browser on the same machine where

localhost vs IP address in the URL

2002-07-22 Thread Saravanan Bellan
Windows 2000 Tomcat 3.2.3 If I try to upload a file using the regular HTML/HTTP, there is a 20x difference in performance between using localhost vs the IP address in the Web Server URL. Ofcourse I'm running the browser on the same machine where tomcat is installed. Using localhost is 20 times