1
我想運行一個名爲Openbravo的開源ERP軟件,我正在使用亞馬遜EC2 Web服務。我通過使用ssh的VMWare終端成功登錄到系統。這部分一切正常。但是,當我執行以下命令停止並重新啓動tomcat服務時,在部署上下文[失敗]時出現錯誤。 請讓我知道你需要什麼樣的日誌文件。我有內容catalina.log錯誤部署上下文tomcat
我已經增加了內存通過更改tomcat.sh Xmx1024M到Xmx2048M但仍然是相同的錯誤。
# /tmp/hs_err_pid6079.log
CompilerOracle: excludenet/sf/jasperreports/engine/export/JRGridLayout.horizontallyMergeEmptyCells
Aug 14, 2015 2:49:20 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-127.0.0.1-8009"]
Aug 14, 2015 2:49:21 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1007 ms
Aug 14, 2015 2:49:21 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Aug 14, 2015 2:49:21 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.52 (Ubuntu)
Aug 14, 2015 2:49:21 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /var/lib/tomcat/webapps/openbravo
OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00000007b5f4b000, 196608, 0) failed; error='Cannot allocate mem$
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (malloc) failed to allocate 196608 bytes for committing reserved memory.
# An error report file with more information is saved as:
# /tmp/hs_err_pid6733.log
分區上有131GB可用空間。我想這應該夠了吧? –
我想你可能會有一堆非常大的堆,不適合那個;)配額或類似的東西呢? –
嗨克里斯托弗,我不確定你的配額是什麼意思,你能提供更多的信息嗎? –