Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > Pro Java
|
Pro Java Expert level Java questions not about a specific book. Please indicate your version.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro Java section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 7th, 2006, 07:38 AM
Authorized User
 
Join Date: Mar 2006
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
Default removeAbandoned tag in jboss

In Tomcat, to remove abandoned connections, I have added the following tags in DB config.xml file without updating application code.



<parameter>
<name>removeAbandoned</name>
<value>true</value>
</parameter>

<!--Use the removeAbandonedTimeout parameter to set the number of
seconds a dB connection has been idle before it is considered abandoned. -->

<parameter>
<name>removeAbandonedTimeout</name>
<value>60</value>
</parameter>



<parameter>
<name>logAbandoned</name>
<value>true</value>
</parameter>

Now, I am expecting the similar tags to add to mysql-ds.xml file in case of JBOSS without updating application code. Bz, we had only ear file.


 
Old March 22nd, 2006, 03:01 AM
Authorized User
 
Join Date: Mar 2006
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have updated mysql-ds.xml file with the following tag :-
<removeAbandoned>true</removeAbandoned>

But, no use. Still my application is giving error.

I got the following info :-
Created JIRA Issue: http://jira.jboss.com/jira/browse/JBCACHE-346

Let me try with this.







Similar Threads
Thread Thread Starter Forum Replies Last Post
HTML tag from C# or ASP.NET tag from javascript angshujit ASP.NET 2.0 Basics 3 February 16th, 2007 10:07 AM
Decent JBoss book? prateep All Other Wrox Books 0 November 24th, 2005 07:26 AM
Decent JBoss book? prateep J2EE 0 November 24th, 2005 07:25 AM
Similar book for JBoss? prateep BOOK: Professional Apache Tomcat 0 November 24th, 2005 07:24 AM
codes on JBOSS vishalmhaskar Wrox Book Feedback 0 September 18th, 2003 10:48 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.