Excellent. thanks a lot for all of your help :)
2011/6/7 Christopher Schultz ch...@christopherschultz.net
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
הילה,
On 6/6/2011 4:35 PM, הילה wrote:
I use Tomcat's JDBC pool (tomcat-jdbc.jar)
Okay.
sorry, I haven't quite understood why
SIGNED MESSAGE-
Hash: SHA1
הילה,
On 6/1/2011 5:14 PM, הילה wrote:
when using the string
testonborrow=true
do I need to use it alone?
It is not effective alone. In fact, testOnBorrow=true is the default,
oddly enough.
http://commons.apache.org/dbcp/configuration.html
can
, and the
ValidationInterval=3 is introduced in the Tomcat's JDBC pool.
Thanks
Hils
2011/6/6 Christopher Schultz ch...@christopherschultz.net
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
הילה,
On 6/6/2011 9:56 AM, הילה wrote:
I've set testonborrow, validationquery and validationinterval
André Warnier a...@ice-sa.com
הילה wrote:
...
So, if you are using that pool, I basically do not understand why you
would
need any additional mechanism to overcome the loss of a db connection
when
your VM is migrated.
Particularly that smart keep alive you keep talking about, but never
, sql-jdbc.jar as
scenario2, and maybe both combined as scenario 3.
scenario 4 will be testing the behavior while validation is configured.
Thanks
Hila
2011/5/18 Christopher Schultz ch...@christopherschultz.net
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
הילה,
On 5/18/2011 4:20 AM, הילה
Yes, but did you actually ever bother to read its documentation, e.g. at
http://people.apache.org/~fhanik/jdbc-pool/jdbc-pool.html ?
(particularly starting with the attribute testOnBorrow)
I do not know much about these things, but just entering
org.apache.tomcat.jdbc.pool in Google, and
All,
16 emails into this chain - might be worth a summary
1) You have tomcat 6.0.29 running on virtual machines running on win 2008
2) You have a load balancer which calls a home made xslt transform, that
queries the database. If this fails 3 times in a row, the load balancer
treats the
UPDATE-
this behavior occur even when I'm disconnecting the Network card from the VM
settings and connecting it again.
afterwards, the keep alive is alternately unavailable. looks like it's not
always trying to approach the DB opened wireshark and saw that ip.addr==DB
IP ADDRESS is not always
Hey Guys,
My application runs on tomcat 6.0.29, win 2008 R2, which is a VM machine.
i use the JDBC application pool., with java 1.6.24 64bit.
I have a problem, in which after migrate of the VM machine to another ESX,
the application crashes, and doesn't recover by itself.
I know that after
2011/5/17 André Warnier a...@ice-sa.com
הילה wrote:
Hey Guys,
My application runs on tomcat 6.0.29, win 2008 R2, which is a VM machine.
i use the JDBC application pool., with java 1.6.24 64bit.
OK.
I have a problem, in which after migrate of the VM machine to another ESX
I know that after migrate, a disconnection is expected, but in my case -
it
crashes completely, or alternately until it works (but don't know if
it's
stable now).
It is not a problem, it is a feature. What is your question?
what is the feature here exactly?
Anyway, what happens
how can I abruptly break all connections between application and DB?
the only way I know is take the server out of the Load balancer so no new
users can get to the server + the LB kicks the users that are already
connected.
Pulling the network cable at the db server would do it.
It's a
I'll try explaining it differently.
we use smart keep alive with this application. the smart keep alive does
a
connection to the DB, query something that relates to the application, and
if everything turned out good, it returns state OK. if not ok, as in this
case, it returns error page
/5/11 Christopher Schultz ch...@christopherschultz.net
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
הילה,
On 5/10/2011 4:45 PM, הילה wrote:
2011/5/10 Christopher Schultz ch...@christopherschultz.net:
You should check to see if your webapp is leaky across webapp restarts
(with Tomcat
I'll try.. thanks :]
2011/5/11 Christopher Schultz ch...@christopherschultz.net
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
הילה,
On 5/11/2011 3:10 PM, הילה wrote:
I've read this presentation, but I'm a system engineer, not an
application
programmer.. so it didn't help me much. i'm
You should check to see if your webapp is leaky across webapp restarts
(with Tomcat continuing to run) because you could bringing-down the JVM
if your webapp does not undeploy cleanly /and/ it's got a memory leak.
How can it be checked?
2011/5/10 Christopher Schultz
Hey,
I'm using JTDS 1.2.5
It has proven to be more stable than the JDBC driver of microsoft, so we're
using it.
Thanks
Hila
2011/4/7 Pid p...@pidster.com
On 4/6/11 8:36 PM, הילה wrote:
I wanted to add it, bu the company that developed the application that
runs
on the tomcat, says
MESSAGE-
Hash: SHA1
הילה,
On 4/6/2011 3:36 PM, הילה wrote:
I wanted to add it, bu the company that developed the application
that runs on the tomcat, says that it affect performance and has
issues.
What is your RDBMS? If it happens to be MySQL, I know that they support
a ping query
Hey,
in the service properties, under Log on Tab, view the box of Allow
service to interact with desktop.
if it's checked- clear it.
This what has worked for me :]
Thanks
Hila :]
2011/4/8 Amit k opteemuspr...@gmail.com
Hi,
The tomcat is build from source and it is integrated in the
, we're using SQL server 2008, latest SP.
And I will add the strings of validationQuery and validationInterval. :]
Thanks
Hila
2011/4/7 Christopher Schultz ch...@christopherschultz.net
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
הילה,
On 4/6/2011 3:36 PM, הילה
Thanks
so.. SQL server 2008 is the one I'm using. :]
2011/4/8 Caldarale, Charles R chuck.caldar...@unisys.com
From: הילה [mailto:hilavalen...@gmail.com]
Subject: Re: JDBC Pool Disconnections
go back for a sec..
last thing we talked about is adding the strings of validation query
I think that if the disconnections will continue, I'll read just about
anything to make it stop :]
Thanks ;)
2011/4/8 Christopher Schultz ch...@christopherschultz.net
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
הילה,
On 4/8/2011 11:04 AM, הילה wrote:
so.. SQL server 2008 is the one
I wanted to add it, bu the company that developed the application that runs
on the tomcat, says that it affect performance and has issues.
what do you mean validates it? what does it do, exactly?
Thanks
Hila
2011/4/6 Filip Hanik - Dev Lists devli...@hanik.com
On 4/5/2011 7:31 AM, הילה wrote
performance, there is a compromise that gets you
best of both worlds
testOnBorrow=true
validationQuery=select 1
validationInterval=3
this ensures that in a high concurrency environment, the number of
validations are limited
Filip
On 4/6/2011 1:36 PM, הילה wrote:
I wanted
Got it. Thanks
any other suggestions will be great (i'll add these string in a few days)
2011/4/6 Filip Hanik - Dev Lists devli...@hanik.com
On 4/6/2011 1:54 PM, הילה wrote:
I wanted to add the last string as well, but they said to forget about
it..
:] and they should know best
however
Hey,
I have lately (with your help) switched the pool that tomcat uses , from the
basic pool to the JDBC pool, with these actions-
1. under resource tag in xml configuration
[conf/catalina/localhost/Appname.xml] I specified the factory name, as you
can see below-
what is the hibernate mailing list address?
hibern...@tomcat.apache.org? :]
Thanks
Hila
2011/4/3 Mark Eggers its_toas...@yahoo.com
- Original Message start (edited)
Hey guys,
I tried to explore a bit the possibility of hibernate in tomcat, but some
things aren't that clear for me.
Hey guys,
I tried to explore a bit the possibility of hibernate in tomcat, but some
things aren't that clear for me.
Before hitting the specific questions, please explain what is hibernate in
Tomcat, when do we want to use it, how do I use it specifically with the
JDBC connection pool (instead of
It seems that only using the new jdbc pool has solved the memory leak :]
it's funny that the idea to use it came from a different thread here in the
users list. :]
Thanks for your help
Hila
בתאריך 7 במרס 2011 17:15, מאת הילה hilavalen...@gmail.com:
Thanks :]
I'll dig into it.
Any other
It seems that only using the new jdbc pool has solved the memory leak :]
it's funny that the idea to use it came from a different thread here in the
users list. :]
Thanks for your help
Hila
בתאריך 9 במרס 2011 22:33, מאת הילה hilavalen...@gmail.com:
Sure, when I'll have a final results
, Mark Thomas wrote:
On 07/03/2011 10:39, הילה wrote:
I found this...
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
Sure, when I'll have a final results and see that the leak is no longer
exist (prays the lord :P) I'll post a final thread with the solution :]
2011/3/9 André Warnier a...@ice-sa.com
הילה wrote:
I'll define it. thanks :]
I've implemented 2 changes in production servers - one with the new
So it's only for use on Tomcat 7?
I have installed tomcat 6.0.29
2011/3/7 Olivier Lefevre lefev...@yahoo.com
On 3/7/2011 8:00 AM, הילה wrote:
How do I know if I use the new pool?
just by specifying the
org.apache.tomcat.jdbc.pool.DataSourceFactory
AFAICT yes.
what is the advantages
I found this
http://people.apache.org/~fhanik/tomcat/jdbc-pool.html
that I see that it suits for tomcat 6 as well
but I can't find tomcat-jdbc.jar for download, and I understood I need it to
use the new pool.
from where can I download it?
Thanks
Hila
בתאריך 7 במרס 2011 12:28, מאת הילה hilavalen
,
thanks. I think that this is very helpful.
It does not do what the OP wanted to do, but it does what he /should/ be
doing (in my view).
הילה,
if the users connect to Tomcat, and the connections to the database are
all
done under the Tomcat user-id, then basically you are putting all
Hey,
I cannot look for it in Microsoft, since the Java is of SUN, and the
implementation is on the Java side, not the SQL Microsoft side.
Option no' 1 :]
User and password should not exist in clear text in the xml file.
2011/3/7 André Warnier a...@ice-sa.com
הילה wrote:
I'm using Microsoft
I read that JTDS (jtds-1.2.5.jar) is more stable and less buggy than JDBC of
Microsoft. So I don't want to add more logs to the fire.. :]
2011/3/7 David kerber dcker...@verizon.net
On 3/7/2011 8:10 AM, הילה wrote:
Hey,
I cannot look for it in Microsoft, since the Java is of SUN
Yeah, ha :]
Since I'm desperate, I'll try it out.
Do I need to change the connectionURL or DriverClassName in the XML
configuration file of tomcat, in order for this to work?
2011/3/7 André Warnier a...@ice-sa.com
הילה wrote:
I read that JTDS (jtds-1.2.5.jar) is more stable and less buggy
it called the same?
Thanks
Hila
2011/3/7 David kerberdcker...@verizon.net
On 3/7/2011 8:10 AM, הילה wrote:
Hey,
I cannot look for it in Microsoft, since the Java is of SUN, and the
implementation is on the Java side, not the SQL Microsoft side.
Microsoft may have a jdbc driver you
Thanks :]
I'll dig into it.
Any other ideas will be more than welcomed :]
2011/3/7 André Warnier a...@ice-sa.com
But does the Microsoft Driver has the ability to support windows
authentication?
If so, how is it implemented?
Don't know. You should ask Microsoft. Or try to find out
Thanks :]
Let's see if it'll somewhat help with the memory leak, or with memory
management at all
2011/3/7 Filip Hanik - Dev Lists devli...@hanik.com
On 3/7/2011 3:48 AM, Mark Thomas wrote:
On 07/03/2011 10:39, הילה wrote:
I found this
http://people.apache.org/~fhanik/tomcat/jdbc
הילה,
On 2/28/2011 5:17 AM, הילה wrote:
How can I encrypt the password inside the xml file?
0. $file = conf/server.xml
1. Use your favorite encryption tool to encrypt the password and shove
it into $file
2. Use that same tool in some code you hack-into Tomcat to read it
back out
Hey,
i've posted a message on JTDS forums, but no one answered.
I know the memory leak is caused by the dll, since when I don't use it, all
is good.
i'll open a new thread here, thanks
2011/3/6 André Warnier a...@ice-sa.com
הילה wrote:
Security seems to be always in the hands of the wrong
Hey,
I want to change the way that tomcat authenticates to the DB of our
application, from SQL authentication to Windows authentication.
We use Tomcat 6.0.29 , and the user and password to connect to the DB is
specified in clear text in the xml configuration file under the folder
Thanks :]
This was the task I was required to do, wit no question asked, cause this is
a requirement for our application to pass some major barriers. so.. :]
Hila
2011/3/7 Christopher Schultz ch...@christopherschultz.net
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
הילה,
On 3/6/2011 4
הילה wrote:
Hey,
i'd glad to get you help with something :]
I tried to put
org.apache.tomcat.jdbc.pool.DataSourceFactory
but after restarting tomcat, i get the error
could not load resource factory class
why is that?
how can I define my application to clean up the pool?
Thanks
Hey,
The tomcat is running on windows server 2008 R2 STD
I don't now if using windows authentication is less secure and affects all
network's security, since this user have permissions only on the DB. you
can't even perform login to servers with this user.
anyway, I appreciate your comments and
continue to the discussion-
How can I encrypt the password inside the xml file?
Thanks
Hila
בתאריך 27 בפברואר 2011 19:37, מאת הילה hilavalen...@gmail.com:
Original:
Does this happen all the time? Under what conditions? Are you able to
build a patched version of Tomcat in a test environment
?Which performance issue
2011/2/28 Bruce Pease bpe...@wth.com
Thanks for the insight. It looks like we are going to go with server 2003
32
bit. I found some references that suggest ajp 1.3 has a performance issue
in
64 bit server 2008.
-Original Message-
From: Tony Anecito
Original:
Does this happen all the time? Under what conditions? Are you able to
build a patched version of Tomcat in a test environment to test a fix I
have? What version of Java and Tomcat are you running?
Hey
I'm not sure if you refer the question to me, since the whole topic shifted
to an off
Schultz [mailto:ch...@christopherschultz.net]
Sent: Wednesday, February 23, 2011 10:11 AM
To: Tomcat Users List
Subject: Re: [OT] Memory Leak in Tomcat
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
הילה,
On 2/23/2011 10:51 AM, הילה - צוות אגורה wrote:
the user that runs
I'll try to check what you suggested. sounds like something that maybe shed
some light on this issue.
Thanks :]
2011/2/23 André Warnier a...@ice-sa.com
הילה wrote:
Yes, I've read you other mail about the Jprofiler. I've run the Jprofiler
for a weak until it generated a stuck process
Sorry for the sent mail double time thing :]
i'll check the Jespa suggestion. thanks :]
keep the ideas coming, guys. every little thing could help
Thanks
Hila
2011/2/23 André Warnier a...@ice-sa.com
הילה wrote:
I've posted my problem in the sourceforge forums, but no comments have
the
user and password to access the DB :].
2011/2/23 Christopher Schultz ch...@christopherschultz.net
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
הילה,
On 2/23/2011 2:06 AM, הילה wrote:
I've posted my problem in the sourceforge forums, but no comments have
received so far
Christopher Schultz ch...@christopherschultz.net
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
הילה,
On 2/23/2011 10:29 AM, הילה wrote:
I trust the people in the company, but the company's work is with sites
that
any user all over the internet can access. so we want to perform a damage
that generated after switching to
windows authentication.
2011/2/23 Christopher Schultz ch...@christopherschultz.net
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
הילה,
On 2/23/2011 10:38 AM, הילה wrote:
I've explained it in my mail :]
change the user that runs the tomcat service
over your mail again and see if I can extract from it something that I
can work with :]
Thanks
Hila
2011/2/23 Christopher Schultz ch...@christopherschultz.net
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
הילה,
On 2/23/2011 10:51 AM, הילה - צוות אגורה wrote:
the user that runs the tomcat
enable and analyze its results?
Thanks
Hila
2011/2/22 Christopher Schultz ch...@christopherschultz.net
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
הילה,
On 2/20/2011 8:28 AM, הילה wrote:
I work in a company which we use Tomcat (5.5.26 and recently we've
upgraded
it to 6.0.29) to run
Hey,
When going to tomcat site, you can download 32-bit/64-bit Windows Service
Installerhttp://off.co.il/apache/tomcat/tomcat-6/v6.0.32/bin/apache-tomcat-6.0.32.exe
That's what I have installed. When installing this, it creates the tomcat
service in windows + the regular folder under c:\program
André Warnier a...@ice-sa.com
הילה wrote:
...
The tomcat service (on windows) ran with local system...
Ok, now I get it.
...
Now the tomcat service is running
(as a Windows domain user)
and authenticates to the DB with a domain
user
The above are two entirely distinct matters
Hey,
I work in a company which we use Tomcat (5.5.26 and recently we've upgraded
it to 6.0.29) to run our application.
The tomcat is running on servers with OS windows 2008 R2 STD.
The problem is-
Until now, we used [b]SQL Authentication[/b] for the tomcat service and
configuration (user
Hey,
I sent it today but I'm not sure it was sent, so I'm sending again (and
that's the last time :)).
I work in a company which we use Tomcat (5.5.26 , and recently we've
upgraded it to 6.0.29) to run our application.
The tomcat is running on servers with OS windows 2008 R2 STD.
The
62 matches
Mail list logo