It depends, and currently the answer for your case is no.
But first, what is your application server? why is there
com.sun.jndi.fscontext.RefFSContext in your jndi context?
For alternatives, do you use the DataSource via Spring? Do you use
hibernate?
bye,
Emeric
Le 18/07/2011 10:43, makikaze a �crit :
It is a very specific use case and javamelody will not monitor those
datasources automatically.
I do not know exactly if it would work if you register these dynamically
in Spring.
I suggest to let javamelody skip its rebinding and that you use
net.bull.javamelody.JdbcWrapper.SINGLETON.createDataSourceProxy each
time that you create a ComboPooledDataSource.
You can then bind the result of this method in your fscontext.
You need the latest javamelody 1.30.0 for this, because JdbcWrapper was
not public before 1.30.0.
bye,
Emeric
Le 18/07/2011 12:06, makikaze a �crit :