Difference between version and version      View first change»»

Back to JNDIDBCPExampleForMySQL5.x, or JNDIDBCPExampleForMySQL5.x version history

At line 1 added 4 lines.
[{ALLOW edit neale}]
[{ALLOW upload neale}]
[{ALLOW rename neale}]
[{ALLOW view Anonymous,Asserted,Authenticated}]
At line 21 changed 1 line.
url="jdbc:mysql://mysql5-external.metawerx.net:3306/YOUR_DATABASE_NAME?autoReconnect=true"
url="jdbc:mysql://mysql5.metawerx.net:3506/YOUR_DATABASE_NAME"
At line 27 added 4 lines.
removeAbandoned="true"
removeAbandonedTimeout="120"
logAbandoned="true"
maxWait="60"
At line 41 changed 1 line.
* Remember to close your connections, even after Exceptions, otherwise you will run out of connections. In this case your application will appear to have frozen, as it waits endlessly for a connection to become available from the pool.
* Remember to close your connections, especially after Exceptions, otherwise you will run out of connections. In this case your application will appear to have frozen, as it waits endlessly for a connection to become available from the pool. For more info, see [Connection Leak].
At line 43 changed 1 line.
* If you get a javax.naming.NameNotFoundException error, you have either not installed the [context.xml] file correctly, or have used a different name in the [context.xml] <Resource> element's "name" attribute to what you are using in your Context.lookup() call.
* If you get a javax.naming.NameNotFoundException error, you have either not installed the [context.xml] file correctly, or have used a different name in the [context.xml] <Resource> element's "name" attribute to what you are using in your Context.lookup() call, or the JDBC jar file is not present in <jakarta>/common/lib.
At line 54 added 1 line.
* [Database Connection and Pooling Questions] (Metawerx FAQ from the Support Topics page)
At line 62 added 1 line.
* [JNDI DBCP Example for Oracle]
navigation
metawerx specific
search
Share
tools
help

referring pages

Share