[jboss-user] [JBoss Seam] - Re: Seam configuration questions

norman.richards@jboss.com do-not-reply at jboss.com
Wed Dec 6 17:26:00 EST 2006


Well, even "for a given deployment or application" isn't consistent.   Your web app has a different view of classes than your EAR.  

If you are running with a scoped classloader, which you should be doing with a Seam application (and honestly, it is how you should deploy EVERY application on JBoss) then you can look at MBean for your repository in the JMX Console.  (look an MBean of the same name as your the repository listed in your jboss-app.xml).  One of the attributes there is URLs, which gives you a list of all the elements on in the classpath for the root of your deployment.

You might also want to check out the displayClassInfo action.  You can enter a class name, and the action will let you know which jar a specific class has been loaded from.  (assuming it has been loaded at all)

The default shared repository is JMImplementation:name=Default,service=LoaderRepository.     If you scope ALL of your applications then you really won't need to look there much, but it's good to know where it is if you need it.



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991798#3991798

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991798



More information about the jboss-user mailing list