Tomcat 4: howto get (connector's) port in Servlet.init()

2003-07-15 Thread Hans Schlenker
Hi! Is there a way (apart from scanning the log files or reading config files) to get the port of the Connector of a Servlet from within Servlet.init()? Hans Schlenker - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Asynchronous messages from servlets

2002-01-22 Thread Hans Schlenker
Ronald Wildenberg wrote: What I need is a way to push the response to the browser. I would like the server to take the initiative in updating the browser window, not the user. Is this possible in any way? No way. HTTP is a pull-mechanism: information is always requested by the client.

Suggestion for /manager/reboot (was: Re: howto install shared jar's at runtime)

2002-01-21 Thread Hans Schlenker
Craig R. McClanahan wrote: In short, trying to implement and support something like this is going to be risky -- and a challenger for the top-reported user problem area on TOMCAT-USER :-) if we actually tried to implement it. Hmm. Didn't think that such an extension could cause that many

Re: shipping a webapp

2002-01-21 Thread Hans Schlenker
E B wrote: Hi How do you package a webapp for shipping? make a war? okay, but I want things to be setup in other directories as well. like putting some jar files in common/lib and putting a file myconfig.xml in common/classes. Making a war should be fine. Why do you want to install

Re: canno startup Tomat 4.0.1

2002-01-21 Thread Hans Schlenker
David Hewlett wrote: This is my first attempt at Tomcat. I know other people succeeded directly with with the standalone version - however it doesn't seem to fire up on suse 7.3 kernel 2 4 13 Ever read RELEASE-NOTES-4.0.1.txt? snip --- Linux and Sun JDK 1.2.x -

howto install shared jar's at runtime

2002-01-18 Thread Hans Schlenker
Hi! How can I install a jar package at $CATALINA_HOME/lib at Tomcat *runtime* such that webapps may use its contents right after installation (without restarting Tomcat, since this is not possible remotely)? The intended sequence is: - start Tomcat - install a new webapp using the Tomcat

Re: howto install shared jar's at runtime

2002-01-18 Thread Hans Schlenker
the option to restart your instance of tomcat remotely (i.e. click a button on your site administrators web page) maybe they would be willing to release their code for restarting the server. Can't hurt to ask anyway... -Original Message- From: Hans Schlenker [mailto:[EMAIL PROTECTED

Re: howto install shared jar's at runtime

2002-01-18 Thread Hans Schlenker
We are using Tomcat as a basis for a distributed application (in some research project). And we would like the user to simply install Tomcat out of the box, give us access to the Tomcat manager, and let us do the rest. Therefore, we are stuck to whatever Tomcat provides plus our Java code (the

Manager: How to remotely get operating system etc. info

2001-12-18 Thread Hans Schlenker
Hi! We want to develop some distributed service based on Apache-TOMCAT 4.0. We plan to use the amazing manager-service for remote installation of new services, because we want to use off-the-shelf TOMCAT, installed by some user and manually added some configuration to server.xml. Our service