Message2002
Problem:
In Jython2.2b1,
When Multiple instances of PythonInterpreter is created and each instance executes a Jython script parallely in separate Threads,
then some instances fails to execute the Jython script throwing errors like NameError, ImportError, AttributeError, TypeError.
In Jython2.1,no such problem occurs.
Environment:
Jython version :Jython2.2b1
Java version: 1.5.0_06
OS version: Solaris 5.10
Supporting materials:
A sample code [JythonInterpreter.java] which creates multiple instances of PythonInterpreter and executes a jython script[test1.py] parallely is attached.
Please go though the Instructions.txt for executing and simulating the problem.
Questions:
1.What is the cause for the problem?
Note:In jython2.1 ,same code executes fine.
2.Any solutions available?
Thanks a lot!!!
|
|
Date |
User |
Action |
Args |
2008-02-20 17:18:06 | admin | link | issue1822811 messages |
2008-02-20 17:18:06 | admin | create | |
|