Differences between revisions 8 and 9
Revision 8 as of 2011-05-12 21:24:37
Size: 2304
Editor: Waterloo
Comment:
Revision 9 as of 2011-07-11 20:20:08
Size: 2256
Comment:
Deletions are marked like this. Additions are marked like this.
Line 16: Line 16:
You either need to run headless or run an alternate X-server. Some more information can be found [[http://marc.theaimsgroup.com/?t=104803047600003&r=1&w=2|here]], [[http://marc.theaimsgroup.com/?l=tomcat-user&m=102335321103262&w=2|here]], or [[http://marc.theaimsgroup.com/?l=tomcat-user&m=101614645312259&w=2|here]]. You either need to run headless or run an alternate X-server. Some more information can be found [[http://marc.info/?t=104803047600003&r=1&w=2|here]], [[http://marc.info/?l=tomcat-user&m=102335321103262&w=2|here]], or [[http://marc.info/?l=tomcat-user&m=101614645312259&w=2|here]].
Line 21: Line 21:
This is a common complaint when using Solaris. Make sure you use {{{nohup}}} and see [[http://marc.theaimsgroup.com/?l=tomcat-user&m=104809785114238&w=2|this thread]] This is a common complaint when using Solaris. Make sure you use {{{nohup}}} and see [[http://marc.info/?l=tomcat-user&m=104809785114238&w=2|this thread]]

Preface

Questions

  1. When I run ps (on Linux), why do I see my java process a bazillion times!

  2. How do I run without an X server and still get graphics?

  3. Tomcat dies after I log out!

  4. Catalina.log contains : "SEVERE: StandardServer.await: create[8005] : Throwable occurred: java.net.BindException: The socket name is not available on this system."

Answers

When I run ps (on Linux), why do I see my java process a bazillion times!

Linux implemented threads as processes. Due to other gory details that is beyond the scope of this FAQ - the ps command doesn't work correctly with respect to threads. You can get more gory details here and here .

How do I run without an X server and still get graphics?

You either need to run headless or run an alternate X-server. Some more information can be found here, here, or here. Or if your are using a JVM 1.4 or better, you can use the system property java.awt.headless=true

Tomcat dies after I log out!

This is a common complaint when using Solaris. Make sure you use nohup and see this thread

Error message: "SEVERE: StandardServer.await: create[8005]: Throwable occurred: java.net.BindException: The socket name is not available on this system."

This error message can have 2 causes:

  1. Java on AIX isn't supporting IPv6 properly. Fix by inserting -Djava.net.preferIPv4Stack=true into JAVA_OPTS

  2. Your networking configuration is not correct. If you attempt to ping localhost and don't see 127.0.0.1 you need to look into your /etc/host.conf (most Unixes/Linux) or /etc/netsvc.conf (AIX) file to ensure that something like "hosts = local, bind" is present.


CategoryFAQ

FAQ/Linux_Unix (last edited 2014-03-03 10:39:29 by KonstantinKolinko)