Hi,
I'm using Oracle Plugin and its works fine generate incidents if Oracle Server is running properly,But if Oracel Server is down then in that case it gives me error and not able to generate Incidents.
Please suggest.
Answer by amol k. ·
Hi Andi,
Thanks, I have seen this doc in that also they mentioned that we have logs file to debug code But in that case every time i have change code and have to test under Plugin Development Tab which very time consuming.
I want how I can Debug/test code in eclipse only.
Please suggest.
Hi Amol,
You cannot test the plugin directly in Eclipse as it requires a testing environment that passes the correctly initialized objects to the setup, execute and teardown methods. That is why we have the test tab in the plugin development environment so you can try the plugin before deploying it back to the server.
Best, Roman
Answer by Derek A. ·
Not the creator, just commenting. I've added several additional measures to this plugin on my end so I can add something to handle this if need be. You could get the "Database Connection Failed" message either if the database server is down or if simply the connection was bad (i.e. incorrect username/password) so maybe this could be changed further to know the difference. When looking at the guts of the plugin it't not to difficult to add additional measures as long as you know the SQL queries you want to use.
Hi,
Can anybody suggest me how I can Debug plugin code in eclipse,As currently I have to change code in eclipse editor and then I have to
test on Dynatrace Server Plugin development section which is very much time consuming.
Please suggest.
Amol.
Check out the following doc page - it contains a section on debugging plugins in Eclipse: Best Practices and Examples
Answer by Andreas G. ·
Hi
The Oracle Plugin is a community plugin. On the download page you can see the original author. I think this would be a nice enhancement request for the plugin - so - instead of failing it could return a measure indicating the status of the db connection.
Please contact the plugin owner and discuss whether this can be added to the plugin
Andi
JANUARY 15, 3:00 PM GMT / 10:00 AM ET