JRat configuration

Hey,

I tried to install and configure JRat a profiling tool. At the last paragraph it says:

"1. Add shiftone-jrat.jar to your application's classpath.

2. Add a system property to configure the JRat handler factory. This requires that a parameter be added to the VM command line. The parameter that needs to be added is shown in the box below.

-Djrat.factory=org.shiftone.jrat.provider.tree.TreeMethodHandlerFactory"

What is meant by the configuration of the JRat handler family?

So this is what I did, I copied the shiftone.jar into the folder where

I already have the packge folder which contain my class files. Then

I tried it this way:

user@Zebulon performance $ ll

total 408

-rwxrwxrwx 1 root root 408255 2005-05-13 15:57 shiftone-jrat.jar

drwxrwxrwx 2 root root8192 2005-05-13 16:04 transform/

user@Zebulon performance $ java -Djrat.factory=org.shiftone.jrat.provider.tree.TreeMethodHandlerFactory transform/ProcessCalculationGrafical

Exception in thread "main" java.lang.NoClassDefFoundError: org/shiftone/jrat/core/HandlerFactory

at transform.Presentation.<clinit>(Presentation.java)

As you can see, it gave me that NoClassDefFoundError.

Sure I don't have any folder in there by the path of org/shiftone/jrat/provider/tree...but how can I fix that?

[1376 byte] By [Corcovadoa] at [2007-10-1 13:40:49]
# 1

Exception in thread "main" java.lang.NoClassDefFoundError: org/shiftone/jrat/core/HandlerFactory

This is an indication that you application code is trying to access JRat classes but can't. Make sure that the jrat jar is avalible to your running application.

It this is an application server, put the JRat jar in the boot classpath.

jeff@shiftone.orga at 2007-7-10 16:44:37 > top of Java-index,Archived Forums,Debugging Tools and Techniques...