You can check your applicationss vulnerabilities here (for example): cvedetails
or in the NIST's VDB
If you found some vulns, then you can test with some penetration testing tools. Most of time you can easily find an (if it exist) exploit for vulnerability in MetaSploit Database or in Google.
And for other question:
(RedHat)JBoss Web and (Apache)Tomcat doesn't same thing.
Both JBoss and Tomcat are Java servlet application servers, but JBoss
is a whole lot more. The substantial difference between the two is
that JBoss provides a full Java Enterprise Edition (JEE) stack,
including Enterprise JavaBeans and many other technologies that are
useful for developers working on enterprise Java applications. Tomcat
is much more limited. One way to think of it is that JBoss is a JEE
stack that includes a servlet container and web server, whereas
Tomcat, for the most part, is a servlet container and web server.
You can read more here
So no, both of them has different vulnerabilities.
More related information:
Most of time the vendors of software (if they notice vulns) will announce the issue after fix-patch release. If you working with mostly JBoss, then you should subscribe to RedHat's security newsletters. Its important to take care of security, I think this is the (mostly) fastest way to keep up-to-date my knowledges about vulnerabilities.
(English is not my mother tongue; please excuse any errors on my part.)