[Design of JBoss Profiler] - Re: Profiler basically sucks
by clebert.suconic@jboss.com
"Kunthar" wrote : After 3 hours of garbage work, this profiler sucks.
| 1. Installation sucks,
| Impossible to work on win32 with jboss 4.0.4 G.A a mountain Zion and JRE 1.4.2.
I agree with you on the interface.
However the installation is pretty simple. Just add -XrunjbossInspector:/directory and you're done. Other profiler are way much more complicated to install than this one.
anonymous wrote :
| 2. After testing two different jboss installations and including JDK 1.5, appearing interface sucks,
| getting gzip errors, stream errors all those nonsense sucks.
|
You probably didn't do something basic as stopping the ouptut.
anonymous wrote :
| Why i wrote this?
| Simply i hate spending my time with garbage pet projects and i already spent my time with pet hair profiler around 3-4 hours.
|
| You need professional error details, some outputs? Go get yourself...
|
| Great job,
| Kunthar
|
You want that level of support/confidence... go buy a license of a commercial product!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3968647#3968647
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3968647
18 years, 2 months
[Design of JBoss Portal] - ObjectContextualizer - Cast to Hibernate Implementation Clas
by louth
Hi,
With the recent JBoss Portal releases have run into a issue with a Hibernate extension we created because of a the class within the Portal that explicitly references an Hibernate implementation class rather than the standard interface. Can the following not be done via the standard configuration file.
public class ObjectContextualizer
{
public Object context;
public ObjectContextualizer(Object context)
{
this.context = context;
}
public void attach(SessionFactory sessionFactory)
{
EventListeners listeners = ((SessionFactoryImpl)sessionFactory).getEventListeners();
PostLoadEventListener[] lels1 = listeners.getPostLoadEventListeners();
PostLoadEventListener[] lels2 = new PostLoadEventListener[lels1.length + 1];
System.arraycopy(lels1, 0, lels2, 1, lels1.length);
lels2[0] = new PostLoadEventListener()
{
public void onPostLoad(PostLoadEvent postLoadEvent)
{
Object entity = postLoadEvent.getEntity();
if (entity instanceof ContextObject)
{
ContextObject object = (ContextObject)entity;
object.setContext(context);
}
}
};
listeners.setPostLoadEventListeners(lels2);
}
}
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3968628#3968628
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3968628
18 years, 2 months