简体   繁体   English

Linux上的Apache Tomcat服务器

[英]Apache Tomcat server on linux

I have installed java and tomcat appache server on linux. 我已经在Linux上安装了Java和tomcat appache服务器。 When i am going to start tomcat using ./startup.sh command on linux server, it gives output as 当我要在Linux服务器上使用./startup.sh命令启动tomcat时,它的输出为

Using CATALINA_BASE:   /usr/src/apache-tomcat-5.5.28
Using CATALINA_HOME:   /usr/src/apache-tomcat-5.5.28
Using CATALINA_TMPDIR: /usr/src/apache-tomcat-5.5.28/temp
Using JRE_HOME:        /usr/src/jdk1.6.0_16
Using CLASSPATH:       /usr/src/apache-tomcat-5.5.28/bin/bootstrap.jar

but server is not started. 但服务器未启动。

after that when i am firing javac command ,it generates following error 之后,当我触发javac命令时,它会产生以下错误

Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.

i am not getting the right reason for that. 我没有得到正确的理由。 I am new with linux. 我是linux新手。 Please help me. 请帮我。

Thanks in advance 提前致谢

Could not reserve enough space for object heap. 无法为对象堆保留足够的空间。

Looks like there is not enough memory given for the initialisation. 似乎没有足够的内存进行初始化。 Check the given memory...and reconfigure your memory size for the JVM. 检查给定的内存...并为JVM重新配置您的内存大小。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM