Re: install tomcat under linux (java problem)

2006-02-12 Thread Wolfgang Hackl

Hallo Hannes!

Hannes Hein wrote:


Yes. javac runs correctly.


jsvc is a C program so you don't need a java compiler for building it.

The problem 'configure: error: installation or configuration problem:  
javac cannot compile' is solved now as java runs correctly, but it 
still  doesn't compile the sources and I have absolutely no idea why 
(see  attached file for make output).


[...]



callisto:/srv/apache-tomcat-5.5.15/bin/jsvc-src# make
make -C native all
make[1]: Entering directory `/srv/apache-tomcat-5.5.15/bin/jsvc-src/native'
gcc -g -O2 -DOS_LINUX -DDSO_DLFCN -DCPU=\i386\ 
-I/usr/local/java/jdk1.5.0_06/include -I/usr/local/java/jdk1.5.0_06/include/linux -Wall 
-Wstrict-prototypes -c jsvc-unix.c -o jsvc-unix.o
In Datei, eingefügt von jsvc.h:20,
von jsvc-unix.c:17:
/usr/include/stdio.h:34:21: stddef.h: Datei oder Verzeichnis nicht gefunden

[...]

For those who don't speak German: Datei oder Verzeichnis nicht 
gefunden translates to File or directory not found. My guess is that 
something is wrong with your C development tools. Perhaps the 
configure-script could not find your headers as there are no entries in 
the gcc output containing something like -I/usr/include. Are you sure 
you have your libraries set up properly?


Check whether your compiler works by compiling following program:
--
#include stdio.h
int main(){printf(works\n);}
--
Command line: cc -o c-test c-test.c

Try to clean your source tree and rerun ./configure.

Kind regards,
Wolfgang

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [OT] Top posting (was RE: question)

2006-01-03 Thread Wolfgang Hackl

Peter Crowther wrote:

From: Carl Olivier [mailto:[EMAIL PROTECTED] 
A lot of people on this forum Top Post.


Is this really such a big issue?
   



I can sum it up with the following quote:

-- snip --
A: Top posting.

Q: What's the most confusing thing about mailing list messages?
-- snip --



[longish explanation and field report why top posts are bad]

There are some good links providing instructions on proper posting in 
usenet and mailing lists:

http://www.netmeister.org/news/learn2quote.html
http://alt-usage-english.org/posting_quotes.html
Those who understand German can enjoy this one: http://got.to/quote

I suggest a monthly posting of a short version of this lists's FAQ (or 
just a link to http://tomcat.apache.org/faq/). It would help making this 
list more readable since it would avoid many unnecessary postings.


I do also suggest to use 'proper' (which implies a poduct from an 
organisation other than Microsoft) mail clients like Mozilla Thunderbird 
but that's just wishful thinking...


Kind regards,

Wolfgang

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Cluster Administration - Hitless upgrade

2005-12-30 Thread Wolfgang Hackl
 I would like to remove a Tomcat node from the cluster without first
 shutting it down to allow any requests in progess to complete.  Is it
 possible to instruct Apache to stop routing requests to the node and
 failover another node yet allow all requests in progress to complete.

You can do this via the status worker. It has a web interface.

 I tried updating the workers.properties file and setting disabled=True
 but it did not have any effect.  It seems Apache does not re-read the
 file after a modification.

Apache doesn't re-read its configuration. On a Unix-like operating system
Apache can reload the configuration, however.

Kind regards,
Wolfgang

-- 
Telefonieren Sie schon oder sparen Sie noch?
NEU: GMX Phone_Flat http://www.gmx.net/de/go/telefonie

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]