Performance Testing, LoadRunner Tips&Tricks

This site is moving to a bigger space @ LoadRunner TnT

Protocols: Java Error - java.lang.NoClassDefFoundError

I had a question from a visitor with regards to a Java error. The error message is as followed.

java.lang.NoClassDefFoundError: jhook/HookMetaData
at java.rmi.Naming.lookup(Naming.java)
at pie.engine.atp.ClientRMI.getRemoteModuleImpl(ClientRMI.java:256)
at pie.engine.atp.ClientATPRemoteEx.getRemoteModule(ClientATPRemoteEx.java:89)
at pie.engine.atp.ClientATPRemoteEx.getRemoteModule(ClientATPRemoteEx.java:64)
at pie.engine.atp.VirtualRemoteServer.setupPingRemote(VirtualRemoteServer.java:102)
at pie.engine.atp.VirtualRemoteServer.pingServer(VirtualRemoteServer.java:166)
at pie.engine.atp.CacheTimer$1.run(CacheTimer.java:47)
at java.util.TimerThread.mainLoop(Timer.java:432)
at java.util.TimerThread.run(Timer.java:382)


I did not have straight answer for him initially but, he was able to resolve the problem by himself with the following command script (inclusion of the Xbootclasspath).

-Xbootclasspath/p:"D:\Program Files\LoadRunner\classes;D:\Program Files\LoadRunner\classes\srv"

Once that was added, the script worked for him! Well hope this is useful to anyone that is encountering the same problem.


Related Topic

Working with CORBA-Java
Working with RMI-Java
Working with Java - Introduction

Labels: , , ,


Bookmark this article now! AddThis Social Bookmark Button



technorati del.icio.us reddit digg

1 Responses to “Protocols: Java Error - java.lang.NoClassDefFoundError”

  1. # Blogger Shivakumar

    Yeah i have the same problem. hope this helps. i will try  

Post a Comment


Powered by Google

Enter your email address:

Delivered by FeedBurner


Add to Technorati Favorites


XML

Powered by Blogger

make money online blogger templates

Powered by FeedBurner

Blog Directory

Top Blogs

Software Blogs -  Blog Catalog Blog Directory





© 2007 Performance Testing, LoadRunner Tips&Tricks | Blogger Templates by GeckoandFly.
No part of the content or the blog may be reproduced without prior written permission.
Learn how to make money online | First Aid and Health Information at Medical Health