[jboss-dev-forums] [Design of JBoss Profiler] - Re: JBoss Profiler 2

alwinint do-not-reply at jboss.com
Fri Jan 25 04:36:14 EST 2008


Hi,

so far, I was successuflly able to set up the profiler as I see the MBean in the JMX console. Starting works fine, but it seems that the proerties file is completely ignored (which I put in the server's bin directory and included the setting in the run.conf).

Secondly, if I try to issue a stopProfiler or snapshot command, I get:

java.lang.NullPointerException
        at org.jboss.profiler.agent.ClassUtil.getClasses(ClassUtil.java:80)
        at org.jboss.profiler.agent.Profiler.stopProfiler(Profiler.java:146)
        at org.jboss.profiler.connectors.AbstractHandler.handleCommand(AbstractH
andler.java:51)
        at org.jboss.profiler.connectors.SocketHandler.invoke(SocketHandler.java
:50)
        at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:734)
        at org.jboss.remoting.transport.socket.ServerThread.processInvocation(Se
rverThread.java:560)
        at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.j
ava:369)
        at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.jav
a:165)
        at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientI
nvoker.java:163)
        at org.jboss.remoting.Client.invoke(Client.java:1550)
        at org.jboss.remoting.Client.invoke(Client.java:530)
        at org.jboss.remoting.Client.invoke(Client.java:518)
        at org.jboss.profiler.client.cmd.Client.main(Client.java:252)

even though I tried to add some classes before (and also set the include proerty in the file). I am using JBoss 4.0.4-GA right now. Is there anything which I can change?


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

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



More information about the jboss-dev-forums mailing list