Message2002

Author karthin
Recipients
Date 2007-10-30.14:23:22
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
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!!!

History
Date User Action Args
2008-02-20 17:18:06adminlinkissue1822811 messages
2008-02-20 17:18:06admincreate