게시물들을 찾아보니 jython 2.2 -> 2.5 올리는 방식으로
script 위치 lib안에 jython jar들을 넣어서 사용하는 방식으로 해보았지만
아래와 같은 PyException이 발생하면서 기존에 돌던 스크립트가 진행이 안됩니다.
2016-01-13 13:44:39,124 INFO Instrumentation agents: byte code transforming instrumenter for Jython 2.5; byte code transforming instrumenter for Java
2016-01-13 13:44:41,874 ERROR worker-bootstrap: Error running worker process
org.python.core.PyException: null
at org.python.core.Py.ImportError(Py.java:328) ~[jython-2.7.0.jar:na]
at org.python.core.Py.importSiteIfSelected(Py.java:1563) ~[jython-2.7.0.jar:na]
at org.python.util.PythonInterpreter.<init>(PythonInterpreter.java:116) ~[jython-2.7.0.jar:na]
at org.python.util.PythonInterpreter.<init>(PythonInterpreter.java:94) ~[jython-2.7.0.jar:na]
at net.grinder.scriptengine.jython.JythonScriptEngine.<init>(JythonScriptEngine.java:98) ~[grinder-core-3.9.1.jar:na]
at net.grinder.scriptengine.jython.JythonScriptEngineService.createScriptEngine(JythonScriptEngineService.java:104) ~[ngrinder-runtime-3.3.jar:na]
at net.grinder.engine.process.ScriptEngineContainer.getScriptEngine(ScriptEngineContainer.java:105) ~[grinder-core-3.9.1.jar:na]
at net.grinder.engine.process.GrinderProcess.run(GrinderProcess.java:329) ~[ngrinder-runtime-3.3.jar:na]
at net.grinder.engine.process.WorkerProcessEntryPoint.run(WorkerProcessEntryPoint.java:87) [grinder-core-3.9.1.jar:na]
at net.grinder.engine.process.WorkerProcessEntryPoint.main(WorkerProcessEntryPoint.java:60) [grinder-core-3.9.1.jar:na]
nGrinder v3.3 환경이구요.
아래 두 jar를 lib 폴더에 넣었습니다.
https://repo1.maven.org/maven2/org/python/jython/2.7.0/jython-2.7.0.jarhttps://repo1.maven.org/maven2/org/python/jython-standalone/2.7.0/jython-standalone-2.7.0.jar2.7일 경우는 뭔가를 더 해야 하나요??