tbaldarelli
Programmer
Hello,
I am trying to get tomcat to run on RedHat 7.1 and have had many problems. Let me list them out to help in the understanding:
1. I installed j2se 1.4.2 and seem to be having problems. See below:
[tonyb]> ./java -version
Error occurred during initialization of VM
Could not reserve enough space for object heap
[tonyb]>
[tonyb]> ./java -Xmx32 -version
java version "1.4.2_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_06-b03)
Java HotSpot(TM) Client VM (build 1.4.2_06-b03, mixed mode)
[tonyb]>
2. I try to start tomcat via the startup.sh script, and get the following exception:
Caused by: java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start(Native Method)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.<init>(ThreadPo
ol.java:642)
at org.apache.tomcat.util.threads.ThreadPool.openThreads(ThreadPool.java:515
)
at org.apache.tomcat.util.threads.ThreadPool.start(ThreadPool.java:148)
at org.apache.tomcat.util.net.PoolTcpEndpoint.startEndpoint(PoolTcpEndpoint.
java:284)
So, since threads seem to not be working, maybe I installed something wrong? Or maybe I need another shared library for RedHat 7.1.
Thanks for any help you can give.
Tony
I am trying to get tomcat to run on RedHat 7.1 and have had many problems. Let me list them out to help in the understanding:
1. I installed j2se 1.4.2 and seem to be having problems. See below:
[tonyb]> ./java -version
Error occurred during initialization of VM
Could not reserve enough space for object heap
[tonyb]>
[tonyb]> ./java -Xmx32 -version
java version "1.4.2_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_06-b03)
Java HotSpot(TM) Client VM (build 1.4.2_06-b03, mixed mode)
[tonyb]>
2. I try to start tomcat via the startup.sh script, and get the following exception:
Caused by: java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start(Native Method)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.<init>(ThreadPo
ol.java:642)
at org.apache.tomcat.util.threads.ThreadPool.openThreads(ThreadPool.java:515
)
at org.apache.tomcat.util.threads.ThreadPool.start(ThreadPool.java:148)
at org.apache.tomcat.util.net.PoolTcpEndpoint.startEndpoint(PoolTcpEndpoint.
java:284)
So, since threads seem to not be working, maybe I installed something wrong? Or maybe I need another shared library for RedHat 7.1.
Thanks for any help you can give.
Tony