Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for change 
notification.

The "FAQ/Linux_Unix" page has been changed by KonstantinKolinko:
https://wiki.apache.org/tomcat/FAQ/Linux_Unix?action=diff&rev1=11&rev2=12

Comment:
Document the effect of using non-GNU version of tar. Correct HTML markup: use 
headers.

   1. [[#Q2|How do I run without an X server and still get graphics?]]
   1. [[#Q3|Tomcat dies after I log out!]]
   1. [[#Q4|Catalina.log contains : "SEVERE: StandardServer.await: create[8005] 
: Throwable occurred: java.net.BindException: The socket name is not available 
on this system."]]
+  1. [[#Q6|Examples web application does not start. A ClassNotFoundException 
occurs.]]
  
  == Answers ==
+ 
+ <<Anchor(Q5)>>
- <<Anchor(Q5)>>'''I have Tomcat x.y.z installed as part of my OS. Is it good 
to use?'''
+ === I have Tomcat x.y.z installed as part of my OS. Is it good to use? ===
  
  Many Linux distributions provide a pre-packaged version of Apache Tomcat.
  
@@ -35, +38 @@

   * Either a "tar.gz" or a "zip" file is fine. The "tar.gz" files use GNU 
extensions to the tar file format (as mentioned in "README" file in the 
download area). You need a GNU-compatible version of `tar` to unpack them.
   * Learn how to run Tomcat with separate values of `CATALINA_HOME` and 
`CATALINA_BASE`, as explained in "RUNNING.txt". This will simplify further 
upgrades and maintenance.
  
+ <<Anchor(Q1)>>
- <<Anchor(Q1)>>'''When I run ps (on Linux), why do I see my java process a 
bazillion times!'''
+ === 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 
[[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)>>
- <<Anchor(Q2)>>'''How do I run without an X server and still get graphics?'''
+ === 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 [[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]].
  Or if your are using a JVM 1.4 or better, you can use the system property 
{{{java.awt.headless=true}}}
  
- <<Anchor(Q3)>>'''Tomcat dies after I log out!'''
+ <<Anchor(Q3)>>
+ === Tomcat dies after I log out! ===
  
  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]]
  
- <<Anchor(Q4)>>'''Error message: "SEVERE: StandardServer.await: create[8005]:
- Throwable occurred: java.net.BindException: The socket name is not available 
on this system."'''
+ <<Anchor(Q4)>>
+ === 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. 
  
+ <<Anchor(Q6)>>
+ === Examples web application does not start. A ClassNotFoundException occurs. 
===
+ 
+ Go into `webapps/examples/WEB-INF/classes` and check whether the class file 
mentioned in the error message does exist.
+ 
+ If you downloaded a tar.gz file and used a non-GNU version of tar (e.g. on 
Solaris) it may use wrong (truncated) file names on files that are deep in the 
hierarchy. This occurs silently: there may be no error or warning during 
unpacking. One place that is known to suffer from this is the examples web 
application. The workaround is to download a "zip" file instead of a "tar.gz" 
one. [[http://marc.info/?t=139353831200006&r=1&w=2|thread]]
+ 
  ----
- [[CategoryFAQ|CategoryFAQ]]
+ [[CategoryFAQ]]
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to