Re: keeping same session via apache2 mod_jk2 and tomcat5

2006-03-22 Thread Vahid Hedayati
Hi all I had as a test used seperate engines for each virtual host but instead it loaded up one of the virtual hosts on both and the site that had the wrong virtual host loaded up seemed to keep the session ID . Anyhow here are the configs. The first 2 is what is currently running the last 2

Re: Data Truncation Error

2006-03-22 Thread Jon Wingfield
Try replacing the ampersand character with the xml entity amp; HTH, Jon Mark Whitby wrote: Further to my email earlier I've discovered I can either have the truncation on or the reconnect on, but I can't include both in the url otherwise Tomcat doesn't start up. Also, if I take off the

connections not freed

2006-03-22 Thread Edward Quick
Hi, I have the following scenerio: I'm running a jsp on tomcat 4.1.31 fronted by apache 2.0.54. This jsp uses a tomcat jdbc pool connection with maxWait set to 1ms. At the moment the database is screwed up because one of the filesystems on there has filled up from an archive job. Now

Re: FarmWarDeployer instructions

2006-03-22 Thread Edoardo Causarano
Alle Tuesday 21 March 2006 18:05, Filip Hanik - Dev Lists ha scritto: Thank you Filip, please bear me one more time. I understand that only the tomcat cluster master should have a watchDir configured and watchEnabled set to true. The deployDir of all tomcat cluster members should point to the

RE: apache(v2.0) front-end to jboss(v4.0.3)/tomcat5.5 webapp: context path prepend ?

2006-03-22 Thread Tim Lucia
You will probably want to set emptySessionPath to true http://tomcat.apache.org/tomcat-5.5-doc/config/http.html http://marc.theaimsgroup.com/?l=tomcat-userm=114082698006999w=2 Otherwise, the browser will send the cookie for /mywebapp as that is the context which Tomcat will set JSESSIONID under.

AppServer Comparison metrics

2006-03-22 Thread Martin Gainty
Good Morning All- Has anyone come across any studies detailing comparisons of AppServers (supported name algorithms, supported security models, how many max threads are supported, J2EEversion support Servletversion spec support?) etc ? Sorry for the O/T thread Many Thanks, Martin-

Re: SSL

2006-03-22 Thread ngolehung84
Thanks, I saw APR, but in the Tomcat Documentation I can't find the doc which tell how to configure Tomcat with OpenSSL ( just some guide lines!:( ). Now I want to customize the cipher algorithms, can I do this with OpenSSL? How can I configure Tomcat to use OpenSSL? Thanks in advance! Hung. --

RE: SSL

