at 2:37 PM, 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 -- th
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?
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 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
fe00::0 ip6-localnet
ff00::0 ip6-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 wrote:
> I'll report back tonight, thanks again!
>
>
> On Tue, Nov 13, 201
I'll report back tonight, thanks again!
On Tue, Nov 13, 2012 at 11:08 AM, Daniel Mikusa 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:
> >
n't output the host and
password (just in case it is reading from the wrong file somehow??).
On Tue, Nov 13, 2012 at 8:18 AM, Daniel Mikusa 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
&
This same setup works fine locally on my laptop..so it does work :)
On Mon, 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 the user and password that is in my spring context
> fi
Ok from what I understood, if you want to capture statistics or look into
jmx related metrics, you have to manually fireup visualvm/jconsole i.e. be
on your computer, and monitor it as oppose to somethign that runs 24/7
On Mon, Oct 22, 2012 at 1:58 PM, Pid wrote:
> On 22/10/2012 15:37, S Ah
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.
On Fri, Oct 19, 2012 at 5:37 PM, Pid wrote:
> On 19/10/2012 16:18, Daniel Mikusa wrote:
> > On Oct 18, 2012, at 2
somehow to monitor
this.
On Fri, Oct 19, 2012 at 8:53 AM, Mark Shifman 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
itly start/stop 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:
> >
>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 maintai
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
I'm using tomcat 7, in a spring mvc application. The properties is in my
spring-context.xml file.
On Fri, Apr 6, 2012 at 2:09 PM, Christopher Schultz <
ch...@christopherschultz.n
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 wrote:
>
>
> - Original Message -
> > My db connections seem to be lost after an extended period of
> > inactivity
>
> There cou
bottom you
call .get(), is that possible?
On Sun, Mar 25, 2012 at 6:41 PM, Konstantin Kolinko
wrote:
> 2012/3/26 S Ahmed :
> > 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 contain
55 PM, Mark Thomas 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 woul
.jetbrains.com
> "Develop with pleasure!"
>
>
> >-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
If my tomcat has 2 web applications running on it, how do I create
different jvm pools to keep the apps isolated?
s I will perform api 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 wrote:
> S Ahmed wrote:
>
>> Tomcat 6
>> Spring MVC, where my control
2012 at 1:03 PM, Konstantin Kolinko
wrote:
> 2012/1/4 S Ahmed :
> > 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/sub
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 the
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 wise
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 execu
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 where
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 efficientl
26 matches
Mail list logo