JavaRecordReplay Script cannot play

I could successfully record a script using protocol Java Record Replay. However when I replay it, it is giving me the following error. Can anyone help please?

Error

Actions.java(61): Error: javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:313)
javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:350)
javax.naming.InitialContext.lookup(InitialContext.java:417)
Actions.action(Actions.java:61)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:498)
com.hpe.lr.java.replay.ScriptContainer.invoke(ScriptContainer.java:68)
com.hpe.lr.java.replay.ScriptContainer.action(ScriptContainer.java:59)

Line of Code       
60        _string1 = "com/retek/rpm/app/core/service/RPMCommandExecutionService";
61        _object1 = ((javax.naming.Context)_initialcontext2).lookup(_string1);

Parents Reply Children
No Data