RE: no connection pool

2004-06-30 Thread Yana Begun
Thanks,
Now even I can understand.


-Original Message-
From: Lee, Paul NYC [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 30, 2004 2:41 PM
To: 'Tomcat Users List'
Subject: RE: no connection pool

In Server.xml, remove all the  and 
tags
that define your pool.

-Original Message-----
From: Yana Begun [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 30, 2004 2:38 PM
To: Tomcat Users List
Subject: RE: no connection pool


So what should I do to disable it after it already configured?


-Original Message-
From: Lee, Paul NYC [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 30, 2004 2:36 PM
To: 'Tomcat Users List'
Subject: RE: no connection pool

He means that when you first install tomcat there is no pool configured.


-Original Message-
From: Yana Begun [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 30, 2004 2:33 PM
To: Tomcat Users List
Subject: RE: no connection pool


Do you mean that if no maxActive parameter, there is no pool?

Thanks,
Yana

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 30, 2004 2:28 PM
To: Tomcat Users List
Subject: RE: no connection pool


Hi,
It doesn't do any connection pooling by default.

Yoav Shapira
Millennium Research Informatics


>-Original Message-
>From: Yana Begun [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, June 30, 2004 2:21 PM
>To: [EMAIL PROTECTED]
>Subject: no connection pool
>
>Hi,
>
>How can I set tomcat not to use connection pool option?
>
>




This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential,
proprietary
and/or privileged.  This e-mail is intended only for the
individual(s) to whom it is addressed, and may not be saved, copied,
printed, disclosed or used by anyone else.  If you are not the(an)
intended
recipient, please immediately delete this e-mail from your computer
system
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: no connection pool

2004-06-30 Thread Yana Begun
So what should I do to disable it after it already configured?


-Original Message-
From: Lee, Paul NYC [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 30, 2004 2:36 PM
To: 'Tomcat Users List'
Subject: RE: no connection pool

He means that when you first install tomcat there is no pool configured.


-Original Message-----
From: Yana Begun [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 30, 2004 2:33 PM
To: Tomcat Users List
Subject: RE: no connection pool


Do you mean that if no maxActive parameter, there is no pool?

Thanks,
Yana

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 30, 2004 2:28 PM
To: Tomcat Users List
Subject: RE: no connection pool


Hi,
It doesn't do any connection pooling by default.

Yoav Shapira
Millennium Research Informatics


>-Original Message-
>From: Yana Begun [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, June 30, 2004 2:21 PM
>To: [EMAIL PROTECTED]
>Subject: no connection pool
>
>Hi,
>
>How can I set tomcat not to use connection pool option?
>
>




This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential,
proprietary
and/or privileged.  This e-mail is intended only for the
individual(s) to whom it is addressed, and may not be saved, copied,
printed, disclosed or used by anyone else.  If you are not the(an)
intended
recipient, please immediately delete this e-mail from your computer
system
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: no connection pool

2004-06-30 Thread Yana Begun
Do you mean that if no maxActive parameter, there is no pool?

Thanks,
Yana

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 30, 2004 2:28 PM
To: Tomcat Users List
Subject: RE: no connection pool


Hi,
It doesn't do any connection pooling by default.

Yoav Shapira
Millennium Research Informatics


>-Original Message-
>From: Yana Begun [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, June 30, 2004 2:21 PM
>To: [EMAIL PROTECTED]
>Subject: no connection pool
>
>Hi,
>
>How can I set tomcat not to use connection pool option?
>
>




This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential,
proprietary and/or privileged.  This e-mail is intended only for the
individual(s) to whom it is addressed, and may not be saved, copied,
printed, disclosed or used by anyone else.  If you are not the(an)
intended recipient, please immediately delete this e-mail from your
computer system and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



no connection pool

2004-06-30 Thread Yana Begun
Hi,

How can I set tomcat not to use connection pool option?

 



debug setting

2004-06-23 Thread Yana Begun
Hi,

I am using Tomcat 5 running on Windows XP. 

What should I set to be able to debug server part of web application? 

 

Thanks,

Yana



RE: sleepy tomcat

2004-06-21 Thread Yana Begun
Thanks for all for the help.

 

I found out that the problem is the way how I connect to the database.

 

With JRun I used

InitialContext ctx = new InitialContext();

DataSource ds = (DataSource)ctx.lookup("xxx");

con = ds.getConnection();

 

It didn't work with Tomcat for some reason, so I used 

 

Context initCtx = new InitialContext();

Context envCtx = (Context) initCtx.lookup("java:comp/env");

DataSource ds = (DataSource)envCtx.lookup("xxx");

con = ds.getConnection();

And this works very slow or went to sleep or I don't know what.

Now I tried "the good old" way through the DriverManager and it works
perfect.

What should I change in Tomcat configuration to use the first way?

 


On Sat, 19 Jun 2004 Yana Begun wrote :
>Hi,
>
>I have stand alone version of our web application running with Tomcat.
>
>Everything is fine, but after displaying 5-6 pages it starts to work
>VERY slowly. Like 30 minutes for one page.
>
>CPU is not busy at this moment. It seems like nothing happen or tomcat
>falling asleep.
>
>I thought that the problem is the cheap database that we use for this
>version, but when I tried to connect to the MSSQL, result was the same.
>
>Any recommendations, what I can check or how I can test this stuff?
>
>
>
>Thanks, Yana
>
>
>



 <http://clients.rediff.com/signature/track_sig.asp> 



RE: sleepy tomcat

2004-06-18 Thread Yana Begun
CPU Usage 2%   Page File Usage 380/1249 -  should be enough?


-Original Message-
From: John Najarian [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 18, 2004 3:59 PM
To: Tomcat Users List
Subject: RE: sleepy tomcat

What else is running?  Check your page file size or just increase it.

-Original Message-
From: Yana Begun <[EMAIL PROTECTED]>
Sent: Jun 18, 2004 12:36 PM
To: Tomcat Users List <[EMAIL PROTECTED]>
Subject: RE: sleepy tomcat

But the web version with JRun works OK.

Everything runs on XP 2002 + Service Pack 1. 512MB of RAM

-Original Message-
From: Filip Hanik - Dev [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 18, 2004 3:29 PM
To: Tomcat Users List
Subject: Re: sleepy tomcat

look in your code, that is where it happens,
most likely your code is super slow, and the other requests are just
being queued until your current requests are completing.

Filip

- Original Message ----- 
From: "Yana Begun" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 18, 2004 2:23 PM
Subject: sleepy tomcat


Hi,

I have stand alone version of our web application running with Tomcat. 

Everything is fine, but after displaying 5-6 pages it starts to work
VERY slowly. Like 30 minutes for one page.

CPU is not busy at this moment. It seems like nothing happen or tomcat
falling asleep.

I thought that the problem is the cheap database that we use for this
version, but when I tried to connect to the MSSQL, result was the same. 

Any recommendations, what I can check or how I can test this stuff?

 

Thanks, Yana

 




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: sleepy tomcat

2004-06-18 Thread Yana Begun
But the web version with JRun works OK.

Everything runs on XP 2002 + Service Pack 1. 512MB of RAM

-Original Message-
From: Filip Hanik - Dev [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 18, 2004 3:29 PM
To: Tomcat Users List
Subject: Re: sleepy tomcat

look in your code, that is where it happens,
most likely your code is super slow, and the other requests are just
being queued until your current requests are completing.

Filip

- Original Message - 
From: "Yana Begun" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 18, 2004 2:23 PM
Subject: sleepy tomcat


Hi,

I have stand alone version of our web application running with Tomcat. 

Everything is fine, but after displaying 5-6 pages it starts to work
VERY slowly. Like 30 minutes for one page.

CPU is not busy at this moment. It seems like nothing happen or tomcat
falling asleep.

I thought that the problem is the cheap database that we use for this
version, but when I tried to connect to the MSSQL, result was the same. 

Any recommendations, what I can check or how I can test this stuff?

 

Thanks, Yana

 




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



sleepy tomcat

2004-06-18 Thread Yana Begun
Hi,

I have stand alone version of our web application running with Tomcat. 

Everything is fine, but after displaying 5-6 pages it starts to work
VERY slowly. Like 30 minutes for one page.

CPU is not busy at this moment. It seems like nothing happen or tomcat
falling asleep.

I thought that the problem is the cheap database that we use for this
version, but when I tried to connect to the MSSQL, result was the same. 

Any recommendations, what I can check or how I can test this stuff?

 

Thanks, Yana

 



RE: Please Help--can't set up

2001-03-20 Thread Yana
I was trying http://localhost/examples/jsp/index.htmlas it is in the how-to file. However, I found out that if I explicitly specify port 8080 it wortks. Do I have to explicitly name the port? I thought that's the default one? Thanks.
  Dianne Cree <[EMAIL PROTECTED]> wrote: 


what url are you trying to hit?

-Original Message-From: Yana [mailto:[EMAIL PROTECTED]]Sent: Tuesday, March 20, 2001 2:02 PMTo: [EMAIL PROTECTED]Subject: Please Help--can't set up
 I re-installed tomcat from scratch. 
tomcat_home and java_home are set up, keys in Apache Software Foundation\Jakarta Isapi Redirector\1.0 are as suggested in the IIS how-to. I am logging at c:\jakarta-tomcat\logs\isapi.log with error level. 
I get the 404 error but the part that completely puzzles me is the fact that the isapi.log file from above never gets created. 
Please give some advice--this is very frustrating and someone must have done it right, 
Also, how do I check that " the "/examples" context works correcly if you access Tomcat directly."
Thanks 
I 





Do You Yahoo!?Yahoo! Mail Personal Address - Get email at your own domain with Yahoo! Mail.Do You Yahoo!?
Yahoo! Mail Personal Address - 
Get email at your own domain with Yahoo! Mail.

Please Help--can't set up

2001-03-20 Thread Yana
 I re-installed tomcat from scratch.
tomcat_home and java_home are set up, keys in Apache Software Foundation\Jakarta Isapi Redirector\1.0 are as suggested in the IIS how-to. I am logging at c:\jakarta-tomcat\logs\isapi.log with error level. 
I get the 404 error but the part that completely puzzles me is the fact that the isapi.log file from above never gets created.
Please give some advice--this is very frustrating and someone must have done it right,
Also, how do I check that " the "/examples" context works correcly if you access Tomcat directly."
Thanks
I 


Do You Yahoo!?
Yahoo! Mail Personal Address - 
Get email at your own domain with Yahoo! Mail.

Tomcat3.2 and IIS-help

2001-03-20 Thread Yana
Hi, I am trying to install Tomcat with IIS...I thought I followed the instructions correctly, and my virtual directory looks fine (ie does have the upward green arrow), but when I restart IIS and look at the ISAPI filters, it says that it fails to load isapi_redirect.dll. I tried downloading the zipped dll but it didn't make a difference. Any ideas--I am getting the 404 error when I try the example in the instructions. Thanks.
 
 Do You Yahoo!?
Yahoo! Mail Personal Address - 
Get email at your own domain with Yahoo! Mail.