I just tried with jdk 1,7 jar simple jar [attached here] , Its not loading in Dynamic Java execution step and lisa got stucked
PLs quicky guide me how to connect to external jars and get rid of this issue.
I placed this jar under
C:\Program Files\CA\DevTest\lib
C:\Program Files\CA\DevTest\hotDeploy
Do we have to follow any other steps ?
When tried with java script step ,
In javascript step ,
import com.util.MySampleProject;
doVersionCheck();
============================================================================
| Error in Script
============================================================================
| Step: Java Script Step
----------------------------------------------------------------------------
| Message: Sourced file: inline evaluation of: ``import com.util; MySampleProject.doVersionCheck();'' : Attempt to resolve method: doVersionCheck() on undefined variable or class name: MySampleProject : at Line: 2 : in file: inline evaluation of: ``import com.util; MySampleProject.doVersionCheck();'' : MySampleProject .doVersionCheck ( )
----------------------------------------------------------------------------
| Trapped Exception: Sourced file: inline evaluation of: ``import com.util; MySampleProject.doVersionCheck();'' : Attempt to resolve method: doVersionCheck() on undefined variable or class name: MySampleProject : at Line: 2 : in file: inline evaluation of: ``import com.util; MySampleProject.doVersionCheck();'' : MySampleProject .doVersionCheck ( )
| Trapped Message: bsh.EvalError: Sourced file: inline evaluation of: ``import com.util; MySampleProject.doVersionCheck();'' : Attempt to resolve method: doVersionCheck() on undefined variable or class name: MySampleProject : at Line: 2 : in file: inline evaluation of: ``import com.util; MySampleProject.doVersionCheck();'' : MySampleProject .doVersionCheck ( )
----------------------------------------------------------------------------
STACK TRACE
bsh.EvalError: Sourced file: inline evaluation of: ``import com.util; MySampleProject.doVersionCheck();'' : Attempt to resolve method: doVersionCheck() on undefined variable or class name: MySampleProject : at Line: 2 : in file: inline evaluation of: ``import com.util; MySampleProject.doVersionCheck();'' : MySampleProject .doVersionCheck ( )
at bsh.UtilEvalError.toEvalError(UtilEvalError.java:89)
at bsh.UtilEvalError.toEvalError(UtilEvalError.java:94)
at bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:99)
at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:102)
at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47)
at bsh.Interpreter.eval(Interpreter.java:664)
at bsh.Interpreter.eval(Interpreter.java:758)
at bsh.Interpreter.eval(Interpreter.java:747)
at com.itko.lisa.test.ScriptExecHandler.executeScript(ScriptExecHandler.java:635)
at com.itko.lisa.test.ScriptExecHandler.executeScriptOld(ScriptExecHandler.java:527)
at com.itko.lisa.test.ScriptNode._execute(ScriptNode.java:127)
at com.itko.lisa.editor.ScriptNodeEditor.execute(ScriptNodeEditor.java:100)
at com.itko.lisa.editor.ScriptNodeEditor.access$000(ScriptNodeEditor.java:42)
at com.itko.lisa.editor.ScriptNodeEditor$1.actionPerformed(ScriptNodeEditor.java:61)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: bsh.UtilEvalError: Attempt to resolve method: doVersionCheck() on undefined variable or class name: MySampleProject
at bsh.Name.invokeMethod(Name.java:835)
at bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:75)
... 47 more
============================================================================