//String executionId = uuid_local.toString();
//executionId = executionId.replaceAll("-", "");
String flgTemplateStandard = "true";
//ContentServiceProxy contentProxy=new ContentServiceProxy(userId,session);
ContentServiceProxy contentProxy=new ContentServiceProxy(userUniqueIdentifier,session);
try {
String tmpDirectory = System.getProperty("java.io.tmpdir");
// all jar needed by JR to succesfully compile a report should be on this path
// (by default is WEB_INF/lib)
setJRClasspath(getJRLibDir(servletContext));
HashMap requestParameters = ParametersDecoder.getDecodedRequestParameters(servletRequest);
Content template=contentProxy.readTemplate( documentId,requestParameters);
if (template==null){
logger.error("The document haven't the template.documentId="+documentId+" userUniqueIdentifier="+userUniqueIdentifier);
return;
}
logger.debug("Read the template."+template.getFileName());