, Christopher Schultz
ch...@christopherschultz.net wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ahmed,
On 5/31/12 9:33 AM, S Ahmed wrote:
It would be easier if all databases were hosted by a single
instance of MySQL -- then you could use Tomcat-pool's feature of
being able to provide
Hi,
With jdbc pool, is each socket connection in the pool handled by a separate
thread?
Say you have 20 connections set to be open at minimum, does that mean there
will be 20 threads? If not, then there is a degree of serialization then
right?
and
password (just in case it is reading from the wrong file somehow??).
On Tue, Nov 13, 2012 at 8:18 AM, Daniel Mikusa dmik...@vmware.com wrote:
On Nov 12, 2012, at 10:55 PM, S Ahmed wrote:
I can't seem to connect to my mysql database from my java code, but I can
do it via terminal using
I'll report back tonight, thanks again!
On Tue, Nov 13, 2012 at 11:08 AM, Daniel Mikusa dmik...@vmware.com wrote:
On Nov 13, 2012, at 9:55 AM, S Ahmed wrote:
Dan,
Thanks for your help.
From the terminal I was very explicit, I did this:
mysql --host localhost --port 3306 --user
-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
ubuntu:~$
ubuntu:~$ cat /etc/issue
Ubuntu 11.04 \n \l
On Tue, Nov 13, 2012 at 11:16 AM, S Ahmed sahmed1...@gmail.com wrote:
I'll report back tonight, thanks again!
On Tue, Nov 13, 2012 at 11:08 AM, Daniel Mikusa dmik
Ok it turns out it was bound to an private ip address on ec2, thanks Dan!
On Tue, Nov 13, 2012 at 10:52 PM, S Ahmed sahmed1...@gmail.com wrote:
ubuntu:~$ mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 58
Server version
This same setup works fine locally on my laptop..so it does work :)
On Mon, Nov 12, 2012 at 10:55 PM, S Ahmed sahmed1...@gmail.com wrote:
I can't seem to connect to my mysql database from my java code, but I can
do it via terminal using the user and password that is in my spring context
file
15:37, S Ahmed wrote:
I was thinking of using this: https://github.com/codahale/metrics
Much easier to have this keep track of stats, and not having to rely on
jconsole just to get in insight.
Why is it easier to instrument Tomcat's code than to just use the JMX
info that's already
, at 2:51 PM, S Ahmed wrote:
Hi,
When using the jdbc connection pool library, would it be possible to
somehow record the # of connections that are being used,
when the # of connections in the pool are being saturated etc., or is
that something that
would have to be modified
to monitor
this.
On Fri, Oct 19, 2012 at 8:53 AM, Mark Shifman mark.shif...@yale.edu wrote:
On 10/18/2012 02:51 PM, S Ahmed wrote:
Hi,
When using the jdbc connection pool library, would it be possible to
somehow record the # of connections that are being used, when the # of
connections
the service if am doing this via the
command line?
On Mon, Oct 15, 2012 at 12:45 PM, Christopher Schultz
ch...@christopherschultz.net wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
S Ahmed,
On 10/15/12 11:39 AM, S Ahmed wrote:
So when I have my server setup with tomcat, I normally
It would be easier if all databases were hosted by a single instance
of MySQL -- then you could use Tomcat-pool's feature of being able to
provide credentials when obtaining connections from the pool -- and
get the right database. That way, a much smaller number of connections
could be maintained
at 10:07 AM, Christopher Schultz
ch...@christopherschultz.net wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ahmed,
On 5/29/12 9:29 AM, S Ahmed wrote:
If my requirement for a hosted application is to give each
customer a separate instance of mysql, I am curious how feasible
I'm using tomcat 7, in a spring mvc application. The properties is in my
spring-context.xml file.
bean id=dataSource class=org.apache.tomcat.jdbc.pool.DataSource
destroy-method=close
property name=driverClassName value=com.mysql.jdbc.Driver/
property name=url
Daniel,
Your suggestion seems to have worked so far, thanks!
testOnBorrow=true and validationQuery=SELECT 1
On Wed, Apr 4, 2012 at 8:46 AM, Daniel Mikusa dmik...@vmware.com wrote:
- Original Message -
My db connections seem to be lost after an extended period of
inactivity
call .get(), is that possible?
On Sun, Mar 25, 2012 at 6:41 PM, Konstantin Kolinko
knst.koli...@gmail.comwrote:
2012/3/26 S Ahmed sahmed1...@gmail.com:
Is the jdbc pool somehow married to tomcat or can I use it with other
containers potentially? (
1. You certainly can use it with other
, Mark Thomas ma...@apache.org wrote:
On 27/01/2012 21:41, S Ahmed wrote:
If I need to upgrade an existing live application that is running off a
tomcat install that was installed via apt-get (ubuntu), how would I go
about updating tomcat?
Don't know. That would be a question for an Ubuntu
If my tomcat has 2 web applications running on it, how do I create
different jvm pools to keep the apps isolated?
!
-Original Message-
From: S Ahmed [mailto:sahmed1...@gmail.com]
Sent: Monday, January 16, 2012 8:14 PM
To: Tomcat Users List
Subject: running separate isolated jvm's for each web app
If my tomcat has 2 web applications running on it, how do I
create different jvm pools to keep
, Konstantin Kolinko
knst.koli...@gmail.comwrote:
2012/1/4 S Ahmed sahmed1...@gmail.com:
Say I have a simple servlet or spring mvc application running on tomcat.
Tomcat is running as a webserver on port 80.
A client makes a http POST request to my page www.example.com/submit
If the client
usage limites, and it would be
great if I don't have to bring in the entire request header + body if I can
get away with it.
On Wed, Jan 4, 2012 at 1:58 PM, André Warnier a...@ice-sa.com wrote:
S Ahmed wrote:
Tomcat 6
Spring MVC, where my controllers method has both httpservletrequest
If I have a running application, and I redeploy, is it possible to keep the
server live or does it have to shut-down and re-load? Any gotchas with
doing this on a busy server?
Also, I have been reading that if you don't probably clean things up in a
web app, there is a strong possibility that
While benchmarking, I want to know if/when tomcat requires more threads
(maxThreads).
How can I figure this out?
i.e. I start benchmarking tomcat to see how it reacts to a high-traffic
spike, I want to make sure that tomcat isn't hitting the maxThreads when my
server has the ability resource
In my catalina.sh and set CATALINA_OPT, and I have Xmx around 2GB of ram.
When I run htop, I see many instances of the tomcat process.
I'm on a quad core server (xeon 3450), and I am seeing more than 15 tomcat
processes, and one of the columns shows how the process was started with
the java
I have a spring project (web app), in my project where should I be putting
my static files like images/css/javascript?
In my WEB-INF like:
/WEB-INF/Assets {images/css/js}
I know when I go in production I will have nginx map to this folder to
serve the static files, but I just want to know
Hi,
If you have a server with 15 GB of ram (or any large number for arguments
sake), does it ever make sense to run multiple instances of tomcat on the
same server? (serving http requests for the same web application)
Or can a single instance utilize all the server resources just
fine
26 matches
Mail list logo