Coder Social home page Coder Social logo

emicklei / selfdiagnose Goto Github PK

View Code? Open in Web Editor NEW
1.0 5.0 10.0 960 KB

a Java library of diagnotistic tasks that can verify the availability of external resources required for the execution of a J2EE application.

License: Apache License 2.0

Ruby 0.27% Java 97.89% CSS 1.35% XSLT 0.46% Makefile 0.04%

selfdiagnose's Introduction

SelfDiagnose

SelfDiagnose is a library of diagnotistic tasks that can verify the availability of external resources required for the execution of a Java web application.

How does it help?

When applications are deployed on a development, test or production environment, you need to perform integration tests to verify that all systems are working together and provide the application functionality. Although your application is properly JUnit tested, the validity highly depends on its environment. For instance, the Web container should accept incoming requests, database connections can be established, log files are writeable, etc. Depending on your level of automation in deployment, problems in the configuration of your environment will prevent the application from working as expected. And even if your environment is setup correctly, will it be available 24x7? SelfDiagnose can help detect such problems during both deployment and in production. Reports can provide information about possible causes of application problems that are related to the availability of external resources.

How does it work?

SelfDiagnose provides a collection of diagnostic tasks that check some external or internal aspect required by the application. For instance, the task CheckURLReachable verifies that a connection to a server can be opened. The task CheckJNDIBinding verifies that a resource can be found in a naming server. CheckDatabaseTableExists simply does what it says. Using a simple XML configuration, you specifiy which tasks should run. Running the tasks is requested through a servlet that responds with a report.

Documentation

The documentation of the project is currently being moved from the old Sourceforge site to the GitHub wiki pages. The GitHub wiki will be up to date but the the Sourceforge documentation may still be more complete.

© 2004-2016. ernestmicklei.com, Apache License 2.0

selfdiagnose's People

Contributors

emicklei avatar mzeijen avatar amohabir avatar phildebrand avatar bendh avatar mrotteveel avatar rlindooren avatar

Stargazers

 avatar

Watchers

 avatar  avatar James Cloos avatar soruce avatar  avatar

selfdiagnose's Issues

Wiki not accurate

The Wiki page is not accurate:

  • The XSD mentioned in 'Getting Started' is not reachable (404 - Not Found);
  • In Task Overview the examples are incorrect, for example "checkdirectoryaccessible". According to the example the element has name, read and write as attributes. According to the xsd@githubusercontent these should be path and writeable;
  • The "Creating custom tasks" links to "../selfdiagnose/wiki/Creating-custom-tasks" which does not exist. "../selfdiagnose/wiki/Custom-tasks" does exist.

Example for Spring Managed Bean

Do you have a fully working example for a Spring Managed Bean? According to the Wiki it should be quite straightforward, but the html just returns a FAILED indication. There's no logging from selfdiagnose, and the run(ExecutionContext...) method is not being called.

I'm using Spring annotations btw.

Thanks,
Bernard Tocht

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.