tomcat - p6spy makes Tomcat8 will no longer redeploy when in use -
cannot redeploy tomcat when using p6spy on top of postgres database driver.
it works great until redeploy. when redeploy, error:
javax.management.instancealreadyexistsexception: com.p6spy.engine.logging:name=p6logoptions
is there way around this?
you should able around problem disabling jmx functionality in p6spy. setting following setting in spy.properties.
jmx=false
if not using datasource (meaning have jdbc url), can set 'jmx=false' url parameter on jdbc url well.
btw - looks bug in p6spy. if don't mind, please create issue in p6spy github project.
references:
Comments
Post a Comment