Changing Tomcat port programmatically

2007-01-21 Thread Youko
Hi...iam a new tomcat user and have few questions I want to add connection management utility in tomcat. Basically the functionalities are start, shutdown and restart tomcat programmatically from java code. Is there anyway to do this? Ant can do this from their task, but i dont know the

Re: Tomcat and jdbc over MS SQL Server

2007-01-21 Thread Youko
and dont forget to install SP3 or above for SQL server 2000. otherwise, jtds wouldnt work. --Priyoko At work we use SQL Server 2000 and 2005. At first we used Opta2000 as jdbc connector. Now we use jTDS, which is open source and freely available. I don't know about performance issues, but

Re: Changing Tomcat port programmatically

2007-01-21 Thread Pid
I suggest that you should look into embedding Tomcat. Tomcat can be configured and started programmatically. http://www.google.co.uk/search?q=embedding+tomcat Youko wrote: Hi...iam a new tomcat user and have few questions I want to add connection management utility in tomcat. Basically the

Re: Classpath Issue

2007-01-21 Thread Satya Narayan
Suneet, To increase the debug level: you have to provide a higher integer value for debug parameter in server.xml under TC_HOME/conf dir. You can refer TC docs as well for it. Cheers, Satya - Original Message From: Suneet Shah [EMAIL PROTECTED] To: Tomcat Users List

Re: Changing Tomcat port programmatically

2007-01-21 Thread Youko
thanks for your reply But i have read that too. And still dont understand about it. Could u give me a little bit explanation so i know where to start? Sorry for any incovenience --Priyoko T Pid-2 wrote: I suggest that you should look into embedding Tomcat. Tomcat can be configured and

Re: Changing Tomcat port programmatically

2007-01-21 Thread Pid
Work your way through the results from google, there are plenty of explanations and tutorials. Easier than me explaining laboriously over a series of emails. Youko wrote: thanks for your reply But i have read that too. And still dont understand about it. Could u give me a little bit

Reinstalling Tomcat after screwing up first install

2007-01-21 Thread ANDY BAWUAH
I installed Tomcat for IIS 6 and screwed up the install so I had to uninstall it. However when I uninstalled it, the the tomcat service was not removed but it got disabled. I have tried a couple of times to reinstall tomcat but I keep getting an error message. I have not been able to reinstall

Embedded Tomcat and application communication

2007-01-21 Thread Yiannis Mavroukakis
Hello, I have the following scenario. I wish to integrate tomcat into an existing server application , so that a webapp can send configuration commands and query that application's status . Browsing through the list, the most definitive answer I have seen is to use RMI. Is there another path

Re: Reinstalling Tomcat after screwing up first install

2007-01-21 Thread Gregor Schneider
- how did you uninstall tomcat? - check out http://www.netsquirrel.com/msconfig/ cheers greg -- what's puzzlin' you, is the nature of my game gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @ http://pgpkeys.pca.dfn.de:11371

RE: how to tell Tomcat to send a blank WWW-Authenticate header?

2007-01-21 Thread Fisher, Mitchell L
Christopher Schultz wrote: Also, you could set the error page that is used when a user doesn't have the proper credentials to something that gives you the opportunity to re-login in order to access the forbidden resource. When you want to log someone out of BASIC authentication, you have to

Re: Reinstalling Tomcat after screwing up first install

2007-01-21 Thread Martin Gainty
ensure environment variable CATALINA_HOME is set for starting and stopping all catalina connector modules environment variable CATALINA_BASE is set for defining a base folder for relatively locating conf,log,webapps,shared,work,temp folder http://tomcat.apache.org/tomcat-4.1-doc/RUNNING.txt

Re: how to tell Tomcat to send a blank WWW-Authenticate header?

2007-01-21 Thread Martin Gainty
this is correct The authenticate header must identify at least one Authentication challenge (Basic,Digest,SPAP,MSCHAP whatever) with regards to Basic Authentication To receive authorization, the client sends the userid and password, separated by a single colon (:) character, within a base64

Re: how to tell Tomcat to send a blank WWW-Authenticate header?

2007-01-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mitch, Fisher, Mitchell L wrote: Christopher Schultz wrote: When you want to log someone out of BASIC authentication, you have to send a blank WWW-Authenticate header to the client, just the same way that Tomcat would do if you weren't already

Re: Embedded Tomcat and application communication

2007-01-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yiannis, Yiannis Mavroukakis wrote: Hello, I have the following scenario. I wish to integrate tomcat into an existing server application , so that a webapp can send configuration commands and query that application's status . Browsing through

mod_jk replacement?

2007-01-21 Thread JNeuhoff
Is there another connector software available between Apache 2.0.59 and Tomcat 5.5.17 on Windows 2003 which is more stable and suitable for a live web service? mod_jk 1.2.20 (which I believe is the latest version) appears to have some problems with managing TCP connections (see

Re: mod_jk replacement?

2007-01-21 Thread Hassan Schroeder
On 1/21/07, JNeuhoff [EMAIL PROTECTED] wrote: Can't help on the Windows/mod_jk issue because I haven't used either for quite some time but... Alternatively, we are thinking of running a standalone Tomcat in which case we'd find to find a way of mapping some web-enabled directories with static

RE: Embedded Tomcat and application communication

2007-01-21 Thread Yiannis Mavroukakis
Hi Chris, The scenario is a server daemon that has a cli for runtime configuration and status. I intend to use embedded tomcat to replace/augment that cli and I have actually done so succesfully, using RMI but I was wondering whether there was some other solution that allows Tomcat to