panuque bla

Greenhorn
+ Follow
since Aug 01, 2011
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by panuque bla

Finally i solved the problem. Using gwt 1.6 (my version), i can change the attributes using:



Hope it helps.
7 years ago
GWT
Hi,

I have a AbsolutePanel in which i add widgets (label, textbox, anything...). When i compile and after go to the browser, the AbsolutePanel is not displayed. If i inspect the element with Firebug i can see that the style of the element that contains the AbsolutePanel is like this:



if i change the value of the attribute position to "absolute" the AbsolutePanel is displayed OK, but i dont know how to change this attribute because is a internal style of gwt (i use 1.6). My style (absolute-panel-bug) changes this attribute but it takes no effect on the style:



How can i solve this problem? Is there anyway to change the internal style of gwt?

Thanks.
7 years ago
GWT

K. Tsang wrote:Did you try connecting to mysql using root? Is the max connection really 250? Use the "show variables;" once inside. You may want to ensure it really is 250 when starting the mysql service. The link below should give you why you are experiencing this.

Too many connections



Thanks. I tried to connect mysql using root (instead i always connect mysql using root), and with "show variables like max_connections" i get 250. Anyway im going to try again to see if when i restart mysql the variable max_connections restarts.

Thanks for the link.
Hi,

i was searching for a month about that problem. All people says, obviously, is a problem that appears when MySQL cant get connections from the pool. I explain about my situation:

I have a web application on a local network managed with a server (Windows 2008). That application has about 7 users. The web application is always performing querys (connections) to the database (MySQL). Also, we have a web (on a public domain) that is always performing querys to the database, but this web do not have too many visitors, around 10/day.

My problem is, sometimes, when i restart tomcat/mysql, i connect to mysql on the command line and when i try to connect i get this error ("Too many connections"). I cannot understand how mysql cant get free connections from the pool after restart the service. The file configuration of the pool is a database.properties on the path of the web application.

My max_connections parameter on mysql is 250.

Thank you!
Hi,

you see, i have a GWT Java project in Eclipse that works with a database. The project is divided into 3sub- (server, client and gwt code compiled). All ok. Now, i had to create the same project but to work with another database (of course same structure). I copy the 3sub projects and i create a new project. Then, i go to database.properties file, which is where I have the route database, and i change the route.

And here comes the problem. When i run the new project, i dont know why, but access to old file database.properties, which I am accessing the old database.

What is the problem? I copied the wrong project? can be references for each subproject? as I watch that?

Thanks