[Bug 62910] tomcat-jdbc global pool transaction problem

2018-11-16 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62910

--- Comment #4 from Christopher Schultz  ---
... and how do you obtain connections and then use them?

The DataSourceFactory.getConnection method does not need to be synchronized.
Read further and you'll find that it is indeed threadsafe.

When you say "on jboss not get the problem", do you mean that when you use
JBoss and tomcat-pool you don't see this problem? Or are you using JBoss's
contained-managed DataSource.

Is there a particular reason you feel like you must choose between tomcat-pool
and c3p0? What about Tomcat's default pool... the one based upon dbcp2?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 62910] tomcat-jdbc global pool transaction problem

2018-11-15 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62910

--- Comment #3 from zhengfc  ---
The context.xml and server.xml, I deploy multi app use the game connection will
cause transaction problem.
-context.xml-


-server.xml--

  
  




-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 62910] tomcat-jdbc global pool transaction problem

2018-11-15 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62910

Christopher Schultz  changed:

   What|Removed |Added

 Status|NEW |NEEDINFO

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 62910] tomcat-jdbc global pool transaction problem

2018-11-15 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62910

--- Comment #2 from Christopher Schultz  ---
Please tell us how you are configuring your connection pool and also how you
are using it.

There are plenty of ways to misuse a connection pool that do not mean the pool
itself has bugs.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 62910] tomcat-jdbc global pool transaction problem

2018-11-15 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62910

Mark Thomas  changed:

   What|Removed |Added

Product|Tomcat 8|Tomcat Modules
  Component|Packaging   |jdbc-pool
   Target Milestone||---
Version|8.5.32  |unspecified

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 62910] tomcat-jdbc global pool transaction problem

2018-11-15 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62910

--- Comment #1 from zhengfc  ---
I change to c3p0 the apps is okay, I compare the tomcat-jdbc and c3p0 code, I
found is cause by getConnnction(), c3p0 is sycn and tomcat-jdbc is unsycn.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org