Re: munin tomcat and mysql

2012-05-08 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Miguel, On 5/7/12 12:16 PM, Miguel González Castaños wrote: Since it's a virtual machine, is munin going to take many resources of my system or is it a light tool? Maybe ask on the Munin list? Does anyone know of any n

Re: munin tomcat and mysql

2012-05-07 Thread Jeff Beard
Miguel, While it's not very scientific, I've used Munin to monitor my Tomcat instances in the past and have never notice any impact on performance. Also, all the instances I've managed with munin have been on virtual machines. If you are using a recent version of CentOS, Tomcat is included in the

Re: munin tomcat and mysql

2012-05-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Miguel, On 5/7/12 12:16 PM, Miguel González Castaños wrote: > Since it's a virtual machine, is munin going to take many > resources of my system or is it a light tool? Maybe ask on the Munin list? > Does anyone know of any nice tutorial of installin

munin tomcat and mysql

2012-05-07 Thread Miguel González Castaños
Dear all, I'm thinking about installing munin to monitor mysql, tomcat and system resources (specially memory and network). I'm going to install it under CentOS and Tomcat 5.5. Since it's a virtual machine, is munin going to take many resources of my system or is it a light tool?

Re: Tomcat and MySQL in Azure Cloud

2010-07-16 Thread Pid
recommend. Have you load tested your app, how do you know that your proposed strategy will solve your problem? Do you not need more Tomcat instances too? p > > On Fri, Jul 16, 2010 at 10:19 PM, Pid wrote: > >> On 16 Jul 2010, at 15:56, Praveen Sripati >> wrote: >&g

Re: Tomcat and MySQL in Azure Cloud

2010-07-16 Thread Praveen Sripati
; We are in the process of migrating Tomcat and MySQL to Microsoft Azure > Cloud > > and facing challenges due to the dynamic nature of the cloud like > allocation > > of dynamic ip and ports to the instances of Tomcat & MySQL in Azure. > Because > > of this behavior Tomcat

Re: Tomcat and MySQL in Azure Cloud

2010-07-16 Thread Pid
On 16 Jul 2010, at 15:56, Praveen Sripati wrote: > We are in the process of migrating Tomcat and MySQL to Microsoft Azure Cloud > and facing challenges due to the dynamic nature of the cloud like allocation > of dynamic ip and ports to the instances of Tomcat & MySQL in Azure. Beca

Re: Tomcat and MySQL in Azure Cloud

2010-07-16 Thread André Warnier
Praveen Sripati wrote: We are in the process of migrating Tomcat and MySQL to Microsoft Azure Cloud and facing challenges due to the dynamic nature of the cloud like allocation of dynamic ip and ports to the instances of Tomcat & MySQL in Azure. Because of this behavior Tomcat needs t

Tomcat and MySQL in Azure Cloud

2010-07-16 Thread Praveen Sripati
We are in the process of migrating Tomcat and MySQL to Microsoft Azure Cloud and facing challenges due to the dynamic nature of the cloud like allocation of dynamic ip and ports to the instances of Tomcat & MySQL in Azure. Because of this behavior Tomcat needs to 1) Dynamically update the ip

RE: Tomcat and MySQL

2009-11-18 Thread Caldarale, Charles R
> From: giocarmine [mailto:giocarm...@gmail.com] > Subject: Tomcat and MySQL > > i've developed a web application, it runs on Tomcat 5.5.4 Step 1: upgrade. 5.5.4 is over five years old and innumerable bugs and security issues have been fixed since then. > It seems that

Re: Tomcat and MySQL

2009-11-18 Thread Pid
On 18/11/2009 14:57, Neil Aggarwal wrote: Giocarmine: It seems that the connection with MySQL it's closed by the driver due to a timeout. Have you set autoReconnect=true in your JDBC url? jdbc:mysql://localhost:3306/dbName?autoReconnect=true Opening a single connection, and keeping it open

RE: Tomcat and MySQL

2009-11-18 Thread Neil Aggarwal
Giocarmine: > It seems that the connection with MySQL it's closed by the > driver due to a > timeout. Have you set autoReconnect=true in your JDBC url? jdbc:mysql://localhost:3306/dbName?autoReconnect=true Neil -- Neil Aggarwal, (281)846-8957, http://UnmeteredVPS.net Host your tomcat

Tomcat and MySQL

2009-11-18 Thread giocarmine
o that the connection with MySQL will be persistent? thank you in advice :) -- View this message in context: http://old.nabble.com/Tomcat-and-MySQL-tp26408387p26408387.html Sent from the Tomcat - User mailing list archive at Nabble.com. --

