Add sample of Oracle-JDBC config to documentation
Monitor Java applications - SQL, HTTP, Methods, Exceptions and more.
Brought to you by:
stevesouza
I spent some time to get the JDBC-Proxy driver configured in a tomcat environment. The reason was that it works withou the '?' in the connection url (found solutions it in the forum). It would be helpful to see a sample in the doc (or is it a bug?)
Here is my config before and after modification:
driverClassName="oracle.jdbc.OracleDriver"
url="jdbc:oracle:thin:@dbms:1521:DB"
driverClassName="com.jamonapi.proxy.JAMonDriver"
url="jdbc:jamon:oracle:thin:@dbms:1521:DBjamonrealdriver=oracle.jdbc.driver.OracleDriver"
note the missing '?' before 'jamonrealdriver'
Logged In: YES
user_id=828052
Originator: NO
It is working as designed. The jamon driver strips any references that apply to jamon from the url and simply passes the rest of the url to the underlying driver. The driver must be able to understand anything that is passed. Oracle doesn't understand '?'. I placed your example on the main documenation page and will deploy it sooon.
http://jamonapi.cvs.sourceforge.net/\*checkout*/jamonapi/jamonapi/src/JAMonUsersGuide/index.html?revision=1.30#WhatsNew22