Error Message Explanation

2003-02-04 Thread Hari Venkatesan
Any idea what this error means? 1) org.apache.jk.server.JkCoyoteHandler - Error in action code java.net.SocketException: Connection reset by peer: socket write error 2) WARN - Server has closed connection 470508266 [Thread-6] WARN org.apache.jk.common.ChannelSocket - Server has

RE: Tomcat 4.1 ignoring -Xmx params

2003-01-28 Thread Hari Venkatesan
How did you find out it is ignoring -Xmx parameter. Initially when you start up tomcat, it would allocate only the minimum heap that you set in -Xms. Hari -Original Message- From: Christian Cryder [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 28, 2003 11:49 AM To: Tomcat-User

RE: Driver for connecting to a AS/400

2003-01-28 Thread Hari Venkatesan
You have to JT400.jar file to make DB connections to the 400. The Driver Class name you can use is com.ibm.as400.access.AS400JDBCDriver. Remember that this driver is type 4 driver. You need not make any changes to the as400. You can connect to the database with your username and password. Hari

RE: problem connecting to a as400

2003-01-28 Thread Hari Venkatesan
You have to have jt400.jar in Linux box. Hari -Original Message- From: x x [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 28, 2003 4:56 PM To: Tomcat Users List; [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: problem connecting to a as400 thanks for your help, thanks a lot.

RE: Memory Mgmt Tomcat

2003-01-23 Thread Hari Venkatesan
Shapira, I don't think the question is ridiculous. There are a lot of people out there who have implemented tomcat in production environment and we as starters would like to know how they managed some of the delicate issues like this. Off late there have been many queries about memory

RE: Memory Mgmt Tomcat

2003-01-23 Thread Hari Venkatesan
. The remainder will only take a few seconds. Rarely, if ever should a GC take more than 10 seconds.Make sure that the db connection timeout is set to 10-15 seconds. For the DBCP you set this using the parameter maxWait. Thanks, Rommel. -Original Message- From: Hari Venkatesan [mailto:[EMAIL

RE: Memory Mgmt Tomcat

2003-01-23 Thread Hari Venkatesan
Hai, Thanks you very much for spending the time and answering some of my (our) problems in much detail. Appreciate it. I will try to put in my efforts on the direction you have shown. Again Appreciate your time Hari -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED]]

RE: IIS and Tomcat basic configuration questions

2003-01-23 Thread Hari Venkatesan
Take a look at this site. It has step by step installation instructions http://www.onjava.com/pub/ct/33 Hari -Original Message- From: Brantley Hobbs [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 23, 2003 10:48 AM To: [EMAIL PROTECTED] Subject: IIS and Tomcat basic configuration

RE: Tomcat running as an win 2000 service

2003-01-22 Thread Hari Venkatesan
Take a look at the following site. It gives you a feeler of how to do it. Once you run the batch file, it updates the Win2000 registry entries for you. From there you can play with it. http://www.mattkelli.com/tech/tomcat/ntservice.htm -Original Message- From: Nicolas Piroué

RE: Memory Allocation

2003-01-22 Thread Hari Venkatesan
Message- From: Hari Venkatesan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 4:21 PM To: [EMAIL PROTECTED] Subject: Memory Allocation Tomcat when starting uses 60M memory in heap. Why is that it is using so much memory in heap. I found this by running jprobe memory debugger. I have just

RE: Memory Allocation

2003-01-22 Thread Hari Venkatesan
Hi, I can try with IBM's version and also with sun's JVM1.4.1_01 and let you know about it. Thanks for your input. Hari -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 22, 2003 10:36 AM To: Tomcat Users List Subject: RE: Memory Allocation

RE: Tomcat Out of memory

2003-01-22 Thread Hari Venkatesan
Nate Take a look at the following site. It gives you a feeler of how to do it. Once you run the batch file, it updates the Win2000 registry entries for you. From there you can play with it. http://www.mattkelli.com/tech/tomcat/ntservice.htm When you follow the instructions, and run the batch

Memory Allocation

2003-01-21 Thread Hari Venkatesan
Tomcat when starting uses 60M memory in heap. Why is that it is using so much memory in heap. I found this by running jprobe memory debugger. I have just one application in the context of server.xml file and don't think the entire application gets loaded into memory. After doing a full garbage

RE: Memory Allocation

2003-01-21 Thread Hari Venkatesan
- the default heap size set is for 64 meg. This can be changed using the -Xmx parmeters in the initial call to the jvm. We set the max heap size for our tomcat to 128M using: -Xmx128M -Original Message- From: Hari Venkatesan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 21, 2003 1

[Off-Topic] Memory ALlocation in Win2K

2003-01-17 Thread Hari Venkatesan
When I start the JVM with -Xms512m, where does the memory gets allocated from. Is it from System main memory or from the virtual Memory. The reason I ask this is when I look at Windows Task manager I could see a bump in the MEM Usage portion. But the amount of Physical Memory (Total + Available)

RE: Startup parameters

2003-01-17 Thread Hari Venkatesan
Take a look at the following site. It gives you a feeler of how to do it. Once you run the batch file, it updates the Win2000 registry entries for you. From there you can play with it. http://www.mattkelli.com/tech/tomcat/ntservice.htm But the only catch running tomcat as service with the start

RE: Startup parameters

2003-01-17 Thread Hari Venkatesan
Setting the parameters in Catalina.bat would not work if you run Tomcat as a service since you service is calling tomcat.exe directly and not startup.bat or Catalina.bat. But to test out before you start the service you can put the values in CATALINA_OPTS = -Xms128m -Xmx258 etc and run

Tomcat in Server Mode

2003-01-16 Thread Hari Venkatesan
I changed the following settings in setclasspath.bat to start tomcat server in Server Mode. Set _RUNJAVA=%JAVA_HOME%\bin\java -server Set _RUNJAVA=%JAVA_HOME%\bin\javaw -server Set _RUNJAVA=%JAVA_HOME%\bin\jdb -server I have also changed JAVA_HOME/jre/lib/jvm.cfg to put -server at the top of

Redirecting verbosegc to a file

2003-01-16 Thread Hari Venkatesan
Is there a way to redirect -verbose:gc from displaying in console to a log file? Hari

RE: Redirecting verbosegc to a file [Off-TOPIC]

2003-01-16 Thread Hari Venkatesan
Shapira Millennium ChemInformatics -Original Message- From: Hari Venkatesan [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 3:15 PM To: [EMAIL PROTECTED] Subject: Redirecting verbosegc to a file Is there a way to redirect -verbose:gc from displaying in console to a log file

Precompiling JSP - setup

2003-01-14 Thread Hari Venkatesan
Is there any documentation that explains how to setup parameters for precompiling JSP's when Tomcat Server starts up or can somebody please explain how to do this? Hari

Garbage Collection - Settings

2003-01-14 Thread Hari Venkatesan
I know somebody answered this question before but could not find it in the archives. Is there any difference between -Xms64m and -Xms64M Similarly is there a difference between -Xms1G and -Xms1g Hari

Precompiling JSP

2003-01-13 Thread Hari Venkatesan
Is there any definitive advantage of precompiling JSPs' when tomcat server starts UP. Does this have any effect on performance? Hari

RE: Precompiling JSP

2003-01-13 Thread Hari Venkatesan
as a good material on this matter: http://www.javaperformancetuning.com/ Hope it helps [EMAIL PROTECTED] -Original Message- From: Hari Venkatesan [mailto:[EMAIL PROTECTED]] Sent: 13. janúar 2003 13:23 To: [EMAIL PROTECTED] Subject: Precompiling JSP Is there any definitive

RE: Precompiling JSP

2003-01-13 Thread Hari Venkatesan
-Original Message- From: Hari Venkatesan [mailto:[EMAIL PROTECTED]] Sent: 13. janúar 2003 13:48 To: Tomcat Users List Subject: RE: Precompiling JSP Thanks Reynir, This was exactly I was looking for. Our Jsp's are loading very slow. We are using JDBC connection to DB2/400

Garbage Collection

2003-01-13 Thread Hari Venkatesan
Is there a way to find out how often tomcat runs Garbage Collection and how to optimize it if GC does not happen often Hari

Connection Pool

2003-01-06 Thread Hari Venkatesan
Is there a way to find out the number of active connections in a connection pool? Hari

Work Directory in Tomcat

2002-12-20 Thread Hari Venkatesan
Can anybody explain the usage of work Directory in Tomcat. I see that the compiled versions of the JSP's are being stored here. Does the JSP get loaded from here upon actual execution? IF so what happens if there is a change in the JSP. One strange problem is every time I change a JSP, I had to

RE: Virtual Domains with Tomcat 4.1.12 Standalone

2002-12-17 Thread Hari Venkatesan
You have two Host name defined and only one closing tag for the host. Did you change Engine name=Standalone defaultHost=localhost debug=99 to reflect host0.com in the defaultHost Hari -Original Message- From: J. Norment [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 17, 2002 10:15

RE: Virtual Domains with Tomcat 4.1.12 Standalone

2002-12-17 Thread Hari Venkatesan
of the solution? On Tue, 17 Dec 2002 10:22:20 -0500, Hari Venkatesan wrote: You have two Host name defined and only one closing tag for the host. Did you change Engine name=Standalone defaultHost=localhost debug=99 to reflect host0.com in the defaultHost Hari -Original Message- From: J. Norment

RE: Virtual Domains with Tomcat 4.1.12 Standalone

2002-12-17 Thread Hari Venkatesan
[mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 17, 2002 11:04 AM To: 'Tomcat Users List' Subject: RE: Virtual Domains with Tomcat 4.1.12 Standalone Changing defaultHost is not the solution. John -Original Message- From: Hari Venkatesan [mailto:[EMAIL PROTECTED]] Sent: Tuesday

RE: Virtual Domains with Tomcat 4.1.12 Standalone

2002-12-17 Thread Hari Venkatesan
- From: Hari Venkatesan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 17, 2002 11:10 AM To: Tomcat Users List Subject: RE: Virtual Domains with Tomcat 4.1.12 Standalone If I leave the defaultHost to localhost and have a host name=something.com, when I type in the url http

RE: Virtual Domains with Tomcat 4.1.12 Standalone

2002-12-17 Thread Hari Venkatesan
://host1.com - loads up host1's index page Is changing the default host part of the solution? On Tue, 17 Dec 2002 10:22:20 -0500, Hari Venkatesan wrote: You have two Host name defined and only one closing tag for the host. Did you change Engine name=Standalone defaultHost=localhost debug=99

Virtual Host

2002-12-17 Thread Hari Venkatesan
John, Thanks for all your help on Virtual host setup. I got it setup and works really good. Hari -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 17, 2002 10:01 PM To: 'Tomcat Users List' Subject: RE: jsps and servlets don't work Maybe so.

Tomcat/IIS and Virtual Host

2002-12-16 Thread Hari Venkatesan
Is there any documentation that explains virtual hosting using IIS and tomcat Hari

Multiple Instances

2002-12-12 Thread Hari Venkatesan
I remember somebody in the group saying that they have multiple instances in production. How do you run multiple instances of tomcat as a service in WIN2000 Each of the instance will have a separate server.xml file and startup.bat Hari -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For

RE: Request/Connection Timeout

2002-12-11 Thread Hari Venkatesan
You can set session time outs in Web.xml file Hari -Original Message- From: GUNTURU, SRINIVAS [AG-Contractor/1000] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 10:28 AM To: '[EMAIL PROTECTED]' Subject: Request/Connection Timeout Hi, We are using Tomcat 4.0.4 on

RE: Request/Connection Timeout

2002-12-11 Thread Hari Venkatesan
. -Original Message- From: Hari Venkatesan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 9:34 AM To: Tomcat Users List Subject: RE: Request/Connection Timeout You can set session time outs in Web.xml file Hari -Original Message- From: GUNTURU, SRINIVAS [AG-Contractor

RE: XML vs JSP Syntax: Looks like a bug

2002-12-10 Thread Hari Venkatesan
It is not a problem with Tomcat. Your JSP is not getting compiled correctly into a servlet class. org.apache.jasper.JasperException: Unable to compile class for JSP org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.j ava:479) Your compilation is failing at line 479.

RE: XML vs JSP Syntax: Looks like a bug

2002-12-10 Thread Hari Venkatesan
the for loop? -Original Message- From: Hari Venkatesan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 10, 2002 12:20 PM To: Tomcat Users List Subject: RE: XML vs JSP Syntax: Looks like a bug It is not a problem with Tomcat. Your JSP is not getting compiled correctly into a servlet class

Server.xml

2002-12-10 Thread Hari Venkatesan
Can somebody explain why in the default server.xml file we have Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8080 minProcessors=5 maxProcessors=75 enableLookups=true redirectPort=8443 acceptCount=10 debug=0 connectionTimeout=2 useURIValidationHack=false/ and

RE: Server.xml

2002-12-10 Thread Hari Venkatesan
Jake Should I uncomment the the following lines to make it work with IIS Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=8009 minProcessors=5 maxProcessors=75 acceptCount=10 debug=0/ Hari -Original Message- From: Jacob Kjome [mailto:[EMAIL

FormBased Authentication

2002-12-10 Thread Hari Venkatesan
I have IIS 5.0 configured with Tomcat 4.1.12. My form based authentication is failing to find j_security_check and comes back with resource not available. The same code when executed with normal http server works. Any ideas? ? Hari -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For

IIS webserver and JK2

2002-12-10 Thread Hari Venkatesan
Formbased authentication does not work if IIS is configured with Tomcat but works with normal HTTP server. Can somebody throw some light? I get 404 error stating j_security_check resource not available. This is the same with /examples/jsp/security/protected/login.jsp too! Hari

RE: Connection Pooling Help

2002-12-09 Thread Hari Venkatesan
Try changing the following parameter value in server.xml file valuejdbc:as400://10.0.0.1/value valuejdbc:as400://{name of your machine} /value instead of the ip address of the as400 Hari -Original Message- From: Kevin Passey [mailto:[EMAIL PROTECTED]] Sent: Monday, December 09, 2002

Deploying Applets in JSP

2002-12-05 Thread Hari Venkatesan
Is it possible to deploy applets in JSP in Tomcat4.1.12? Can somebody guide me on how we can do it. Hari -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: out of Context

2002-12-05 Thread Hari Venkatesan
- From: David Brown [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 05, 2002 1:54 PM To: [EMAIL PROTECTED] Subject: Re: out of Context Hari Venkatesan writes: Is there a way to retrieve windows userid from the client side using java or javascript? Hari -- To unsubscribe, e

RE: out of Context

2002-12-05 Thread Hari Venkatesan
authenticated against LDAP to signon to windows, I don't want to authenticate him again by making him enter his id again. Hari -Original Message- From: David Brown [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 05, 2002 2:27 PM To: Tomcat Users List Subject: Re: out of Context Hari Venkatesan

RE: out of Context

2002-12-05 Thread Hari Venkatesan
David, Sorry for my ignorance. I don't understand what you are trying to say. Hari -Original Message- From: David Brown [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 05, 2002 2:41 PM To: Tomcat Users List Subject: Re: out of Context Hari Venkatesan writes: David, Thanks

out of Context

2002-12-04 Thread Hari Venkatesan
Is there a way to retrieve windows userid from the client side using java or javascript? Hari -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: JDBCRealm/Form login get current user ?(hope Craig is listening).

2002-12-02 Thread Hari Venkatesan
You can create a bean that would store the user in the session after he is authenticated. I hope you have login.jsp which would get the user id and password for authentication. Once the user is authenticated there would be a re-direction page (welcome-page in web.xml file). If you are using

RE: ldap authenitcation

2002-11-26 Thread Hari Venkatesan
Did you check Catalina_log in /logs directory Hari -Original Message- From: Charlene Mitchell [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 26, 2002 3:46 AM To: Tomcat Users List Subject: Re: ldap authenitcation Hi, Is it just not possible to authenticate against LDAP? If not

Multiple instanceq

2002-11-25 Thread Hari Venkatesan
Have anybody tried creating multiple tomcat instances. Is there any documentation that explains this step by step? Hari -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Off Topic _ J_security_check

2002-11-13 Thread Hari Venkatesan
Have anybody tried calling j_security_check from a servlet rather than calling from a form. Hari -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org

RE: tomcat configuration for a newbie

2002-11-06 Thread Hari Venkatesan
Try this servlet-mapping servlet-namehelloworld/servlet-name url-pattern/helloworld/url-pattern /servlet-mapping http://localhost:8080/phpserver/helloworld Hari Venkatesan Performance Food Group Phone : 804 484 6263 -Original Message- From: Arthur Danekyants

RE: JNDI results in Cannot Load JDBC Driver Class

2002-11-04 Thread Hari Venkatesan
Which version of tomcat R u using?? 4.1.12 ? ? Hari Venkatesan Performance Food Group Phone : 804 484 6263 -Original Message- From: Brian Kautz [mailto:BKautz;arnoldlogistics.com] Sent: Monday, November 04, 2002 10:48 AM To: [EMAIL PROTECTED] Subject: JNDI results in Cannot Load JDBC

RE: JNDI results in Cannot Load JDBC Driver Class

2002-11-04 Thread Hari Venkatesan
); } This is all I did. I works fine. Hari Venkatesan Performance Food Group Phone : 804 484 6263 -Original Message- From: Brian Kautz [mailto:BKautz;arnoldlogistics.com] Sent: Monday, November 04, 2002 12:34 PM To: Tomcat Users List Subject: RE: JNDI results

Tomcat 4.1.12 on Dual Processor NT Box

2002-11-01 Thread Hari Venkatesan
We are planning to setup Tomcat 4.1.12 in a dual processor NT box. Are there any special configurations issues that I need to address and any tips that would avoid surprises. By the way I am new to Tomcat and setting up of App servers. You inputs and advice would be appreciated Hari

RE: Not able to see server-side messages

2002-11-01 Thread Hari Venkatesan
Try System.out.println. To maximize the window, right click the window and you can define the properties Hari Venkatesan Performance Food Group Phone : 804 484 6263 -Original Message- From: pkrishnaswami [mailto:pkrishna;learnframe.com] Sent: Friday, November 01, 2002 3:46 PM

RE: Strange JDBC Error

2002-11-01 Thread Hari Venkatesan
Did you define the datasource in web.xml? ? Hari Venkatesan Performance Food Group Phone : 804 484 6263 -Original Message- From: John Mattos [mailto:mattosj;yahoo.com] Sent: Friday, November 01, 2002 3:52 PM To: Tomcat Users List Subject: Strange JDBC Error I'm using a JDBC

RE: Not able to see server-side messages

2002-11-01 Thread Hari Venkatesan
Right click right on the top bar where you see C:\Tomcat\ etc., (ie where you see the maximize, minimize, close (x) buttons). Hari Venkatesan Performance Food Group Phone : 804 484 6263 -Original Message- From: pkrishnaswami [mailto:pkrishna;learnframe.com] Sent: Friday, November

RE: Not able to see server-side messages

2002-11-01 Thread Hari Venkatesan
The window that you see is the Console. The log files would be in C:\Tomcat4.1.12\logs. Hari Venkatesan Performance Food Group Phone : 804 484 6263 -Original Message- From: pkrishnaswami [mailto:pkrishna;learnframe.com] Sent: Friday, November 01, 2002 4:31 PM To: 'Tomcat Users List