From 11b5950be66bcc9d6f0bb28d3fc9d211bc70f4d9 Mon Sep 17 00:00:00 2001 From: tknall Date: Tue, 16 Mar 2010 12:07:29 +0000 Subject: Catching OutOfMemory exceptions, returning appropriate error message/code Binary signature: bug concerning indirect pdf objects fixed SignaturePositioning improved (Signature position can be declared by String which is parsed) Some more error codes (Out of memory, Invalid signature position) iText utility for creation of pdf files added ConfigUtils updated (destination of configuration to be extracted can now be chosen) PDFASUtils updated (more tools) WebApplication: Freetext pdf creation implemented WebApplication: XSS security updates git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@580 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c --- src/main/distribution/brz/pdf-as.bat | 2 +- src/main/distribution/cl/pdf-as.bat | 2 +- src/main/distribution/cl/pdf-as.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/main/distribution') diff --git a/src/main/distribution/brz/pdf-as.bat b/src/main/distribution/brz/pdf-as.bat index 88eb615..059b977 100644 --- a/src/main/distribution/brz/pdf-as.bat +++ b/src/main/distribution/brz/pdf-as.bat @@ -5,4 +5,4 @@ rem Note: Configuration is not deployed if it already exists. rem java -Dpdf-as.work-dir=. -jar ${project.build.finalName}.jar -ddc rem Start commandline -java -Dpdf-as.work-dir=. -jar ${project.build.finalName}.jar %* +java -Xms128m -Xmx786m -XX:MaxPermSize=256m -Dpdf-as.work-dir=. -jar ${project.build.finalName}.jar %* diff --git a/src/main/distribution/cl/pdf-as.bat b/src/main/distribution/cl/pdf-as.bat index c4753c5..0cadb9a 100644 --- a/src/main/distribution/cl/pdf-as.bat +++ b/src/main/distribution/cl/pdf-as.bat @@ -5,4 +5,4 @@ rem Note: Configuration is not deployed if it already exists. java -jar ${project.build.finalName}.jar -ddc rem Start commandline -java -jar ${project.build.finalName}.jar %* +java -Xms128m -Xmx786m -XX:MaxPermSize=256m -jar ${project.build.finalName}.jar %* diff --git a/src/main/distribution/cl/pdf-as.sh b/src/main/distribution/cl/pdf-as.sh index 254b86a..f47bc5f 100644 --- a/src/main/distribution/cl/pdf-as.sh +++ b/src/main/distribution/cl/pdf-as.sh @@ -5,4 +5,4 @@ java -jar ${project.build.finalName}.jar -ddc # Start commandline -java -jar ${project.build.finalName}.jar $@ +java -Xms128m -Xmx786m -XX:MaxPermSize=256m -jar ${project.build.finalName}.jar $@ -- cgit v1.2.3