session sendredirect or dispatcher.forward - problem

2003-07-31 Thread Munteanu Gabriel
Hi, It's about sessions who disappear from one servlet to another. I know that this has been discussed, but from what I have read there was no good solution to this problem. Here it goes: I have apache 1.3.27 + mod_jk2 + tomcat 4.1.24. - on linux I have one tomcat process runninng, one

Re: how 2 start tomcat from ms-dos command prompt without creating a new window ?

2003-07-24 Thread Munteanu Gabriel
There is another solution that I use: in my startup.bat i have a line like this: call %EXECUTABLE% start %CMD_LINE_ARGS% and I changed it in: call %EXECUTABLE% run %CMD_LINE_ARGS% and now it doesn't make another window, it remains in the one that starts the process. I hope it helps. Gabi P.S.

Re: Urgent

2003-06-16 Thread Munteanu Gabriel
The book is to order and not to download for free. Where is the URL to download it for free? Gabi - Original Message - From: Ben Souther [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, June 16, 2003 5:32 PM Subject: Re: Urgent www.coreservlets.com Is an excellent

tomcat linux apache error=horror

2003-06-05 Thread Munteanu Gabriel
i have apache 1.3.27 on linux[redhat 7.2] I have java 1.4.1 i have installed tomcat 4.1.24 my apache conf looks like this: - LoadModule jk_modulemodules/mod_jk.so AddModule mod_jk.c JkWorkersFile conf/workers.properties JkLogFile logs/mod_jk.log JkLogLevel info JkMount /gabi/*.jsp

when I use a servlet too many times- error

2003-06-02 Thread Munteanu Gabriel
I have a servlet that generates images dynamically. Examples of requests: imgChanger?text=Hello imgChanger?text=Beautiful etc I play with it about 10-20 times and after that, in IE, instead of getting the image I am getting an img square[no image] and tomcat says: Jun 1, 2003 6:48:06 PM

PreparedStatement Pool

2003-05-31 Thread Munteanu Gabriel
I want to make a PreparedStatementPool with all my SQL queries[not all, because I noticed that not all of them is good to be prepared] my site will use. Anyway, I reailized that there are around 35 queries. Now, I made a guess and I think 15 wil be used REALLY very frequently. Also, I assume

Re: DB Connection

2003-05-28 Thread Munteanu Gabriel
Guys, this is very interesting discussion. I have read all the posts. I still have another problem. What about VERY large Result Sets? I have a portal with 1 000 000 records[books related]. When the user searches for romance, there are more than 200 000 records returned. I can't use