Commit f8110783 authored by kmandhre's avatar kmandhre

change for remove Out Of Memory Error Exception


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@93358 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 179eb8ce
......@@ -761,10 +761,13 @@ public class GenVal
static void writeLog(File f,String Msg,boolean flag)
{
try{
if(! CommonConstants.DEBUG_LEVEL.equals("0")) // added by kunal on 17/07/13 ,for remove Out Of Memory Error
{
PrintWriter pw = new PrintWriter((new FileOutputStream(f,flag)),flag);
pw.println("PosSave ::"+Msg);
pw.close();
}
}
catch(Exception exWm){exWm.printStackTrace();}
}
//end functions added by msalam on 22/11/07 for appending log in jboss logg
......
......@@ -83,7 +83,7 @@ public class GenValidate extends ValidatorEJB implements GenValidateLocal , Gen
System.out.println( "winName :: " + winName );
System.out.println( "objContext :: " + objContext );
System.out.println( "focusedRow :: " + focusedRow );
System.out.println( "xmlString2 :: " + xmlString2 );
//System.out.println( "xmlString2 :: " + xmlString2 ); comment by kunal on 17/07/13 ,for remove Out Of Memory Error
//errCode = genVal.genVal(winName,objContext,dom,conn);
//****errCode = genVal.genVal(winName,objContext,dom, focusedRow, conn);
GenVal genVal = new GenVal();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment