[jboss-as7-dev] AS 7 stacktraces

Max Rydahl Andersen max.andersen at redhat.com
Mon Apr 18 06:07:43 EDT 2011


Just realized that AS 7 spits out extra context in the error log about java stacktraces (its not in the error pages shown to users):

Every stacktrace line has things like [jbossweb-7.0.0.Beta8.jar:7.0.0.Beta2]

My question is how I go from that information to the *actual* jar.

Doing a 
find . -name jbossweb-7.0.0.Beta8*

gives me /modules/org/jboss/as/web/main/jbossweb-7.0.0.Beta8.jar

but I assume there could actually be multiple jars with that name in separate modules.

What I'm looking for is a way from tooling to be sure I'm going to show the *right* jar's sourcecode and not just
one random one of many possible ones ;)

...btw. i'm still really interested in understanding how we can provide a classpath based on AS 7 modules to users
so they don't have to also get Maven and other things to work before they can start building/deploying to AS 7.

My assumption is that if there is an algorithm to figure out the above, I can use that to also provide a full classpath 
eventually ;)

/max
http://about.me/maxandersen







More information about the jboss-as7-dev mailing list