Re: jdbc connection debugging, tips?

2012-11-13 Thread S Ahmed
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 version: 5.1.63-0ubuntu

Re: jdbc connection debugging, tips?

2012-11-13 Thread S Ahmed
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: 5.1.63-0ubuntu0.11.04.1-log (Ubuntu) Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of

RE: Handling requests when under load - ACCEPT and RST vs non-ACCEPT

2012-11-13 Thread Esmond Pitt
>> In addition, those clients will then get exactly the behaviour that >> you are complaining about: a successful connection and then a 'connection reset' >> when doing I/O. > No, they will not get an ACK to the SYN packet which is much better. No, Asahnka, you are completely wrong about this. Cl

Re: Mystery migrating from tomcat 6 to 7

2012-11-13 Thread Fred Toth
On 11/13/2012 2:57 AM, Konstantin Kolinko wrote: It looks like it overrides the default mapping of this servlet. If I add the above fragment to web.xml of the docs application, I get 404 in Tomcat 7, while in Tomcat 6 it works. If I replace above with the following, it works in Tomcat 7:

Re: jdbc connection debugging, tips?

2012-11-13 Thread S Ahmed
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: > > > >> mysql --host localhost --port 3306 --user myu

Re: jdbc connection debugging, tips?

2012-11-13 Thread Daniel Mikusa
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 myuser --password >> password: 123 > > And it worked fine. In my log4net, I believe I set jdbc logs to be ALL or >

Re: jdbc connection debugging, tips?

2012-11-13 Thread S Ahmed
Dan, Thanks for your help. >From the terminal I was very explicit, I did this: >mysql --host localhost --port 3306 --user myuser --password >password: 123 And it worked fine. In my log4net, I believe I set jdbc logs to be ALL or DEBUG (i'll check when I get home), but it didn't output the host

Re: jdbc connection debugging, tips?

2012-11-13 Thread Daniel Mikusa
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 the user and password that is in my spring context > file. > > I also tried modifying it to localhost:3306 but that didn't change anything > (it defa