Session not timing out in tomcat3.2.3- urgent help needed

2001-09-13 Thread Pankaj Chhaparwal
Hi All, I am keeping the session time-out at 5 mins in my web application. Since I dont dont require anything else in web.xml this is the only one thing I have in web.xml 5 But the sessions are not timing out in 5 mins. Also I tried with the default web.x

java.net.SocketException

2001-09-05 Thread Pankaj Chhaparwal
Hi , I get a java.net.SocketException frequently on Sun Solaris. I am using Apache1.3.12 and Tomcat 3.2.2. mod_jk is the connector. I dont get the exception on Windows 2000 with the same configuration. This exeption does not create any problems also. But I want to know the reason for this. java

Strange problem- Servlet getting called twice unnecessarily- Please help

2001-08-14 Thread Pankaj Chhaparwal
Hi, I have a servlet whose doPost() method is getting called twice even thought the servlet is called only once from a particular jsp. This behavior is highly inconsistent. Also there is a statement request.getSession(true) in the doGet method. For the same request, do the problem of the doGet

RE: mod_jserv in Tomcat3.2.2 on Solaris

2001-07-23 Thread Pankaj Chhaparwal
d via Makefile.tmpl > >It looks like your CFG_LD_SHLIB might be null. > >cheers, >-- >John > > > -Original Message- > > From: Pankaj Chhaparwal [mailto:[EMAIL PROTECTED]] > > Sent: Monday, 23 July 2001 18:25 > > To: [EMAIL PROTECTED] > > Subject

RE: mod_jserv in Tomcat3.2.2 on Solaris

2001-07-22 Thread Pankaj Chhaparwal
Hi , I was using version 1.2.2. I tried with version 1.3 also but got the same error. Thanks, Pankaj At 01:41 AM 7/23/2001 -0400, you wrote: >Hi, >Don't know if this will work, but check your java version. Make sure it's >above 1.3 if not you can download a new version from sun. It looks like

RE: mod_jserv in Tomcat3.2.2 on Solaris

2001-07-22 Thread Pankaj Chhaparwal
Hi, I am getting the following error. pxs -o mod_jk.so -DSOLARIS -I../jk -I/usr/java/include -I/usr/java/include/solaris -c *.c ../jk/*.c gcc -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/home/mkumar/Apache/include -I../jk -I/usr/java/include -I/usr/java/include/solaris -

mod_jserv in Tomcat3.2.2 on Solaris

2001-07-19 Thread Pankaj Chhaparwal
Hi All, In mod_jserv in Tomcat3.2.2 on Solaris supported. I cannot build it. What can be the reason? . Thanks, Pankaj

General performance tips

2001-07-15 Thread Pankaj Chhaparwal
Hi , We are going to use a combination of Apache and Tomcat server in production.Are are any general performance rules that I should be following to improve the performance of my application. Any inputs will be greatly appreciated. Regards, Pankaj

Urgent help required - Tomcat/Apache configuration problem

2001-06-30 Thread Pankaj Chhaparwal
Hi All, Can I transfer requests for jsp's, servlets etc from one apache server to two different Tomcat servers. Basically this is what I am trying to do. Tomcat 3.1 is running on port 8080 while its Ajp12ConnectionHandler is running on port 8007.There is another Tomcat server which is running

trapping session invalidation

2001-06-29 Thread Pankaj Chhaparwal
Hi All, I want a certain functionality to be invoked when the session invalidates. How do I know that the session is getting invalidated? Any help on this will be greatly appreciated. Thanks & Regards, Pankaj

Problem in build using ant utility

2001-06-27 Thread Pankaj Chhaparwal
Hi All, I am building the sample application(tomcathome/doc/appdev/sample) provided with Tomcat 3.2.2 using Ant utility. The problem is that when I invoke the build.bat file(provided along with the sample application) with the argument dist, the war file that is created does not contain the ent

Regarding loading a class on startup

2001-06-19 Thread Pankaj Chhaparwal
Hi, I want to load a class in the memory when the tomcat server starts. Basically this class has some static data which I want the application to use. I want to keep the data at application level. Regards, Pankaj

Problem with access control of resources

2001-06-11 Thread Pankaj Chhaparwal
Hi All, I am using Apache and Tomcat to build my website. The adapter is JServ.I have certain word documents which have to be displayed on the browser on demand  from the end user. I dont want to end users to view these documents unless they have logged into the system. What happens right now is

Performace of jserv and mod_jk

2001-06-10 Thread Pankaj Chhaparwal
Hi , We are using jserv adapter for communication between apache and tomcat server. Which is the recommended adapter , jserv or mod_jk? Also is there significant performance difference between these two adapters? Any help on this would be greatly appreciated. Regards, Pankaj

Re: Problem in access control of resources

2001-06-10 Thread Pankaj Chhaparwal
stream, And as you jsp or servlet will always have maintained in session(or whatever) that user has logged in or not, so i guess this will solve your problem. Regards, Hemant - Original Message - From: Pankaj Chhaparwal To: [EMAIL PROTECTED] Sent: Sunday, June 10, 2001 7:58 AM Subject

Moving from Tomcat 3.1 to Tomcat 3.2.1

2001-06-10 Thread Pankaj Chhaparwal
Hi All, We are currently using Tomcat 3.1 with Apache 1.3.12. We are thinking of upgrading to Tomcat 3.2.1 . Are there any issues in such an upgrade? Regards, Pankaj

Problem with access control of resources

2001-06-10 Thread Pankaj Chhaparwal
Hi All, I am using Apache and Tomcat to build my website. The adapter is JServ.I have certain word documents which have to be displayed on the browser on demand  from the end user. I dont want to end users to view these documents unless they have logged into the system. What happens right now is

Problem in access control of resources

2001-06-09 Thread Pankaj Chhaparwal
Hi All, Servlet spec 2.2 states I am using Apache and Tomcat to build my website. The adapter is JServ.I have certain word documents which have to be displayed on the browser on demand  from the end user. I dont want to end users to view these documents unless they have logged into the system.