Differences between revisions 5 and 6
Revision 5 as of 2009-09-20 23:57:04
Size: 1458
Editor: localhost
Comment: converted to 1.6 markup
Revision 6 as of 2010-03-28 11:56:46
Size: 1495
Comment: Add category link
Deletions are marked like this. Additions are marked like this.
Line 21: Line 21:

----
[[CategoryFAQ|CategoryFAQ]]

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!

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


CategoryFAQ

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