[jboss-user] [JCA/JBoss] - Re: Keep the connection alive after a management bean method

PeterJ do-not-reply at jboss.com
Mon Nov 17 18:12:29 EST 2008


anonymous wrote : Is there some parameter that I can tweak this with?

None that I know of.

[copy]is there a simple way to get the parameters of that DataSource,[/copy]

You can always place a properties file containing the database info into the server/xxx/conf directory, and access it using the jboss.server.config.url system property. Something like this:

String confdir = System.getProperties("jboss.server.config.url");
FileInputStream fis = new FileInputStream(confdir + "somedb.properties");
Properties dbprop = new Properties();
dbprop.load(fis);


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4189940#4189940

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4189940



More information about the jboss-user mailing list