Re: JDBC Connections

2001-05-28 Thread sibendud


Hi,
I feel its better to  be  used only when necessary and released as soon as
possible.
Best regards
Sib




Mathew Clark [EMAIL PROTECTED] on 05/28/2001 10:07:34 PM

Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:

Subject:  JDBC Connections


Hi,

We have implemented a simple JDBC connection pool for our servlet - do you
think it is better to grab a connection once when a request is received and
use that connection throughout the processing or should the connection be
used only when necessary and released as soon as possible??

Regards,

Matthew.










Re: How to use Tomkat with apache.

2001-05-24 Thread sibendud


Hi
I think the  manuals and docs that comes with Tomcat package is enough for
primary installation . For config, consult  the .htmls under   tomcat_home
/docs/uguide/.
Best regards
Sib




[EMAIL PROTECTED] on 05/24/2001 03:10:55 AM

Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:

Subject:  How to use Tomkat with apache.


I'm new to tomkat and I'd like to use JSP with apache.
I use Red Hat 7.1

I try to find somebody, something, sites , books but nothing explain how
configure the machine to use tomkat for using JSP.
Please ... say me where can I find how configure and use tomkat or explain
how do that.
Thank you in advance, Mario.









Re: Server.xml

2001-05-24 Thread sibendud


i didn't get it quite clear--you want to change the port tomcat listens to
or apache listens to??
if you want to  make apache listen to some other port , change its
cofiguration file at  apache_root/conf/httpd.conf::: simply change Port 80
to some other value.
if you want to change it for tomcat, you have to add some connection
handler in server.xml  that  will listen to some other port. there are
already some existing , you can add one more  seeing the existing one.
Best regards
Sib





Venkatesh Sangam [EMAIL PROTECTED] on 05/25/2001 02:59:58 AM

Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:

Subject:  Server.xml


Hi,

Can anyone please tell me how do I change the Port on which the Tomcat
Server runs using Java program ..
How do I modify server.xml using a Java program

thnaks
Venkatesh
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.










problem to handle sessions with Tomcat

2001-05-23 Thread sibendud



Hello
Here I face a problem with Apache1.3.14+Tomcat3.2.1 .
I am building up a login module in which the process flows like:
login.jsp--LoginServlet--login_success.jsp.
In the servlet , on the successful login , i am initiating a session and
putting some values. But  I am not able to get back the same vakues in the
login_success.jsp. In fact  the session id of the session initiated in the
servlet and the same of the session retrieved in jsp are different. I have
tested the code in JavaWebserver2.0 and also in the same Tomcat-Apache
environment at some other place.In both the case the problem did not arise.
So i guess  in my environmental set up , i missed out some configuration.
But  nobody yet able to point out exactly what configuration is missing and
what is the remedy.  I am using JDK1.2.2 on WIN2K and Oracle8i. The problem
persists even after complete reinstallation of everything.
If somebody already faced it and knows the solution, please help me as soon
as possible.
Regards and best wishes
Sibendu