RE: JDBCRealm, Tomcat and MySQL

2009-05-03 Thread Caldarale, Charles R
> From: ubk [mailto:m.urbanow...@o2.pl] > Subject: JDBCRealm, Tomcat and MySQL > > > type="javax.sql.DataSource"/> > You say you're using Tomcat 6.0.18, but the config you've specified is for some ancient version. Rea

Re: JDBCRealm, Tomcat and MySQL

2009-05-03 Thread ubk
l: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > > Apache Tomcat 6.0.18 I'm sure that db user and password are correct. -- View this message in context: http://www.nabble.com/JDBCRealm%2C-Tomcat-and-MySQL-tp23349009p2335

Re: JDBCRealm, Tomcat and MySQL

2009-05-03 Thread Pid
ubk wrote: > Hi all > I have a problem with authorization based on JDBCRealm. When I'm trying to > get access to some html page which is store in protected directory all that > I can see is just login-error.jsp page. I'm using login and password from my > database. > > > My server.xml: > > >

JDBCRealm, Tomcat and MySQL

2009-05-02 Thread ubk
;m rookie. I'm using Netbeans. -- View this message in context: http://www.nabble.com/JDBCRealm%2C-Tomcat-and-MySQL-tp23349009p23349009.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe,

Re: tomcat and mysql

2008-03-12 Thread David Smith
Drop the ?autoReconnect=true from your mysql url and then add validationQuery="select 1" testOnBorrow="true". I believe the testOnBorrow is true by default, but their's no harm in setting it explicitly. Autoreconnect doesn't do what you'd assume it should. It will not automatically reco

tomcat and mysql

2008-03-12 Thread Sury Balasubramanian
Hello all, I run tomcat connecting to two separate instances (one mySQL instance) running on the same machine and the other one is oracle. If i leave tomcat idle overnight and come back the next day, it doesn't reconnect to mySQL even though i have the following in the JNDI settings.. I dont

Re: Eclipse with tomcat and mysql

2008-03-10 Thread kevin
Ah. Thanks for the clarification. that's a big help. Kevin - Original Message - From: "Caldarale, Charles R" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Monday, March 10, 2008 7:44 PM Subject: RE: Eclipse with tomcat and mysql From: [E

RE: Eclipse with tomcat and mysql

2008-03-10 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Subject: Re: Eclipse with tomcat and mysql > > But the funny thing is the docs say to put path and docBase in. The path and docBase attributes are used only when the element is in server.xml, not when it's in

Re: Eclipse with tomcat and mysql

2008-03-10 Thread kevin
]> To: "Tomcat Users List" Sent: Monday, March 10, 2008 6:57 PM Subject: RE: Eclipse with tomcat and mysql From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Subject: Re: Eclipse with tomcat and mysql Remove the path and docBase attributes - they're not allowed here. Whe

RE: Eclipse with tomcat and mysql

2008-03-10 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Subject: Re: Eclipse with tomcat and mysql > > debug="5" reloadable="true" crossContext="true"> Remove the path and docBase attributes - they're not allowed here. >typ

Re: Eclipse with tomcat and mysql

2008-03-10 Thread kevin
so I tried the one in lower case which I found in an example on the web. Thanks, Kevin - Original Message - From: "Caldarale, Charles R" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Monday, March 10, 2008 6:04 PM Subject: RE: Eclipse with tomcat and

Re: Eclipse with tomcat and mysql

2008-03-10 Thread kevin
r Thanks for your help, Kevin - Original Message - From: "David Smith" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Monday, March 10, 2008 5:52 PM Subject: Re: Eclipse with tomcat and mysql For the most part -- just remember case matters. It's Conte

RE: Eclipse with tomcat and mysql

