Thread question
Hi,
from my thread i call an external perl program like this:
String [] cmdStr = {"perl", Constants.workingPath+ File.separatorChar +"scripts"+File.separatorChar+"get_document.pl", urlPath, database, busquedaFile, Constants.patentesPath};
int exitCode =-1;
Process p=Runtime.getRuntime().exec(cmdStr);
InputStream is = p.getInputStream();
BufferedReader br = new BufferedReader (new InputStreamReader (is));
String cad=br.readLine();
while(br.readLine()!=null)
{
cad=br.readLine();
logger.info(cad);
}
The strange thing is that my thread is blocked EXACTLY IN while(br.readLine()!=null), i.e., it doesnt show the logger.info(cad) which is inside the while...
Any idea?
However he status of the thread is RUNNABLE
T

