I also tried the latest p6spy-2.0-alpha-1.jar, and got two exceptions(pls. see the attached log). Copied the appender folder from p6spy.jar v1.3 to p6spy-2.0-alpha-1.jar, the second exception still persists.
Thanks in advance,
Roy
--
You received this message because you are subscribed to the Google Groups "p6spy Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to p6spy-develope...@googlegroups.com.
To post to this group, send email to p6spy-de...@googlegroups.com.
Visit this group at http://groups.google.com/group/p6spy-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/p6spy-developers/3d6df3d7-1a0a-4cfd-be02-e86045f41040%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
just for the curiosity, you claim to try with websphere, but from logs it sounds like jboss. So which one are you interested in?
To view this discussion on the web visit https://groups.google.com/d/msgid/p6spy-developers/5f982523-1ca1-4243-986e-413de3247c32%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/p6spy-developers/CACdzHaxB_qW7c617tx7BH6ONsE51On493ZK%2BbN8uAzZ%3Du9ouHg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/p6spy-developers/2c4caf3a-df75-450c-a97e-8ddfd5def263%40googlegroups.com.
Did you try setting enable2Phase to false?
To view this discussion on the web visit https://groups.google.com/d/msgid/p6spy-developers/0ad5da72-6d38-45c5-905c-e6bf17aac0b3%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/p6spy-developers/CACdzHayMN5u7px83Hqx2%2B3cot4v3XcqOy7mg5Y%3DZ2Dv9yq2tjg%40mail.gmail.com.
Roy,
I think that your classcast exception is being encountered inside of P6ConnectionPoolDataSource. The way that this class works is that it performs a JNDI lookup of the real data source and then proxies it. After the lookup is performed, it casts the object returned from JDNI to ConnectionPoolDataSource. Perhaps your real data source is not an instance of ConnectionPoolDataSource? Did you set enable2Phase to false of the real data source as well?
BTW - I would really like to try this out myself on WebSphere. I have WAS 8 installed but so far I have not been able to get our test application at http://github.com/p6spy/p6spy-it.git to work in it. I think that it is just a problem with the WAS configuration. If you could email me the steps to configure WAS without p6spy (either instructions for the web interface or command line), I can figure out the exact steps to configure p6spy for you.
To view this discussion on the web visit https://groups.google.com/d/msgid/p6spy-developers/CAE7SmwrhY3SfC-wL%2B%2B-0U%3DqaL4aAuezdALUVjX34nv-D05ODmg%40mail.gmail.com.
Roy,
I think that your classcast exception is being encountered inside of P6ConnectionPoolDataSource. The way that this class works is that it performs a JNDI lookup of the real data source and then proxies it. After the lookup is performed, it casts the object returned from JDNI to ConnectionPoolDataSource. Perhaps your real data source is not an instance of ConnectionPoolDataSource? Did you set enable2Phase to false of the real data source as well?BTW - I would really like to try this out myself on WebSphere. I have WAS 8 installed but so far I have not been able to get our test application at http://github.com/p6spy/p6spy-it.git to work in it. I think that it is just a problem with the WAS configuration. If you could email me the steps to configure WAS without p6spy (either instructions for the web interface or command line), I can figure out the exact steps to configure p6spy for you.
To unsubscribe from this group and stop receiving emails from it, send an email to p6spy-developers+unsubscribe@googlegroups.com.
To post to this group, send email to p6spy-developers@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/p6spy-developers/0ad5da72-6d38-45c5-905c-e6bf17aac0b3%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "p6spy Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to p6spy-developers+unsubscribe@googlegroups.com.
To post to this group, send email to p6spy-developers@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/p6spy-developers/CACdzHayMN5u7px83Hqx2%2B3cot4v3XcqOy7mg5Y%3DZ2Dv9yq2tjg%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "p6spy Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to p6spy-developers+unsubscribe@googlegroups.com.
To post to this group, send email to p6spy-developers@googlegroups.com.