Hi,

if I understand correctly you are able to successful run DSpace-CRIS but it 
takes (relatively) to much time to startup.

Try to set a lower minimum of memory allocation, this could speed up the 
startup process a bit

JAVA_OPTS="-Dfile.encoding=UTF-8 -server -Xms512m -Xmx2048m -XX:PermSize=256m 
-XX:MaxPermSize=1024m"

if you are using java8 the permgen settings, in bold in the previous setting, 
are not relevant as they are not longer used.

Another things that you can do, and by direct experience I can say that this 
save lot of time, is to add almost all the jars name that are inside the 
webapps/jspui/WEB-INF/lib folder at the end of the 
tomcat.util.scan.StandardJarScanFilter.jarsToSkip  property in the 
catalina.properties file.
The only jar names that you MUST NOT include in this list are the one named 
jdyna*.jar

Please let us know if it help if so, share your new configuration so that I can 
put a note in the dspace-cris documentation about this improvements.
Andrea

Il 10/11/2016 02:41, 陳彥棠 ha scritto:
Dear all

I am sorry that my English is not good

I run dspace-cris restart tomcat long time.....

I set up memory parameters for tomcat

tomcat => catalina.sh

add   JAVA_OPTS="-Dfile.encoding=UTF-8 -server -Xms1024m -Xmx2048m 
-XX:PermSize=512m -XX:MaxPermSize=1024m"

restart tomcat => catalina.log

org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for 
TLDs yet contained no TLDs. Enable debug logging for this logger for a complete 
list of JARs that were scanned but no TLDs were found in them. Skipping 
unneeded JARs during scanning can improve startup time and JSP compilation time.


Waiting for a long time.....

If I do not set the memory parameters for the tomcat  that dspace-cris  failed 
to start...

Tomcat the same memory settings  that I run dspace 5.5 is no problem.....
but run dspace-cris is long time .......

Environment settings
centos7
tomcat 8.0.38
postgreSQL 9.5
java  1.8
ant 1.9.7
maven 3.3.9


How do I set tomcat memory parameters?
(File reference)

Regards
--
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:[email protected]>.
To post to this group, send email to 
[email protected]<mailto:[email protected]>.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


--
Andrea Bollini
Chief Technology and Innovation Officer

4Science,  www.4science.it<http://www.4science.it>
office: Via Edoardo D'Onofrio 304, 00155 Roma, Italy
mobile: +39 333 934 1808
skype: a.bollini
linkedin: andreabollini
orcid: 0000-0002-9029-1854

an Itway Group Company
Italy, France, Spain, Portugal, Greece, Turkey, Lebanon, Qatar, U.A.Emirates

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to