2006-03-22 Thread Caldarale, Charles R
From: ngolehung84 [mailto:[EMAIL PROTECTED] Subject: Re: SSL Thanks, I saw APR, but in the Tomcat Documentation I can't find the doc which tell how to configure Tomcat with OpenSSL ( just some guide lines!:( ). Did you look at the APR doc? http://tomcat.apache.org/tomcat-5.5-doc/apr.html

RE: SSL

2006-03-22 Thread ngolehung84
I have saw that file http://tomcat.apache.org/tomcat-5.5-doc/apr.html: The server.xml file Connector port=443 maxHttpHeaderSize=8192 maxThreads=150 minSpareThreads=25 maxSpareThreads=75 enableLookups=false disableUploadTimeout=true acceptCount=100

Controlling contents of the localhost.date.log file

2006-03-22 Thread Davidian
I've posed this question recently, but I am going to try to phrase it better, as I think last time it may have been poorly worded... My web application logs information to the localhost.date.log file. The information that is being logged is doing so correctly. However, here is my problem: In

Re: SSL

2006-03-22 Thread ngolehung84
Thank you very much!! I have configured successful!! -- View this message in context: http://www.nabble.com/SSL-t1318762.html#a3534884 Sent from the Tomcat - User forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED]

Desupport for Tomcat 4?

2006-03-22 Thread TroyGeek
Hello, Do you know when the tomcat development group plans on not releasing any new patches for Tomcat 4? Does this ever happen? If a bug is found in Tomcat 4 is it fixed in Tomcat 4 or are we forced to upgrade to Tomcat 5? Thank you for your time! ~ T r o y ~

Re: Tomcat 5.5.16 - Confirmation of Extra bytes at the end of class file listeners/ContextListener error

2006-03-22 Thread Adam Hill
Thanks for confirming I wasn't crazy :-) adam... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Desupport for Tomcat 4?

2006-03-22 Thread Markus Schönhaber
TroyGeek wrote: Do you know when the tomcat development group plans on not releasing any new patches for Tomcat 4? Does this ever happen? If a bug is found in Tomcat 4 is it fixed in Tomcat 4 or are we forced to upgrade to Tomcat 5? Look at this: http://tomcat.apache.org/whichversion.html The

Supporting maximum number of keep-alive connections

2006-03-22 Thread Rajeev Jha
On 3/17/06, Rajeev Jha [EMAIL PROTECTED] wrote: What's your ratio of Apache to Tomcat instances? You may want to look into using squid as a reverse proxy to Tomcat, it is very good at supporting a huge number of concurrent clients without having to spawn a thread or process for each one. I

return (HexUtils.convert(md.digest())) in RealmBase

2006-03-22 Thread Alessandro Colantoni
Hi All! I saw that both method Digest(..) and digest(..) in RealmBase return ( HexUtils.convert(md.digest())) and not just md.digest().toString. My problem is that user table is maintained by another application developed in an other technology. My application uses this table just to

RE: return (HexUtils.convert(md.digest())) in RealmBase

2006-03-22 Thread Jay Burgess
I think this is the right answer: digest() returns a sequence of bytes. Depending on the values of the individual bytes, if you were to try and convert it to String, you can end up with non-printable characters, etc. I'm assuming that HexUtils.convert() turns each 4 bits of each byte into a

Re: Supporting maximum number of keep-alive connections

2006-03-22 Thread Remy Maucherat
On 3/22/06, Rajeev Jha [EMAIL PROTECTED] wrote: In our case,the servlet is interfacing to the back-end that sends async events from time to time. As you may have noticed, the HTTP protocol (and the Servlet API) are not designed for this kind of usage. You can try to hack your way through if you

Re: Supporting maximum number of keep-alive connections

2006-03-22 Thread Rajeev Jha
On 3/22/06, Remy Maucherat [EMAIL PROTECTED] wrote: On 3/22/06, Rajeev Jha [EMAIL PROTECTED] wrote: In our case,the servlet is interfacing to the back-end that sends async events from time to time. As you may have noticed, the HTTP protocol (and the Servlet API) are not designed for this

running two instances of tomcat

2006-03-22 Thread Jim the Standing Bear
Hi, Is there a way to run two instances of tomcat 5.5 on the same machine? Because me and a coworker were developing some webapps using the same node, but under two different tomcat instances. We just learned a painful lesson that as soon as the second instance of tomcat is launched, the first

Re: running two instances of tomcat

2006-03-22 Thread Nic Daniau
That was the case in 4.1 yes, but it doesn't work with 5.5 on Windows platform, because of the way the service is set up from the nsi scrip (that you can read from tomcat source). I've written down a procedure to overcome this and I will post it tomorrow (its on my laptop which I left at the

Re: running two instances of tomcat

2006-03-22 Thread David Kerber
I got it working no problem on Windows, running 5.5.12. Just had to mess with the service installation scripts a bit to give each of them different names. A little hassle, but not a big one. Nic Daniau wrote: That was the case in 4.1 yes, but it doesn't work with 5.5 on Windows platform,

Re: robust Failover, mod_jk

2006-03-22 Thread Vidya TR
Our application which runs on Apache HTTP Server 2.0.54, TOMCAT 5.0.28 with mod_jk 1.2.15 connector. In production while our application was running. Our application had a thread dead Lock hosing up all the users trying to connect our application. So started investigating the failover setup in

RE: running two instances of tomcat

2006-03-22 Thread Caldarale, Charles R
From: Nic Daniau [mailto:[EMAIL PROTECTED] Subject: Re: running two instances of tomcat That was the case in 4.1 yes, but it doesn't work with 5.5 on Windows platform, because of the way the service is set up from the nsi scrip (that you can read from tomcat source). The service.bat

caldav implementation in webdavServlet

2006-03-22 Thread jirina
Goog day, my name is George and Im student of IT, and I should create calendar server application suporting CalDAV protocol (as an extension to WebDAV to publish calendaring data). And I would like to ask, about implementation. I write it in java (servlet application working on tomcat server),

Re: running two instances of tomcat

2006-03-22 Thread Jim the Standing Bear
Thanks, Chuck. I will take a closer look at RUNNING.txt. However, i still think there is something else causing our problems.. We installed two copies of the tomcat code, one running at root, and the other running as a regular user. Now, even if the ports were conflicting, it would prevent one

Tomcat 5.5.16 Virtual Hosting Problem

2006-03-22 Thread Vamsidhar
Hi all: I have posted for help yesterday, but I think the post was poorly worded. So I am posting again. I am using Tomcat 5.5.16 (stand-alone) with JDK 5.0 on Windows XP and trying to setup virtual hosting (to start with two hosts + localhost). Once I start the tomcat server, three host folders

Run Tomcat in W2k3 as service

2006-03-22 Thread Ryan Daly
Has anyone successfully set environment variables for the Tomcat process when it's running as a service? Is it possible to start the service with the -security option, as in Linux? Thanks in advance. - To unsubscribe, e-mail:

Re: Connector Installation

2006-03-22 Thread Scott Gravenhorst
More stuff. I found a tutorial (one of the many) and in that it was said that the prefork .so file is the one to copy as mod_jk.so to the directory containing modules. It also said to set the chmod permissions to 755. After I added the loadmodule directive to httpd.conf, I now get an error when

Running webapp as root context

2006-03-22 Thread Ryan Di Francesco
Hello - I've just finished my first installation of Tomcat 5.5 along with Meeting Maker. Right now the URL to access Meeting Maker is http://localhost/mmwebclient. As this is the only application this server will be running, ideally I'd like to configure it so just accessing http://localhost

Re: Desupport for Tomcat 4?

2006-03-22 Thread Mark Thomas
TroyGeek wrote: Hello, Do you know when the tomcat development group plans on not releasing any new patches for Tomcat 4? Does this ever happen? If a bug is found in Tomcat 4 is it fixed in Tomcat 4 or are we forced to upgrade to Tomcat 5? I am currently working my way through all reported

Problem configuring webapp with Tomcat 5.0.28 on RHE3

2006-03-22 Thread Rachel McConnell
I've got a web application that runs succesfully on Win/Tomcat 5.0 and on RH/resin 2.x. I am pretty sure my problem is with the container configuration. I need to run several versions of the app and I'd like to do this using several different Tomcat instances, with different $CATALINA_BASE

RE: Run Tomcat in W2k3 as service

2006-03-22 Thread Tim Lucia
You can specify parameters on the various tabs under the servicew app (the tray monitor). You probably want Startup in this case, so it would go alongside the start option. Tim -Original Message- From: Ryan Daly [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 22, 2006 4:26 PM To:

RE: overheads on multiple connectors

2006-03-22 Thread Chris Fong
Thanks for the replies. : Where are you getting this 20 connection count from? Those must be : currently open connections to clients? Actually, I am talking about connector (Http Connector) instead of connection. To the Chris, I personally don't think it is the norm since your average

Re: Problem configuring webapp with Tomcat 5.0.28 on RHE3

2006-03-22 Thread Markus Schönhaber
Rachel McConnell wrote: Exception stack trace: - java.lang.UnsupportedClassVersionError: org/apache/jsp/setup/index_jsp (Unsupported major.minor version 49.0) You're trying to run a Java 1.5 class on a Java =1.4 VM. Either start Tomcat with a

Re: Problem configuring webapp with Tomcat 5.0.28 on RHE3

2006-03-22 Thread Rachel McConnell
You know I just worked that out! Forgot to change the JAVA_HOME variable. *sigh* Now I have a different problem (app can't find the data source) but I'll whang on it a bit before asking here. Thanks, Rachel Markus Schönhaber wrote: Rachel McConnell wrote: Exception stack trace:

multiple Tomcat realm

2006-03-22 Thread Colin . Lew
Hi all, We are currently using the JNDIRealm in Tomcat to allow user to connect through LDAP. all users with the userBase attribute OU=Internal can log in. However, we also have a OU=External, which are unable to get authenticated. Is there any way we can have multiple Tomcat realm? or any

Would like to track googlebots, or spiders from site

2006-03-22 Thread Scott Purcell
Not necessarily a tomcat problem, but I have created a webapp on Tomcat 5.x. I would like to be able to track any robot activity in a log file, but not really sure where to begin looking for this functionality? If this is possible, is there a debug level that could be used so I could find out

RE: Would like to track googlebots, or spiders from site

2006-03-22 Thread Tim Lucia
Try here: http://www.robotstxt.org/wc/robots.html -Original Message- From: Scott Purcell [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 22, 2006 8:00 PM To: Tomcat Users List Subject: Would like to track googlebots, or spiders from site Not necessarily a tomcat problem, but I have

mod_jk failover loadbalancing doesn't recognize hung tomcat

2006-03-22 Thread Vidya TR
Our application which runs on Apache HTTP Server 2.0.54, TOMCAT 5.0.28 with mod_jk 1.2.15 connector. In production while our application was running. Our application had a thread dead Lock hosing up all the users trying to connect our application. So started investigating the failover setup in

Re: overheads on multiple connectors

2006-03-22 Thread Long
To the Chris, I personally don't think it is the norm since your average site usually don't get that kind of load. I would start with 2 or 3 and scale up as needed. I have gotten request to separate traffic to multiple ports so that Network Engineer can manage/debug network traffic easier (by

Re: Running webapp as root context

2006-03-22 Thread Amila Suriarachchi
remane the folder mmwebclient as ROOT

SSL handshake times out on Tomcat 5.5

2006-03-22 Thread Aust, Christian
Hi, although I've read all the docs and FAQs I could find, I can't get Tomcat 5.5.15 to do SSL on Windows with SUN JDK 1.5. I've imported the keys according to the docs, starting with the root CA cert and going all the way up until the cert that matches my key request. Then I've copied the

Realm defined within my webapp

2006-03-22 Thread Dustin Sallings
I have several webapps I am trying to bring over from Resin that make use of various types of authentication that needs to live solely within my webapp (I may have multiple deployed instances of one with different versions, for example). I have attempted to add it to

Re: Running webapp as root context

2006-03-22 Thread Per Johnsson
Hi! I think the easiest way is to put all the contents in your folder mmwebclient in the webapps/ROOT. Not put the whole folder just the contents. /Per Jonsson Ryan Di Francesco [EMAIL PROTECTED] 2006-03-22 22:57 Please respond to Tomcat Users List users@tomcat.apache.org To