Hi there,

I desperately need your help! I've been dealing with this error message 
for more than a week now and nobody has been able to help me...

I am trying to probe a java application using the standalone TPTP probekit 
agent with the following linux command:

java 
'-agentlib:JPIBootLoader=JPIAgent:server=standalone;ProbekitAgent:ext-pk-BCILibraryName=BCIEngProbe,ext-pk-probescript=ome/anis/qf-t/core/probe/testProbe.probescript'
 junit.textui.TestRunner quickfix.test.acceptance.AcceptanceTestSuite

my application is actually a junit testcase...

Running the above command, the probing starts and I am able to see the 
runtime traces. However, at some point during execution I am getting the
 runtime exception: java.lang.NoClassDefFoundError: 
testProbe_probe$Probe_0

which is my probe file that has been needed from the start to print the 
traces!!???.....

Well, here are some facts:
-I am able to probe other applications, including a simple junit test:

java 
'-agentlib:JPIBootLoader=JPIAgent:server=standalone;ProbekitAgent:ext-pk-BCILibraryName=BCIEngProbe,ext-pk-probescript=ome/anis/qf-t/core/probe/testProbe.probescript'
 junit.textui.TestRunner quickfix.test.acceptance.AnisJUnitTestExample

-I am able to run the quickfix.test.acceptance.AcceptanceTestSuite using junit 
(no probing):

java junit.textui.TestRunner quickfix.test.acceptance.AcceptanceTestSuite

-I have set the path to testProbe_probe$Probe_0 in CLASSPATH
-I have called the System.getenv("CLASSPATH") from within my testcase and the 
CLASSPATH seems to be fine
-my testcase deals with threads, sockets, etc

And my system configuration is:
-os: ubuntu 10.04-64bit (on VirtualBox!)
-java version "1.6.0_24"
-junit: junit-4.10.jar
-TPTP agent controller: agntctrl.linux_em64t-TPTP-4.7.2

Any ideas??

Please, advise. I've tried many many things with no success...

Thanks,
Anis
_______________________________________________
tptp-tracing-profiling-tools-dev mailing list
tptp-tracing-profiling-tools-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/tptp-tracing-profiling-tools-dev

Reply via email to