Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: converted to 1.6 markup

Preface

Questions

  1. Wiki Markup\[#Q1 When I run ps (on Linux), why do I see my java process a bazillion times!\]unmigrated-wiki-markup
  2. \[#Q2 How do I run without an X server and still get graphics?\]unmigrated-wiki-markup
  3. \[#Q3 Tomcat dies after I log out!\]

Answers

Anchor
Q1
Q1
When I run ps (on Linux), why do I see my java process a bazillion times!unmigrated-wiki-markup

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 \[http://www.onlamp.com/pub/a/onlamp/2002/11/07/linux_threads.html here\] and \[http://pauillac.inria.fr/~xleroy/linuxthreads/faq.html#D here\] .

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

Wiki MarkupYou 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\]. Or if your are using a JVM 1.4 or better, you can use the system property {{java.awt.headless=true}}

Anchor
Q3
Q3
Tomcat dies after I log out!

Wiki MarkupThis 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\]