5608057 / javamelody

Automatically exported from code.google.com/p/javamelody
0 stars 0 forks source link

JavaMelody Configurations #394

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I have configured Javamelody plugin in my JIRA 6.0.6 environment. According to 
your documentation, it requires to change dbconfig.xml and server.xml files. It 
says it requires to use a jdbc datasource from jndi in order to monitor jdbc 
connections and SQL requests.

I'm using Oracle database and your configuration line mentioned MYSQL.
url="jdbc:mysql://localhost/jiradb?useUnicode=true&characterEncoding=UTF8"

Is it possible to configure this plug-in for Oracle db as well? If so what is 
the configuration?

Original issue reported on code.google.com by hesha...@gmail.com on 26 Mar 2014 at 9:16

GoogleCodeExporter commented 8 years ago
Any updates about my request?

Original comment by hesha...@gmail.com on 27 Mar 2014 at 4:38

GoogleCodeExporter commented 8 years ago
Yes, it is certainly possible.
You can see an example of Oracle DataSource for server.xml in an older JIRA 
documentation:
https://confluence.atlassian.com/display/JIRA043/Connecting+JIRA+to+Oracle#Conne
ctingJIRAtoOracle-Tomcat%28orJIRAStandalone%29

You can put it inside <Context>...</Context> of "JIRA/conf/server.xml".
Do not forget to replace in the dbconfig.xml file, 
"<jdbc-datasource>...</jdbc-datasource>" with 
"<jndi-datasource><jndi-name>java:comp/env/jdbc/JiraDS</jndi-name></jndi-datasou
rce>" (take a backup before).

Reference:
https://code.google.com/p/javamelody/wiki/AtlassianPlugin

Can we close this issue?

Original comment by evernat@free.fr on 6 Apr 2014 at 1:56

GoogleCodeExporter commented 8 years ago
No response from the reporter, so resolving as incomplete/invalid.

Original comment by evernat@free.fr on 20 Apr 2014 at 11:15