Issue1822811
Created on 2007-10-30.14:23:22 by karthin, last changed 2007-10-30.14:23:22 by karthin.
File name |
Uploaded |
Description |
Edit |
Remove |
prototype.zip
|
karthin,
2007-10-30.14:23:22
|
Contains the code that simulates the problem |
|
|
msg2002 (view) |
Author: karthin (karthin) |
Date: 2007-10-30.14:23:22 |
|
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!!!
|
msg2003 (view) |
Author: Oti Humbel (otmarhumbel) |
Date: 2007-10-30.15:15:45 |
|
IMHO this is a duplicate of bug 1735864, which is fixed for the final 2.2 release.
The older bug describes the problem pretty well.
I recommend upgrading to Jython 2.2, or even better to Jython 2.2.1
|
|
Date |
User |
Action |
Args |
2007-10-30 14:23:22 | karthin | create | |
|