2008-03-10 Thread Caldarale, Charles R
> From: David Smith [mailto:[EMAIL PROTECTED] > Subject: Re: Eclipse with tomcat and mysql > > For the most part -- just remember case matters. It's Context, not > context. Same is true for Logger and Resource as well. Note that there is no element in 5.5, and the poste

Re: Eclipse with tomcat and mysql

2008-03-10 Thread David Smith
ot;/> Thanks Kevin - Original Message ----- From: "Len Popp" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Monday, March 10, 2008 4:42 PM Subject: Re: Eclipse with tomcat and mysql So you're putting the .xml file into conf/Catalina yourself, right?

Re: Eclipse with tomcat and mysql

2008-03-10 Thread kevin
p" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Monday, March 10, 2008 4:42 PM Subject: Re: Eclipse with tomcat and mysql So you're putting the .xml file into conf/Catalina yourself, right? That could be the problem because of the way Web Standard Tools copies files

Re: Eclipse with tomcat and mysql

2008-03-10 Thread Len Popp
in the /conf/server.xml > > So I also tried copying the /conf/Catalina to > "/Servers/Tomcat v5.5 Server at localhost-config/Catalina" > > Neither of these worked. > > > Kevin > > > - Original Message - > From: "Len Popp" <[E

Re: Eclipse with tomcat and mysql

2008-03-10 Thread kevin
version 5.1.5 Kevin - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: "Tomcat Users List" Sent: Monday, March 10, 2008 11:20 AM Subject: Re: Eclipse with tomcat and mysql Kevin-- what version is your MySQL driver? ? Martin

Re: Eclipse with tomcat and mysql

2008-03-10 Thread mgainty
Kevin-- what version is your MySQL driver? ? Martin - Original Message - Wrom: UFPEGAUTFJMVRESKPNKMBIPBARHDMN To: "Tomcat Users List" Sent: Monday, March 10, 2008 1:43 PM Subject: Re: Eclipse with tomcat and mysql > Yes the driver is in my project libraries. > &

Re: Eclipse with tomcat and mysql

2008-03-10 Thread kevin
Yes the driver is in my project libraries. Thanks, Kevin - Original Message - Do you have the driver for MySQL added to your project libraries? -Steve O. - To start a new topic, e-mail: users@tomcat.apache.org

Re: Eclipse with tomcat and mysql

2008-03-10 Thread kevin
" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Monday, March 10, 2008 8:54 AM Subject: Re: Eclipse with tomcat and mysql Web Standard Tools makes copies of some of the Tomcat config files, which might be causing your problem. In particular, if you've defined your

Re: Eclipse with tomcat and mysql

2008-03-10 Thread Steve Ochani
ce, but I still get the > error. > > So how do you use Eclipse with Tomcat and MySQL? Any ideas? > > Thanks in advance for the help, > Kevin > > HTTP Status 500 - > > -- > -- > > type

Re: Eclipse with tomcat and mysql

2008-03-10 Thread Len Popp
pp" <[EMAIL PROTECTED]> > To: "Tomcat Users List" ; > <[EMAIL PROTECTED]> > Sent: Monday, March 10, 2008 6:42 AM > Subject: Re: Eclipse with tomcat and mysql > > > > What version of Eclipse are you using, and what extensions are you > > usin

RE: Eclipse with tomcat and mysql

2008-03-10 Thread Larry Isaacs
, perhaps because of its size. Be patient. > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > enterprises.com] > Sent: Monday, March 10, 2008 11:50 AM > To: Len Popp; Tomcat Users List > Subject: Re: Eclipse with tomcat and mysql > > Eclips

Re: Eclipse with tomcat and mysql

2008-03-10 Thread Martin Gainty
ers List" Sent: Monday, March 10, 2008 10:49 AM Subject: Re: Eclipse with tomcat and mysql > Eclipse (Eurpoa) version 3.1.1 > > I am using the Web Standard Tools. (The project I created is a Dynamic Web > Project). > > I do NOT have the Sysdeo Tomcat plugin. Would this

Re: Eclipse with tomcat and mysql

2008-03-10 Thread kevin
sers List" ; <[EMAIL PROTECTED]> Sent: Monday, March 10, 2008 6:42 AM Subject: Re: Eclipse with tomcat and mysql What version of Eclipse are you using, and what extensions are you using for your webapp project (e.g. Web Standard Tools or Sysdeo Tomcat plug-in)? -- Len On Mon, Ma

Re: Eclipse with tomcat and mysql

2008-03-10 Thread Len Popp
t will not connect to the database. I get the > errors listed below. > Funny thing is, in Eclipse I have also tried setting a data source for this > database. > This also works fine and I can connect to the DB from the data source, but I > still get the error. > > So how

Eclipse with tomcat and mysql

2008-03-10 Thread kevin
o the database. I get the errors listed below. Funny thing is, in Eclipse I have also tried setting a data source for this database. This also works fine and I can connect to the DB from the data source, but I still get the error. So how do you use Eclipse with Tomcat and MySQL? Any ideas? Than

Re: Tomcat and MySQL sync problems

2007-01-29 Thread Mark Thomas
Luiz Siqueira wrote: > Sorry about this message but I'm a little despaired. > > I create a JAR library with the business logic, I use Hibernate and > MySQL. Everything work fine but when I try use the JAR from a WebApp > using the bundled TomCat on NetBeans 5.5 I got an server error. I > believe t

Re: Tomcat and MySQL sync problems

2007-01-29 Thread Martin Dubuc
Hello, I'm having a problem where it seems Tomcat and MySQL go out of sync and I am no longer able to connect to the MySQL database. The only way I've found to be able to reconnect to my database is to restart Tomcat. This generally seems to happen some time over the course of the ni

Re: Tomcat and MySQL sync problems

2007-01-29 Thread Luiz Siqueira
> >Hopefully someone else may clue you in better, but you may want to check >the datasource props and see if this is valid. > > >Scott > >-Original Message- >From: Chris Long [mailto:[EMAIL PROTECTED] >Sent: Monday, January 29, 2007 8:54 AM >To: users@tomcat.apache.

Re: Tomcat and MySQL sync problems

2007-01-29 Thread David Smith
ris Long [mailto:[EMAIL PROTECTED] >Sent: Monday, January 29, 2007 8:54 AM >To: users@tomcat.apache.org >Subject: Tomcat and MySQL sync problems > >Hello, > >I'm having a problem where it seems Tomcat and MySQL go out of sync and >I am >no longer able to connec

RE: Tomcat and MySQL sync problems

2007-01-29 Thread Scott Purcell
see if this is valid. Scott -Original Message- From: Chris Long [mailto:[EMAIL PROTECTED] Sent: Monday, January 29, 2007 8:54 AM To: users@tomcat.apache.org Subject: Tomcat and MySQL sync problems Hello, I'm having a problem where it seems Tomcat and MySQL go out of sync and I

Re: Tomcat and MySQL sync problems

2007-01-29 Thread Andreas Deller
ictionRun5 minEvictableIdleTimeMillis60 Andy Chris Long wrote: Hello, I'm having a problem where it seems Tomcat and MySQL go out of sync and I am no longer able to connect to the MySQL database. The only way I've found to be able to reconnect to my database is to r

Tomcat and MySQL sync problems

2007-01-29 Thread Chris Long
Hello, I'm having a problem where it seems Tomcat and MySQL go out of sync and I am no longer able to connect to the MySQL database. The only way I've found to be able to reconnect to my database is to restart Tomcat. This generally seems to happen some time over the course of the n

RE: Tomcat and MySQL error

2006-07-27 Thread DK
/Tomcat-and-MySQL-error-tf2007556.html#a5529626 Sent from the Tomcat - User forum at Nabble.com. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

RE: Tomcat and MySQL error

2006-07-27 Thread Propes, Barry L
try the base of usr/local -Original Message- From: DK [mailto:[EMAIL PROTECTED] Sent: Thursday, July 27, 2006 12:48 PM To: users@tomcat.apache.org Subject: RE: Tomcat and MySQL error Thanks to all of you ! I did a search (grep -R) under the /usr/local/jakarta and /etc folder for this

RE: Tomcat and MySQL error

2006-07-27 Thread DK
Thanks to all of you ! I did a search (grep -R) under the /usr/local/jakarta and /etc folder for this string but found no results. I am still wondering as which file carries this value. Thanks again, DK -- View this message in context: http://www.nabble.com/Tomcat-and-MySQL-error-tf2007556

RE: Tomcat and MySQL error

2006-07-27 Thread Propes, Barry L
EMAIL PROTECTED] Sent: Wednesday, July 26, 2006 11:06 PM To: users@tomcat.apache.org Subject: Tomcat and MySQL error Hello all, I am new to this configuration and working on an exisitng website with MySQL database. There is a change in the domain name / IP address and after the change in IP addr

Re: Tomcat and MySQL error

2006-07-27 Thread David Smith
The answer depends on how the MySQL connection is made and where. Tomcat doesn't offer just one way to handle this or just one place to configure it. The MySQL connection string can be in server.xml or the web application itself. You might want to do a search to see where "www.old-domain.com

Re: Tomcat and MySQL error

2006-07-26 Thread Madhur K Tanwani
I'm not sure if you asked the question at the right place. Anyways, I think there would be some configuration file / code snippet which uses the "www.old-domain.com:3306" while forming the connection URL, which is passed to the getConnection(, , ) method. Hope it helps, Madhur. DK wrote: He

Tomcat and MySQL error

2006-07-26 Thread DK
file I should edit and update with the new IP address / domain name in place of www.old-domain.com, so that tomcat connects to the database with new domain name, when tomcat is started Any help is appreciated ! -- View this message in context: http://www.nabble.com/Tomcat-and-MySQL-error