[jboss-dev-forums] [Design of JBoss Profiler] - Re: Web app fails to start - managed beans missing no-argume
rhills
do-not-reply at jboss.com
Fri Nov 28 07:20:57 EST 2008
"jesper.pedersen" wrote : A quick follow-up -- look into the CombinedFrameInfo class in the client package which maybe what you are looking for.
|
| Or create a class hierarchy like ThreadInfoManagedBean -> ThreadInfo -> FrameInfo -- where the last two are from shared and be used in the web ui since they implements Serializable. ThreadInfoManagedBean is a managed bean with a non-arg constructor and defined in faces-config.xml
|
| Hope this gives you an idea...
It does thanks. As it happens, ThreadInfo is only used in xhtml as a class to hold row data (from treeThreadBean.allThreads where treeThreadBean is a legitimate managed bean. Hence I don't believe I'll need to create a managed bean for ThreadInfo, I can simply remove it from faces-config.xml. From my brief look into the faces-config.xml file it appears that a number of classes have been defined in there as managed beans that shouldn't have been (eg ThreadInfo, Snapshot, FrameInfo, AllocationInfo and others, none of which are referenced anywhere in the .xhtml as managed beans). I'll investigate each one and remove as necessary. If a bean is needed, I'll abstract one into the .web package as discussed.
Cheers,
Rob Hills
Waikiki, Western Australia
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193002#4193002
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193002
More information about the jboss-dev-forums
mailing list